Remove __ASSUME_GETCPU_SYSCALL.
[glibc.git] / ChangeLog
blob7386ce96dfd522d3f32cc9c39e345acc3acca7b3
1 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4         (__ASSUME_GETCPU_SYSCALL): Remove macro.
6 2017-05-08  Florian Weimer  <fweimer@redhat.com>
8         Prevent multiple deletion of temporary files.
9         * support/temp_file.c (struct temp_name_list): Add owner member.
10         (add_temp_file): Record owner.
11         (support_delete_temp_files): Delete file only if owner matches.
12         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
13         (do_prepare): Use create_temp_file instead of add_temp_file.
14         Initialize temp_fd1, temp_fd2.
15         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
16         framework remove the temporary files.
17         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
18         (do_prepare): Use create_temp_file instead of add_temp_file.
19         Initialize temp_fd1, temp_fd2, temp_fd3.
20         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
21         the test framework remove the temporary files.
22         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
23         deletion.
24         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
25         temporary directory.  It is removed by the test framework.
26         * dirent/tst-scandir.c (do_test): Likewise.
28 2017-05-08  Florian Weimer  <fweimer@redhat.com>
30         Delete temporary files in LIFO order.
31         * support/temp_file.c (struct temp_name_list): Replace q member
32         with next.
33         (add_temp_file): Add new file to front of linked list.
34         (support_delete_temp_files): Use next member.
35         (support_print_temp_files): Likewise.
37 2017-05-08  Florian Weimer  <fweimer@redhat.com>
39         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
40         sys/ultrasound.h.
41         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
43 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
45         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
46         Remove.
47         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
48         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
49         (arch_minimum_kernel): Remove.
50         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
51         * README: Update statement about Linux kernel requirements.
53 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
55         * manual/llio.texi: Add preadv and pwritev documentation.
57 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
59         [BZ #21455]
60         * bits/stdint-intn.h: New file.
61         * bits/stdint-uintn.h: Likewise.
62         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
63         bits/stdint-uintn.h.
64         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
65         <stdint.h>.
66         * posix/sys/types.h: Include <bits/stdint-intn.h>.
67         (__int8_t_defined): Do not define here.
68         (int8_t): Likewise.
69         (int16_t): Likewise.
70         (int32_t): Likewise.
71         (int64_t): Likewise.
72         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
73         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
74         <stdint.h>.
75         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
76         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
77         <bits/stdint-uintn.h>.
78         (int8_t): Do not define here.
79         (int16_t): Likewise.
80         (int32_t): Likewise.
81         (int64_t): Likewise.
82         (uint8_t): Likewise.
83         (uint16_t): Likewise.
84         (uint32_t): Likewise.
85         (uint64_t): Likewise.
86         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
87         variable.
88         (test-xfail-XPG42/netdb.h/conform): Likewise.
89         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
90         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
91         (test-xfail-UNIX98/netdb.h/conform): Likewise.
92         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
94 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
96         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
97         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
98         the above.
99         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
100         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
102 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
104         [BZ #21445]
105         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
107         [BZ #21457]
108         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
109         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
110         __glibc_reserved1.
111         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
112         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
113         (struct _fpxreg): Likewise.
114         [!__x86_64__] (struct _fpstate): Rename field reserved to
115         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
116         [__x86_64__] (struct _fpstate): Rename field padding to
117         __glibc_reserved1.
118         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
119         Rename field reserved2 to __glibc_reserved2.
120         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
121         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
122         __glibc_reserved1.
123         [__x86_64__] (struct _libc_fpstate): Rename field padding to
124         __glibc_reserved1.
126 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
128         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
129         variable name.
131 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
133         [BZ #21391]
134         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
135         Only call init_cpu_features.
136         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
137         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
138         * sysdeps/i386/dl-procinfo.h: Removed.
139         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
140         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
141         <sysdeps/x86/dl-procinfo.h>.
142         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
143         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
144         Include <sysdeps/x86/dl-procinfo.h> instead of
145          <sysdeps/generic/dl-procinfo.h>.
146         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
147         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
148         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
149         (bit_cpu_MOVBE): Likewise.
150         (bit_cpu_BMI1): Likewise.
151         (bit_cpu_BMI2): Likewise.
152         (index_cpu_BMI1): Likewise.
153         (index_cpu_BMI2): Likewise.
154         (index_cpu_LZCNT): Likewise.
155         (index_cpu_MOVBE): Likewise.
156         (index_cpu_POPCNT): Likewise.
157         (reg_BMI1): Likewise.
158         (reg_BMI2): Likewise.
159         (reg_LZCNT): Likewise.
160         (reg_MOVBE): Likewise.
161         (reg_POPCNT): Likewise.
162         * sysdeps/x86/dl-hwcap.h: New file.
163         * sysdeps/x86/dl-procinfo.h: Likewise.
164         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
165         (_dl_x86_platforms): Likewise.
167 2017-05-03  DJ Delorie  <dj@redhat.com>
169         [BZ #21411]
170         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
172 2017-05-03  Phil Blundell  <pb@pbcl.net>
174         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
175         comments.
177 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
179         [BZ #20116]
180         * nptl/pthread_create.c: Expand comments to describe
181         semaphore-like and mutex-like uses of PD->lock.
183 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
185         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
186         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
187         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
188         auto-generation list.
189         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
190         epoll_wait.
191         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
192         Remove epoll_wait.
194         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
195         osf_select.
196         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
197         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
198         osf_select from auto-generation list.
199         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
200         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
201         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
202         * sysdeps/unix/sysv/linux/select.c: New file.
204         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
205         * sysdeps/unix/sysv/linux/poll.c: New file.
206         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
207         auto-generation list.
209 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
211         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
212         New macro.
214 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
216         [BZ #21179]
217         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
218         R_SPARC_REGISTER relocations.
220 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
222         * include/unistd.h (__pread): Add libc_hidden_proto.
223         (__pread64): Likewise.
224         (__pwrite): Likewise.
225         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
226         (__pread64): Remove.
227         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
228         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
229         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
231 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
235 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
237         * nptl/tst-cancel4-common.c: Use libsupport.
238         * nptl/tst-cancel4-common.h: Likewise.
239         * nptl/tst-cancel4.c (tf_read): Likewise.
240         (tf_readv): Likewise.
241         (tf_write): Likewise.
242         (tf_writev): Likewise.
243         (tf_sleep): Likewise.
244         (tf_usleep): Likewise.
245         (tf_nanosleep): Likewise.
246         (tf_select): Likewise.
247         (tf_pselect): Likewise.
248         (tf_poll): Likewise.
249         (tf_ppoll): Likewise.
250         (tf_wait): Likewise.
251         (tf_waitpid): Likewise.
252         (tf_waitid): Likewise.
253         (tf_sigpause): Likewise.
254         (tf_sigsuspend): Likewise.
255         (tf_sigwait): Likewise.
256         (tf_sigwaitinfo): Likewise.
257         (tf_sigtimedwait): Likewise.
258         (tf_pause): Likewise.
259         (tf_accept): Likewise.
260         (tf_send): Likewise.
261         (tf_recv): Likewise.
262         (tf_recvfrom): Likewise.
263         (tf_recvmsg): Likewise.
264         (tf_open): Likewise.
265         (tf_close): Likewise.
266         (tf_pread): Likewise.
267         (tf_pwrite): Likewise.
268         (tf_preadv): Likewise.
269         (tf_pwritev): Likewise.
270         (tf_fsync): Likewise.
271         (tf_fdatasync): Likewise.
272         (tf_msync): Likewise.
273         (tf_sendto): Likewise.
274         (tf_sendmsg): Likewise.
275         (tf_creat): Likewise.
276         (tf_connect): Likewise.
277         (tf_tcdrain): Likewise.
278         (tf_msgrcv): Likewise.
279         (tf_msgsnd): Likewise.
280         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
281         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
283         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
284         expected arguments.
285         (do_test): Adapt to use libsupport.
287 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
289         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
291         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
292         (PF_MAX): Set to 44.
293         (AF_SMC): New macro.
295         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
296         kernel version to 4.11.
298 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
300         [BZ #21280]
301         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
302         signal of subnormals and adjust the exponent of power of 2 down
303         when low part has opposite sign.
305 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
307         * sysdeps/powerpc/powerpc64le/Implies: New file.
308         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
309         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
310         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
311         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
312         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
313         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
314         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
315         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
316         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
317         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
318         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
319         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
320         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
321         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
322         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
323         * sysdeps/powerpc/preconfigure: New file.
324         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
325         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
327 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
329         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
330         inclusion.
331         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
332         Remove.
334 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
336         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
337         (XPG3): Rename standard to XPG4.
338         * conform/Makefile: Likewise.
339         * conform/list-header-symbols.pl: Likewise.
340         * conform/data/aio.h-data: Likewise.
341         * conform/data/arpa/inet.h-data: Likewise.
342         * conform/data/complex.h-data: Likewise.
343         * conform/data/ctype.h-data: Likewise.
344         * conform/data/dlfcn.h-data: Likewise.
345         * conform/data/fcntl.h-data: Likewise.
346         * conform/data/fenv.h-data: Likewise.
347         * conform/data/float.h-data: Likewise.
348         * conform/data/fmtmsg.h-data: Likewise.
349         * conform/data/ftw.h-data: Likewise.
350         * conform/data/grp.h-data: Likewise.
351         * conform/data/inttypes.h-data: Likewise.
352         * conform/data/iso646.h-data: Likewise.
353         * conform/data/langinfo.h-data: Likewise.
354         * conform/data/libgen.h-data: Likewise.
355         * conform/data/limits.h-data: Likewise.
356         * conform/data/locale.h-data: Likewise.
357         * conform/data/math.h-data: Likewise.
358         * conform/data/mqueue.h-data: Likewise.
359         * conform/data/ndbm.h-data: Likewise.
360         * conform/data/net/if.h-data: Likewise.
361         * conform/data/netdb.h-data: Likewise.
362         * conform/data/netinet/in.h-data: Likewise.
363         * conform/data/poll.h-data: Likewise.
364         * conform/data/pthread.h-data: Likewise.
365         * conform/data/pwd.h-data: Likewise.
366         * conform/data/sched.h-data: Likewise.
367         * conform/data/search.h-data: Likewise.
368         * conform/data/semaphore.h-data: Likewise.
369         * conform/data/signal.h-data: Likewise.
370         * conform/data/spawn.h-data: Likewise.
371         * conform/data/stdbool.h-data: Likewise.
372         * conform/data/stdint.h-data: Likewise.
373         * conform/data/stdio.h-data: Likewise.
374         * conform/data/stdlib.h-data: Likewise.
375         * conform/data/string.h-data: Likewise.
376         * conform/data/strings.h-data: Likewise.
377         * conform/data/stropts.h-data: Likewise.
378         * conform/data/sys/mman.h-data: Likewise.
379         * conform/data/sys/resource.h-data: Likewise.
380         * conform/data/sys/select.h-data: Likewise.
381         * conform/data/sys/socket.h-data: Likewise.
382         * conform/data/sys/stat.h-data: Likewise.
383         * conform/data/sys/statvfs.h-data: Likewise.
384         * conform/data/sys/time.h-data: Likewise.
385         * conform/data/sys/timeb.h-data: Likewise.
386         * conform/data/sys/types.h-data: Likewise.
387         * conform/data/sys/uio.h-data: Likewise.
388         * conform/data/sys/un.h-data: Likewise.
389         * conform/data/sys/wait.h-data: Likewise.
390         * conform/data/syslog.h-data: Likewise.
391         * conform/data/termios.h-data: Likewise.
392         * conform/data/tgmath.h-data: Likewise.
393         * conform/data/time.h-data: Likewise.
394         * conform/data/ucontext.h-data: Likewise.
395         * conform/data/unistd.h-data: Likewise.
396         * conform/data/utmpx.h-data: Likewise.
397         * conform/data/varargs.h-data: Likewise.
398         * conform/data/wchar.h-data: Likewise.
399         * conform/data/wctype.h-data: Likewise.
401 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
403         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
404         version to 7 branch.
406 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
408         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
409         earlyclobber to output operand of sqrt insn.
410         (__ieee754_sqrtf): Ditto.
412 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
414         [BZ #21426]
415         * misc/bits/types/struct_iovec.h: New file.
416         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
417         * include/bits/types/struct_iovec.h: New file.
418         * bits/uio.h (struct iovec): Replace by inclusion of
419         <bits/types/struct_iovec.h>.
420         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
421         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
422         of <sys/uio.h>.
423         * nptl/tst-cancel4.c: Include <sys/uio.h>
424         * posix/test-errno.c: Likewise.
425         * support/resolv_test.c: Likewise.
426         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
427         Remove.
428         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
429         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
430         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
432         * conform/data/sys/socket.h-data (*_t): Allow.
434 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
436         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
437         assignment.
439 2017-04-24  Daurnimator  <quae@daurnimator.com>
440             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
442         [BZ #21340]
443         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
444         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
445         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
446         valid flags.
447         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
448         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
449         POSIX_SPAWN_SETSID.
450         * sysdeps/posix/spawni.c (__spawni): Likewise.
451         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
452         * NEWS: Add note about POSIX_SPAWN_SETSID support.
454 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
456         * sysdeps/generic/math_private.h: Move the declaration of many
457         functions to sysdeps/generic/math_private_calls.h.
458         * sysdeps/generic/math_private_calls.h: New file with the
459         declarations of the functions removed from math_private.h
460         macroized by floating-point type.
462 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
464         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
465         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
466         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
467         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
468         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
469         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
471 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
473         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
474         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
475         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
476         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
477         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
478         New Define.
480 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
482         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
483         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
484         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
485         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
486         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
487         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
489 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
491         * sysdeps/s390/multiarch/ifunc-resolve.h
492         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
493         * sysdeps/s390/multiarch/8bit-generic.c
494         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
495         define ifunc resolvers.
497 2017-04-21  Florian Weimer  <fweimer@redhat.com>
499         [BZ #20424]
500         * manual/memory.texi (Replacing malloc): New section.
501         (Allocating Storage For Program Data): Reference it.
502         (The GNU Allocator): Likewise.
504 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
506         * stdlib/Versions (__strtod_internal): List explicitly, not as
507         wildcard.
508         (__strtof_internal): Likewise.
509         (__strtold_internal): Likewise.
510         (__strtol_internal): Likewise.
511         (__strtoll_internal): Likewise.
512         (__strtoul_internal): Likewise.
513         (__strtoull_internal): Likewise.
514         (__strtoq_internal): Likewise.
515         (__strtouq_internal): Likewise.
516         * wcsmbs/Versions (__wcstod_internal): Likewise.
517         (__wcstof_internal): Likewise.
518         (__wcstold_internal): Likewise.
519         (__wcstol_internal): Likewise.
520         (__wcstoll_internal): Likewise.
521         (__wcstoul_internal): Likewise.
522         (__wcstoull_internal): Likewise.
524 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
526         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
527         struct timespec definition.
529 2017-04-19  Florian Weimer  <fweimer@redhat.com>
531         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
533 2017-04-19  Florian Weimer  <fweimer@redhat.com>
535         * inet/rcmd.c (rresvport_af): Fix typo in comment.
536         * inet/rexec.c (rexec_af): Likewise.
538 2017-04-19  Zack Weinberg  <zackw@panix.com>
540         * posix/tst-mmap-offset.c: Include stdint.h.
541         * resolv/tst-ns_name_compress.c: Include string.h.
542         * resolv/tst-resolv-edns.c: Include resolv.h.
544 2017-04-19  Florian Weimer  <fweimer@redhat.com>
546         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
547         with __glibc_likely.
548         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
549         Replace __builtin_expect with __glibc_unlikely.
550         * resolv/res_init.c (__res_vinit): Likewise.
551         * resolv/res_query.c (__libc_res_nquery): Likewise.
552         * resolv/res_send.c (__libc_res_nsend): Likewise.
554 2017-04-19  Florian Weimer  <fweimer@redhat.com>
556         [BZ #15722]
557         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
558         with SOCK_CLOEXEC.
559         * resolv/res_send.c (send_vc, reopen): Likewise.
560         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
561         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
562         Likewise.
563         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
564         * inet/rexec.c (rexec_af): Add comment.
565         * inet/rcmd.c (rresvport_af): Likewise.
567 2017-04-19  Florian Weimer  <fweimer@redhat.com>
569         * nscd/connections.c (have_accept4): Removed definition.
570         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
571         accept4 works.
572         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
573         ia64 because that was the first version with accept4 support.
574         * support/Makefile (libsupport-routines): Add xaccept4.
575         * support/xsocket.h (xaccept4): Declare.
576         * support/xaccept4.c: New file.
577         * socket/tst-accept4.c: New file.
578         * socket/Makefile (tests): Add tst-accept4.
579         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
580         definition.
581         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
582         comment.
583         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
584         implementation is available.
585         (accept4): Use the system call if available, otherwise use the
586         socket call.
587         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
588         Set to 3.2.18.
589         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
590         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
591         accept4 is unconditionally available in later 3.2 stable kernels.
592         (__ASSUME_ACCEPT4_SYSCALL): Define.
593         * sysdeps/unix/sysv/linux/kernel-features.h
594         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
595         definitions.
596         * sysdeps/unix/sysv/linux/i386/kernel-features.h
597         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
599 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
601         * conform/Makefile (tests-special): Do not make addition of
602         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
603         (generated): Do not make addition of $(conformtest-header-base)
604         conditional on [$(cross-compiling) = no].
606         [BZ #21267]
607         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
608         if defined by <asm/socket.h> and not previously defined.
609         (IOCSIZE_SHIFT): Likewise.
610         (IOC_IN): Likewise.
611         (IOC_INOUT): Likewise.
612         (IOC_OUT): Likewise.
614 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
616         [BZ #21396]
617         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
618         Prefer_No_AVX512 if AVX512ER isn't available.
619         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
620         (index_arch_Prefer_No_AVX512): Likewise.
621         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
622         AVX512 version if Prefer_No_AVX512 is set.
623         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
624         Likewise.
625         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
626         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
627         Likewise.
628         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
629         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
630         Likewise.
631         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
632         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
633         Likewise.
635 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
637         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
638         Prefer_No_VZEROUPPER if AVX512ER is available.
639         * sysdeps/x86/cpu-features.h
640         (bit_cpu_AVX512PF): New.
641         (bit_cpu_AVX512ER): Likewise.
642         (bit_cpu_AVX512CD): Likewise.
643         (bit_cpu_AVX512BW): Likewise.
644         (bit_cpu_AVX512VL): Likewise.
645         (index_cpu_AVX512PF): Likewise.
646         (index_cpu_AVX512ER): Likewise.
647         (index_cpu_AVX512CD): Likewise.
648         (index_cpu_AVX512BW): Likewise.
649         (index_cpu_AVX512VL): Likewise.
650         (reg_AVX512PF): Likewise.
651         (reg_AVX512ER): Likewise.
652         (reg_AVX512CD): Likewise.
653         (reg_AVX512BW): Likewise.
654         (reg_AVX512VL): Likewise.
656 2017-04-18  Florian Weimer  <fweimer@redhat.com>
658         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
659         O_CLOEXEC is defined.
660         * include/fcntl.h (__have_o_cloexec): Remove declaration.
661         * io/Makefile (aux): Remove.
662         * io/have_o_cloexec.c: Remove file.
663         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
664         defined and works.
665         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
666         defined.
667         * login/utmp_file.c (O_flags): Remove definition.
668         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
669         O_CLOEXEC works.
670         (pututline_file): Likewise.
671         * malloc/mtrace.c: Assume that O_CLOEXEC works.
672         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
673         definition.
674         (internal_setgrent): Assume that O_CLOEXEC works.
675         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
676         Remove definition.
677         (internal_setgrent): Assume that O_CLOEXEC works.
678         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
679         definition.
680         (internal_setpwent): Assume that O_CLOEXEC works.
681         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
682         definition.
683         (internal_setspent): Assume that O_CLOEXEC works.
684         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
685         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
686         O_CLOEXEC is defined and works.
687         * nss/Makefile (libnss_files-routines): Remove
688         files-have_o_cloexec.
689         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
690         defined.
691         * nss/nss_files/files-XXX.c (internal_setent): Assume that
692         O_CLOEXEC is defined and works.
693         * nss/nss_files/files-alias.c (internal_setent): Likewise.
694         * nss/nss_files/files-have_o_cloexec.c: Remove.
695         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
696         defined.
697         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
698         and works.
699         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
700         definition.
701         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
702         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
703         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
704         (__opendirat, __opendir): Adjust opendir_oflags call.
705         (check_have_o_cloexec): Remove.
706         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
707         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
708         defined.
709         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
710         Remove definition.
712 2017-04-18  Florian Weimer  <fweimer@redhat.com>
714         * include/unistd.h (__have_dup3): Remove declaration.
715         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
716         dup3 is available.
717         * libio/freopen64.c (freopen64): Likewise.
718         * socket/Makefile (aux): Remove have_sock_cloexec.
719         * socket/have_sock_cloexec.c: Remove file.
720         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
721         definition.
722         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
723         Likewise.
724         * sysdeps/nacl/kernel-features.h: Update comment.
726 2017-04-18  Florian Weimer  <fweimer@redhat.com>
728         * include/unistd.h (__have_pipe2): Remove declaration.
729         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
730         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
731         available.
732         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
733         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
734         Remove definition.
736 2017-04-18  Florian Weimer  <fweimer@redhat.com>
738         * malloc/malloc.c (cfree): Turn into compat symbol.
739         (__cfree): Remove alias.
740         * stdlib/stdlib.h (cfree): Remove declaration.
741         * malloc/malloc.h (cfree): Likewise.
742         * manual/memory.texi (Freeing after Malloc): Remove cfree.
743         * malloc/Versions (GLIBC_2.26): Add.
745 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
747         * sysdeps/powerpc/powerpc64/multiarch/Makefile
748         (sysdep_routines): Add strrchr-power8.
749         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
750         (strrchr): Add __strrchr_power8 to list of strrchr functions.
751         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
752         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
753         (strrchr): Add __strrchr_power8 to ifunc list.
754         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
756 2017-04-17  Rabin Vincent  <rabinv@axis.com>
758         [BZ #21357]
759         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
760         Call free() outside of mutex.
762 2017-04-13  Florian Weimer  <fweimer@redhat.com>
764         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
765         is defined.
766         * elf/rtld.c (process_envvars): Likewise.
767         * sysdeps/posix/shm_open.c (shm_open): Likewise.
768         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
769         O_NOFOLLOW directly.
770         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
772 2017-04-13  Florian Weimer  <fweimer@redhat.com>
774         [BZ #21369]
775         Remove EDNS fallback.
776         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
777         handling.
778         * resolv/res_send.c (send_dg): Likewise.
779         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
780         "tcp." prefixes.
781         (do_test): Send a "formerr."-prefixed query in an attempt to
782         trigger EDNS fallback.
784 2017-04-13  Florian Weimer  <fweimer@redhat.com>
786         [BZ #21361]
787         Limit EDNS buffer size to 1200 bytes.
788         * include/resolv.h (__res_nopt): Remove declaration.
789         * resolv/Makefile (tests): tst-resolv-edns.
790         (tst-resolv-edns): Link with -lresolv, -lpthread.
791         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
792         interval [512, 1200].
793         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
794         we can resize the buffer.
795         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
796         (__res_nopt): Declare.
797         * resolv/tst-resolv-edns.c: New file.
798         * resolv/resolv_test.h (struct resolv_edns_info): Define.
799         (struct resolv_response_context): Add edns member.
800         * resolv/resolv_test.c (struct query_info): Add edns member.
801         (parse_query): Extract EDNS information from the query.
802         (server_thread_udp_process_one): Propagate EDNS data.
803         (server_thread_tcp_client): Likewise.
805 2017-04-13  Florian Weimer  <fweimer@redhat.com>
807         [BZ #21359]
808         * resolv/ns_name.c (ns_name_pack): Do not require an additional
809         byte in the destination buffer.  Avoid out-of-bounds pointer
810         arithmetic.
811         * resolv/Makefile (tests): Add tst-ns_name_compress.
812         (tst-ns_name_compress): Link with -lresolv.
813         * resolv/tst-ns_name_compress.c: New file.
814         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
815         (response): Recognize LONG_NAME.
816         (do_test): Add LONG_NAME tests.
817         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
818         for ns_name_unpack.  Add tests for ns_name_pton and
819         ns_name_compress.
821 2017-04-13  Florian Weimer  <fweimer@redhat.com>
823         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
824         (res_nisourserver): Remove definition.
825         (p_section, res_npquery, res_nisourserver): Remove declaration.
826         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
827         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
828         ... here.
829         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
830         <resolv.h>.
831         * resolv/res_query.c: Likewise.
832         * resolv/res_debug.c (p_section): Define as static.
834 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
836         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
837         strncat-power8.
838         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
839         __strncat_power8 to ifunc list.
840         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
841         (strncat): Add __strncat_power8 to list of strncat functions.
842         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
844 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
846         [BZ #21270]
847         * posix/tst-mmap-offset.c (do_prepare): New function.
848         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
849         (do_test_bz21270): New function.
850         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
851         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
852         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
853         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
854         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
855         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
856         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
857         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
858         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
859         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
860         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
861         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
862         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
863         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
864         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
865         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
866         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
867         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
868         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
869         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
870         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
871         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
872         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
873         from auto-generation list.
874         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
875         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
876         * sysdeps/unix/sysv/linux/mmap.c: New file.
877         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
878         offsets and support for mmap2 syscall.
880         * posix/globtest.sh: Add cleanup routine on trap 0.
882 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
884         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
885         implementation-specific function name and remove unneeded
886         macros definition.
887         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
888         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
889         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
890         name if not defined and pass as parameter to macros accordingly.
891         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
892         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
894         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
895         implementation-specific function name and remove unneeded
896         macros definition.
897         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
898         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
899         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
900         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
901         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
902         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
903         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
904         name if not defined and pass as parameter to macros accordingly.
905         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
906         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
907         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
908         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
909         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
910         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
912         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
913         implementation-specific function name and remove unneeded macros
914         definition.
915         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
916         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
917         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
918         function name if not defined and pass as parameter to macros
919         accordingly.
920         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
921         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
923         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
924         implementation-specific function name and remove unneeded macros
925         definition.
926         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
927         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
928         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
929         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
930         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
931         not defined and pass as parameter to macros accordingly.
932         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
933         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
934         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
935         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
937         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
938         strcasestr implementation name and remove unneeded macros definition.
939         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
940         strstr implementation name and remove unneeded macros definition.
941         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
942         name if not defined and pass as parameter to macros accordingly.
943         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
945         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
946         implementation-specific function name and remove unneeded macros
947         definition.
948         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
949         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
950         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
951         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
952         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
953         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
954         function name if not defined and pass as parameter to macros
955         accordingly.
956         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
957         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
958         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
959         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
961         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
962         the strlen implementation name and remove unneeded macros definition.
963         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
964         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
965         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
966         the strnlen implementation name and remove unneeded macros definition.
967         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
968         name if not defined and pass as parameter to macros accordingly.
969         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
970         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
971         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
973         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
974         the implementation-specific function name and remove unneeded
975         macros definition.
976         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
977         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
978         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
979         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
980         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
981         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
982         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
983         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
984         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
985         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
986         name if not defined and pass as parameter to macros accordingly.
987         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
988         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
989         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
990         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
991         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
992         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
993         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
994         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
996         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
997         implementation-specific function name and remove unneeded macros
998         definition.
999         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
1000         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
1001         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
1002         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
1003         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
1004         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
1005         function name if not defined.
1006         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
1007         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1009 2017-04-11  Paul Clarke  <pc@us.ibm.com>
1011         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
1012         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
1013         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
1014         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
1016 2017-04-11  Florian Weimer  <fweimer@redhat.com>
1017             Zack Weinberg  <zackw@panix.com>
1019         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
1020         readdir64 as thread-safe.  Update warning about readdir_r.
1022 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1024         * sysdeps/unix/sysv/linux/x86/Implies: New file.
1025         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
1026         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
1027         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
1028         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
1029         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
1030         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1032 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
1034         * sysdeps/i386/dl-procinfo.c: Include
1035         <sysdeps/x86/dl-procinfo.c>.
1036         * sysdeps/x86_64/dl-procinfo.c: Likewise.
1037         * sysdeps/x86/dl-procinfo.c: New file.
1039 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1041         * sysdeps/generic/math_private.h: Remove declarations of
1042         many functions that are already declared in math.h.
1043         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
1044         declaration for __frexpl.
1045         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
1046         the declarations for __scalbnl and fabsl.
1048 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
1050         [BZ #20831]
1051         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
1052         of __mprotect to change protection on the excess portion
1053         to disallow all access.
1055 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
1057         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
1058         HAS_CPU_FEATURE to check for SSE.
1059         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1060         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
1061         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
1062         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
1063         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
1064         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
1065         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
1066         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
1067         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1068         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
1069         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1070         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
1071         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
1072         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
1073         (index_cpu_SSE): Likewise.
1074         (reg_SSE): Likewise.
1076 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
1078         * posix/getopt1.c: Include <config.h>, not "config.h".
1080 2017-04-07  Zack Weinberg  <zackw@panix.com>
1082         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
1083         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
1084         Mention in top-of-file boilerplate that these files are shared
1085         with gnulib.
1086         * posix/getopt.h, posix/bits/getopt_posix.h:
1087         Mention in top-of-file boilerplate that these files are NOT shared
1088         with gnulib, unlike the rest of the getopt implementation.
1090         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
1091         New files, intended to be shared with gnulib.
1092         * posix/bits/getopt_posix.h:
1093         New file, not intended to be shared with gnulib.
1094         * posix/getopt.h: Now just includes features.h,
1095         bits/getopt_core.h, and bits/getopt_ext.h.  Will
1096         no longer be shared with gnulib.
1097         * include/bits/getopt_core.h, include/bits/getopt_ext.h
1098         * include/bits/getopt_posix.h: New wrappers.
1099         * posix/Makefile: Install new headers.
1100         * posix/unistd.h, libio/stdio.h:
1101         Include bits/getopt_posix.h instead of getopt.h.
1103         * include/libc-symbols.h: For gnulib compatibility, define
1104         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
1105         _GL_ATTRIBUTE_CONST.
1106         * posix/getopt.c (_getopt_initialize): Mark argc and argv
1107         parameters with _GL_UNUSED.
1109         * posix/getopt.c: When used standalone, define __libc_use_alloca
1110         as always false and alloca to abort if called.
1111         (process_long_option): Rewrite handling of ambiguous long options
1112         to use a single boolean vector, not a linked list; use
1113         __libc_use_alloca to decide whether to allocate this using alloca.
1114         * posix/tst-getopt_long1.c: Adjust text of expected error message.
1116         * posix/getopt.c (process_long_option): New function split out
1117         from _getopt_internal_r.
1118         (_getopt_internal_r): Replace both copies of the long-option
1119         processing code with calls to process_long_option.
1120         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
1121         (do_test): Differentiate argv[0] in the two subtests.
1123         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
1124         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
1125         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
1127         * posix/getopt.h: Add backup definition of __nonnull for
1128         consistency with gnulib.  Define __getopt_argv_const to const
1129         if not already defined.
1130         (getopt): Update doc comment from gnulib.  Prototype
1131         unconditionally.  Add __nonnull annotation.
1132         (__posix_getopt): Add __nonnull annotation.
1133         (getopt_long, getopt_long_only): Use __getopt_argv_const in
1134         prototypes for consistency with gnulib.  Add __nonnull
1135         annotations.
1136         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
1137         (getopt_internal): Change 'argv' argument to type 'char **'.
1138         Remove now-unnecessary casts.
1139         (getopt, __posix_getopt): Eliminate repetition with a macro.
1140         Cast 'argv' to 'char **' when calling _getopt_internal.
1141         * posix/getopt1.c (getopt_long, getopt_long_only):
1142         Use __getopt_argv_const for consistency with gnulib.
1143         Cast 'argv' to 'char **' when calling _getopt_internal.
1144         (_getopt_long_r, _getopt_long_only_r):
1145         Change 'argv' argument to type 'char **'.
1146         (main): Constify 'long_options'.
1147         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
1148         (_getopt_long_r, _getopt_long_only_r):
1149         Change 'argv' argument to type 'char **'.
1151         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
1152         (locked_vfxprintf): New helper function. Handle arbitrary
1153         multibyte strings, not just ASCII.
1154         * include/stdio.h: Declare __fxprintf_nocancel.
1155         * posix/getopt.c: When _LIBC is defined, define fprintf to
1156         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
1157         to _IO_funlockfile.  When neither _LIBC nor
1158         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
1159         funlockfile as no-ops.
1160         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
1161         the standalone error-printing code can now be used for libc as
1162         well.  Add an flockfile/funlockfile pair around one case where
1163         the error message is printed in several chunks.  Don't use fputc.
1164         * posix/tst-getopt-cancel.c: New test.
1165         * posix/Makefile: Run it.
1167         * posix/getopt.c (_getopt_internal_r): Don't increment
1168         d->optind a second time when reporting ambiguous -W options.
1170         * posix/getopt_int.h: Include getopt.h.
1171         Use impl-namespace names for all arguments to _getopt_internal and
1172         _getopt_internal_r.
1173         Declare __ordering enum outside the struct.
1174         Harmonize comments with gnulib.
1175         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
1176         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
1177         #ifdef TEST block and make unconditional.  Do not define NULL.
1178         * posix/getopt.c: Partial merge from gnulib, covering the
1179         initial includes and global declarations, commentary, and
1180         a couple of semantically-neutral code changes.
1182         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
1183         Use '...' instead of `...' for quotation marks inside
1184         comments and strings.
1186         * config.h.in (USE_NONOPTION_FLAGS): Remove.
1187         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
1188         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1189         * posix/getopt_int.h: Likewise.
1190         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
1191         __libc_argc and __libc_argv externs, which were only used by
1192         #ifdef USE_NONOPTION_FLAGS blocks.
1193         * posix/getopt_init.c: Remove file.
1194         * posix/Makefile (routines): Remove getopt_init.
1195         * include/getopt.h: Don't declare __getopt_initialize_environment.
1196         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
1197         a comment.
1199 2017-04-07  Florian Weimer  <fweimer@redhat.com>
1201         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
1203 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1205         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
1206         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
1207         to __wrap_.udiv.
1208         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
1209         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
1211         * sysdeps/i386/symbol-hacks.h: New file.
1212         * sysdeps/m68k/symbol-hacks.h: New file.
1213         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
1214         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
1215         * sysdeps/unix/sysv/linux/i386/Makefile
1216         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
1217         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1218         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1219         * sysdeps/unix/sysv/linux/m68k/Makefile
1220         [$(subdir) = csu] (sysdep_routines): Likewise.
1221         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1222         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1224         [$(subdir) = csu] (sysdep_routines): Likewise.
1225         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1226         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1227         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1228         [$(subdir) = csu] (sysdep_routines): Likewise.
1229         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1230         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1231         * sysdeps/wordsize-32/Makefile: Remove file.
1232         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
1233         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
1235 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
1237         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
1238         (TEST_FUNCTION_ARGV): New.
1240 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1242         * elf/next.c: Import support/test-driver.c instead of
1243         test-skeleton.c and delete TEST_FUNCTION macro definition.
1244         * elf/nodelete.c: Likewise.
1245         * elf/order2.c: Likewise.
1246         * elf/tst-_dl_addr_inside_object.c: Likewise.
1247         * elf/tst-addr1.c: Likewise.
1248         * elf/tst-align.c: Likewise.
1249         * elf/tst-align2.c: Likewise.
1250         * elf/tst-audit11.c: Likewise.
1251         * elf/tst-audit12.c: Likewise.
1252         * elf/tst-audit2.c: Likewise.
1253         * elf/tst-audit9.c: Likewise.
1254         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
1255         * elf/tst-deep1.c: Likewise.
1256         * elf/tst-dl-iter-static.c: Likewise.
1257         * elf/tst-dlmodcount.c: Likewise.
1258         * elf/tst-dlmopen1.c: Likewise.
1259         * elf/tst-dlmopen2.c: Likewise.
1260         * elf/tst-dlmopen3.c: Likewise.
1261         * elf/tst-dlopen-aout.c: Likewise.
1262         * elf/tst-dlopenrpath.c: Likewise.
1263         * elf/tst-dlsym-error.c: Likewise.
1264         * elf/tst-execstack-needed.c: Likewise.
1265         * elf/tst-execstack-prog.c: Likewise.
1266         * elf/tst-execstack.c: Likewise.
1267         * elf/tst-global1.c: Likewise.
1268         * elf/tst-gnu2-tls1.c: Likewise.
1269         * elf/tst-latepthread.c: Likewise.
1270         * elf/tst-leaks1.c: Likewise.
1271         * elf/tst-linkall-static.c: Likewise.
1272         (do_test): New function.
1273         * elf/tst-nodelete-opened.c: Likewise.
1274         * elf/tst-nodelete.cc: Likewise.
1275         * elf/tst-nodelete2.c: Likewise.
1276         * elf/tst-noload.c: Likewise.
1277         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
1278         * elf/tst-order-main.c: Likewise.
1279         * elf/tst-pathopt.c: Likewise.
1280         * elf/tst-pie2.c: Likewise.
1281         * elf/tst-piemod1.c: Likewise.
1282         * elf/tst-prelink.c: Likewise.
1283         * elf/tst-protected1a.c: Likewise.
1284         * elf/tst-protected1b.c: Likewise.
1285         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
1286         and define _GNU_SOURCE macro.
1287         (cmdline_process_function): New function.
1288         * elf/tst-relsort1.c: Likewise.
1289         * elf/tst-stackguard1.c: Likewise, import getopt.h,
1290         and define _GNU_SOURCE macro.
1291         (cmdline_process_function): New function.
1292         * elf/tst-thrlock.c: Likewise.
1293         * elf/tst-tls-dlinfo.c: Likewise.
1294         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
1295         * elf/tst-tls1.c: Likewise.
1296         * elf/tst-tls10.c: Likewise.
1297         * elf/tst-tls11.c: Likewise.
1298         * elf/tst-tls12.c: Likewise.
1299         * elf/tst-tls13.c: Likewise.
1300         * elf/tst-tls14.c: Likewise.
1301         * elf/tst-tls15.c: Likewise.
1302         * elf/tst-tls16.c: Likewise.
1303         * elf/tst-tls17.c: Likewise.
1304         * elf/tst-tls18.c: Likewise.
1305         * elf/tst-tls19.c: Likewise.
1306         * elf/tst-tls2.c: Likewise.
1307         * elf/tst-tls3.c: Likewise.
1308         * elf/tst-tls4.c: Likewise.
1309         * elf/tst-tls5.c: Likewise.
1310         * elf/tst-tls6.c: Likewise.
1311         * elf/tst-tls7.c: Likewise.
1312         * elf/tst-tls8.c: Likewise.
1313         * elf/tst-tls9.c: Likewise.
1314         * elf/tst-tlsalign-extern.c: Likewise.
1315         * elf/tst-tlsalign.c: Likewise.
1316         * elf/tst-unique1.c: Likewise.
1317         * elf/tst-unique2.c: Likewise.
1318         * elf/vismain.c: Likewise.
1320 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1322         * string/test-strnlen.c (do_page_tests): New function
1323         to check length of strings ending at the page boundary.
1324         (test_main): Added call to the do_page_tests function.
1326 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1327             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1329         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1330         (sysdep_routines): Add strnlen-power8.
1331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1332         (strnlen): Add __strnlen_power8 to list of strnlen functions.
1333         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
1334         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
1335         (__strnlen): Add __strnlen_power8 to ifunc list.
1336         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
1338 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1340         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
1341         the TEST_FUNCTION macro definition.
1342         * wcsmbs/tst-mbrtowc2.c: Likewise.
1343         * wcsmbs/tst-mbsrtowcs.c: Likewise.
1344         * wcsmbs/tst-wchar-h.c: Likewise.
1345         * wcsmbs/tst-wcpncpy.c: Likewise.
1346         * wcsmbs/tst-wcrtomb.c: Likewise.
1347         * wcsmbs/tst-wcsnlen.c: Likewise.
1348         * wcsmbs/tst-wcstof.c: Likewise.
1350 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1352         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
1353         CALL_THREAD_FCT macro usage.
1354         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
1355         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
1356         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
1358         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
1359         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1360         (__ASSUME_REQUEUE_PI): Likewise.
1361         * sysdeps/unix/sysv/linux/kernel-features.h
1362         (__ASSUME_REQUEUE_PI): Likewise.
1363         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1364         (__ASSUME_REQUEUE_PI): Likewise.
1365         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1366         (__ASSUME_REQUEUE_PI): Likewise.
1367         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1368         (__ASSUME_REQUEUE_PI): Likewise.
1370 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1372         * resolv/tst-resolv-canonname.c: New file.
1373         * resolv/Makefile (tests): Add tst-resolv-canonname.
1374         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
1376 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1378         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
1379         Declare.
1380         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
1381         (NS_MAXCDNAME): Remove definition.
1382         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
1383         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
1384         (NS_MAXCDNAME): Remove definition.
1385         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
1387 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1389         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
1390         call whose result is not used.
1392 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1394         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
1395         * resolv/Makefile (tests): Add tst-ns_name.
1396         (tst-ns_name): Link with -lresolv.
1397         (tst-ns_name.out): Depend on the input data file.
1399 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
1401         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
1402         Clobber also r14.
1404 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
1406         [BZ #21253]
1407         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
1408         slack space by 32KiB.
1410 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
1412         [BZ #21338]
1413         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
1414         instead of incorrect do_set_arena_test
1416 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1418         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
1419         * math/bits/math-finite.h: Likewise.
1421 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
1423         [BZ #21289]
1424         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
1426 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1428         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
1429         non expected inotify_add_watch and quotactl return.
1431 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1433         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
1434         to int32_t.
1435         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
1436         as returning int32_t.
1438 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1440         * math/math.h: Include bits/math-finite.h once per
1441         floating-point type.
1442         * math/bits/math-finite.h: Macroize all declarations by
1443         floating-point type.
1445 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1447         [BZ #21182]
1448         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
1449         near end of a page.
1450         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
1451         overflow calculation.
1453 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
1455         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
1456         (IMPL) Call with 1 instead of 0 as argument.
1458 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1460         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
1461         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
1462         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
1463         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
1464         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
1465         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
1466         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
1467         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
1468         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
1469         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1470         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1471         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1472         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1473         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1474         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1475         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1476         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1477         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1478         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1479         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1480         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1481         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1482         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1483         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1484         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1485         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1486         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1487         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1488         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1489         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1490         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1491         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1492         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1493         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1494         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1495         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1496         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1497         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1498         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1499         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1500         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1501         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1502         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1503         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1504         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1505         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1506         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1507         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1508         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1509         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1510         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1511         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1512         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1513         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1514         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1515         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1516         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1517         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1518         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1519         defined.
1520         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1521         __NR_setgroups32 if defined.
1522         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1523         if defined.
1524         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1525         __NR_setresgid32 is defined.
1526         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1527         __NR_setresuid32 if defined.
1528         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1529         __NR_setreuid32 if defined.
1530         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1531         defined.
1532         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
1533         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
1534         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
1535         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
1536         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
1537         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
1538         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
1539         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
1540         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
1541         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1542         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1543         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1544         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1545         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1546         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1547         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1548         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1549         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1550         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1551         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1552         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1553         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1554         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1555         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1556         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1557         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1558         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1559         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1560         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1561         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1562         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1563         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1564         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1565         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1566         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1567         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1568         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1569         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1570         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1571         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1572         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1573         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1574         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1575         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1576         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1577         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1578         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1579         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1580         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1581         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1582         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1583         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1584         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1585         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1586         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1587         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1588         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1589         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1590         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1591         defined.
1592         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1593         __NR_setgroups32 if defined.
1594         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1595         if defined.
1596         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1597         __NR_setresgid32 is defined.
1598         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1599         __NR_setresuid32 if defined.
1600         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1601         __NR_setreuid32 if defined.
1602         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1603         defined.
1605 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
1607         [BZ #21277]
1608         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
1609         unconditionally.
1610         (IMAXBEL): Likewise.
1611         (IUTF8): Likewise.
1613 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1615         * sysdeps/aarch64/libm-test-ulps: Update.
1617 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
1619         * README.tunables: Updated descriptions.
1620         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
1621         * scripts/gen-tunables.awk: Updated the code related to the
1622         commit.
1624 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
1626         * benchtests/Makefile (string-benchset): Add memcpy-random.
1627         * benchtests/bench-memcpy-random.c: New file.
1629 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1631         * stdio-common/printf.h (register_printf_modifier): Change the
1632         order of __wur and __THROW.
1633         (register_printf_type): Likewise.
1635 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1637         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
1638         test_main ().
1639         (CMDLINE_PROCESS): Use function instead of defined macro.
1640         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
1641         <suppport/support.h> to use set_fortify_handler().
1642         * string/bug-envz1.c: Import support/test-driver.c instead of
1643         test-skeleton.c.
1644         * string/bug-strcoll2.c: Likewise.
1645         * string/bug-strtok1.c: Likewise.
1646         * string/stratcliff.c: Likewise.
1647         * string/test-ffs.c: Likewise.
1648         * string/test-memccpy.c: Likewise.
1649         * string/test-memchr.c: Likewise.
1650         * string/test-memcmp.c: Likewise.
1651         * string/test-memcpy.c: Likewise.
1652         * string/test-memmem.c: Likewise.
1653         * string/test-memmove.c: Likewise.
1654         * string/test-memrchr.c: Likewise.
1655         * string/test-memset.c: Likewise.
1656         * string/test-rawmemchr.c: Likewise.
1657         * string/test-strcasecmp.c: Likewise.
1658         * string/test-strcasestr.c: Likewise.
1659         * string/test-strcat.c: Likewise.
1660         * string/test-strchr.c: Likewise.
1661         * string/test-strcmp.c: Likewise.
1662         * string/test-strcpy.c: Likewise.
1663         * string/test-string.h: Likewise.
1664         * string/test-strlen.c: Likewise.
1665         * string/test-strncasecmp.c: Likewise.
1666         * string/test-strncat.c: Likewise.
1667         * string/test-strncmp.c: Likewise.
1668         * string/test-strncpy.c: Likewise.
1669         * string/test-strnlen.c: Likewise.
1670         * string/test-strpbrk.c: Likewise.
1671         * string/test-strrchr.c: Likewise.
1672         * string/test-strspn.c: Likewise.
1673         * string/test-strstr.c: Likewise.
1674         * string/tst-bswap.c: Likewise.
1675         * string/tst-cmp.c: Likewise.
1676         * string/tst-endian.c: Likewise.
1677         * string/tst-inlcall.c: Likewise.
1678         * string/tst-strcoll-overflow.c: Likewise.
1679         * string/tst-strfry.c: Likewise.
1680         * string/tst-strlen.c: Likewise.
1681         * string/tst-strtok.c: Likewise.
1682         * string/tst-strtok_r.c: Likewise.
1683         * string/tst-strxfrm.c: Likewise.
1684         * string/tst-strxfrm2.c: Likewise.
1685         * string/tst-svc.c: Likewise.
1686         * string/tst-svc2.c: Likewise.
1688 2017-03-22  Zack Weinberg  <zackw@panix.com>
1690         * stdio-common/bug25.c: Include stdlib.h.
1691         * support/tst-support_format_dns_packet.c: Include stdio.h,
1692         stdlib.h, and string.h.
1693         * support/tst-support_record_failure.c: Include string.h.
1694         * support/tst-support_record_failure-2.sh: Adjust line number
1695         expectations and correct a typo in an error message.
1697 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1699         [BZ #21258]
1700         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
1701         Define only if _dl_runtime_resolve is defined to
1702         _dl_runtime_resolve_sse_vex.
1703         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
1704         Fallthrough to _dl_runtime_resolve_sse_vex.
1706 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
1708         * INSTALL: Regenerated.
1710 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
1712         * config.h.in: Add LINK_OBSOLETE_NSL.
1713         * config.make.in: Add build-obsolete-nsl.
1714         * configure.ac: Add obsolete-nsl option.
1715         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
1716         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
1717         * include/rpcsvc/nislib.h: Likewise.
1718         * include/rpcsvc/ypclnt.h: Likewise.
1719         * manual/install.texi: Document --enable-obsolete-nsl.
1720         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
1721         * nis/nis_add.c: Replace libnsl_hidden_def with
1722         libnsl_hidden_nolink_def.
1723         * nis/nis_addmember.c: Likewise.
1724         * nis/nis_call.c: Likewise.
1725         * nis/nis_clone_obj.c: Likewise.
1726         * nis/nis_defaults.c: Likeise.
1727         * nis/nis_domain_of_r.c: Likewise.
1728         * nis/nis_error.c: Likewise.
1729         * nis/nis_file.c: Likewise.
1730         * nis/nis_free.c: Likewise.
1731         * nis_local_names.c: Likewise.
1732         * nis/nis_lookup.c: Likewise.
1733         * nis/nis_modify.c: Likewise.
1734         * nis/nis_print.c: Likewise.
1735         * nis/nis_remove.c: Likewise.
1736         * nis/nis_table.c: Likewise.
1737         * nis/nis_util.c: Likewise.
1738         * nis/nis_xdr.c: Likewise.
1739         * nis/yp_xdr.c: Likewise.
1740         * nis/ypclnt.c: Likewise.
1741         * nis/ypupdate_xdr.c: Likewise.
1742         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
1743         * nis/nis_clone_dir.c: Likewise.
1744         * nis/nis_clone_res.c: Likewise.
1745         * nis/nis_creategroup.c: Likewise.
1746         * nis/nis_destroygroup.c: Likewise.
1747         * nis/nis_domain_of.c: Likewise.
1748         * nis/nis_getservlist.c: Likewise.
1749         * nis/nis_ismember.c: Likewise.
1750         * nis/nis_mkdir.c: Likewise.
1751         * nis/nis_ping.c: Likewise.
1752         * nis/nis_print_group_entry.c: Likewise.
1753         * nis/nis_removemember.c: Likewise.
1754         * nis/nis_rmdir.c: Likewise.
1755         * nis/nis_server.c: Likewise.
1756         * nis/nis_subr.c: Likewise.
1757         * nis/nis_verifygroup.c: Likewise.
1759 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1761         * malloc/tst-interpose-aux.c (check_for_allocations):
1762         Move compiler barrier before free.
1764 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
1766         [BZ #21279]
1767         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1768         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1769         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
1770         x86_64-x32-linux.
1771         (mq_attr.mq_maxmsg): Likewise.
1772         (mq_attr.mq_msgsize): Likewise.
1773         (mq_attr.mq_curmsgs): Likewise.
1775         [BZ #21278]
1776         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
1777         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1778         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
1779         mips-o32-linux.
1781         [BZ #21268]
1782         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
1783         if [__USE_MISC]
1784         (NL3): Likewise.
1786 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
1788         [BZ #21275]
1789         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
1790         __stack to __stackbase.
1791         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
1792         checks so we can include defined(__ia64__) first.
1794 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
1796         * sysdeps/unix/sysv/linux/ttyname.h: New file.
1797         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
1798         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
1799         Call is_pty when the link does not exist or does not match, fail
1800         with ENODEV when it returns true.
1801         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
1802         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
1803         Call is_pty when the link does not exist or does not match, fail
1804         with ENODEV when it returns true.
1806 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
1808         [BZ #16437]
1809         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1810         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1811         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
1812         x86_64-x32-linux.
1813         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
1814         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
1815         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
1817         [BZ #21261]
1818         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
1819         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
1820         names for all fields.
1821         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
1822         for jmp_buf field renaming.
1823         (_JMPBUF_UNWINDS_ADJ): Likewise.
1825         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
1826         with allow-header.
1828 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
1830         * malloc/malloc.c (unlink): Add consistency check between size and
1831         next->prev->size, to further harden against 1-byte overflows.
1833 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
1835         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
1836         CPU_FEATURES_CPU_P.
1838 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
1840         [BZ #21259]
1841         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
1842         unconditionally, not just for [__USE_MISC].
1844         [BZ #17786]
1845         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
1846         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
1847         mips-o32-linux.
1849         [BZ #21260]
1850         * sysdeps/unix/sysv/linux/alpha/Makefile
1851         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1852         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
1854         * conform/conformtest.pl ($cross): New variable.
1855         (--cross): New command-line option.
1856         (runtest): Skip test execution when cross-compiling.
1857         * conform/Makefile (conformtest-cross): New variable.
1858         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
1859         conformtest.pl.
1861         * conform/conformtest.pl ($xfail_str): New variable.
1862         (--xfail=): New command-line option.
1863         (top level): Handle expectations starting xfail[cond]-.
1864         * conform/Makefile (conformtest-xfail): New variable.
1865         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
1866         conformtest.pl.
1868 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1870         * conform/conformtest.pl: Use compilation instead of execution
1871         tests for testing values of constants and usability in #if.
1873 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1875         * math/auto-libm-test-in: Mark some catan and catanh as
1876         xfail-rounding:ibm128-libgcc.
1877         * math/auto-libm-test-out-catan: Regenerate.
1878         * math/auto-libm-test-out-catanh: Likewise.
1880 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1882         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
1883         (__END_NAMESPACE_STD): Likewise.
1884         (__USING_NAMESPACE_STD): Likewise.
1885         (__BEGIN_NAMESPACE_C99): Likewise.
1886         (__END_NAMESPACE_C99): Likewise.
1887         (__USING_NAMESPACE_C99): Likewise.
1888         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
1889         undefine macro.
1890         (_Mdouble_END_NAMESPACE): Likewise.
1891         * ctype/ctype.h: Do not handle C++ namespaces.
1892         * libio/bits/stdio-ldbl.h: Likewise.
1893         * libio/stdio.h: Likewise.
1894         * locale/locale.h: Likewise.
1895         * math/bits/mathcalls.h: Likewise.
1896         * setjmp/setjmp.h: Likewise.
1897         * signal/signal.h: Likewise.
1898         * stdlib/bits/stdlib-float.h: Likewise.
1899         * stdlib/bits/stdlib-ldbl.h: Likewise.
1900         * stdlib/stdlib.h: Likewise.
1901         * string/string.h: Likewise.
1902         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
1903         * time/bits/types/clock_t.h: Likewise.
1904         * time/bits/types/struct_tm.h: Likewise.
1905         * time/bits/types/time_t.h: Likewise.
1906         * time/time.h: Likewise.
1907         * wcsmbs/bits/wchar-ldbl.h: Likewise.
1908         * wcsmbs/uchar.h: Likewise.
1909         * wcsmbs/wchar.h: Likewise.
1910         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
1911         * wctype/wctype.h: Do not handle C++ namespaces.
1912         * scripts/begin-end-check.pl: Remove.
1913         * Makefile (installed-headers): Likewise.
1914         (tests-special): Do not add $(objpfx)begin-end-check.out.
1915         ($(objpfx)begin-end-check.out): Remove.
1917 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
1918             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1920         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
1921         (DL_PLATFORM_INIT): New define.
1922         (dl_platform_init): New function.
1923         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
1924         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
1925         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
1926         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
1927         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
1929 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
1931         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
1932         instead of PIC.
1934 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
1936         [BZ #21094]
1937         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
1938         24+24+24-bit pi for wider range of values around pi/2.
1939         * math/auto-libm-test-in: Add more tests of cos and tan.
1940         * math/auto-libm-test-out-cos: Regenerated.
1941         * math/auto-libm-test-out-tan: Likewise.
1943 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
1945         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
1946         (RTLD_START): Don't record stack end address in _dl_start_user.
1948 2017-03-15  Alexey Neyman  <stilor@att.net>
1950         [BZ #21088]
1951         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
1952         around definitions match those around use.
1954 2017-03-15  Alexey Neyman  <stilor@att.net>
1956         * configure.ac: Avoid empty subexpression in grep.
1957         * configure: Regenerate.
1959 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1961         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
1962         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
1963         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
1964         (test_wrp_rv): Fix format.
1965         (test_wrp_rv2): New macro.
1966         (do_test): Handle mlock return on 64 bits kernels with 32 bits
1967         binaries.
1969 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
1971         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
1972         Use a union when storing pointers.
1973         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
1974         cast result when passing to INIT_VEC_PTRS_LOOP.
1975         (VECTOR_WRAPPER_fFF_3): Likewise.
1976         (VECTOR_WRAPPER_fFF_4): Likewise.
1978 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1980         * include/bits/mathcalls-helper-functions.h: New file.
1981         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
1982         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
1983         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
1984         math/bits/mathcalls-helper-functions.h.
1985         * math/bits/mathcalls-helper-functions.h: New file.
1986         * math/math.h: Include bits/mathcalls-helper-functions.h for
1987         float, double, and long double.
1989 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1991         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
1992         instead of feraiseexcept.
1994 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1996         [BZ #21243]
1997         * support/temp_file.c (support_delete_temp_files): Add comment
1998         about ignored errors.
2000 2017-03-15  Florian Weimer  <fweimer@redhat.com>
2002         [BZ #21244]
2003         * support/xclose.c: New file.
2004         * support/Makefile (libsupport-routines): Add xclose.
2005         * support/xunistd.h (xclose): Declare.
2006         * support/resolv_test.c (server_thread_tcp_client)
2007         (server_thread_tcp, make_server_sockets, resolv_test_start)
2008         (resolv_test_end): Call xclose instead of close.
2009         * support/support_enter_network_namespace.c
2010         (support_enter_network_namespace): Likewise.
2011         * support/support_run_diff.c (write_to_temp_file): Likewise.
2013 2017-03-15  Florian Weimer  <fweimer@redhat.com>
2015         * support/support_format_dns_packet.c (support_format_dns_packet):
2016         Handle CNAME records in the response.  Extract RDATA names from
2017         rdata, not the whole packet.  Check AAAA record length.
2018         * support/tst-support_format_dns_packet.c: New file.
2019         * support/Makefile (tests): Add tst-support_format_dns_packet.
2020         (tst-support_format_dns_packet): Link against libresolv.
2022 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2024         [BZ #21232]
2025         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
2026         posix_fadvise64 weak_alias for static build.
2028 2017-03-14  Andreas Schwab  <schwab@suse.de>
2030         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
2031         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
2032         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
2033         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
2034         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
2035         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
2036         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
2037         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
2039 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2041         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
2042         posix error code.
2043         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2045 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2047         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
2048         no_isolate usage for SH.
2050 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
2052         [BZ #15105]
2053         [BZ #19463]
2054         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
2055         * inet/rcmd.c (rcmd_af): Likewise.
2056         * inet/rexec.c   (rexec_af): Likewise.
2057         * intl/dcigettext.c (_LIBC): Likewise.
2058         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
2059         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
2060         * locale/setlocale.c (setlocale): Likewise.
2061         * posix/spawn_faction_addopen.c
2062         (posix_spawn_file_actions_addopen): Likewise.
2063         * stdlib/putenv.c (putenv): Use __strndup.
2064         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
2065         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
2066         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
2067         (__Need_M_And_C) Remove define/undef.
2068         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
2069         (__malloc_and_calloc_defined): Remove define.
2070         * string/bits/string2.h (__strdup): Remove define.
2071         (strdup): Likewise.
2072         (__strndup): Likewise.
2073         (strndup): Likewise.
2075 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
2077         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
2078         macro.
2079         (IPV6_ADDR_PREFERENCES): Likewise.
2080         (IPV6_MINHOPCOUNT): Likewise.
2081         (IPV6_ORIGDSTADDR): Likewise.
2082         (IPV6_RECVORIGDSTADDR): Likewise.
2083         (IPV6_TRANSPARENT): Likewise.
2084         (IPV6_UNICAST_IF): Likewise.
2085         (IPV6_RECVFRAGSIZE): Likewise.
2087 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
2089         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
2091 2017-03-12  Alexey Neyman <stilor@att.net>
2093         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
2094         in R_SH_DIR32 case is always false when inlined from
2095         dl-conflict.c. Ifdef out to prevent GCC from insertin an
2097 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
2099         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2100         (__ASSUME_RECV_SYSCALL): Replace duplicate by
2101         __ASSUME_SEND_SYSCALL.
2103 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
2105         * sunrpc/Makefile: don't build and install rpcsvc header
2106         files, rpcgen and librpcsvc.a by default.
2108 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
2110         * math/auto-libm-test-out-catan: Regenerated.
2111         * math/auto-libm-test-out-catanh: Likewise.
2112         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2114 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
2116         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
2117         for long double with corrected test expectations.
2119 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2121         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
2122         Define.
2123         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2124         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
2125         * sysdeps/unix/sysv/linux/nios2/sysdep.h
2126         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
2127         * sysdeps/unix/sysv/linux/tile/sysdep.h
2128         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
2129         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2130         (__ASSUME_RECV_SYSCALL): Define.
2131         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2132         (__ASSUME_RECV_SYSCALL): Likewise.
2133         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2134         (__ASSUME_RECV_SYSCALL): Likewise.
2135         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2136         (__ASSUME_RECV_SYSCALL): Likewise.
2137         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2138         (__ASSUME_RECV_SYSCALL): Likewise.
2139         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2140         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
2141         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2142         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2143         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2144         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2145         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
2146         auto-generation list.
2147         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2148         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2149         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
2150         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2151         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2152         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
2153         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
2154         __ASSUME_SENDTO_SYSCALL.
2155         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
2156         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
2157         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
2159         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
2160         auto-generation list.
2161         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2162         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2163         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2164         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2165         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2166         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2167         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2168         * sysdeps/unix/sysv/linux/kernel-features.h
2169         (__ASSUME_SENDTO_SYSCALL): Define by default.
2170         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2171         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
2172         __NR_sendto.
2173         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2174         (__ASSUME_SENDTO_SYSCALL): Likewise.
2175         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2176         (__ASSUME_SENDTO_SYSCALL): Likewise.
2177         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2178         (__ASSUME_SENDTO_SYSCALL): Remove definition.
2179         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2180         (__ASSUME_SENDTO_SYSCALL): Likewise.
2181         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
2182         (__ASSUME_SENDTO_SYSCALL): Likewise.
2183         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
2185         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
2186         auto-generation list.
2187         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2188         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2189         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2190         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2191         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2192         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2193         (__ASSUME_RECV_SYSCALL): New define.
2194         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2195         (__ASSUME_RECV_SYSCALL): Likewise.
2196         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2197         (__ASSUME_RECV_SYSCALL): Likewise.
2198         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2199         (__ASSUME_RECV_SYSCALL): Likewise.
2200         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2201         (__ASSUME_RECV_SYSCALL): Likewise.
2202         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2203         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2204         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2205         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2206         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2207         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2208         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
2209         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
2210         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
2211         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
2212         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
2213         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
2215         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
2216         auto-generation list.
2217         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2218         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2219         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2220         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2221         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2222         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2223         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2224         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2225         (__ASSUME_RECVFROM_SYSCALL): Define by default.
2226         * sysdeps/unix/sysv/linux/kernel-features.h
2227         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
2228         __NR_recvfrom.
2229         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2230         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2231         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2232         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2233         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2234         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
2235         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2236         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2237         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2238         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2239         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2240         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2241         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
2243         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
2244         auto-generation list.
2245         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2246         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2247         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2248         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2249         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2250         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2251         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2252         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
2253         * sysdeps/unix/sysv/linux/kernel-features.h
2254         (__ASSUME_CONNECT_SYSCALL): Define.
2255         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2256         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
2257         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2258         (__ASSUME_CONNECT_SYSCALL): Likewise.
2259         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2260         (__ASSUME_CONNECT_SYSCALL): Likewise.
2261         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2262         (__ASSUME_CONNECT_SYSCALL): Likewise.
2264         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
2265         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
2266         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
2267         auto-generation list.
2268         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2269         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2270         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2271         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2272         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2273         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2274         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2275         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2276         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
2277         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2278         * sysdeps/unix/sysv/linux/kernel-features.h
2279         (__ASSUME_ACCEPT_SYSCALL): New define.
2280         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2281         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
2282         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
2283         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2284         (__ASSUME_ACCEPT_SYSCALL): Define.
2285         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2286         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2287         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2288         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
2289         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2290         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2291         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2292         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2293         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
2295 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
2296             Zack Weinberg  <zackw@panix.com>
2298         * posix/test-errno.c: New file.
2299         * posix/Makefile (tests): Add test-errno.
2300         * sysdeps/unix/sysv/linux/test-errno.c: New file.
2301         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
2303 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
2305         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2307 2017-03-07  Florian Weimer  <fweimer@redhat.com>
2309         * time/tzset.c (compute_offset): Open-code min macro.
2310         (min, max, sign): Remove.
2312 2017-03-07  Florian Weimer  <fweimer@redhat.com>
2314         [BZ #15576]
2315         Remove TZNAME_MAX limit from sysconf.
2316         * include/time.h (__tzname_cur_max, __tzname_max): Remove
2317         declaration.
2318         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
2319         compute_tzname_max.
2320         (compute_tzname_max): Remove.
2321         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
2322         (update_vars): Do not update __tzname_cur_max.
2323         (tzset_internal): Remove argument.
2324         (__tzset): Adjust call to tzset_internal.
2325         (__tz_convert): Likewise.
2327         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
2328         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2329         * manual/conf.texi (Sysconf Definition): Update comment.
2331 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2333         [BZ #21209]
2334         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
2335         AT_SECURE processes.
2336         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
2337         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
2338         (test_child): Likewise.
2339         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
2341 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2343         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
2345 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2347         * sysdeps/s390/atomic-machine.h
2348         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
2349         (__arch_compare_and_exchange_val_8_acq,
2350         __arch_compare_and_exchange_val_16_acq,
2351         __arch_compare_and_exchange_val_32_acq,
2352         __arch_compare_and_exchange_val_64_acq):
2353         Delete macro.
2354         (atomic_compare_and_exchange_val_acq,
2355         atomic_compare_and_exchange_val_rel,
2356         atomic_compare_and_exchange_bool_acq,
2357         catomic_compare_and_exchange_bool_acq,
2358         atomic_exchange_acq, atomic_exchange_rel,
2359         atomic_exchange_and_add_acq,
2360         atomic_exchange_and_add_rel,
2361         catomic_exchange_and_add, atomic_or_val,
2362         atomic_or, catomic_or, atomic_bit_test_set,
2363         atomic_and_val, atomic_and, catomic_and):
2364         Define macros with help of C11 atomic builtins.
2366 2017-03-03  Justus Winter <justus@gnupg.org>
2368         * sysdeps/mach/hurd/ftruncate64.c: New file.
2369         * sysdeps/mach/hurd/truncate64.c: Likewise.
2371 2017-03-03  Florian Weimer  <fweimer@redhat.com>
2373         * time/tzfile.c (NOID): Do not define.
2374         * time/tzset.c (NOID): Likewise.
2376 2017-03-03  Florian Weimer  <fweimer@redhat.com>
2378         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
2380 2017-03-02  Florian Weimer  <fweimer@redhat.com>
2382         * elf/get-dynamic-info.h: Remove header file inclusion guard.
2384 2017-03-02  Florian Weimer  <fweimer@redhat.com>
2386         [BZ #21015]
2387         * manual/install.texi (Configuring and compiling): Document
2388         --enable-bind-now.
2389         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
2390         (build-shlib-helper): Use $(LDFLAGS-lib.so).
2391         (format.lds): Likewise.
2392         [bind-now] (LDFLAGS-c.so): Remove.
2393         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
2394         be R_X86_64_GLOB_DAT.
2395         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
2396         relocation can be R_386_GLOB_DAT.
2397         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
2398         relocaiton can be R_ALPHA_GLOB_DAT.
2399         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
2401 2017-03-01  Zack Weinberg  <zackw@panix.com>
2403         * include/libc-pointer-arith.h: New file.  Define
2404         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
2405         PTR_ALIGN_DOWN here.
2406         * include/libc-internal.h: Definitions of above macros
2407         moved from here.  Don't include libc-diag.h anymore either.
2408         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
2409         Don't include libc-internal.h.
2411         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
2412         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
2413         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
2414         * string/strcoll_l.c, sysdeps/nacl/brk.c
2415         * sysdeps/unix/clock_settime.c
2416         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
2417         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
2418         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
2419         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
2420         Don't include libc-internal.h.
2422         * elf/get-dynamic-info.h, iconv/loop.c
2423         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
2424         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
2425         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
2426         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
2427         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2428         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
2429         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2430         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
2431         * sysdeps/ieee754/ldbl-128/k_tanl.c
2432         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
2433         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
2434         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
2435         Include libc-diag.h instead of libc-internal.h.
2437         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
2438         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
2439         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
2440         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
2441         * sysdeps/unix/sysv/linux/spawni.c
2442         * sysdeps/x86_64/nptl/tls.h:
2443         Include libc-pointer-arith.h instead of libc-internal.h.
2445         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
2446         * sysdeps/x86_64/atomic-machine.h:
2447         Add multiple include guard.
2449         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
2450         * string/strcasestr.c: No need to include config.h.
2451         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
2452         sys/auxv.h. Don't include sysdep.h.
2453         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
2455         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
2456         DL_LOOKUP_ADDRESS.
2457         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
2458         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
2459         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
2460         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
2461         of ARTIFICIAL_LIMIT.
2462         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
2463         declaration of __clone2.
2465 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2467         * scripts/backport-support.sh (latest_commit): New file.
2469 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2471         [BZ #20257]
2472         * inet/Makefile (routines): Add deadline.
2473         (tests-static): Add tst-deadline.
2474         * inet/net-internal.h (struct deadline_current_time)
2475         (__deadline_current_time, struct deadline, __deadline_is_infinite)
2476         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
2477         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
2478         * inet/deadline.c: New file.
2479         * inet/tst-deadline.c: Likewise.
2480         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
2481         tst-udp-timeout, tst-udp-garbage.
2482         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
2483         explicitly.
2484         (tst-udp-garbage): Likewise.  Also link against thread library.
2485         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
2486         struct layout is part of the ABI.
2487         (clntudp_call): Rework timeout handling.
2488         * sunrpc/tst-udp-garbage.c: New file.
2489         * sunrpc/tst-udp-nonblocking.c: Likewise.
2490         * sunrpc/tst-udp-timeout.c: Likewise.
2492 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2494         [BZ #5010]
2495         * sunrpc/svc.c (svc_is_mapped): Remove.
2496         (svc_unregister): Obtain mapped status while the service is still
2497         registered.
2498         * sunrpc/Makefile [have-thread-library] (tests): Add
2499         tst-svc_register.
2500         (tst-svc_register): Link against libc.so explicitly and the thread
2501         library.
2502         * sunrpc/tst-svc_register.c: New file.
2504 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
2506         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
2507         * sysdeps/pthread/bits/sigthread.h: Likewise.
2509 2017-02-27  Florian Weimer  <fweimer@redhat.com>
2511         [BZ #21115]
2512         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
2513         * sunrpc/Makefile (tests): Add tst-udp-error.
2514         (tst-udp-error): Link against libc.so explicitly.
2515         * sunrpc/tst-udp-error: New file.
2517 2017-02-25  Zack Weinberg  <zackw@panix.com>
2519         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
2520         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
2522         * sysdeps/generic/math_ldbl.h
2523         * sysdeps/ia64/fpu/math_ldbl.h
2524         * sysdeps/ieee754/ldbl-128/math_ldbl.h
2525         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2526         * sysdeps/ieee754/ldbl-96/math_ldbl.h
2527         * sysdeps/powerpc/fpu/math_ldbl.h
2528         * sysdeps/x86_64/fpu/math_ldbl.h:
2529         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
2530         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
2531         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
2532         Add copyright notices.
2534         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
2535         Don't use EXTRACT_WORDS64.
2537         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
2538         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
2539         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
2540         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
2541         Include math_ldbl.h, not math_private.h.
2543 2017-02-25  Zack Weinberg  <zackw@panix.com>
2545         * include/libc-diag.h: New file.  Define ignore_value,
2546         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
2547         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
2549         * include/libc-internal.h: Definitions of above macros moved from
2550         here.  Include libc-diag.h.  Add copyright notice.
2552         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
2553         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
2554         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
2555         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
2556         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
2557         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
2558         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
2559         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
2560         Include libc-diag.h instead of libc-internal.h.
2562         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
2563         call to unsetenv (NULL).
2564         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
2565         call to pthread_mutexattr_destroy (NULL).
2567 2017-02-25  Zack Weinberg  <zackw@panix.com>
2569         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
2570         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
2571         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
2572         gets was removed from C++ in C++14.
2573         * include/stdio.h: Remove redundant declaration of gets.
2574         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
2575         be declared, since we are testing it.
2576         * stdio-common/Makefile (tst-gets.c): Compile with
2577         -Wno-deprecated-declarations.
2578         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
2579         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
2580         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
2581         Compile with -Wno-deprecated-declarations.
2583 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2585         * math/libm-test-support.c (check_ulp): Use LIT() around literal
2586         numbers.
2588 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2590         * resolv/tst-resolv-qtypes.c (domain):
2591         Change type to const pointer to const char.
2593 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
2595         * math/Makefile (libm-tests-generated): Remove variable.
2596         (libm-tests-base-normal): New variable.
2597         (libm-tests-base-finite): Likewise.
2598         (libm-tests-base-inline): Likewise.
2599         (libm-tests-base): Likewise.
2600         (libm-tests-normal): Likewise.
2601         (libm-tests-finite): Likewise.
2602         (libm-tests-inline): Likewise.
2603         (libm-tests-vector): Likewise.
2604         (libm-tests): Define in terms of these new variables.
2605         (libm-tests-for-type): New variable.
2606         (libm-tests.o): Move definition.
2607         (tests): Move addition of $(libm-tests).
2608         (generated): Update for new and removed libm test files.
2609         ($(objpfx)libm-test.c): Remove target.
2610         ($(objpfx)libm-have-vector-test.h): Likewise.
2611         (CFLAGS-test-double-vlen2.c): Remove variable.
2612         (CFLAGS-test-double-vlen4.c): Likewise.
2613         (CFLAGS-test-double-vlen8.c): Likewise.
2614         (CFLAGS-test-float-vlen4.c): Likewise.
2615         (CFLAGS-test-float-vlen8.c): Likewise.
2616         (CFLAGS-test-float-vlen16.c): Likewise.
2617         (CFLAGS-test-float.c): Likewise.
2618         (CFLAGS-test-float-finite.c): Likewise.
2619         (CFLAGS-libm-test-support-float.c): Likewise.
2620         (CFLAGS-test-double.c): Likewise.
2621         (CFLAGS-test-double-finite.c): Likewise.
2622         (CFLAGS-libm-test-support-double.c): Likewise.
2623         (CFLAGS-test-ldouble.c): Likewise.
2624         (CFLAGS-test-ldouble-finite.c): Likewise.
2625         (CFLAGS-libm-test-support-ldouble.c): Likewise.
2626         (libm-test-inline-cflags): New variable.
2627         (CFLAGS-test-ifloat.c): Remove variable.
2628         (CFLAGS-test-idouble.c): Likewise.
2629         (CFLAGS-test-ildouble.c): Likewise.
2630         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
2631         dependencies.
2632         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
2633         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
2634         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
2635         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
2636         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
2637         Likewise.
2638         (dependencies on libm-test-support-*.o): Remove.
2639         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
2640         rules using iterators.
2641         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
2642         Likewise.
2643         ($(objpfx)libm-test-support-$(o).o): Likewise.
2644         ($(addprefix $(objpfx),$(filter-out $(tests-static)
2645         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
2646         instead.
2647         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
2648         define rule instead.
2649         * math/README.libm-test: Update.
2650         * math/libm-test-acos.inc: Include libm-test-driver.c.
2651         (do_test): New function.
2652         * math/libm-test-acosh.inc: Include libm-test-driver.c.
2653         (do_test): New function.
2654         * math/libm-test-asin.inc: Include libm-test-driver.c.
2655         (do_test): New function.
2656         * math/libm-test-asinh.inc: Include libm-test-driver.c.
2657         (do_test): New function.
2658         * math/libm-test-atan.inc: Include libm-test-driver.c.
2659         (do_test): New function.
2660         * math/libm-test-atan2.inc: Include libm-test-driver.c.
2661         (do_test): New function.
2662         * math/libm-test-atanh.inc: Include libm-test-driver.c.
2663         (do_test): New function.
2664         * math/libm-test-cabs.inc: Include libm-test-driver.c.
2665         (do_test): New function.
2666         * math/libm-test-cacos.inc: Include libm-test-driver.c.
2667         (do_test): New function.
2668         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
2669         (do_test): New function.
2670         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
2671         (do_test): New function.
2672         * math/libm-test-carg.inc: Include libm-test-driver.c.
2673         (do_test): New function.
2674         * math/libm-test-casin.inc: Include libm-test-driver.c.
2675         (do_test): New function.
2676         * math/libm-test-casinh.inc: Include libm-test-driver.c.
2677         (do_test): New function.
2678         * math/libm-test-catan.inc: Include libm-test-driver.c.
2679         (do_test): New function.
2680         * math/libm-test-catanh.inc: Include libm-test-driver.c.
2681         (do_test): New function.
2682         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
2683         (do_test): New function.
2684         * math/libm-test-ccos.inc: Include libm-test-driver.c.
2685         (do_test): New function.
2686         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
2687         (do_test): New function.
2688         * math/libm-test-ceil.inc: Include libm-test-driver.c.
2689         (do_test): New function.
2690         * math/libm-test-cexp.inc: Include libm-test-driver.c.
2691         (do_test): New function.
2692         * math/libm-test-cimag.inc: Include libm-test-driver.c.
2693         (do_test): New function.
2694         * math/libm-test-clog.inc: Include libm-test-driver.c.
2695         (do_test): New function.
2696         * math/libm-test-clog10.inc: Include libm-test-driver.c.
2697         (do_test): New function.
2698         * math/libm-test-conj.inc: Include libm-test-driver.c.
2699         (do_test): New function.
2700         * math/libm-test-copysign.inc: Include libm-test-driver.c.
2701         (do_test): New function.
2702         * math/libm-test-cos.inc: Include libm-test-driver.c.
2703         (do_test): New function.
2704         * math/libm-test-cosh.inc: Include libm-test-driver.c.
2705         (do_test): New function.
2706         * math/libm-test-cpow.inc: Include libm-test-driver.c.
2707         (do_test): New function.
2708         * math/libm-test-cproj.inc: Include libm-test-driver.c.
2709         (do_test): New function.
2710         * math/libm-test-creal.inc: Include libm-test-driver.c.
2711         (do_test): New function.
2712         * math/libm-test-csin.inc: Include libm-test-driver.c.
2713         (do_test): New function.
2714         * math/libm-test-csinh.inc: Include libm-test-driver.c.
2715         (do_test): New function.
2716         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
2717         (do_test): New function.
2718         * math/libm-test-ctan.inc: Include libm-test-driver.c.
2719         (do_test): New function.
2720         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
2721         (do_test): New function.
2722         * math/libm-test-erf.inc: Include libm-test-driver.c.
2723         (do_test): New function.
2724         * math/libm-test-erfc.inc: Include libm-test-driver.c.
2725         (do_test): New function.
2726         * math/libm-test-exp.inc: Include libm-test-driver.c.
2727         (do_test): New function.
2728         * math/libm-test-exp10.inc: Include libm-test-driver.c.
2729         (do_test): New function.
2730         * math/libm-test-exp2.inc: Include libm-test-driver.c.
2731         (do_test): New function.
2732         * math/libm-test-expm1.inc: Include libm-test-driver.c.
2733         (do_test): New function.
2734         * math/libm-test-fabs.inc: Include libm-test-driver.c.
2735         (do_test): New function.
2736         * math/libm-test-fdim.inc: Include libm-test-driver.c.
2737         (do_test): New function.
2738         * math/libm-test-floor.inc: Include libm-test-driver.c.
2739         (do_test): New function.
2740         * math/libm-test-fma.inc: Include libm-test-driver.c.
2741         (do_test): New function.
2742         * math/libm-test-fmax.inc: Include libm-test-driver.c.
2743         (do_test): New function.
2744         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
2745         (do_test): New function.
2746         * math/libm-test-fmin.inc: Include libm-test-driver.c.
2747         (do_test): New function.
2748         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
2749         (do_test): New function.
2750         * math/libm-test-fmod.inc: Include libm-test-driver.c.
2751         (do_test): New function.
2752         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
2753         (do_test): New function.
2754         * math/libm-test-frexp.inc: Include libm-test-driver.c.
2755         (do_test): New function.
2756         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
2757         (do_test): New function.
2758         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
2759         (do_test): New function.
2760         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
2761         (do_test): New function.
2762         * math/libm-test-hypot.inc: Include libm-test-driver.c.
2763         (do_test): New function.
2764         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
2765         (do_test): New function.
2766         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
2767         (do_test): New function.
2768         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
2769         (do_test): New function.
2770         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
2771         (do_test): New function.
2772         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
2773         (do_test): New function.
2774         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
2775         (do_test): New function.
2776         * math/libm-test-isinf.inc: Include libm-test-driver.c.
2777         (do_test): New function.
2778         * math/libm-test-isless.inc: Include libm-test-driver.c.
2779         (do_test): New function.
2780         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
2781         (do_test): New function.
2782         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
2783         (do_test): New function.
2784         * math/libm-test-isnan.inc: Include libm-test-driver.c.
2785         (do_test): New function.
2786         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
2787         (do_test): New function.
2788         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
2789         (do_test): New function.
2790         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
2791         (do_test): New function.
2792         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
2793         (do_test): New function.
2794         * math/libm-test-iszero.inc: Include libm-test-driver.c.
2795         (do_test): New function.
2796         * math/libm-test-j0.inc: Include libm-test-driver.c.
2797         (do_test): New function.
2798         * math/libm-test-j1.inc: Include libm-test-driver.c.
2799         (do_test): New function.
2800         * math/libm-test-jn.inc: Include libm-test-driver.c.
2801         (do_test): New function.
2802         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
2803         (do_test): New function.
2804         * math/libm-test-llogb.inc: Include libm-test-driver.c.
2805         (do_test): New function.
2806         * math/libm-test-llrint.inc: Include libm-test-driver.c.
2807         (do_test): New function.
2808         * math/libm-test-llround.inc: Include libm-test-driver.c.
2809         (do_test): New function.
2810         * math/libm-test-log.inc: Include libm-test-driver.c.
2811         (do_test): New function.
2812         * math/libm-test-log10.inc: Include libm-test-driver.c.
2813         (do_test): New function.
2814         * math/libm-test-log1p.inc: Include libm-test-driver.c.
2815         (do_test): New function.
2816         * math/libm-test-log2.inc: Include libm-test-driver.c.
2817         (do_test): New function.
2818         * math/libm-test-logb.inc: Include libm-test-driver.c.
2819         (do_test): New function.
2820         * math/libm-test-lrint.inc: Include libm-test-driver.c.
2821         (do_test): New function.
2822         * math/libm-test-lround.inc: Include libm-test-driver.c.
2823         (do_test): New function.
2824         * math/libm-test-modf.inc: Include libm-test-driver.c.
2825         (do_test): New function.
2826         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
2827         (do_test): New function.
2828         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
2829         (do_test): New function.
2830         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
2831         (do_test): New function.
2832         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
2833         (do_test): New function.
2834         * math/libm-test-nextup.inc: Include libm-test-driver.c.
2835         (do_test): New function.
2836         * math/libm-test-pow.inc: Include libm-test-driver.c.
2837         (do_test): New function.
2838         * math/libm-test-remainder.inc: Include libm-test-driver.c.
2839         (do_test): New function.
2840         * math/libm-test-remquo.inc: Include libm-test-driver.c.
2841         (do_test): New function.
2842         * math/libm-test-rint.inc: Include libm-test-driver.c.
2843         (do_test): New function.
2844         * math/libm-test-round.inc: Include libm-test-driver.c.
2845         (do_test): New function.
2846         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
2847         (do_test): New function.
2848         * math/libm-test-scalb.inc: Include libm-test-driver.c.
2849         (do_test): New function.
2850         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
2851         (do_test): New function.
2852         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
2853         (do_test): New function.
2854         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
2855         (do_test): New function.
2856         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
2857         (do_test): New function.
2858         * math/libm-test-signbit.inc: Include libm-test-driver.c.
2859         (do_test): New function.
2860         * math/libm-test-significand.inc: Include libm-test-driver.c.
2861         (do_test): New function.
2862         * math/libm-test-sin.inc: Include libm-test-driver.c.
2863         (do_test): New function.
2864         * math/libm-test-sincos.inc: Include libm-test-driver.c.
2865         (do_test): New function.
2866         * math/libm-test-sinh.inc: Include libm-test-driver.c.
2867         (do_test): New function.
2868         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
2869         (do_test): New function.
2870         * math/libm-test-tan.inc: Include libm-test-driver.c.
2871         (do_test): New function.
2872         * math/libm-test-tanh.inc: Include libm-test-driver.c.
2873         (do_test): New function.
2874         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
2875         (do_test): New function.
2876         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
2877         (do_test): New function.
2878         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
2879         (do_test): New function.
2880         * math/libm-test-trunc.inc: Include libm-test-driver.c.
2881         (do_test): New function.
2882         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
2883         (do_test): New function.
2884         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
2885         (do_test): New function.
2886         * math/libm-test-y0.inc: Include libm-test-driver.c.
2887         (do_test): New function.
2888         * math/libm-test-y1.inc: Include libm-test-driver.c.
2889         (do_test): New function.
2890         * math/libm-test-yn.inc: Include libm-test-driver.c.
2891         (do_test): New function.
2892         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
2893         (HAVE_VECTOR): Remove macro.
2894         (START): Do not call HAVE_VECTOR.
2895         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
2896         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
2897         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
2898         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
2899         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
2900         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
2901         * math/test-math-vector.h (FUNC_TEST): New macro.
2902         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
2903         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
2904         (double-vlen4-funcs): Likewise.
2905         (double-vlen4-avx2-funcs): Likewise.
2906         (double-vlen8-funcs): Likewise.
2907         (float-vlen4-funcs): Likewise.
2908         (float-vlen8-funcs): Likewise.
2909         (float-vlen8-avx2-funcs): Likewise.
2910         (float-vlen16-funcs): Likewise.
2911         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
2912         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
2913         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
2914         macro.
2915         (TEST_VECTOR_sin): Likewise.
2916         (TEST_VECTOR_sincos): Likewise.
2917         (TEST_VECTOR_log): Likewise.
2918         (TEST_VECTOR_exp): Likewise.
2919         (TEST_VECTOR_pow): Likewise.
2920         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
2921         Likewise.
2922         (TEST_VECTOR_sin): Likewise.
2923         (TEST_VECTOR_sincos): Likewise.
2924         (TEST_VECTOR_log): Likewise.
2925         (TEST_VECTOR_exp): Likewise.
2926         (TEST_VECTOR_pow): Likewise.
2927         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
2928         Likewise.
2929         (TEST_VECTOR_sinf): Likewise.
2930         (TEST_VECTOR_sincosf): Likewise.
2931         (TEST_VECTOR_logf): Likewise.
2932         (TEST_VECTOR_expf): Likewise.
2933         (TEST_VECTOR_powf): Likewise.
2934         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
2935         Likewise.
2936         (TEST_VECTOR_sinf): Likewise.
2937         (TEST_VECTOR_sincosf): Likewise.
2938         (TEST_VECTOR_logf): Likewise.
2939         (TEST_VECTOR_expf): Likewise.
2940         (TEST_VECTOR_powf): Likewise.
2941         * math/gen-libm-have-vector-test.sh: Remove file.
2942         * math/libm-test.inc: Likewise.
2943         * math/libm-test-support-double.c: Likewise.
2944         * math/libm-test-support-float.c: Likewise.
2945         * math/libm-test-support-ldouble.c: Likewise.
2946         * math/test-double-finite.c: Likewise.: Likewise.
2947         * math/test-double.c: Likewise.
2948         * math/test-float-finite.c: Likewise.
2949         * math/test-float.c: Likewise.
2950         * math/test-idouble.c: Likewise.
2951         * math/test-ifloat.c: Likewise.
2952         * math/test-ildouble.c: Likewise.
2953         * math/test-ldouble-finite.c: Likewise.
2954         * math/test-ldouble.c: Likewise.
2955         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2956         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
2957         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2958         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2959         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2960         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2961         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2962         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
2963         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2964         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2966 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2967            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2969         * math/Makefile: Add wrappers to gen-libm-calls.
2970         * math/w_acos_template.c: New file.
2971         * math/w_acosh_template.c: Likewise.
2972         * math/w_asin_template.c: Likewise.
2973         * math/w_atan2_template.c: Likewise.
2974         * math/w_atanh_template.c: Likewise.
2975         * math/w_cosh_template.c: Likewise.
2976         * math/w_exp10_template.c: Likewise.
2977         * math/w_exp2_template.c: Likewise.
2978         * math/w_exp_template.c: Likewise.
2979         * math/w_fmod_template.c: Likewise.
2980         * math/w_hypot_template.c: Likewise.
2981         * math/w_j0_template.c: Likewise.
2982         * math/w_j1_template.c: Likewise.
2983         * math/w_jn_template.c: Likewise.
2984         * math/w_lgamma_r_template.c: Likewise.
2985         * math/w_lgamma_template.c: Likewise.
2986         * math/w_log10_template.c: Likewise.
2987         * math/w_log2_template.c: Likewise.
2988         * math/w_log_template.c: Likewise.
2989         * math/w_pow_template.c: Likewise.
2990         * math/w_remainder_template.c: Likewise.
2991         * math/w_sinh_template.c: Likewise.
2992         * math/w_sqrt_template.c: Likewise.
2993         * math/w_tgamma_template.c: Likewise.: Likewise.
2994         * sysdeps/generic/math-type-macros-double.h
2995         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
2996         the new wrappers.
2997         * sysdeps/generic/math-type-macros-float.h: Likewise.
2998         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3000 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
3002         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
3003         New enum constant and macro.
3005         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3006         kernel version to 4.10.
3008 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
3010         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
3012 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3016 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3018         * sysdeps/powerpc/tst-set_ppr.c: New file.
3019         Implement test cases for __ppc_set_ppr_* functions.
3020         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
3021         in the list of tests.
3023 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3025         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
3026         instead of test-skeleton.c.
3027         (do_test): Replaced pthread_create and pthread_join with
3028         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
3029         Removed unneeded status variable.
3030         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
3031         instead of test-skeleton.c.
3032         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
3034 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
3036         [BZ #20313]
3037         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3038         201605L, for Unicode 9.
3040 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
3042         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
3043         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3044         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3045         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3046         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3047         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3049 2017-02-19  Zack Weinberg  <zackw@panix.com>
3051         * rt/tst-mqueue4.c: Include stdint.h.
3053 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
3055         * sysdeps/arm/libm-test-ulps: Update.
3056         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3057         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3058         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3060 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3062         [BZ #21029]
3063         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
3064         * sysdeps/unix/sysv/linux/i386/Makefile
3065         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
3066         (uses-6-syscall-arguments): Remove.
3067         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
3068         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
3069         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
3070         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
3071         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
3072         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
3073         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
3074         [$(subdir) = misc] (cflags-pselect.o): Likewise.
3075         [$(subdir) = misc] (cflags-pselect.os): Likewise.
3076         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
3077         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
3078         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
3079         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
3080         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
3081         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
3082         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
3083         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
3084         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
3085         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
3086         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
3087         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
3088         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
3089         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
3090         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
3091         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
3092         Likewise.
3093         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
3094         Likewise.
3095         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
3096         Likewise.
3097         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
3098         Likewise.
3099         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
3100         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
3101         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
3102         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
3103         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
3104         ebp on inline assembly.
3105         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
3106         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3107         Set if CAN_USE_REGISTER_ASM_EBP is set.
3109 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
3111         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
3112         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
3114 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
3116         * math/auto-libm-test-in: Add tests of catan and catanh.
3117         * math/auto-libm-test-out-catan: New generated file.
3118         * math/auto-libm-test-out-catanh: Likewise.
3119         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
3120         Move tests with finite inputs, except divide-by-zero cases, to
3121         auto-libm-test-in.
3122         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
3123         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
3124         (libm-test-funcs-noauto): Remove catan and catanh.
3125         * sysdeps/i386/fpu/libm-test-ulps: Update.
3126         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3129         * math/auto-libm-test-in: Add tests of casin and casinh.
3130         * math/auto-libm-test-out-casin: New generated file.
3131         * math/auto-libm-test-out-casinh: Likewise.
3132         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
3133         Move tests with finite inputs to auto-libm-test-in.
3134         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
3135         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
3136         (libm-test-funcs-noauto): Remove casin and casinh.
3137         * sysdeps/i386/fpu/libm-test-ulps: Update.
3138         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3141         * math/auto-libm-test-in: Add tests of cacos and cacosh.
3142         * math/auto-libm-test-out-cacos: New generated file.
3143         * math/auto-libm-test-out-cacosh: Likewise.
3144         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
3145         Move tests with finite inputs to auto-libm-test-in.
3146         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
3147         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
3148         (libm-test-funcs-noauto): Remove cacos and cacosh.
3149         * sysdeps/i386/fpu/libm-test-ulps: Update.
3150         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3153         Revert:
3154         2017-02-16  Zack Weinberg  <zackw@panix.com>
3156         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
3157         Don't include init-arch.h.
3158         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3159         Don't include init-arch.h.
3161 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3163         [BZ #21171]
3164         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
3165         +Inf and raise divide-by-zero when x is negative.
3166         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
3167         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
3168         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
3169         -Inf and raise divide-by-zero when x = +-0.
3170         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3171         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
3172         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
3173         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
3174         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3175         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3176         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3178 2017-02-16  Zack Weinberg  <zackw@panix.com>
3180         * scripts/build-many-glibcs.py (bot_build_mail): If the
3181         bot_config does not contain all of the necessary email-
3182         related settings, just print a warning and continue.
3184 2017-02-16  Zack Weinberg  <zackw@panix.com>
3186         * crypt/md5.h: Test _LIBC with #if defined, not #if.
3187         * dirent/opendir-tst1.c: Include sys/stat.h.
3188         * dirent/tst-fdopendir.c: Include sys/stat.h.
3189         * dirent/tst-fdopendir2.c: Include stdlib.h.
3190         * dirent/tst-scandir.c: Include stdbool.h.
3191         * elf/tst-auditmod1.c: Include link.h and stddef.h.
3192         * elf/tst-tls15.c: Include stdlib.h.
3193         * elf/tst-tls16.c: Include stdlib.h.
3194         * elf/tst-tls17.c: Include stdlib.h.
3195         * elf/tst-tls18.c: Include stdlib.h.
3196         * iconv/tst-iconv6.c: Include endian.h.
3197         * iconvdata/bug-iconv11.c: Include limits.h.
3198         * io/test-utime.c: Include stdint.h.
3199         * io/tst-faccessat.c: Include sys/stat.h.
3200         * io/tst-fchmodat.c: Include sys/stat.h.
3201         * io/tst-fchownat.c: Include sys/stat.h.
3202         * io/tst-fstatat.c: Include sys/stat.h.
3203         * io/tst-futimesat.c: Include sys/stat.h.
3204         * io/tst-linkat.c: Include sys/stat.h.
3205         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
3206         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
3207         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
3208         * io/tst-openat.c: Include stdbool.h.
3209         * io/tst-readlinkat.c: Include sys/stat.h.
3210         * io/tst-renameat.c: Include sys/stat.h.
3211         * io/tst-symlinkat.c: Include sys/stat.h.
3212         * io/tst-unlinkat.c: Include stdbool.h.
3213         * libio/bug-memstream1.c: Include stdlib.h.
3214         * libio/bug-wmemstream1.c: Include stdlib.h.
3215         * libio/tst-fwrite-error.c: Include stdlib.h.
3216         * libio/tst-memstream1.c: Include stdlib.h.
3217         * libio/tst-memstream2.c: Include stdlib.h.
3218         * libio/tst-memstream3.c: Include stdlib.h.
3219         * malloc/tst-interpose-aux.c: Include stdint.h.
3220         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
3221         * nptl/tst-basic7.c: Include limits.h.
3222         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
3223         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
3224         * nptl/tst-cancel4_1.c: Include stddef.h.
3225         * nptl/tst-cancel4_2.c: Include stddef.h.
3226         * nptl/tst-cond16.c: Include limits.h.
3227         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
3228         * nptl/tst-cond18.c: Include limits.h.
3229         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
3230         * nptl/tst-cond4.c: Include stdint.h.
3231         * nptl/tst-cond6.c: Include stdint.h.
3232         * nptl/tst-stack2.c: Include limits.h.
3233         * nptl/tst-stackguard1.c: Include stddef.h.
3234         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
3235         * nptl/tst-tls4moda.c: Include stddef.h.
3236         Don't include stdio.h, unistd.h, or tls.h.
3237         * nptl/tst-tls4modb.c: Include stddef.h.
3238         Don't include stdio.h, unistd.h, or tls.h.
3239         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
3240         * posix/tst-getaddrinfo2.c: Include stdio.h.
3241         * posix/tst-getaddrinfo5.c: Include stdio.h.
3242         * posix/tst-pathconf.c: Include sys/stat.h.
3243         * posix/tst-posix_fadvise-common.c: Include stdint.h.
3244         * posix/tst-preadwrite-common.c: Include sys/stat.h.
3245         * posix/tst-regex.c: Include stdint.h.
3246         Don't include spawn.h or spawn_int.h.
3247         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
3248         * posix/tst-vfork3.c: Include sys/stat.h.
3249         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
3250         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
3251         * resolv/tst-resolv-search.c: Include stdlib.h.
3252         * stdio-common/tst-fmemopen2.c: Include stdint.h.
3253         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
3254         * stdlib/test-canon.c: Include sys/stat.h.
3255         * stdlib/tst-tls-atexit.c: Include stdbool.h.
3256         * string/test-memchr.c: Include stdint.h.
3257         * string/tst-cmp.c: Include stdint.h.
3258         * sysdeps/pthread/tst-timer.c: Include stdint.h.
3259         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
3260         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
3261         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
3262         Don't include init-arch.h.
3263         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3264         Don't include init-arch.h.
3265         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
3266         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
3267         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
3268         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
3269         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
3270         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
3271         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
3272         * time/clocktest.c: Include stdint.h.
3273         * time/tst-posixtz.c: Include stdint.h.
3274         * timezone/tst-timezone.c: Include stdint.h.
3276 2017-02-16  Zack Weinberg  <zackw@panix.com>
3278         * string/string.h [__USE_MISC]: Include strings.h.
3279         (__bzero, bcmp, bcopy, bzero, index, rindex)
3280         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
3281         (ffs, ffsl, ffsll): Don't declare.
3282         * string/strings.h: Do not suppress the file if string.h has
3283         already been included.
3284         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
3285         annotations.
3286         (index, rindex): Define inline forwarders even if
3287         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
3288         (ffs): Use __attribute_const__.
3289         (ffsl, ffsll): Declare here.
3290         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
3291         have now been standardized.
3292         * include/string.h (__bzero): Declare here.
3294         * bits/types.h: Move to posix/bits.
3295         * include/bits/types.h: New wrapper.
3297 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
3299         * string/bits/string2.h (strcmp): Remove define.
3300         (__strcmp_cg): Likewise.
3301         (strncmp): Likewise.
3303 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
3305         * include/string.h: Add __cplusplus check.
3307 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3309         [BZ #21134]
3310         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
3311         "divide by zero" exception when the input is zero.
3312         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
3313         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
3314         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
3315         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
3316         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3318 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
3320         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
3321         and include ...
3322         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
3323         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
3324         to, and include ...
3325         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
3326         file.
3327         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
3328         and include ...
3329         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
3330         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
3331         and include ...
3332         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
3333         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
3334         and include ...
3335         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
3336         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
3337         and include ...
3338         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
3339         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
3340         to, and include ...
3341         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
3342         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
3343         and include ...
3344         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
3346 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
3348         * math/libm-test-support.h: Do not include <math-tests-arch.h>
3349         here.
3350         * math/libm-test-support.c (libm_test_init): Do not call
3351         INIT_ARCH_EXT here.
3352         * math/libm-test-driver.c: Include <math-tests-arch.h>.
3353         (main): Call INIT_ARCH_EXT.
3355 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3357         [BZ #21130]
3358         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
3359         with the "invalid" exception raised when x is -Inf.
3360         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3362 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
3364         * string/bits/string2.h (strchr): Remove define.
3366 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
3368         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
3369         tst-avx512.
3370         (test-extras): Add tst-avx-aux and tst-avx512-aux.
3371         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
3372         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
3373         ($(objpfx)tst-sse): New rule.
3374         ($(objpfx)tst-avx): Likewise.
3375         ($(objpfx)tst-avx512): Likewise.
3376         (CFLAGS-tst-avx-aux.c): New.
3377         (CFLAGS-tst-avxmod.c): Likewise.
3378         (CFLAGS-tst-avx512-aux.c): Likewise.
3379         (CFLAGS-tst-avx512mod.c): Likewise.
3380         * sysdeps/x86_64/tst-avx-aux.c: New file.
3381         * sysdeps/x86_64/tst-avx.c: Likewise.
3382         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
3383         * sysdeps/x86_64/tst-avx512.c: Likewise.
3384         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
3385         * sysdeps/x86_64/tst-avxmod.c: Likewise.
3386         * sysdeps/x86_64/tst-sse.c: Likewise.
3387         * sysdeps/x86_64/tst-ssemod.c: Likewise.
3389 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
3391         * math/auto-libm-test-in: Add more tests of csin and csinh.
3392         * math/auto-libm-test-out-csin: Regenerated.
3393         * math/auto-libm-test-out-csinh: Likewise.
3394         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
3395         auto-libm-test-in.
3396         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
3398 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3400         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
3401         libm-compat-calls-auto.
3402         (libm-compat-calls): Likewise.
3403         (libm-compat-calls-auto): Rename to libm-compat-calls and add
3404         w_lgamma_compatF and k_standardF (merged from the items above).
3405         (libm-routines): Use libm-compat-calls, instead of
3406         libm-compat-calls-auto, with type-foreach.
3408 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
3410         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
3411         macro.
3412         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
3413         (CFLAGS-test-ifloat.c): ... this.  Remove
3414         -U__LIBC_INTERNAL_MATH_INLINES.
3415         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
3416         (CFLAGS-test-idouble.c): ... this.  Remove
3417         -U__LIBC_INTERNAL_MATH_INLINES.
3418         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
3419         (CFLAGS-test-ildouble.c): ... this.  Remove
3420         -U__LIBC_INTERNAL_MATH_INLINES.
3422 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
3424         * math/libm-test-support.c: New file.  Content from
3425         math/libm-test-driver.c.
3426         * math/libm-test-support.h: Likewise.
3427         * math/libm-test-support-double.c: New file.
3428         * math/libm-test-support-float.c: Likewise.
3429         * math/libm-test-support-ldouble.c: Likewise.
3430         * math/libm-test-driver.c: Remove main comment and header
3431         includes.  Include libm-test-support.h.
3432         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
3433         (flag_test_errno): Remove static.
3434         (flag_test_exceptions): Likewise.
3435         (flag_test_finite): Likewise.
3436         (flag_test_inline): Likewise.
3437         (flag_test_mathvec): Likewise.
3438         (test_msg): Likewise.
3439         (NO_EXCEPTION): Remove.
3440         (INVALID_EXCEPTION): Likewise.
3441         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
3442         (OVERFLOW_EXCEPTION): Likewise.
3443         (UNDERFLOW_EXCEPTION): Likewise.
3444         (INEXACT_EXCEPTION): Likewise.
3445         (INVALID_EXCEPTION_OK): Likewise.
3446         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3447         (OVERFLOW_EXCEPTION_OK): Likewise.
3448         (UNDERFLOW_EXCEPTION_OK): Likewise.
3449         (NO_INEXACT_EXCEPTION): Likewise.
3450         (EXCEPTIONS_OK): Likewise.
3451         (IGNORE_ZERO_INF_SIGN): Likewise.
3452         (TEST_NAN_SIGN): Likewise.
3453         (TEST_NAN_PAYLOAD): Likewise.
3454         (NO_TEST_INLINE): Likewise.
3455         (XFAIL_TEST): Likewise.
3456         (ERRNO_UNCHANGED): Likewise.
3457         (ERRNO_EDOM): Likewise.
3458         (ERRNO_ERANGE): Likewise.
3459         (IGNORE_RESULT): Likewise.
3460         (NON_FINITE): Likewise.
3461         (TEST_SNAN): Likewise.
3462         (NO_TEST_MATHVEC): Likewise.
3463         (__CONCATX): Likewise.
3464         (TYPE_MIN): Likewise.
3465         (TYPE_TRUE_MIN): Likewise.
3466         (TYPE_MAX): Likewise.
3467         (MIN_EXP): Likewise.
3468         (MAX_EXP): Likewise.
3469         (MANT_DIG): Likewise.
3470         (FSTR_MAX): Likewise.
3471         (ulp_idx): Likewise.
3472         (qtype_str): Remove static.
3473         (TEST_COND_binary32): Remove.
3474         (TEST_COND_binary64): Likewise.
3475         (TEST_COND_binary128): Likewise.
3476         (TEST_COND_ibm128): Likewise.
3477         (TEST_COND_intel96): Likewise.
3478         (TEST_COND_m68k96): Likewise.
3479         (TEST_COND_ibm128_libgcc): Likewise.
3480         (XFAIL_IBM128_LIBGCC): Likewise.
3481         (PAYLOAD_DIG): Likewise.
3482         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3483         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3484         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3485         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3486         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3487         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3488         (TEST_COND_long32): Likewise.
3489         (TEST_COND_long64): Likewise.
3490         (TEST_COND_before_rounding): Likewise.
3491         (TEST_COND_after_rounding): Likewise.
3492         (ulps_file_name): Likewise.
3493         (ulps_file): Likewise.
3494         (output_ulps): Likewise.
3495         (output_dir): Likewise.
3496         (noErrors): Likewise.
3497         (noTests): Likewise.
3498         (noExcTests): Likewise.
3499         (noErrnoTests): Likewise.
3500         (verbose): Likewise.
3501         (output_max_error): Likewise.
3502         (output_points): Likewise.
3503         (ignore_max_ulp): Likewise.
3504         (max_error): Likewise.
3505         (real_max_error): Likewise.
3506         (imag_max_error): Likewise.
3507         (prev_max_error): Likewise.
3508         (prev_real_max_error): Likewise.
3509         (prev_imag_max_error): Likewise.
3510         (max_valid_error): Likewise.
3511         (TYPE_DECIMAL_DIG): Likewise.
3512         (TYPE_HEX_DIG): Likewise.
3513         (fmt_ftostr): Likewise.
3514         (compare_ulp_data): Likewise.
3515         (find_ulps): Likewise.
3516         (init_max_error): Likewise.
3517         (set_max_error): Likewise.
3518         (print_float): Likewise.
3519         (print_screen): Likewise.
3520         (print_screen_max_error): Likewise.
3521         (update_stats): Likewise.
3522         (print_function_ulps): Likewise.
3523         (print_complex_function_ulps): Likewise.
3524         (fpstack_test): Likewise.
3525         (print_max_error): Likewise.
3526         (print_complex_max_error): Likewise.
3527         (test_single_exception): Likewise.
3528         (test_exceptions): Likewise.
3529         (test_single_errno): Likewise.
3530         (test_errno): Likewise.
3531         (ULPDIFF): Likewise.
3532         (ulp): Likewise.
3533         (check_float_internal): Likewise.
3534         (check_float): Likewise.
3535         (check_complex): Likewise.
3536         (check_int): Likewise.
3537         (check_long): Likewise.
3538         (check_bool): Likewise.
3539         (check_longlong): Likewise.
3540         (check_intmax_t): Likewise.
3541         (check_uintmax_t): Likewise.
3542         (enable_test): Likewise.
3543         (matherr): Likewise.
3544         (initialize): Likewise.
3545         (options): Likewise.
3546         (doc): Remove static.
3547         (argp): Likewise.
3548         (parse_opt): Remove.
3549         (check_ulp): Likewise.
3550         (libm_test_init): Likewise.
3551         (libm_test_finish): Likewise.
3552         * math/Makefile (libm-test-support): New variable.
3553         (test-extras): Add libm-test-support files.
3554         (extra-test-objs): Likewise.
3555         (CFLAGS-libm-test-support-float.c): New variable.
3556         (CFLAGS-libm-test-support-double.c): Likewise.
3557         (CFLAGS-libm-test-support-ldouble.c): Likewise.
3558         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
3559         libm-test-support objects.
3561 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3563         * math/Makefile (libm-calls): Move w_exp...
3564         (libm-compat-calls-auto): Here.
3566         * math/w_expl.c: Add suffix "_compat" to filename.
3567         * sysdeps/ia64/fpu/w_expl.c: Likewise.
3568         * sysdeps/ia64/fpu/w_expf.c: Likewise.
3569         * sysdeps/ia64/fpu/w_exp.c: Likewise.
3570         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3571         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3572         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3573         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3574         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3576         * math/w_expl_compat.c: New file, copied from above.
3577         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
3578         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
3579         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
3580         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
3581         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
3582         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
3583         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
3584         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
3586         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
3587         to filename.
3588         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
3590         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
3591         copied from above and adjusted for the new filenames.
3592         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
3594 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3596         * math/Makefile (libm-calls): Move w_lgammaF...
3597         (libm-compat-calls-auto): Here.
3599         * math/w_lgamma.c: Add suffix "_compat2" to filename.
3600         * math/w_lgammaf.c: Likewise.
3601         * math/w_lgammal.c: Likewise.
3603         * math/w_lgamma_compat2.c: New file, copied from above.
3604         * math/w_lgammaf_compat2.c: Likewise.
3605         * math/w_lgammal_compat2.c: Likewise.
3607 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3609         * math/Makefile (libm-calls): Move w_lgammaF_r...
3610         (libm-compat-calls-auto): Here.
3612         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
3613         * math/w_lgammaf_r.c: Likewise.
3614         * math/w_lgammal_r.c: Likewise.
3615         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
3616         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
3617         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
3619         * math/w_lgamma_r_compat.c: New file, copied from above.
3620         * math/w_lgammaf_r_compat.c: Likewise.
3621         * math/w_lgammal_r_compat.c: Likewise.
3622         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
3623         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
3624         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
3626         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
3627         to filename.
3628         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
3630         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
3631         copied from above and adjusted for the new filenames.
3632         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
3634 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
3636         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
3637         calculation in SYSCALL_ERROR_HANDLER().
3639 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
3641         * manual/contrib.texi: Fix typo.
3643 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3645         [BZ #21109]
3646         * elf/dl-tunable-types.h (tunable_callback_t): Accept
3647         tunable_val_t as argument.
3648         * elf/dl-tunables.c (__tunable_set_val): Add comment.
3649         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
3650         argument.
3651         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
3653 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
3655         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
3656         Add PTRACE_EVENT_STOP.
3657         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3658         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3659         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3660         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3661         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
3662         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
3664 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
3666         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
3667         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
3668         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
3669         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
3670         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
3671         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
3672         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
3673         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
3674         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
3675         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
3677         [BZ #21112]
3678         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
3679         12 bits zero.
3680         (cp_l): Update for new value of cp_h.
3681         * math/auto-libm-test-in: Add another test of pow.
3682         * math/auto-libm-test-out-pow: Regenerated.
3684 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3686         * manual/contrib.texi: Fix typo.
3688 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3690         [BZ #15998]
3691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3692         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
3693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3695 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3697         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
3698         STRCHR as __strchr_power8.
3699         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
3700         strlen as __strlen_power8.
3702 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3704         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
3705         unaligned load for shorter strings.
3706         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
3708 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3710         * math/libm-test-driver.c (flag_test_errno): New variable.
3711         (flag_test_exceptions): Likewise.
3712         (flag_test_finite): Likewise.
3713         (flag_test_inline): Likewise.
3714         (flag_test_mathvec): Likewise.
3715         (test_msg): Likewise.
3716         (ulp_idx): Likewise.
3717         (qtype_str): Likewise.
3718         (ULP_IDX): Remove macro.
3719         (QTYPE_STR): Likewise.
3720         (find_ulps): Use ulp_idx not ULP_IDX.
3721         (print_function_ulps): Use qtype_str, printed with %s, not
3722         QTYPE_STR, printed with concatentation to format string.
3723         (print_complex_function_ulps): Likewise.
3724         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
3725         (test_errno): Use flag_test_errno not TEST_ERRNO.
3726         (enable_test): Use flag_test_inline, flag_test_finite and
3727         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
3728         TEST_MATHVEC.
3729         (libm_test_init): New function.  Factored out of main.
3730         (libm_test_finish): Likewise.
3731         (main): Call libm_test_init and libm_test_finish and move most
3732         code to those functions.
3734         * math/libm-test-driver.c (STRX): New macro.
3735         (STR): Likewise.
3736         (STR_FLOAT): Likewise.
3737         (STR_VEC_LEN): Likewise.
3738         (TEST_MSG): Likewise.  Define here instead of expecting to be
3739         defined by including file.
3740         * math/test-double-finite.c (TEST_MSG): Remove macro.
3741         * math/test-double-vlen2.h (TEST_MSG): Likewise.
3742         * math/test-double-vlen4.h (TEST_MSG): Likewise.
3743         * math/test-double-vlen8.h (TEST_MSG): Likewise.
3744         * math/test-double.c (TEST_MSG): Likewise.
3745         * math/test-float-finite.c (TEST_MSG): Likewise.
3746         * math/test-float-vlen16.h (TEST_MSG): Likewise.
3747         * math/test-float-vlen4.h (TEST_MSG): Likewise.
3748         * math/test-float-vlen8.h (TEST_MSG): Likewise.
3749         * math/test-float.c (TEST_MSG): Likewise.
3750         * math/test-idouble.c (TEST_MSG): Likewise.
3751         * math/test-ifloat.c (TEST_MSG): Likewise.
3752         * math/test-ildouble.c (TEST_MSG): Likewise.
3753         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
3754         * math/test-ldouble.c (TEST_MSG): Likewise.
3756         * math/libm-test.inc: Move all tests of individual functions to
3757         libm-test-*.inc and #include libm-test-*.c files.
3758         (acos_test_data): Remove.
3759         (acos_test): Likewise.
3760         (acosh_test_data): Likewise.
3761         (acosh_test): Likewise.
3762         (asin_test_data): Likewise.
3763         (asin_test): Likewise.
3764         (asinh_test_data): Likewise.
3765         (asinh_test): Likewise.
3766         (atan_test_data): Likewise.
3767         (atan_test): Likewise.
3768         (atanh_test_data): Likewise.
3769         (atanh_test): Likewise.
3770         (atan2_test_data): Likewise.
3771         (atan2_test): Likewise.
3772         (cabs_test_data): Likewise.
3773         (cabs_test): Likewise.
3774         (cacos_test_data): Likewise.
3775         (cacos_test): Likewise.
3776         (cacosh_test_data): Likewise.
3777         (cacosh_test): Likewise.
3778         (canonicalize_test_data): Likewise.
3779         (canonicalize_test): Likewise.
3780         (carg_test_data): Likewise.
3781         (carg_test): Likewise.
3782         (casin_test_data): Likewise.
3783         (casin_test): Likewise.
3784         (casinh_test_data): Likewise.
3785         (casinh_test): Likewise.
3786         (catan_test_data): Likewise.
3787         (catan_test): Likewise.
3788         (catanh_test_data): Likewise.
3789         (catanh_test): Likewise.
3790         (cbrt_test_data): Likewise.
3791         (cbrt_test): Likewise.
3792         (ccos_test_data): Likewise.
3793         (ccos_test): Likewise.
3794         (ccosh_test_data): Likewise.
3795         (ccosh_test): Likewise.
3796         (ceil_test_data): Likewise.
3797         (ceil_test): Likewise.
3798         (cexp_test_data): Likewise.
3799         (cexp_test): Likewise.
3800         (cimag_test_data): Likewise.
3801         (cimag_test): Likewise.
3802         (clog_test_data): Likewise.
3803         (clog_test): Likewise.
3804         (clog10_test_data): Likewise.
3805         (clog10_test): Likewise.
3806         (conj_test_data): Likewise.
3807         (conj_test): Likewise.
3808         (copysign_test_data): Likewise.
3809         (copysign_test): Likewise.
3810         (cos_test_data): Likewise.
3811         (cos_test): Likewise.
3812         (cosh_test_data): Likewise.
3813         (cosh_test): Likewise.
3814         (cpow_test_data): Likewise.
3815         (cpow_test): Likewise.
3816         (cproj_test_data): Likewise.
3817         (cproj_test): Likewise.
3818         (creal_test_data): Likewise.
3819         (creal_test): Likewise.
3820         (csin_test_data): Likewise.
3821         (csin_test): Likewise.
3822         (csinh_test_data): Likewise.
3823         (csinh_test): Likewise.
3824         (csqrt_test_data): Likewise.
3825         (csqrt_test): Likewise.
3826         (ctan_test_data): Likewise.
3827         (ctan_test): Likewise.
3828         (ctanh_test_data): Likewise.
3829         (ctanh_test): Likewise.
3830         (erf_test_data): Likewise.
3831         (erf_test): Likewise.
3832         (erfc_test_data): Likewise.
3833         (erfc_test): Likewise.
3834         (exp_test_data): Likewise.
3835         (exp_test): Likewise.
3836         (exp10_test_data): Likewise.
3837         (exp10_test): Likewise.
3838         (pow10_test): Likewise.
3839         (exp2_test_data): Likewise.
3840         (exp2_test): Likewise.
3841         (expm1_test_data): Likewise.
3842         (expm1_test): Likewise.
3843         (fabs_test_data): Likewise.
3844         (fabs_test): Likewise.
3845         (fdim_test_data): Likewise.
3846         (fdim_test): Likewise.
3847         (floor_test_data): Likewise.
3848         (floor_test): Likewise.
3849         (fma_test_data): Likewise.
3850         (fma_test): Likewise.
3851         (fmax_test_data): Likewise.
3852         (fmax_test): Likewise.
3853         (fmaxmag_test_data): Likewise.
3854         (fmaxmag_test): Likewise.
3855         (fmin_test_data): Likewise.
3856         (fmin_test): Likewise.
3857         (fminmag_test_data): Likewise.
3858         (fminmag_test): Likewise.
3859         (fmod_test_data): Likewise.
3860         (fmod_test): Likewise.
3861         (fpclassify_test_data): Likewise.
3862         (fpclassify_test): Likewise.
3863         (frexp_test_data): Likewise.
3864         (frexp_test): Likewise.
3865         (fromfp_test_data): Likewise.
3866         (fromfp_test): Likewise.
3867         (fromfpx_test_data): Likewise.
3868         (fromfpx_test): Likewise.
3869         (getpayload_test_data): Likewise.
3870         (getpayload_test): Likewise.
3871         (hypot_test_data): Likewise.
3872         (hypot_test): Likewise.
3873         (ilogb_test_data): Likewise.
3874         (ilogb_test): Likewise.
3875         (iscanonical_test_data): Likewise.
3876         (iscanonical_test): Likewise.
3877         (iseqsig_test_data): Likewise.
3878         (iseqsig_test): Likewise.
3879         (isfinite_test_data): Likewise.
3880         (isfinite_test): Likewise.
3881         (finite_test): Likewise.
3882         (isgreater_test_data): Likewise.
3883         (isgreater_test): Likewise.
3884         (isgreaterequal_test_data): Likewise.
3885         (isgreaterequal_test): Likewise.
3886         (isinf_test_data): Likewise.
3887         (isinf_test): Likewise.
3888         (isless_test_data): Likewise.
3889         (isless_test): Likewise.
3890         (islessequal_test_data): Likewise.
3891         (islessequal_test): Likewise.
3892         (islessgreater_test_data): Likewise.
3893         (islessgreater_test): Likewise.
3894         (isnan_test_data): Likewise.
3895         (isnan_test): Likewise.
3896         (isnormal_test_data): Likewise.
3897         (isnormal_test): Likewise.
3898         (issignaling_test_data): Likewise.
3899         (issignaling_test): Likewise.
3900         (issubnormal_test_data): Likewise.
3901         (issubnormal_test): Likewise.
3902         (isunordered_test_data): Likewise.
3903         (isunordered_test): Likewise.
3904         (iszero_test_data): Likewise.
3905         (iszero_test): Likewise.
3906         (j0_test_data): Likewise.
3907         (j0_test): Likewise.
3908         (j1_test_data): Likewise.
3909         (j1_test): Likewise.
3910         (jn_test_data): Likewise.
3911         (jn_test): Likewise.
3912         (lgamma_test_data): Likewise.
3913         (lgamma_test): Likewise.
3914         (gamma_test): Likewise.
3915         (llogb_test_data): Likewise.
3916         (llogb_test): Likewise.
3917         (lrint_test_data): Likewise.
3918         (lrint_test): Likewise.
3919         (llrint_test_data): Likewise.
3920         (llrint_test): Likewise.
3921         (log_test_data): Likewise.
3922         (log_test): Likewise.
3923         (log10_test_data): Likewise.
3924         (log10_test): Likewise.
3925         (log1p_test_data): Likewise.
3926         (log1p_test): Likewise.
3927         (log2_test_data): Likewise.
3928         (log2_test): Likewise.
3929         (logb_test_data): Likewise.
3930         (logb_test): Likewise.
3931         (lround_test_data): Likewise.
3932         (lround_test): Likewise.
3933         (llround_test_data): Likewise.
3934         (llround_test): Likewise.
3935         (modf_test_data): Likewise.
3936         (modf_test): Likewise.
3937         (nearbyint_test_data): Likewise.
3938         (nearbyint_test): Likewise.
3939         (nextafter_test_data): Likewise.
3940         (nextafter_test): Likewise.
3941         (nextup_test_data): Likewise.
3942         (nextup_test): Likewise.
3943         (nextdown_test_data): Likewise.
3944         (nextdown_test): Likewise.
3945         (nexttoward_test_data): Likewise.
3946         (nexttoward_test): Likewise.
3947         (pow_test_data): Likewise.
3948         (pow_test): Likewise.
3949         (remainder_test_data): Likewise.
3950         (remainder_test): Likewise.
3951         (drem_test): Likewise.
3952         (remquo_test_data): Likewise.
3953         (remquo_test): Likewise.
3954         (rint_test_data): Likewise.
3955         (rint_test): Likewise.
3956         (round_test_data): Likewise.
3957         (round_test): Likewise.
3958         (roundeven_test_data): Likewise.
3959         (roundeven_test): Likewise.
3960         (scalb_test_data): Likewise.
3961         (scalb_test): Likewise.
3962         (scalbn_test_data): Likewise.
3963         (scalbn_test): Likewise.
3964         (ldexp_test): Likewise.
3965         (scalbln_test_data): Likewise.
3966         (scalbln_test): Likewise.
3967         (setpayload_test_data): Likewise.
3968         (setpayload_test): Likewise.
3969         (setpayloadsig_test_data): Likewise.
3970         (setpayloadsig_test): Likewise.
3971         (signbit_test_data): Likewise.
3972         (signbit_test): Likewise.
3973         (sin_test_data): Likewise.
3974         (sin_test): Likewise.
3975         (sincos_test_data): Likewise.
3976         (sincos_test): Likewise.
3977         (sinh_test_data): Likewise.
3978         (sinh_test): Likewise.
3979         (sqrt_test_data): Likewise.
3980         (sqrt_test): Likewise.
3981         (tan_test_data): Likewise.
3982         (tan_test): Likewise.
3983         (tanh_test_data): Likewise.
3984         (tanh_test): Likewise.
3985         (tgamma_test_data): Likewise.
3986         (tgamma_test): Likewise.
3987         (totalorder_test_data): Likewise.
3988         (totalorder_test): Likewise.
3989         (totalordermag_test_data): Likewise.
3990         (totalordermag_test): Likewise.
3991         (trunc_test_data): Likewise.
3992         (trunc_test): Likewise.
3993         (ufromfp_test_data): Likewise.
3994         (ufromfp_test): Likewise.
3995         (ufromfpx_test_data): Likewise.
3996         (ufromfpx_test): Likewise.
3997         (y0_test_data): Likewise.
3998         (y0_test): Likewise.
3999         (y1_test_data): Likewise.
4000         (y1_test): Likewise.
4001         (yn_test_data): Likewise.
4002         (yn_test): Likewise.
4003         (significand_test_data): Likewise.
4004         (significand_test): Likewise.
4005         * math/Makefile (auto-libm-test-out-files): Remove variable.
4006         (libm-test-funcs-noauto): New variable.
4007         (libm-test-funcs-all): Likewise.
4008         (libm-test-c-auto): Likewise.
4009         (libm-test-c-noauto): Likewise.
4010         (libm-tests-generated): Add $(libm-test-c-auto) and
4011         $(libm-test-c-noauto).
4012         (generated): Do not add auto-libm-test-out.
4013         (libm-test-c-auto-obj): New variable.
4014         (libm-test-c-noauto-obj): Likewise.
4015         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
4016         ($(libm-test-c-noauto-obj)): New static pattern rule.
4017         ($(libm-test-c-auto-obj)): Likewise.
4018         (libm-test-incs): New variable.
4019         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
4020         and pass it to gen-libm-have-vector-test.sh.
4021         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
4022         be passed on command line.
4023         * math/libm-test-acos.inc: New file.  Content from
4024         math/libm-test.inc.
4025         * math/libm-test-acosh.inc: Likewise.
4026         * math/libm-test-asin.inc: Likewise.
4027         * math/libm-test-asinh.inc: Likewise.
4028         * math/libm-test-atan.inc: Likewise.
4029         * math/libm-test-atan2.inc: Likewise.
4030         * math/libm-test-atanh.inc: Likewise.
4031         * math/libm-test-cabs.inc: Likewise.
4032         * math/libm-test-cacos.inc: Likewise.
4033         * math/libm-test-cacosh.inc: Likewise.
4034         * math/libm-test-canonicalize.inc: Likewise.
4035         * math/libm-test-carg.inc: Likewise.
4036         * math/libm-test-casin.inc: Likewise.
4037         * math/libm-test-casinh.inc: Likewise.
4038         * math/libm-test-catan.inc: Likewise.
4039         * math/libm-test-catanh.inc: Likewise.
4040         * math/libm-test-cbrt.inc: Likewise.
4041         * math/libm-test-ccos.inc: Likewise.
4042         * math/libm-test-ccosh.inc: Likewise.
4043         * math/libm-test-ceil.inc: Likewise.
4044         * math/libm-test-cexp.inc: Likewise.
4045         * math/libm-test-cimag.inc: Likewise.
4046         * math/libm-test-clog.inc: Likewise.
4047         * math/libm-test-clog10.inc: Likewise.
4048         * math/libm-test-conj.inc: Likewise.
4049         * math/libm-test-copysign.inc: Likewise.
4050         * math/libm-test-cos.inc: Likewise.
4051         * math/libm-test-cosh.inc: Likewise.
4052         * math/libm-test-cpow.inc: Likewise.
4053         * math/libm-test-cproj.inc: Likewise.
4054         * math/libm-test-creal.inc: Likewise.
4055         * math/libm-test-csin.inc: Likewise.
4056         * math/libm-test-csinh.inc: Likewise.
4057         * math/libm-test-csqrt.inc: Likewise.
4058         * math/libm-test-ctan.inc: Likewise.
4059         * math/libm-test-ctanh.inc: Likewise.
4060         * math/libm-test-erf.inc: Likewise.
4061         * math/libm-test-erfc.inc: Likewise.
4062         * math/libm-test-exp.inc: Likewise.
4063         * math/libm-test-exp10.inc: Likewise.
4064         * math/libm-test-exp2.inc: Likewise.
4065         * math/libm-test-expm1.inc: Likewise.
4066         * math/libm-test-fabs.inc: Likewise.
4067         * math/libm-test-fdim.inc: Likewise.
4068         * math/libm-test-floor.inc: Likewise.
4069         * math/libm-test-fma.inc: Likewise.
4070         * math/libm-test-fmax.inc: Likewise.
4071         * math/libm-test-fmaxmag.inc: Likewise.
4072         * math/libm-test-fmin.inc: Likewise.
4073         * math/libm-test-fminmag.inc: Likewise.
4074         * math/libm-test-fmod.inc: Likewise.
4075         * math/libm-test-fpclassify.inc: Likewise.
4076         * math/libm-test-frexp.inc: Likewise.
4077         * math/libm-test-fromfp.inc: Likewise.
4078         * math/libm-test-fromfpx.inc: Likewise.
4079         * math/libm-test-getpayload.inc: Likewise.
4080         * math/libm-test-hypot.inc: Likewise.
4081         * math/libm-test-ilogb.inc: Likewise.
4082         * math/libm-test-iscanonical.inc: Likewise.
4083         * math/libm-test-iseqsig.inc: Likewise.
4084         * math/libm-test-isfinite.inc: Likewise.
4085         * math/libm-test-isgreater.inc: Likewise.
4086         * math/libm-test-isgreaterequal.inc: Likewise.
4087         * math/libm-test-isinf.inc: Likewise.
4088         * math/libm-test-isless.inc: Likewise.
4089         * math/libm-test-islessequal.inc: Likewise.
4090         * math/libm-test-islessgreater.inc: Likewise.
4091         * math/libm-test-isnan.inc: Likewise.
4092         * math/libm-test-isnormal.inc: Likewise.
4093         * math/libm-test-issignaling.inc: Likewise.
4094         * math/libm-test-issubnormal.inc: Likewise.
4095         * math/libm-test-isunordered.inc: Likewise.
4096         * math/libm-test-iszero.inc: Likewise.
4097         * math/libm-test-j0.inc: Likewise.
4098         * math/libm-test-j1.inc: Likewise.
4099         * math/libm-test-jn.inc: Likewise.
4100         * math/libm-test-lgamma.inc: Likewise.
4101         * math/libm-test-llogb.inc: Likewise.
4102         * math/libm-test-llrint.inc: Likewise.
4103         * math/libm-test-llround.inc: Likewise.
4104         * math/libm-test-log.inc: Likewise.
4105         * math/libm-test-log10.inc: Likewise.
4106         * math/libm-test-log1p.inc: Likewise.
4107         * math/libm-test-log2.inc: Likewise.
4108         * math/libm-test-logb.inc: Likewise.
4109         * math/libm-test-lrint.inc: Likewise.
4110         * math/libm-test-lround.inc: Likewise.
4111         * math/libm-test-modf.inc: Likewise.
4112         * math/libm-test-nearbyint.inc: Likewise.
4113         * math/libm-test-nextafter.inc: Likewise.
4114         * math/libm-test-nextdown.inc: Likewise.
4115         * math/libm-test-nexttoward.inc: Likewise.
4116         * math/libm-test-nextup.inc: Likewise.
4117         * math/libm-test-pow.inc: Likewise.
4118         * math/libm-test-remainder.inc: Likewise.
4119         * math/libm-test-remquo.inc: Likewise.
4120         * math/libm-test-rint.inc: Likewise.
4121         * math/libm-test-round.inc: Likewise.
4122         * math/libm-test-roundeven.inc: Likewise.
4123         * math/libm-test-scalb.inc: Likewise.
4124         * math/libm-test-scalbln.inc: Likewise.
4125         * math/libm-test-scalbn.inc: Likewise.
4126         * math/libm-test-setpayload.inc: Likewise.
4127         * math/libm-test-setpayloadsig.inc: Likewise.
4128         * math/libm-test-signbit.inc: Likewise.
4129         * math/libm-test-significand.inc: Likewise.
4130         * math/libm-test-sin.inc: Likewise.
4131         * math/libm-test-sincos.inc: Likewise.
4132         * math/libm-test-sinh.inc: Likewise.
4133         * math/libm-test-sqrt.inc: Likewise.
4134         * math/libm-test-tan.inc: Likewise.
4135         * math/libm-test-tanh.inc: Likewise.
4136         * math/libm-test-tgamma.inc: Likewise.
4137         * math/libm-test-totalorder.inc: Likewise.
4138         * math/libm-test-totalordermag.inc: Likewise.
4139         * math/libm-test-trunc.inc: Likewise.
4140         * math/libm-test-ufromfp.inc: Likewise.
4141         * math/libm-test-ufromfpx.inc: Likewise.
4142         * math/libm-test-y0.inc: Likewise.
4143         * math/libm-test-y1.inc: Likewise.
4144         * math/libm-test-yn.inc: Likewise.
4145         * math/README.libm-test: Update.
4147         * math/gen-auto-libm-tests.c: Update comment about use of program.
4148         (generate_output): Add argument FUNCTION.
4149         (main): Require extra argument.  Pass function name to
4150         generate_output.
4151         * math/Makefile (generated): Add auto-libm-test-out.
4152         (libm-test-funcs-auto): New variable.
4153         (auto-libm-test-out-files): New variable.
4154         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
4155         Concatenate those files to form $(objpfx)auto-libm-test-out and
4156         use it as input to gen-libm-test.pl.
4157         * math/README.libm-test: Update.
4158         * math/auto-libm-test-out: Remove.
4159         * math/auto-libm-test-out-acos: New generated file.
4160         * math/auto-libm-test-out-acosh: Likewise.
4161         * math/auto-libm-test-out-asin: Likewise.
4162         * math/auto-libm-test-out-asinh: Likewise.
4163         * math/auto-libm-test-out-atan: Likewise.
4164         * math/auto-libm-test-out-atan2: Likewise.
4165         * math/auto-libm-test-out-atanh: Likewise.
4166         * math/auto-libm-test-out-cabs: Likewise.
4167         * math/auto-libm-test-out-carg: Likewise.
4168         * math/auto-libm-test-out-cbrt: Likewise.
4169         * math/auto-libm-test-out-ccos: Likewise.
4170         * math/auto-libm-test-out-ccosh: Likewise.
4171         * math/auto-libm-test-out-cexp: Likewise.
4172         * math/auto-libm-test-out-clog: Likewise.
4173         * math/auto-libm-test-out-clog10: Likewise.
4174         * math/auto-libm-test-out-cos: Likewise.
4175         * math/auto-libm-test-out-cosh: Likewise.
4176         * math/auto-libm-test-out-cpow: Likewise.
4177         * math/auto-libm-test-out-csin: Likewise.
4178         * math/auto-libm-test-out-csinh: Likewise.
4179         * math/auto-libm-test-out-csqrt: Likewise.
4180         * math/auto-libm-test-out-ctan: Likewise.
4181         * math/auto-libm-test-out-ctanh: Likewise.
4182         * math/auto-libm-test-out-erf: Likewise.
4183         * math/auto-libm-test-out-erfc: Likewise.
4184         * math/auto-libm-test-out-exp: Likewise.
4185         * math/auto-libm-test-out-exp10: Likewise.
4186         * math/auto-libm-test-out-exp2: Likewise.
4187         * math/auto-libm-test-out-expm1: Likewise.
4188         * math/auto-libm-test-out-fma: Likewise.
4189         * math/auto-libm-test-out-hypot: Likewise.
4190         * math/auto-libm-test-out-j0: Likewise.
4191         * math/auto-libm-test-out-j1: Likewise.
4192         * math/auto-libm-test-out-jn: Likewise.
4193         * math/auto-libm-test-out-lgamma: Likewise.
4194         * math/auto-libm-test-out-log: Likewise.
4195         * math/auto-libm-test-out-log10: Likewise.
4196         * math/auto-libm-test-out-log1p: Likewise.
4197         * math/auto-libm-test-out-log2: Likewise.
4198         * math/auto-libm-test-out-pow: Likewise.
4199         * math/auto-libm-test-out-sin: Likewise.
4200         * math/auto-libm-test-out-sincos: Likewise.
4201         * math/auto-libm-test-out-sinh: Likewise.
4202         * math/auto-libm-test-out-sqrt: Likewise.
4203         * math/auto-libm-test-out-tan: Likewise.
4204         * math/auto-libm-test-out-tanh: Likewise.
4205         * math/auto-libm-test-out-tgamma: Likewise.
4206         * math/auto-libm-test-out-y0: Likewise.
4207         * math/auto-libm-test-out-y1: Likewise.
4208         * math/auto-libm-test-out-yn: Likewise.
4210         * math/Makefile (generated): Do not include libm-test.stmp.
4211         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
4212         on $(objpfx)libm-test.stmp.
4213         ($(objpfx)libm-test.stmp): Remove rule.
4214         ($(objpfx)libm-test-ulps.h): New rule.
4215         ($(objpfx)libm-test.c): Likewise.
4216         ($(objpfx)libm-have-vector-test.h): Likewise.
4217         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
4218         individual generated files, not libm-test.stmp.
4220         * math/gen-libm-test.pl ($output_dir): Remove variable.
4221         ($srcdir): Likewise.
4222         ($opt_a): New variable.
4223         ($opt_c): Likewise.
4224         ($opt_C): Likewise.
4225         ($opt_H): Likewise.
4226         (-n): Make option take argument and use it as NewUlps output.
4227         (-a): New option.  Use its argument for auto-libm-test-out input.
4228         (-c): New option.  Use its argument for libm-test.inc input.
4229         (-C): New option.  Use its argument for libm-test.c output.
4230         (-H): New option.  Use its argument for libm-test-ulps.h output.
4231         (top level): Only process inputs needed to generate outputs
4232         specified by command-line options.  Only generate outputs
4233         specified by command-line options.
4234         * math/README.libm-test: Update example gen-libm-test.pl command.
4235         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
4236         commands.
4237         (regen-ulps): Likewise.
4239 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
4241         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
4242         * include/string.h (index): Remove define.
4243         (rindex): Likewise.
4244         * misc/getttyent.c (__getttyent): Rename index to strchr.
4245         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
4246         * sunrpc/rpc_main.c (mkfile_output): Likewise.
4248 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
4250         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
4251         * math/libm-test.inc: Move all contents, other than tests of
4252         individual functions, to libm-test-driver.c.
4253         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
4254         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
4255         [!FE_UPWARD] (FE_UPWARD): Likewise.
4256         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
4257         (NO_EXCEPTION): Likewise.
4258         (INVALID_EXCEPTION): Likewise.
4259         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
4260         (OVERFLOW_EXCEPTION): Likewise.
4261         (UNDERFLOW_EXCEPTION): Likewise.
4262         (INEXACT_EXCEPTION): Likewise.
4263         (INVALID_EXCEPTION_OK): Likewise.
4264         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4265         (OVERFLOW_EXCEPTION_OK): Likewise.
4266         (UNDERFLOW_EXCEPTION_OK): Likewise.
4267         (NO_INEXACT_EXCEPTION): Likewise.
4268         (EXCEPTIONS_OK): Likewise.
4269         (IGNORE_ZERO_INF_SIGN): Likewise.
4270         (TEST_NAN_SIGN): Likewise.
4271         (TEST_NAN_PAYLOAD): Likewise.
4272         (NO_TEST_INLINE): Likewise.
4273         (XFAIL_TEST): Likewise.
4274         (ERRNO_UNCHANGED): Likewise.
4275         (ERRNO_EDOM): Likewise.
4276         (ERRNO_ERANGE): Likewise.
4277         (IGNORE_RESULT): Likewise.
4278         (NON_FINITE): Likewise.
4279         (TEST_SNAN): Likewise.
4280         (NO_TEST_MATHVEC): Likewise.
4281         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
4282         (__CONCATX): Likewise.
4283         (TYPE_MIN): Likewise.
4284         (TYPE_TRUE_MIN): Likewise.
4285         (TYPE_MAX): Likewise.
4286         (MIN_EXP): Likewise.
4287         (MAX_EXP): Likewise.
4288         (MANT_DIG): Likewise.
4289         (FSTR_MAX): Likewise.
4290         (ULP_IDX): Likewise.
4291         (QTYPE_STR): Likewise.
4292         (TEST_COND_binary32): Likewise.
4293         (TEST_COND_binary64): Likewise.
4294         (TEST_COND_binary128): Likewise.
4295         (TEST_COND_ibm128): Likewise.
4296         (TEST_COND_intel96): Likewise.
4297         (TEST_COND_m68k96): Likewise.
4298         (TEST_COND_ibm128_libgcc): Likewise.
4299         (XFAIL_IBM128_LIBGCC): Likewise.
4300         (PAYLOAD_DIG): Likewise.
4301         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4302         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4303         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4304         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
4305         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4306         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
4307         (TEST_COND_long32): Likewise.
4308         (TEST_COND_long64): Likewise.
4309         (TEST_COND_before_rounding): Likewise.
4310         (TEST_COND_after_rounding): Likewise.
4311         (lit_pi_3_m_4_d): Likewise.
4312         (lit_pi_3_m_4_ln10_m_d): Likewise.
4313         (lit_pi_2_ln10_m_d): Likewise.
4314         (lit_pi_4_ln10_m_d): Likewise.
4315         (lit_pi_ln10_d): Likewise.
4316         (lit_pi_2_d): Likewise.
4317         (lit_pi_4_d): Likewise.
4318         (lit_pi): Likewise.
4319         (lit_e): Likewise.
4320         (ulps_file_name): Likewise.
4321         (ulps_file): Likewise.
4322         (output_ulps): Likewise.
4323         (output_dir): Likewise.
4324         (noErrors): Likewise.
4325         (noTests): Likewise.
4326         (noExcTests): Likewise.
4327         (noErrnoTests): Likewise.
4328         (verbose): Likewise.
4329         (output_max_error): Likewise.
4330         (output_points): Likewise.
4331         (ignore_max_ulp): Likewise.
4332         (plus_zero): Likewise.
4333         (minus_zero): Likewise.
4334         (plus_infty): Likewise.
4335         (minus_infty): Likewise.
4336         (qnan_value_pl): Likewise.
4337         (qnan_value): Likewise.
4338         (snan_value_pl): Likewise.
4339         (snan_value): Likewise.
4340         (max_value): Likewise.
4341         (min_value): Likewise.
4342         (min_subnorm_value): Likewise.
4343         (snan_value_ld): Likewise.
4344         (max_error): Likewise.
4345         (real_max_error): Likewise.
4346         (imag_max_error): Likewise.
4347         (prev_max_error): Likewise.
4348         (prev_real_max_error): Likewise.
4349         (prev_imag_max_error): Likewise.
4350         (max_valid_error): Likewise.
4351         (TYPE_DECIMAL_DIG): Likewise.
4352         (TYPE_HEX_DIG): Likewise.
4353         (fmt_ftostr): Likewise.
4354         (compare_ulp_data): Likewise.
4355         (find_ulps): Likewise.
4356         (init_max_error): Likewise.
4357         (set_max_error): Likewise.
4358         (print_float): Likewise.
4359         (print_screen): Likewise.
4360         (print_screen_max_error): Likewise.
4361         (update_stats): Likewise.
4362         (print_function_ulps): Likewise.
4363         (print_complex_function_ulps): Likewise.
4364         (fpstack_test): Likewise.
4365         (print_max_error): Likewise.
4366         (print_complex_max_error): Likewise.
4367         (test_single_exception): Likewise.
4368         (test_exceptions): Likewise.
4369         (test_single_errno): Likewise.
4370         (test_errno): Likewise.
4371         (ULPDIFF): Likewise.
4372         (ulp): Likewise.
4373         (check_float_internal): Likewise.
4374         (check_float): Likewise.
4375         (check_complex): Likewise.
4376         (check_int): Likewise.
4377         (check_long): Likewise.
4378         (check_bool): Likewise.
4379         (check_longlong): Likewise.
4380         (check_intmax_t): Likewise.
4381         (check_uintmax_t): Likewise.
4382         (enable_test): Likewise.
4383         (struct test_f_f_data): Likewise.
4384         (struct test_ff_f_data): Likewise.
4385         (struct test_fj_f_data): Likewise.
4386         (struct test_fi_f_data): Likewise.
4387         (struct test_fl_f_data): Likewise.
4388         (struct test_if_f_data): Likewise.
4389         (struct test_fff_f_data): Likewise.
4390         (struct test_fiu_M_data): Likewise.
4391         (struct test_fiu_U_data): Likewise.
4392         (struct test_c_f_data): Likewise.
4393         (struct test_f_f1_data): Likewise.
4394         (struct test_fF_f1_data): Likewise.
4395         (struct test_ffI_f1_data): Likewise.
4396         (struct test_c_c_data): Likewise.
4397         (struct test_cc_c_data): Likewise.
4398         (struct test_f_i_data): Likewise.
4399         (struct test_ff_i_data): Likewise.
4400         (struct test_f_l_data): Likewise.
4401         (struct test_f_L_data): Likewise.
4402         (struct test_fFF_11_data): Likewise.
4403         (struct test_Ff_b1_data): Likewise.
4404         (IF_ROUND_INIT_): Likewise.
4405         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4406         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4407         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4408         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4409         (ROUND_RESTORE_): Likewise.
4410         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4411         (ROUND_RESTORE_FE_TONEAREST): Likewise.
4412         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4413         (ROUND_RESTORE_FE_UPWARD): Likewise.
4414         (RM_): Likewise.
4415         (RM_FE_DOWNWARD): Likewise.
4416         (RM_FE_TONEAREST): Likewise.
4417         (RM_FE_TOWARDZERO): Likewise.
4418         (RM_FE_UPWARD): Likewise.
4419         (COMMON_TEST_SETUP): Likewise.
4420         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4421         (COMMON_TEST_CLEANUP): Likewise.
4422         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4423         (RUN_TEST_f_f): Likewise.
4424         (RUN_TEST_LOOP_f_f): Likewise.
4425         (RUN_TEST_fp_f): Likewise.
4426         (RUN_TEST_LOOP_fp_f): Likewise.
4427         (RUN_TEST_2_f): Likewise.
4428         (RUN_TEST_LOOP_2_f): Likewise.
4429         (RUN_TEST_ff_f): Likewise.
4430         (RUN_TEST_LOOP_ff_f): Likewise.
4431         (RUN_TEST_LOOP_fj_f): Likewise.
4432         (RUN_TEST_fi_f): Likewise.
4433         (RUN_TEST_LOOP_fi_f): Likewise.
4434         (RUN_TEST_fl_f): Likewise.
4435         (RUN_TEST_LOOP_fl_f): Likewise.
4436         (RUN_TEST_if_f): Likewise.
4437         (RUN_TEST_LOOP_if_f): Likewise.
4438         (RUN_TEST_fff_f): Likewise.
4439         (RUN_TEST_LOOP_fff_f): Likewise.
4440         (RUN_TEST_fiu_M): Likewise.
4441         (RUN_TEST_LOOP_fiu_M): Likewise.
4442         (RUN_TEST_fiu_U): Likewise.
4443         (RUN_TEST_LOOP_fiu_U): Likewise.
4444         (RUN_TEST_c_f): Likewise.
4445         (RUN_TEST_LOOP_c_f): Likewise.
4446         (RUN_TEST_f_f1): Likewise.
4447         (RUN_TEST_LOOP_f_f1): Likewise.
4448         (RUN_TEST_fF_f1): Likewise.
4449         (RUN_TEST_LOOP_fF_f1): Likewise.
4450         (RUN_TEST_fI_f1): Likewise.
4451         (RUN_TEST_LOOP_fI_f1): Likewise.
4452         (RUN_TEST_ffI_f1_mod8): Likewise.
4453         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
4454         (RUN_TEST_Ff_b1): Likewise.
4455         (RUN_TEST_LOOP_Ff_b1): Likewise.
4456         (RUN_TEST_Ffp_b1): Likewise.
4457         (RUN_TEST_LOOP_Ffp_b1): Likewise.
4458         (RUN_TEST_c_c): Likewise.
4459         (RUN_TEST_LOOP_c_c): Likewise.
4460         (RUN_TEST_cc_c): Likewise.
4461         (RUN_TEST_LOOP_cc_c): Likewise.
4462         (RUN_TEST_f_i): Likewise.
4463         (RUN_TEST_LOOP_f_i): Likewise.
4464         (RUN_TEST_f_i_tg): Likewise.
4465         (RUN_TEST_LOOP_f_i_tg): Likewise.
4466         (RUN_TEST_ff_b): Likewise.
4467         (RUN_TEST_LOOP_ff_b): Likewise.
4468         (RUN_TEST_ff_i_tg): Likewise.
4469         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4470         (RUN_TEST_f_b): Likewise.
4471         (RUN_TEST_LOOP_f_b): Likewise.
4472         (RUN_TEST_f_b_tg): Likewise.
4473         (RUN_TEST_LOOP_f_b_tg): Likewise.
4474         (RUN_TEST_f_l): Likewise.
4475         (RUN_TEST_LOOP_f_l): Likewise.
4476         (RUN_TEST_f_L): Likewise.
4477         (RUN_TEST_LOOP_f_L): Likewise.
4478         (RUN_TEST_fFF_11): Likewise.
4479         (RUN_TEST_LOOP_fFF_11): Likewise.
4480         (VEC_SUFF): Likewise.
4481         (STR_CONCAT): Likewise.
4482         (STR_CON3): Likewise.
4483         (HAVE_VECTOR): Likewise.
4484         (START): Likewise.
4485         (END): Likewise.
4486         (END_COMPLEX): Likewise.
4487         (ALL_RM_TEST): Likewise.
4488         (matherr): Likewise.
4489         (initialize): Likewise.
4490         (options): Likewise.
4491         (doc): Likewise.
4492         (parse_opt): Likewise.
4493         (argp): Likewise.
4494         (check_ulp): Likewise.
4495         (main): Likewise.
4496         (do_test): New function.  Call tests of individual functions
4497         previously called from main.
4499         * math/libm-test.inc: Remove comment listing functions tested and
4500         not tested.
4502 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4504         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
4505         (allocate_stack): Remove COLORING_INCREMENT usage.
4506         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
4507         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
4509 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
4511         * manual/libm-err-tab.pl (@all_functions): Change to
4512         %all_functions.  Initialize as empty.
4513         (parse_ulps): Add to %all_functions based on functions found in
4514         ulps files.  Ignore results for non-default rounding modes and
4515         vector functions.
4516         (print_platforms): Use %all_platforms.
4517         * manual/math.texi (Errors in Math Functions): Document omissions
4518         from the table.
4520         * math/Makefile (before-compile): Remove.
4522 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
4524         [BZ #21075]
4525         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
4526         unused assignment.
4527         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4529 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4531         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
4532         Add __glibc_unlikely hint.
4534 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4536         [BZ #16640]
4537         * sysdeps/i386/i686/strtok.S: Remove file.
4538         * sysdeps/i386/i686/strtok_r.S: Likewise.
4539         * sysdeps/i386/strtok.S: Likewise.
4540         * sysdeps/i386/strtok_r.S: Likewise.
4541         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
4542         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
4543         * sysdeps/x86_64/strtok.S: Likewise.
4544         * sysdeps/x86_64/strtok_r.S: Likewise.
4546         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
4547         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
4548         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4549         (__ASSUME_FADVISE64_AS_64_64): Define.
4550         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
4551         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
4552         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
4553         __ALIGNMENT_ARG usage.
4554         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
4555         __NR_fadvise64_64 if it is not defined.
4557 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4559         * version.h (RELEASE): Set to "development"
4560         (VERSION): Set to 2.25.90.
4561         * NEWS: Add 2.26 section.
4563         * version.h (RELEASE): Set to "stable"
4564         (VERSION): Set to 2.25.
4565         * include/features.h (__GLIBC_MINOR__): Set to 25.
4567         * manual/contrib.texi: Add more contributors from this release
4568         and past releases.
4570         * NEWS (2.25): Add list of bugs fixed.
4572         * NEWS: Add missing news items.
4574 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4576         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
4577         parent if child exited in that manner.  Print WEXITSTATUS
4578         instead of the raw status.
4579         (do_test_prep): Rename to do_test.
4580         (do_test): Return the result of run_executable_sgid.
4581         (TEST_FUNCTION_ARGV): Adjust.
4583 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
4584             Florian Weimer  <fweimer@redhat.com>
4585             Carlos O'Donell  <carlos@redhat.com>
4587         [BZ #20915]
4588         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
4589         Do not initialize DTV.
4590         * nptl/allocatestack.c (init_one_static_tls): Likewise.
4592 2017-02-03  David S. Miller  <davem@davemloft.net>
4594         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
4595         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4596         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
4597         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4598         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
4599         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4600         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
4601         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4602         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4603         (libm-sysdep_routines): Update.
4604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
4605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
4606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
4608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4609         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
4610         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
4611         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
4612         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
4613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
4614         Likewise.
4615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
4617         Likewise.
4618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
4620         Likewise.
4621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
4623         Likewise.
4624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4626         (libm-sysdep_routines): Update.
4628 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
4630         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
4631         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
4632         against unrelocated shared library.
4633         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4635 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4637         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
4638         * elf/tst-env-setuid-tunables.c
4639         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
4640         GLIBC_TUNABLES is removed in a setgid process.
4642         [BZ #21073]
4643         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
4644         * elf/dl-tunables.c (tunables_strdup): Remove.
4645         (get_next_env): Also return the previous envp.
4646         (parse_tunables): Erase tunables of category
4647         TUNABLES_SECLEVEL_SXID_ERASE.
4648         (maybe_enable_malloc_check): Make MALLOC_CHECK_
4649         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
4650         (__tunables_init)[TUNABLES_FRONTEND ==
4651         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
4652         after parsing.
4653         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
4654         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
4655         * elf/dl-tunables.h (struct _tunable): Change member is_secure
4656         to security_level.
4657         * elf/dl-tunables.list: Add security_level annotations for all
4658         tunables.
4659         * scripts/gen-tunables.awk: Recognize and generate enum values
4660         for security_level.
4661         * elf/tst-env-setuid.c: New test case.
4662         * elf/tst-env-setuid-tunables: new test case.
4663         * elf/Makefile (tests-static): Add them.
4665 2017-02-01  Richard Henderson  <rth@twiddle.net>
4667         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
4668         adjusting the byte count.
4670 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
4672         * conform/Makefile (linknamespace-libs): Define.
4674         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
4675         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
4676         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
4677         operands.
4679 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
4681         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
4683 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4685         [BZ #21081]
4686         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4687         (L(stosb)): Add VZEROUPPER before ret.
4689 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
4690             Alexey Makhalov <amakhalov@vmware.com>
4691             Florian Weimer <fweimer@redhat.com>
4693         [BZ #20116]
4694         * nptl/pthread_create.c: Document concurrency notes.
4695         Enhance thread creation notes.
4696         (create_thread): Use bool *stopped_start.
4697         (START_THREAD_DEFN): Comment ownership of PD.
4698         (__pthread_create_2_1): Add local bool stopped_start and use
4699         that instead of pd->stopped_start where appropriate.
4700         * nptl/createthread.c (create_thread): Use bool *stopped_start.
4701         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
4702         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
4703         * nptl/tst-create-detached.c: New file.
4704         * nptl/Makefile (tests): Add tst-create-detached.
4705         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4706         Reference the enhanced thread creation notes.
4707         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
4708         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4709         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
4710         (__pthread_current_priority): Likewise.
4711         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
4712         xpthread_attr_init, xpthread_attr_setdetachstate, and
4713         xpthread_attr_setstacksize.
4714         * support/xpthread_attr_destroy.c: New file.
4715         * support/xpthread_attr_init.c: New file.
4716         * support/xpthread_attr_setdetachstate.c: New file.
4717         * support/xpthread_attr_setstacksize.c: New file.
4718         * support/xthread.h: Define prototypes for xpthread_attr_destroy
4719         xpthread_attr_init, xpthread_attr_setdetachstate, and
4720         xpthread_attr_setstacksize.
4722 2017-01-27  Florian Weimer  <fweimer@redhat.com>
4724         * nptl/Makefile (tests): Add tst-robust-fork.
4725         * nptl/tst-robust-fork.c: New file.
4726         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
4727         xpthread_mutex_consistent, xpthread_mutex_destroy,
4728         xpthread_mutex_init, xpthread_mutexattr_destroy,
4729         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
4730         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
4731         xpthread_mutexattr_settype.
4732         * support/xmmap.c: New file.
4733         * support/xmunmap.c: Likewise.
4734         * support/xpthread_mutex_consistent.c: Likewise.
4735         * support/xpthread_mutex_destroy.c: Likewise.
4736         * support/xpthread_mutex_init.c: Likewise.
4737         * support/xpthread_mutexattr_destroy.c: Likewise.
4738         * support/xpthread_mutexattr_init.c: Likewise.
4739         * support/xpthread_mutexattr_setprotocol.c: Likewise.
4740         * support/xpthread_mutexattr_setpshared.c: Likewise.
4741         * support/xpthread_mutexattr_setrobust.c: Likewise.
4742         * support/xpthread_mutexattr_settype.c: Likewise.
4743         * support/xthread.h (xpthread_mutexattr_destroy)
4744         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
4745         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
4746         (xpthread_mutexattr_settype, xpthread_mutex_init)
4747         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
4748         * support/xunistd.h (xmmap, xmunmap): Likewise.
4750 2017-01-25  Florian Weimer  <fweimer@redhat.com>
4752         * string/Makefile (xtests): Add comment.
4753         (LOCALES): Add en_GB.UTF-8.
4754         (tst-strcoll-overflow.out): Depend on generated locales.
4755         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
4756         (SIZE, TIMEOUT): Update comments.
4757         (do_test): Define as static.  Fail test if setlocale fails.
4758         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
4759         messages.
4760         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
4761         TIMEOUT at 300 seconds should be enough to run this test
4762         successfully.
4764 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
4766         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4767         /* FALLTHRU */ comments.
4769 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
4771         [BZ #21053]
4772         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
4773         constants instead of the old R* ones.
4774         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
4775         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
4776         (NGREG): ... to this, to fit in with other architectures.
4777         (gpregset_t): Use new NGREG macro.
4778         [__USE_GNU]: Remove condition; all architectures other than tile
4779         are unconditional.
4780         (R*): Rename to REG_R*.
4782 2017-01-20  DJ Delorie  <dj@redhat.com>
4784         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
4785         (tunable_set_val_if_valid_range_signed) ... this, and ...
4786         (tunable_set_val_if_valid_range_unsigned) ... this.
4787         (tunable_initialize): Call the correct one of the above based on type.
4789 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
4791         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
4792         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4793         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4794         * sysdeps/microblaze/libm-test-ulps: Likewise.
4795         * sysdeps/sh/libm-test-ulps: Likewise.
4797         * math/README.libm-test: Update list of characters for input and
4798         output types.
4800 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4802         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4803         (__lll_unlock_elision): Fix adapt_count decrement.
4805 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
4807         * README.pretty-printers (Known issues): Warn about printers not
4808         always covering everything.
4809         * nptl/nptl-printers.py (MutexPrinter): Change output.
4810         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
4812 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4814         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
4815         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4816         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
4817         (__lll_lock_elision): Do not test futex before starting a
4818         transaction.  Use __glibc_likely instead of __builtin_expect.
4819         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
4820         (__lll_trylock_elision): Do not test futex before starting a
4821         transaction.  Use __glibc_likely instead of __builtin_expect.
4823 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4825         * po/Makefile (update-translations): New target.
4827 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4829         [BZ #21061]
4830         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
4832 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4834         * elf/dl-tunables (get_next_env): Always advance envp.
4835         * stdlib/tst-empty-env.c: New test case.
4836         * stdlib/Makefile (tests): Use it.
4838 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4840         [BZ #21047]
4841         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
4842         name for instruction.
4843         [!__SOFTFP__] (_FPU_SETCW): Likewise.
4845 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4847         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
4848         for make install.
4850 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4852         * po/bg.po: Merge from Translation Project.
4853         * po/fr.po: Likewise.
4854         * po/ko.po: Likewise.
4855         * po/nl.po: Likewise.
4856         * po/sv.po: Likewise.
4858 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4860         * manual/install.texi (Tools for Compilation): Update GCC version
4861         known to work to build glibc.
4862         * INSTALL: Regenerated.
4864 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4866         [BZ #21006]
4867         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
4869 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
4871         [BZ #21045]
4872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4873         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
4874         to __sigprocmask.
4876 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
4878         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
4879         wrap-around.
4880         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
4882         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
4884 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4886         * NEWS: Fix typo.
4888 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4890         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
4891         barriers and comments.
4892         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
4893         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4894         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4896 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4898         [BZ #19402]
4899         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
4900         mutexes.
4902 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4904         [BZ #20985]
4905         * nptl/Makefile: Adapt.
4906         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
4907         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
4908         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
4909         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
4910         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
4911         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
4912         lll_robust* functions and adapt.
4913         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4914         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
4915         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
4916         __lll_robust_timedlock, __lll_robust_unlock): Remove.
4917         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
4918         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
4919         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
4920         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
4921         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
4922         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
4923         __lll_robust_timedlock, __lll_robust_unlock): Remove.
4924         * nptl/lowlevelrobustlock.c: Remove file.
4925         * nptl/lowlevelrobustlock.sym: Likewise.
4926         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
4927         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
4929 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4931         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4933 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4935         * po/cs.po: Merge translations from the Translation Project.
4936         * po/de.po: Likewise.
4937         * po/pl.po: Likewise.
4938         * po/ru.po: Likewise.
4939         * po/tr.po: Likewise.
4940         * po/uk.po: Likewise.
4941         * po/vi.po: Likewise.
4942         * po/zh_CN.po: Likewise.
4944 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
4946         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
4948         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
4949         object.
4951 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
4953         [BZ #16458]
4954         * bits/uintn-identity.h: New file.
4955         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
4956         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
4957         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
4958         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
4959         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
4960         * string/endian.h: Include <bits/uintn-identity.h>.
4961         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
4962         __uint16_identity.
4963         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
4964         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
4965         __uint32_identity.
4966         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
4967         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
4968         __uint64_identity.
4969         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
4970         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
4971         __uint16_identity.
4972         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
4973         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
4974         __uint32_identity.
4975         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
4976         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
4977         __uint64_identity.
4978         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
4979         * string/Makefile (headers): Add bits/uintn-identity.h.
4980         (tests): Add test-endian-types.
4981         * string/test-endian-types.c: New file.
4982         * inet/Makefile (tests): Add test-hnto-types.
4983         * inet/test-hnto-types.c: New file.
4985 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4987         * po/be.po: Update from Translation Project.
4988         * po/bg.po: Likewise.
4989         * po/ca.po: Likewise.
4990         * po/cs.po: Likewise.
4991         * po/da.po: Likewise.
4992         * po/de.po: Likewise.
4993         * po/el.po: Likewise.
4994         * po/eo.po: Likewise.
4995         * po/es.po: Likewise.
4996         * po/fi.po: Likewise.
4997         * po/fr.po: Likewise.
4998         * po/gl.po: Likewise.
4999         * po/hr.po: Likewise.
5000         * po/hu.po: Likewise.
5001         * po/ia.po: Likewise.
5002         * po/id.po: Likewise.
5003         * po/it.po: Likewise.
5004         * po/ja.po: Likewise.
5005         * po/ko.po: Likewise.
5006         * po/lt.po: Likewise.
5007         * po/nb.po: Likewise.
5008         * po/nl.po: Likewise.
5009         * po/pl.po: Likewise.
5010         * po/pt_BR.po: Likewise.
5011         * po/ru.po: Likewise.
5012         * po/rw.po: Likewise.
5013         * po/sk.po: Likewise.
5014         * po/sl.po: Likewise.
5015         * po/sv.po: Likewise.
5016         * po/tr.po: Likewise.
5017         * po/uk.po: Likewise.
5018         * po/vi.po: Likewise.
5019         * po/zh_CN.po: Likewise.
5020         * po/zh_TW.po: Likewise.
5022 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
5024         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
5025         -Wformat-truncation instead of -Wformat-length.
5026         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
5027         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
5028         GCC 7.
5029         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
5030         (do_test): Ignore -Wformat-truncation for GCC 7.
5032         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
5033         buffer used to print long int value.
5035         * elf/sotruss-lib.c (init): Increase space allocated for pid by
5036         one byte.  Print it with %ld, cast to long int.
5038 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5040         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
5041         (re.fullmatch, subprocess.run): Likewise.
5043 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5045         * po/libc.pot: Regenerate.
5047 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5049         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
5050         (min_strlen): Likewise.
5051         (disable_tunable): Likewise.
5052         (maybe_disable_malloc_check): Rename to
5053         maybe_enable_malloc_check.
5054         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
5055         if /etc/suid-debug file exists.
5056         (__tunables_init): Update caller.
5057         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
5058         secure.
5060 2016-01-10  Torvald Riegel  <triegel@redhat.com>
5062         * nptl/DESIGN-rwlock.txt: Remove.
5063         * nptl/lowlevelrwlock.sym: Remove.
5064         * nptl/Makefile: Add new tests.
5065         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
5066         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
5067         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
5068         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
5069         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
5070         PTHREAD_RWLOCK_FUTEX_USED): New.
5071         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
5072         implementation.
5073         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
5074         (__pthread_rwlock_rdlock): Adapt.
5075         * nptl/pthread_rwlock_timedrdlock.c
5076         (pthread_rwlock_timedrdlock): Adapt.
5077         * nptl/pthread_rwlock_timedwrlock.c
5078         (pthread_rwlock_timedwrlock): Adapt.
5079         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
5080         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
5081         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
5082         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
5083         (__pthread_rwlock_wrlock): Adapt.
5084         * nptl/tst-rwlock10.c: Adapt.
5085         * nptl/tst-rwlock11.c: Adapt.
5086         * nptl/tst-rwlock17.c: New file.
5087         * nptl/tst-rwlock18.c: New file.
5088         * nptl/tst-rwlock19.c: New file.
5089         * nptl/tst-rwlock2b.c: New file.
5090         * nptl/tst-rwlock8.c: Adapt.
5091         * nptl/tst-rwlock9.c: Adapt.
5092         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5093         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5094         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5095         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5096         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5097         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5098         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5099         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5100         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5101         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5102         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5103         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5104         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
5105         (pthread_rwlock_t): Adapt.
5106         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5107         (pthread_rwlock_t): Adapt.
5108         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5109         * nptl/nptl-printers.py (): Adapt.
5110         * nptl/nptl_lock_constants.pysym: Adapt.
5111         * nptl/test-rwlock-printers.py: Adapt.
5112         * nptl/test-rwlockattr-printers.c: Adapt.
5113         * nptl/test-rwlockattr-printers.py: Adapt.
5115 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
5117         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
5118         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
5119         (fma_test_data): Likewise.
5120         (hypot_test_data): Likewise.
5121         (log1p_test_data): Likewise.
5122         (modf_test_data): Likewise.
5123         (pow_test_data): Likewise.
5124         (remainder_test_data): Likewise.
5125         (remquo_test_data): Likewise.
5126         (scalb_test_data): Likewise.
5127         (scalbn_test_data): Likewise.
5128         (scalbln_test_data): Likewise.
5129         * math/gen-libm-test.pl (parse_args): Transform
5130         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
5131         on the rounding mode.
5133 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
5135         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
5136         xfail-rounding:ibm128-libgcc automatically to tests overflowing
5137         and those that can underflow to zero.
5138         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
5139         add others.
5140         * math/auto-libm-test-out: Regenerated.
5142         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
5143         supported.
5144         (feholdexcept_tests): Skip tests requiring exceptions or rounding
5145         modes support if not supported.
5147         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
5148         Add libc.so PLT entry.
5149         (__tls_get_addr): Make ld.so PLT entry optional.
5151 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5153         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
5154         * string/bits/string3.h: ... here.
5156 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
5158         [BZ #21028]
5159         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
5160         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
5161         if EXCEPTION_TESTS returns false.
5163 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5165         [BZ #20558]
5166         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
5167         strings_fortified.h.
5168         [__USE_MISC] (bzero): Likewise.
5169         [__USE_MISC] (explicit_bzero): Likewise.
5170         * string/strings.h: Include strings_fortified.h.
5171         * string/Makefile (headers): Add strings_fortified.h.
5172         * string/bits/strings_fortified.h: New file.
5173         * include/bits/strings_fortified.h: Likewise.
5175 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
5177         * elf/tst-tls13.c (TIMEOUT): Remove.
5178         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
5179         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
5180         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
5181         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
5182         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
5184         [BZ #21026]
5185         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
5186         (readahead): New syscall entry.
5188 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5190         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
5191         around tests of strncat with large sizes.
5193         * malloc/tst-malloc.c: Include <libc-internal.h>.
5194         (do_test): Disable -Walloc-size-larger-than= around tests of
5195         malloc with negative sizes.
5196         * malloc/tst-mcheck.c: Include <libc-internal.h>.
5197         (do_test): Disable -Walloc-size-larger-than= around tests of
5198         malloc and realloc with negative sizes.
5199         * malloc/tst-realloc.c: Include <libc-internal.h>.
5200         (do_test): Disable -Walloc-size-larger-than= around tests of
5201         realloc with negative sizes.
5203         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
5204         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
5205         allowed to 16 ulps.
5206         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
5207         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
5208         * math/auto-libm-test-out: Regenerated.
5210 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5212         * math/Makefile (libm-calls): Move wrappers...
5213         (libm-compat-call-auto): Here.
5214         (libm-routines): Add items in libm-compat-calls-auto.
5215         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
5216         the filenames of the wrappers that have been renamed.
5217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
5218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5220         * math/w_acos.c: Add _compat suffix to filename.
5221         * math/w_acosf.c: Likewise.
5222         * math/w_acosh.c: Likewise.
5223         * math/w_acoshf.c: Likewise.
5224         * math/w_acoshl.c: Likewise.
5225         * math/w_acosl.c: Likewise.
5226         * math/w_asin.c: Likewise.
5227         * math/w_asinf.c: Likewise.
5228         * math/w_asinl.c: Likewise.
5229         * math/w_atan2.c: Likewise.
5230         * math/w_atan2f.c: Likewise.
5231         * math/w_atan2l.c: Likewise.
5232         * math/w_atanh.c: Likewise.
5233         * math/w_atanhf.c: Likewise.
5234         * math/w_atanhl.c: Likewise.
5235         * math/w_cosh.c: Likewise.
5236         * math/w_coshf.c: Likewise.
5237         * math/w_coshl.c: Likewise.
5238         * math/w_exp10.c: Likewise.
5239         * math/w_exp10f.c: Likewise.
5240         * math/w_exp10l.c: Likewise.
5241         * math/w_exp2.c: Likewise.
5242         * math/w_exp2f.c: Likewise.
5243         * math/w_exp2l.c: Likewise.
5244         * math/w_fmod.c: Likewise.
5245         * math/w_fmodf.c: Likewise.
5246         * math/w_fmodl.c: Likewise.
5247         * math/w_hypot.c: Likewise.
5248         * math/w_hypotf.c: Likewise.
5249         * math/w_hypotl.c: Likewise.
5250         * math/w_j0.c: Likewise.
5251         * math/w_j0f.c: Likewise.
5252         * math/w_j0l.c: Likewise.
5253         * math/w_j1.c: Likewise.
5254         * math/w_j1f.c: Likewise.
5255         * math/w_j1l.c: Likewise.
5256         * math/w_jn.c: Likewise.
5257         * math/w_jnf.c: Likewise.
5258         * math/w_jnl.c: Likewise.
5259         * math/w_log10.c: Likewise.
5260         * math/w_log10f.c: Likewise.
5261         * math/w_log10l.c: Likewise.
5262         * math/w_log2.c: Likewise.
5263         * math/w_log2f.c: Likewise.
5264         * math/w_log2l.c: Likewise.
5265         * math/w_log.c: Likewise.
5266         * math/w_logf.c: Likewise.
5267         * math/w_logl.c: Likewise.
5268         * math/w_pow.c: Likewise.
5269         * math/w_powf.c: Likewise.
5270         * math/w_powl.c: Likewise.
5271         * math/w_remainder.c: Likewise.
5272         * math/w_remainderf.c: Likewise.
5273         * math/w_remainderl.c: Likewise.
5274         * math/w_scalb.c: Likewise.
5275         * math/w_scalbf.c: Likewise.
5276         * math/w_scalbl.c: Likewise.
5277         * math/w_sinh.c: Likewise.
5278         * math/w_sinhf.c: Likewise.
5279         * math/w_sinhl.c: Likewise.
5280         * math/w_sqrt.c: Likewise.
5281         * math/w_sqrtf.c: Likewise.
5282         * math/w_sqrtl.c: Likewise.
5283         * math/w_tgamma.c: Likewise.
5284         * math/w_tgammaf.c: Likewise.
5285         * math/w_tgammal.c: Likewise.
5287         * math/w_acos_compat.c: New file copied from above and
5288         adjusted for new #includes path
5289         * math/w_acosf_compat.c: Likewise.
5290         * math/w_acosh_compat.c: Likewise.
5291         * math/w_acoshf_compat.c: Likewise.
5292         * math/w_acoshl_compat.c: Likewise.
5293         * math/w_acosl_compat.c: Likewise.
5294         * math/w_asin_compat.c: Likewise.
5295         * math/w_asinf_compat.c: Likewise.
5296         * math/w_asinl_compat.c: Likewise.
5297         * math/w_atan2_compat.c: Likewise.
5298         * math/w_atan2f_compat.c: Likewise.
5299         * math/w_atan2l_compat.c: Likewise.
5300         * math/w_atanh_compat.c: Likewise.
5301         * math/w_atanhf_compat.c: Likewise.
5302         * math/w_atanhl_compat.c: Likewise.
5303         * math/w_cosh_compat.c: Likewise.
5304         * math/w_coshf_compat.c: Likewise.
5305         * math/w_coshl_compat.c: Likewise.
5306         * math/w_exp10_compat.c: Likewise.
5307         * math/w_exp10f_compat.c: Likewise.
5308         * math/w_exp10l_compat.c: Likewise.
5309         * math/w_exp2_compat.c: Likewise.
5310         * math/w_exp2f_compat.c: Likewise.
5311         * math/w_exp2l_compat.c: Likewise.
5312         * math/w_fmod_compat.c: Likewise.
5313         * math/w_fmodf_compat.c: Likewise.
5314         * math/w_fmodl_compat.c: Likewise.
5315         * math/w_hypot_compat.c: Likewise.
5316         * math/w_hypotf_compat.c: Likewise.
5317         * math/w_hypotl_compat.c: Likewise.
5318         * math/w_j0_compat.c: Likewise.
5319         * math/w_j0f_compat.c: Likewise.
5320         * math/w_j0l_compat.c: Likewise.
5321         * math/w_j1_compat.c: Likewise.
5322         * math/w_j1f_compat.c: Likewise.
5323         * math/w_j1l_compat.c: Likewise.
5324         * math/w_jn_compat.c: Likewise.
5325         * math/w_jnf_compat.c: Likewise.
5326         * math/w_jnl_compat.c: Likewise.
5327         * math/w_log10_compat.c: Likewise.
5328         * math/w_log10f_compat.c: Likewise.
5329         * math/w_log10l_compat.c: Likewise.
5330         * math/w_log2_compat.c: Likewise.
5331         * math/w_log2f_compat.c: Likewise.
5332         * math/w_log2l_compat.c: Likewise.
5333         * math/w_log_compat.c: Likewise.
5334         * math/w_logf_compat.c: Likewise.
5335         * math/w_logl_compat.c: Likewise.
5336         * math/w_pow_compat.c: Likewise.
5337         * math/w_powf_compat.c: Likewise.
5338         * math/w_powl_compat.c: Likewise.
5339         * math/w_remainder_compat.c: Likewise.
5340         * math/w_remainderf_compat.c: Likewise.
5341         * math/w_remainderl_compat.c: Likewise.
5342         * math/w_scalb_compat.c: Likewise.
5343         * math/w_scalbf_compat.c: Likewise.
5344         * math/w_scalbl_compat.c: Likewise.
5345         * math/w_sinh_compat.c: Likewise.
5346         * math/w_sinhf_compat.c: Likewise.
5347         * math/w_sinhl_compat.c: Likewise.
5348         * math/w_sqrt_compat.c: Likewise.
5349         * math/w_sqrtf_compat.c: Likewise.
5350         * math/w_sqrtl_compat.c: Likewise.
5351         * math/w_tgamma_compat.c: Likewise.
5352         * math/w_tgammaf_compat.c: Likewise.
5353         * math/w_tgammal_compat.c: Likewise.
5355         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
5356         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
5357         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
5358         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
5359         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
5360         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
5361         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
5362         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
5363         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
5364         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
5365         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
5366         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
5367         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
5368         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
5369         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
5370         * sysdeps/ia64/fpu/w_powl.c: Likewise.
5371         * sysdeps/ia64/fpu/w_powf.c: Likewise.
5372         * sysdeps/ia64/fpu/w_pow.c: Likewise.
5373         * sysdeps/ia64/fpu/w_logl.c: Likewise.
5374         * sysdeps/ia64/fpu/w_logf.c: Likewise.
5375         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
5376         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
5377         * sysdeps/ia64/fpu/w_log2.c: Likewise.
5378         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
5379         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
5380         * sysdeps/ia64/fpu/w_log10.c: Likewise.
5381         * sysdeps/ia64/fpu/w_log.c: Likewise.
5382         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
5383         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
5384         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
5385         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
5386         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
5387         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
5388         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
5389         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
5390         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
5391         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
5392         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
5393         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
5394         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
5395         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
5396         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
5397         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
5398         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
5399         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
5400         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
5401         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
5402         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
5403         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
5404         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
5405         * sysdeps/ia64/fpu/w_asin.c: Likewise.
5406         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
5407         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
5408         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
5409         * sysdeps/ia64/fpu/w_acos.c: Likewise.
5410         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
5411         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
5412         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
5413         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
5414         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
5415         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
5416         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
5417         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
5418         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
5419         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
5420         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
5421         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
5422         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
5423         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
5424         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
5425         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
5426         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
5427         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
5428         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
5429         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
5430         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
5431         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
5432         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
5433         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
5434         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
5435         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
5436         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
5437         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
5438         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
5439         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
5440         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
5441         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
5442         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
5443         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
5444         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
5445         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
5446         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
5447         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
5448         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
5449         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
5450         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
5451         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
5452         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
5453         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
5454         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
5455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
5456         Likewise.
5457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
5458         Likewise.
5459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
5460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
5461         Likewise.
5462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
5463         Likewise.
5464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
5465         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5466         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5467         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5468         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5469         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5470         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
5472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
5474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5475         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5476         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5477         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5478         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5480         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
5481         and adjusted for new #includes path
5482         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
5483         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
5484         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
5485         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
5486         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
5487         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
5488         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
5489         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
5490         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
5491         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
5492         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
5493         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
5494         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
5495         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
5496         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
5497         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
5498         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
5499         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
5500         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
5501         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
5502         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
5503         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
5504         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
5505         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
5506         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
5507         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
5508         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
5509         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
5510         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
5511         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
5512         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
5513         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
5514         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
5515         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
5516         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
5517         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
5518         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
5519         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
5520         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
5521         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
5522         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
5523         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
5524         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
5525         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
5526         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
5527         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
5528         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
5529         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
5530         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
5531         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
5532         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
5533         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
5534         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
5535         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
5536         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
5537         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
5538         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
5539         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
5540         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
5541         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
5542         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
5543         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
5544         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
5545         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
5546         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
5547         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
5548         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
5549         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
5550         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
5551         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
5552         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
5553         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
5554         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
5555         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
5556         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
5557         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
5558         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
5559         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
5560         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
5561         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
5562         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
5563         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
5564         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
5565         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
5566         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
5567         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
5568         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
5569         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
5570         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
5571         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
5572         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
5573         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
5574         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
5575         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
5576         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
5577         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
5578         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
5579         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
5580         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
5581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
5582         Likewise.
5583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
5584         Likewise.
5585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
5586         Likewise.
5587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
5588         Likewise.
5589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
5590         Likewise.
5591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
5592         Likewise.
5593         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5594         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5595         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5596         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5597         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
5598         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5600         Likewise.
5601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
5602         Likewise.
5603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5604         Likewise.
5605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
5606         Likewise.
5607         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
5608         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5609         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5610         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5612 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5614         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
5615         __jmp_buf_internal_tag.
5617         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
5618         preserve NaN payload if [__mips_nan2008].
5619         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5621         [BZ #21022]
5622         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
5624 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5626         * sysdeps/i386/fpu/libm-test-ulps: Update.
5628 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5630         * sysdeps/ia64/strcat.c: Remove file.
5631         * sysdeps/powerpc/strcat.c: Likewise.
5632         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
5633         C implementation.
5634         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
5635         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
5637 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5638             Steven Munroe  <sjmunroe@us.ibm.com>
5639             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5641         [BZ #20822]
5642         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5643         (__lll_lock_elision): Access adapt_count via C11 atomics.
5644         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5645         (__lll_trylock_elision): Likewise.
5646         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5647         (__lll_unlock_elision):  Update adapt_count variable inside the
5648         critical section using C11 atomics.
5650 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5652         * math/test-fenvinline.c (do_test): Disable tests of raised
5653         exceptions if !EXCEPTION_TESTS (FLOAT).
5655 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5657         [BZ #19390]
5658         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
5659         maximum string size.
5660         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
5661         in pointer addition.
5662         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
5663         Likewise.
5665 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5667         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
5668         passed to tst-ldconfig-X.sh.
5670 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
5672         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
5674 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5676         [BZ #21019]
5677         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
5678         New syscall entry.
5679         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
5680         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
5681         lseek.
5683         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5684         power4 glibc for powerpc-linux-gnu.
5686 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5688         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
5689         semctl.
5691 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5693         * math/test-nearbyint-except.c: Include <stdbool.h>.
5694         (any_supported): New variable.
5695         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
5696         set any_supported.
5697         (do_test): Return 77 if no floating-point type supported
5698         exceptions.
5700         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
5701         condition on [__mips_hard_float].
5703 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5705         [BZ #21014]
5706         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
5707         in pointer addition.
5708         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
5710 2017-01-02  Torvald Riegel  <triegel@redhat.com>
5712         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
5713         new condvar.
5715 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5717         * scripts/build-many-glibcs.py (Context.checkout): Default
5718         binutils version to 2.28 branch.
5720 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5722         * support/support_format_netent.c (support_format_netent): Work
5723         around alpha struct netent definition difference.
5725 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5727         * support/xwrite.c (xwrite): Use %td for pointer difference.
5729 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5731         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
5732         have-tunables only.
5733         (tests-static): Add tst-malloc-usable-static-tunables for
5734         have-tunables only.
5736 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
5738         * scripts/config.guess: Update to version 2017-01-01.
5739         * scripts/config.sub: Update to version 2017-01-01.
5741         * NEWS: Update copyright dates.
5742         * catgets/gencat.c (print_version): Likewise.
5743         * csu/version.c (banner): Likewise.
5744         * debug/catchsegv.sh: Likewise.
5745         * debug/pcprofiledump.c (print_version): Likewise.
5746         * debug/xtrace.sh (do_version): Likewise.
5747         * elf/ldconfig.c (print_version): Likewise.
5748         * elf/ldd.bash.in: Likewise.
5749         * elf/pldd.c (print_version): Likewise.
5750         * elf/sotruss.sh: Likewise.
5751         * elf/sprof.c (print_version): Likewise.
5752         * iconv/iconv_prog.c (print_version): Likewise.
5753         * iconv/iconvconfig.c (print_version): Likewise.
5754         * locale/programs/locale.c (print_version): Likewise.
5755         * locale/programs/localedef.c (print_version): Likewise.
5756         * login/programs/pt_chown.c (print_version): Likewise.
5757         * malloc/memusage.sh (do_version): Likewise.
5758         * malloc/memusagestat.c (print_version): Likewise.
5759         * malloc/mtrace.pl: Likewise.
5760         * manual/libc.texinfo: Likewise.
5761         * nptl/version.c (banner): Likewise.
5762         * nscd/nscd.c (print_version): Likewise.
5763         * nss/getent.c (print_version): Likewise.
5764         * nss/makedb.c (print_version): Likewise.
5765         * posix/getconf.c (main): Likewise.
5766         * scripts/test-installation.pl: Likewise.
5767         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5769         * All files with FSF copyright notices: Update copyright dates
5770         using scripts/update-copyrights.
5771         * intl/plural.c: Regenerated.
5772         * locale/programs/charmap-kw.h: Likewise.
5773         * locale/programs/locfile-kw.h: Likewise.
5775 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5777         [BZ #20593]
5778         Update DNS RR type definitions.
5779         * scripts/gen-rrtypes.py: New file.
5780         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
5781         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
5782         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
5783         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
5784         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
5785         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
5786         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
5787         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
5788         ns_t_ta, ns_t_dlv.
5789         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
5790         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
5791         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
5792         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
5793         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
5794         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
5795         Define.
5796         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
5797         entry for ns_t_zxfr.
5799 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5801         [BZ #18784]
5802         CVE-2015-5180
5803         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
5804         T_UNSPEC.  Adjust value.
5805         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
5806         * resolv/res_query.c (__libc_res_nquery): Likewise.
5807         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
5808         QTYPEs.
5809         * resolv/tst-resolv-qtypes.c: New file.
5810         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
5811         (tst-resolv-qtypes): Link against libresolv and libpthread.
5813 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5815         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
5817 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5819         * manual/tunables.texi: New chapter.
5820         * manual/Makefile (chapters): Add it.
5821         * manual/probes.texi (@node): Point to the Tunables chapter.
5823         * Makeconfig (have-tunables): Check for non-negative instead
5824         of positive.
5825         * configure.ac: Add 'valstring' as a valid value for
5826         --enable-tunables.
5827         * configure: Regenerate.
5828         * elf/Makefile (have-tunables): Check for non-negative instead
5829         of positive.
5830         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
5831         dl-tunables.c.
5832         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
5833         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5834         (tunables_strdup): Likewise.
5835         (disable_tunables): Likewise.
5836         (parse_tunables): Likewise.
5837         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
5838         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5839         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
5840         (TUNABLES_FRONTEND_yes): New macro, define as
5841         TUNABLES_FRONTEND_valstring by default.
5842         * manual/install.texi: Document new acceptable values for
5843         --enable-tunables.
5844         * INSTALL: Regenerate.
5846         * config.make.in (have-loop-to-function): Define.
5847         * elf/Makefile (CFLAGS-dl-tunables.c): Add
5848         -fno-tree-loop-distribute-patterns.
5849         * elf/dl-tunables.c: Include libc-internals.h.
5850         (GLIBC_TUNABLES): New macro.
5851         (tunables_strdup): New function.
5852         (parse_tunables): New function.
5853         (min_strlen): New function.
5854         (__tunables_init): Use the new functions and macro.
5855         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
5856         * malloc/tst-malloc-usable-tunables.c: New test case.
5857         * malloc/tst-malloc-usable-static-tunables.c: New test case.
5858         * malloc/Makefile (tests, tests-static): Add tests.
5860         * manual/install.texi: Add --enable-tunables option.
5861         * INSTALL: Regenerate.
5862         * README.tunables: New file.
5863         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
5864         (before-compile): Generate dl-tunable-list.h early.
5865         * config.h.in: Add HAVE_TUNABLES.
5866         * config.make.in: Add have-tunables.
5867         * configure.ac: Add --enable-tunables option.
5868         * configure: Regenerate.
5869         * csu/init-first.c (__libc_init_first): Move
5870         __libc_init_secure earlier...
5871         * csu/init-first.c (LIBC_START_MAIN):... to here.
5872         Include dl-tunables.h, libc-internal.h.
5873         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
5874         binaries.
5875         * elf/Makefile (dl-routines): Add dl-tunables.
5876         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
5877         namespace.
5878         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
5879         only when !HAVE_TUNABLES.
5880         * elf/rtld.c (process_envvars): Likewise.
5881         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
5882         (_dl_sysdep_start): Call __tunables_init.
5883         * elf/dl-tunable-types.h: New file.
5884         * elf/dl-tunables.c: New file.
5885         * elf/dl-tunables.h: New file.
5886         * elf/dl-tunables.list: New file.
5887         * malloc/tst-malloc-usable-static.c: New test case.
5888         * malloc/Makefile (tests-static): Add it.
5889         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
5890         Define TUNABLE_NAMESPACE.
5891         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
5892         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
5893         callback functions.
5894         (ptmalloc_init): Set tunable values.
5895         * scripts/gen-tunables.awk: New file.
5896         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
5897         (_dl_sysdep_start): Call __tunables_init.
5899 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5901         * resolv/resolv.h (RES_BLAST): Deprecate.
5902         * resolv/res_debug.c (p_option): Remove RES_BLAST.
5903         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
5904         to RES_BLAST.
5906 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5908         [BZ #19582]
5909         Deprecate RES_USE_INET6.
5910         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
5911         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
5912         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
5913         RES_USE_INET6.
5914         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
5915         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
5916         (_nss_nisplus_gethostbyaddr_r): Likewise.
5917         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
5918         of res_use_inet6.
5919         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
5920         instead of RES_USE_INET6.
5921         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
5922         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
5923         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
5924         Likewise.
5925         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
5926         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
5927         Likewise.
5928         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
5929         (_nss_dns_gethostbyname_r): Likewise.
5930         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
5931         alternate RES_USE_INET6 handling.
5932         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
5933         instead of RES_USE_INET6.
5934         * resolv/res_init.c (res_setoptions): Likewise.
5935         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
5936         * resolv/resolv-internal.h: New file.
5937         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
5938         make the deprecation warning non-fatal.
5939         * resolv/README (Using the resolver in multi-threaded code): Drop
5940         reference to RES_USE_INET6.
5941         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
5942         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
5944 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5946         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
5947         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
5948         tst-resolv-search.
5949         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
5950         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
5951         with libresolv and libpthread.
5952         * resolv/tst-bug18665.c: New file.
5953         * resolv/tst-bug18665-tcp: Likewise.
5954         * resolv/tst-res_use_inet6: Likewise.
5955         * resolv/tst-resolv-basic: Likewise.
5956         * resolv/tst-resolv-network: Likewise.
5957         * resolv/tst-resolv-search: Likewise.
5958         * support/Makefile (libsupport-routines): Add check_addrinfo,
5959         check_dns_packet, check_hostent, check_netent, resolv_test,
5960         support_format_address_family, support_format_addrinfo,
5961         support_format_dns_packet, support_format_herrno,
5962         support_format_hostent, support_format_netent, support_run_diff,
5963         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
5964         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
5965         xstrdup, xwrite.
5966         * support/check_addrinfo.c: New file.
5967         * support/check_dns_packet.c: Likewise.
5968         * support/check_hostent.c: Likewise.
5969         * support/check_netent.c: Likewise.
5970         * support/check_nss.h: Likewise.
5971         * support/format_nss.h: Likewise.
5972         * support/resolv_test.c: Likewise.
5973         * support/resolv_test.h: Likewise.
5974         * support/run_diff.h: Likewise.
5975         * support/support_format_address_family.c: Likewise.
5976         * support/support_format_addrinfo.c: Likewise.
5977         * support/support_format_dns_packet.c: Likewise.
5978         * support/support_format_herrno.c: Likewise.
5979         * support/support_format_hostent.c: Likewise.
5980         * support/support_format_netent.c: Likewise.
5981         * support/support_run_diff.c: Likewise.
5982         * support/xaccept.c: Likewise.
5983         * support/xbind.c: Likewise.
5984         * support/xconnect.c: Likewise.
5985         * support/xfclose.c: Likewise.
5986         * support/xfopen.c: Likewise.
5987         * support/xgetsockname.c: Likewise.
5988         * support/xlisten.c: Likewise.
5989         * support/xmemstream.c: Likewise.
5990         * support/xmemstream.h: Likewise.
5991         * support/xpoll.c: Likewise.
5992         * support/xpthread_once.c: Likewise.
5993         * support/xrecvfrom.c: Likewise.
5994         * support/xsendto.c: Likewise.
5995         * support/xsetsockopt.c: Likewise.
5996         * support/xstdio.h: Likewise.
5997         * support/xstrdup.c: Likewise.
5998         * support/support.h (xstrdup): Declare.
5999         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
6000         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
6001         * support/xthread.h (xpthread_once): Likwise.
6002         * support/xunistd.h (xwrite): Declare.
6004 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6006         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
6007         (test_verbose): Declare.
6008         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
6009         * support/support_test_main.c (default_options): Likewise.
6010         (usage, support_test_main): Handle 'v'.
6011         (test_verbose): Define.
6012         * support/tst-support_record_failure.c (do_test): Use
6013         test_verbose.
6014         * support/tst-support_record_failure-2.sh (different_status): Add
6015         --verbose test.
6017 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6019         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
6020         test failures are recorded.
6021         * support/check.c (support_print_failure_impl): Call
6022         support_record_failure.
6023         (support_exit_failure_impl): Call support_record_failure if status
6024         indicates failure.
6025         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
6026         * support/xasprintf.c (xasprintf): Likewise.
6027         * support/xfork.c (xfork): Likewise.
6028         * support/xpthread_check_return.c (xpthread_check_return):
6029         Likewise.
6030         * support/xsocket.c (xsocket): Likeweise.
6031         * support/xwaitpid.c (xwaitpid): Likewise.
6032         * support/support_record_failure.c (struct test_failures): Adjust
6033         to coding style.
6034         * support/support_test_verify_impl.c (support_test_verify_impl):
6035         Adjust error messages.
6036         * support/tst-support_record_failure-2.sh (different_status):
6037         Adjust error messages.
6039 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6041         * support/namespace.h: New file.
6042         * support/support_become_root.c: Likewise.
6043         * support/support_enter_network_namespace.c: Likewise.
6044         * support/tst-support-namespace.c: Likewise.
6045         * support/xsocket.c: Likewise.
6046         * support/xsocket.h: Likewise.
6047         * support/Makefile (libsupport-routines): Add support_become_root,
6048         support_enter_network_namespace, xsocket.
6049         (tests): Add tst-support-namespace.
6051 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6053         [BZ #17252]
6054         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
6055         __USE_GNU.
6057 2016-12-31  Torvald Riegel  <triegel@redhat.com>
6059         [BZ #13165]
6060         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
6061         use new algorithm.
6062         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
6063         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
6064         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
6065         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6066         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
6067         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
6068         __condvar_cleanup_waiting, __condvar_dec_grefs,
6069         __pthread_cond_wait_common): New.
6070         (__condvar_cleanup): Remove.
6071         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
6072         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
6073         Likewise.
6074         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
6075         Likewise.
6076         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
6077         * nptl/tst-cond1.c: Add comment.
6078         * nptl/tst-cond20.c (do_test): Adapt.
6079         * nptl/tst-cond22.c (do_test): Likewise.
6080         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
6081         structure.
6082         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6083         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6084         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6085         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
6086         Likewise.
6087         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6088         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6089         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6090         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6091         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6092         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
6093         Likewise.
6094         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
6095         Likewise.
6096         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6097         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
6098         (COND_CLOCK_BITS): Adapt.
6099         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
6100         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
6101         __PTHREAD_COND_SHARED_MASK): New.
6102         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
6103         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
6104         * nptl/nptl_lock_constants.pysym: Adapt.
6105         * nptl/test-cond-printers.py: Adapt.
6106         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
6107         cond_compat_check_and_clear): Adapt.
6108         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
6109         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
6110         (__pthread_cond_timedwait): ... and move here.
6111         * nptl/DESIGN-condvar.txt: Remove file.
6112         * nptl/lowlevelcond.sym: Likewise.
6113         * nptl/pthread_cond_timedwait.c: Likewise.
6114         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
6115         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
6116         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
6117         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
6118         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
6119         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
6120         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
6121         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
6122         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
6123         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
6124         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
6125         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
6126         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
6127         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
6128         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
6129         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
6131 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
6133         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6134         (fromfp): New declaration.
6135         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
6136         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
6137         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
6138         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
6139         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
6140         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
6141         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
6142         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
6143         * math/math.h: Include <bits/types.h>.
6144         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
6145         constant and macro.
6146         (FP_INT_DOWNWARD): Likewise.
6147         (FP_INT_TOWARDZERO): Likewise.
6148         (FP_INT_TONEARESTFROMZERO): Likewise.
6149         (FP_INT_TONEAREST): Likewise.
6150         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
6151         (fromfpf): Likewise.
6152         (fromfpl): Likewise.
6153         (ufromfp): Likewise.
6154         (ufromfpf): Likewise.
6155         (ufromfpl): Likewise.
6156         (fromfpx): Likewise.
6157         (fromfpxf): Likewise.
6158         (fromfpxl): Likewise.
6159         (ufromfpx): Likewise.
6160         (ufromfpxf): Likewise.
6161         (ufromfpxl): Likewise.
6162         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
6163         s_fromfpxF and s_ufromfpxF.
6164         * math/gen-fromfp-tests.py: New file.
6165         * math/gen-fromfp-tests-inputs: Likewise.
6166         * math/libm-test.inc: Include <stdint.h>
6167         (check_intmax_t): New function.
6168         (check_uintmax_t): Likewise.
6169         (struct test_fiu_M_data): New type.
6170         (struct test_fiu_U_data): Likewise.
6171         (RUN_TEST_fiu_M): New macro.
6172         (RUN_TEST_LOOP_fiu_M): Likewise.
6173         (RUN_TEST_fiu_U): Likewise.
6174         (RUN_TEST_LOOP_fiu_U): Likewise.
6175         (fromfp_test_data): New array.
6176         (fromfp_test): New function.
6177         (fromfpx_test_data): New array.
6178         (fromfpx_test): New function.
6179         (ufromfp_test_data): New array.
6180         (ufromfp_test): New function.
6181         (ufromfpx_test_data): New array.
6182         (ufromfpx_test): New function.
6183         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
6184         ufromfpx_test.
6185         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
6186         characters.
6187         * math/test-tgmath-ret.c: Include <stdint.h>.
6188         (rm): New variable.
6189         (width): Likewise.
6190         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
6191         called function.
6192         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
6193         CHECK_RET_CONST_TYPE.
6194         (CHECK_RET_CONST_DOUBLE): Likewise.
6195         (CHECK_RET_CONST_LDOUBLE): Likewise.
6196         (CHECK_RET_CONST): Take extra arguments and pass them to calls
6197         macros.
6198         (fromfp): New CHECK_RET_CONST call.
6199         (ufromfp): Likewise.
6200         (fromfpx): Likewise.
6201         (ufromfpx): Likewise.
6202         (do_test): Call check_return_fromfp, check_return_ufromfp,
6203         check_return_fromfpx and check_return_ufromfpx.
6204         * math/test-tgmath.c: Include <stdint.h>
6205         (NCALLS): Increase to 138.
6206         (F(compile_test)): Initialize i.  Call fromfp functions.
6207         (F(fromfp)): New function.
6208         (F(fromfpx)): Likewise.
6209         (F(ufromfp)): Likewise.
6210         (F(ufromfpx)): Likewise.
6211         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
6212         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
6213         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
6214         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
6215         ufromfpxl.
6216         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
6217         ufromfp and ufromfpx.
6218         * math/fromfp.h: New file.
6219         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
6220         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
6221         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
6222         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
6223         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
6224         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
6225         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
6226         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
6227         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
6228         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
6229         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
6230         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
6231         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
6232         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
6233         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
6234         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
6235         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
6236         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
6237         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
6238         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
6239         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
6240         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
6241         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
6242         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
6243         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
6244         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
6245         ufromfp, fromfpx and ufromfpx.
6246         (CFLAGS-nldbl-fromfp.c): New variable.
6247         (CFLAGS-nldbl-fromfpx.c): Likewise.
6248         (CFLAGS-nldbl-ufromfp.c): Likewise.
6249         (CFLAGS-nldbl-ufromfpx.c): Likewise.
6250         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
6251         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
6252         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
6253         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
6254         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
6255         * sysdeps/nacl/libm.abilist: Update.
6256         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6257         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6258         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6259         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6260         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6261         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6262         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6263         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6264         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6265         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6266         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6267         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6269         Likewise.
6270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6271         Likewise.
6272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6273         Likewise.
6274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6275         Likewise.
6276         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6277         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6278         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6279         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6280         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6282         Likewise.
6283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6284         Likewise.
6285         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6286         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6287         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6289 2016-12-30  Florian Weimer  <fweimer@redhat.com>
6291         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
6292         compat-gethnamaddr.
6293         (CPPFLAGS): Remove.
6294         * resolv/gethnamaddr.c: Rename ...
6295         * resolv/compat-gethnamaddr.c: ... to this file.
6296         (_endhtent): Make static.
6297         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
6298         symbol.
6299         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
6300         compat symbol.
6301         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
6302         symbol.
6303         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
6304         Turn into compat symbol.
6305         * include/resolv.h (_endhtent): Remove declaration.
6307 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
6309         * bits/types.h (__intmax_t): New typedef.
6310         (__uintmax_t): Likewise.
6311         * sysdeps/generic/stdint.h: Include <bits/types.h>.
6312         (intmax_t): Define using __intmax_t.
6313         (uintmax_t): Define using __uintmax_t.
6315         * support/Makefile (tests-special): Make definition conditional on
6316         [$(run-built-tests) = yes].
6317         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
6318         on [$(run-built-tests) = yes].
6320 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6322         * Rules (tests): Add tests-printers-programs to tests to be
6323         built.
6325 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6327         * sysvipc/Makefile (tests): Add test-sysvshm.
6328         * sysvipc/test-sysvshm.c: New file.
6330         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
6331         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
6332         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
6333         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
6334         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
6335         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
6336         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
6337         Likewise.
6338         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
6339         Likewise.
6340         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
6341         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
6342         is defined.
6344         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
6345         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
6346         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
6347         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
6348         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
6349         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
6350         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
6351         Likewise.
6352         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
6353         Likewise.
6354         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
6355         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
6356         defined.
6358         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6359         oldshmctl.
6360         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
6361         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
6362         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
6363         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
6364         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
6365         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
6366         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
6367         Likewise.
6368         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
6369         Likewise.
6370         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
6371         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
6372         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
6373         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
6374         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
6375         implementation.
6376         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
6377         if it is defined.
6379         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
6380         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
6381         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
6382         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
6383         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
6384         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
6385         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
6386         Likewise.
6387         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
6388         Likewise.
6389         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
6390         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
6391         Define to __NR_osf_shmat.
6392         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
6393         defined.
6395         * sysvipc/Makefile (tests): Add test-sysvsem.
6396         * sysvipc/test-sysvsem.c: New file.
6398         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
6399         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
6400         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
6401         Likewise.
6402         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
6403         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
6404         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
6405         Likewise.
6406         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
6407         Likewise.
6408         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
6409         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
6410         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
6411         add a comment about s390 syscall difference from default one.
6412         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
6413         syscall if it is defined.
6415         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
6416         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
6417         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
6418         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
6419         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
6420         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
6421         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
6422         Likewise.
6423         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
6424         Likewise.
6425         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
6426         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
6427         defined.
6429         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
6430         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
6431         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
6432         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
6433         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
6434         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
6435         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
6436         Likewise.
6437         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
6438         Likewise.
6439         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
6440         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
6441         if it is defined.
6443         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6444         oldsemctl.
6445         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
6446         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
6447         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
6448         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
6449         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
6450         implementation.
6451         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
6452         syscall if it is defined.
6453         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
6454         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
6455         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
6456         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
6457         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
6458         Likewise.
6459         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
6461         * sysvipc/Makefile (tests): Add test-sysvmsg.
6462         * sysvipc/test-sysvmsg.c: New file.
6463         * support/check.h (FAIL_UNSUPPORTED): New define.
6465         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
6466         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
6467         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
6468         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
6469         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
6470         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
6471         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
6472         Likewise.
6473         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
6474         Likewise.
6475         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
6476         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
6477         define.
6479         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
6480         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
6481         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
6482         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
6483         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
6484         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
6485         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
6486         Likewise.
6487         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
6488         Likewise.
6489         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
6490         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
6491         if defined.
6493         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
6494         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
6495         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6496         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6497         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6498         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
6499         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6500         Likewise.
6501         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
6502         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
6503         Likewise.
6504         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
6505         if defined.
6506         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
6508         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6509         oldmsgctl.
6510         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
6511         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
6512         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
6513         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
6514         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6515         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6516         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6517         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6518         Likewise.
6519         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
6520         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
6521         implementation.
6522         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
6523         if defined.
6525         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
6526         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
6527         definition and define its own.
6528         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
6529         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
6530         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
6531         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
6532         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
6533         definitions to common header.
6534         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
6535         operation from ipc_ops.h.
6537         * sysdeps/unix/sysv/linux/kernel-features.h
6538         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
6539         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6540         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
6541         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6542         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6543         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6544         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6545         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6546         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6547         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6548         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6549         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6550         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6551         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6552         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6554 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6556         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
6557         overflow in pointer addition.
6559 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6561         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6562         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
6563         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6564         (strchr): Add __strchr_power8 to list of strchr functions.
6565         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
6566         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
6567         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
6568         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
6569         (strchr): Add __strchr_power8 to ifunc list.
6570         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
6571         (__strchrnul): Add __strchrnul_power8 to ifunc list.
6572         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
6573         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
6575 2016-12-28  Florian Weimer  <fweimer@redhat.com>
6577         * support/Makefile (libsupport-routines): Add
6578         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
6579         (tests): Add tst-support_record_failure.
6580         (tests-special): tst-support_record_failure-2.
6581         (tst-support_record_failure-2.out): Depend on
6582         tst-support_record_failure-2.sh and tst-support_record_failure.
6583         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
6584         (support_test_verify_impl, support_record_failure)
6585         (support_report_failure, support_report_failure_reset): Declare.
6586         * support/support_test_main.c (adjust_exit_status): New function.
6587         (support_test_main): Call it to incorporate record test failures.
6588         * support/support_test_verify_impl.c: New file.
6589         * support/support_record_failure.c: Likewise.
6590         * support/tst-support_record_failure.c: Likewise.
6591         * support/tst-support_record_failure-2.sh: Likewise.
6592         * support/xunistd.h: Likewise.
6593         * support/xfork.c: Likewise.
6594         * support/xwaitpid.c: Likewise.
6596 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
6598         * scripts/check-c++-types.sh: Add comments.
6600 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
6602         [BZ #19514]
6603         * resolv/res_send.c: Fix typo in comment.
6604         * sysdeps/i386/i386-mcount.S: Likewise.
6605         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6606         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6607         * sysdeps/sparc/sparc-mcount.S: Likewise.
6609 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6611         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
6612         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
6613         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
6614         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
6615         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
6616         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
6617         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
6618         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
6620 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6622         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
6624 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6626         [BZ #17252]
6627         * posix/unistd.h (getentropy): Declare.
6629 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6631         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
6632         Remove.
6633         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
6634         (cmd): Remove spoof, nospoof, spoofalert.
6635         (parse_line): Ignore spoof-related lines.
6636         (do_init): Do not process RESOLV_SPOOF_CHECK.
6638 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6640         [BZ #20964]
6641         sunrpc: Always obtain AF_INET addresses from NSS.
6642         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
6643         * sunrpc/rpc_gethostbyname.c: New file.
6644         * sunrpc/Makefile (routines): Add it.
6645         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
6646         * sunrpc/clnt_simp.c (callrpc): Likewise.
6647         * sunrpc/getrpcport.c (getrpcport): Likewise.
6649 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6651         * sunrpc/rpcinfo.c: Remove.
6652         * sunrpc/Makefile: Remove comments referring to rpcinfo.
6654 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6656         [BZ #19387]
6657         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
6658         addition.
6659         * string/test-memchr.c (do_test): Remove alignment limitation.
6660         (test_main): Add test that trigger BZ #19387.
6662 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6664         [BZ #7065]
6665         Enable stack protectore if requested by ./configure.
6666         * Makeconfig (+stack-protector): New variable.
6667         (+cflags): Use it.
6669 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6671         [BZ #7065]
6672         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
6673         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
6674         (__rt_sigreturn_stub): Use inhibit_stack_protector.
6675         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6676         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
6678 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6680         [BZ #7065]
6681         * login/Makefile (pt_chown-cflags): Remove.
6682         * nscd/Makefile (CFLAGS-nscd): Likewise.
6683         * resolv/Makefile (CFLAGS-libresolv): Likewise.
6685 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6687         [BZ #7065]
6688         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
6689         non-libc-linking testcase.
6691 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6692             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6693             Florian Weimer  <fweimer@redhat.com>
6695         [BZ #7065]
6696         PLT avoidance for __stack_chk_fail*.
6697         * debug/Makefile (CFLAGS-stack_chk_fail.c)
6698         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
6699         * debug/stack_chk_fail.c (__stack_chk_fail): Add
6700         __stack_chk_fail_local alias.
6701         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
6702         (__stack_chk_fail): Turn into hidden reference to
6703         __stack_chk_fail_local.
6705 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6707         [BZ #7065]
6708         * configure.ac: Add check for unsupported stack-protection level.
6709         (libc_cv_predef_stack_protector): Remove.
6710         (no_ssp): New variable.
6711         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
6712         (stack_protector): Set to -fno-stack-protector similarly.
6713         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
6714         (libc_cv_asm_set_directive): Likewise.
6715         (libc_cv_protected_data): Likewise.
6716         (libc_cv_z_combreloc): Likewise.
6717         (libc_cv_hashstyle): Likewise.
6718         (libc_cv_has_glob_dat): Likewise.
6719         (libc_cv_output_format): Likewise.
6720         (libc_cv_output_format): Likewise.
6721         (libc_cv_ehdr_start): Likewise.
6722         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
6723         (LIBC_LINKER_FEATURE): Likewise.
6724         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
6726 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6728         [BZ #7065]
6729         * elf/Makefile (dummy-stack-chk-fail): New.
6730         (librtld.map): Use it.
6732 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6734         [BZ #7065]
6735         Compile the dynamic linker without stack protection.
6736         * elf/Makefile (elide-stack-protector): New.
6737         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
6738         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
6739         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
6740         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
6742 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6744         [BZ #7065]
6745         * config.make.in (have-ssp, no-stack-protector): New.
6746         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
6747         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
6748         (CFLAGS-sbrk.op): Likewise.
6749         (CFLAGS-brk.o): Likewise.
6750         (CFLAGS-brk.op): Likewise.
6751         * string/Makefile (CFLAGS-memcpy.c): Likewise.
6752         (CFLAGS-wordcopy.c): Likewise.
6754 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6756         [BZ #7065]
6757         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
6758         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
6759         * include/libc-symbols.h (inhibit_stack_protector): New macro.
6760         (__ifunc_resolver): Use it.
6761         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
6762         inhibit_stack_protector.
6763         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
6764         * elf/ifuncmain7.c (foo_ifunc): Likewise.
6765         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
6766         (foo_protected_ifunc): Likewise.
6767         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
6768         (foo_protected_ifunc): Likewise.
6769         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6770         * sysdeps/nacl/nacl_interface_query.c
6771         (nacl_interface_query_ifunc): Likewise.
6772         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6773         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
6774         Likewise.
6775         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
6776         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
6777         the generated vDSO syscall resolver.
6779 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6780             Florian Weimer  <fweimer@redhat.com>
6782         [BZ #7065]
6783         Initialize the stack guard earlier when linking statically.
6784         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
6785         (__pthread_initialize_minimal): Declare.
6786         * csu/libc-start.c (__pthread_initialize_minimal): Remove
6787         declaration.
6788         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
6789         stack canary and apply_irel initialization up.  Call
6790         __pthread_initialize_minimal only if linked in.
6791         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
6792         constant values.
6793         (__pthread_initialize_minimal): Remove.
6794         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
6795         (__pthread_initialize_minimal_internal): Do not call
6796         __libc_setup_tls.
6798 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6800         [BZ #7065]
6801         * configure.ac (libc_cv_ssp): Move up.
6802         (libc_cv_ssp_strong): Likewise.
6803         (libc_cv_ssp_all): New.
6804         (stack_protector): Augment, adding -fstack-protector-all.
6805         (no_stack_protector): New.
6806         (STACK_PROTECTOR_LEVEL): New.
6807         (AC_ARG_ENABLE(stack-protector)): New configure flag.
6808         * manual/install.texi (--enable-stack-protector): Document it.
6809         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
6811 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
6813         * README.pretty-printers: Must specify CPPFLAGS-* also.
6814         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
6815         (CPPFLAGS-test-mutex-printers.c): Define.
6816         (CPPFLAGS-test-condattr-printers.c): Define.
6817         (CPPFLAGS-test-cond-printers.c): Define.
6818         (CPPFLAGS-test-rwlockattr-printers.c): Define.
6819         (CPPFLAGS-test-rwlock-printers.c): Define.
6821         * nss/Makefile [ifeq (yes,$(have-thread-library))]
6822         (tests): Add tst-cancel-getpwuid_r.
6823         * nss/tst-cancel-getpwuid_r.c: New file.
6825         [BZ #11941]
6826         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
6827         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
6828         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
6829         tst-nodelete-dlclose.
6830         (modules-names): Add tst-nodelete-dlclose-dso and
6831         tst-nodelete-dlclose-plugin.
6832         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
6833         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
6834         ($(objpfx)tst-nodelete-dlclose): Define.
6835         ($(objpfx)tst-nodelete-dlclose.out): Define.
6837 2016-12-23  Florian Weimer  <fweimer@redhat.com>
6839         * scripts/test_printers_common.py: Log GDB output in case of
6840         Python detection failure.
6842 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6844         * configure.ac: Check for python3 or python.
6845         * configure: Regenerated.
6846         * config.make.in (PYTHON): New variable.
6847         * benchtests/Makefile: Don't define PYTHON.
6848         (bench): Define target only if PYTHON was defined.
6849         * Rules: Don't define PYTHON.
6850         Define pretty printer targets only if PYTHON was defined.
6851         (tests-printers): Add to tests-unsupported if PYTHON is not
6852         found.
6853         (python-flags, python-invoke): Remove.
6854         (tests-printers-out): Use PYTHON instead of python-invoke.
6856 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
6858         [BZ #20978]
6859         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6860         Compare name == NULL, not name != NULL.
6862         * manual/texinfo.tex: Update to version 2016-09-18.18 with
6863         trailing whitespace removed.
6864         * scripts/config.guess: Update to version 2016-10-02.
6865         * scripts/config.sub: Update to version 2016-11-19.
6866         * scripts/install-sh: Update to version 2016-01-11.22.
6867         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
6868         * scripts/move-if-change: Update to version 2016-01-11 22:04.
6870 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
6872         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
6873         (do_one_test) Restore original string so iteration works.
6874         * string/string-inlines.c (do_test): Create better input strings.
6875         (test_main) Reduce number of testruns.
6876         * string/string-inlines.c (__old_strsep_1c): New function.
6877         (__old_strsep_2c): Likewise.
6878         (__old_strsep_3c): Likewise.
6879         * string/strsep.c (__strsep): Remove case of small delim string.
6880         Call strcspn directly rather than strpbrk.
6881         * string/bits/string2.h (__strsep): Remove define.
6882         (__strsep_1c): Remove.
6883         (__strsep_2c): Remove.
6884         (__strsep_3c): Remove.
6885         (strsep): Remove.
6886         * sysdeps/unix/sysv/linux/internal_statvfs.c
6887         (__statvfs_getflags): Rename to __strsep.
6889 2016-12-21  Florian Weimer  <fweimer@redhat.com>
6891         * csu/libc-tls.c (_dl_tls_setup): Remove.
6892         * elf/dl-tls.c (_dl_tls_setup): Likewise.
6893         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
6894         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
6896 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6898         [BZ #7065]
6899         * sysdeps/x86_64/Makefile [$(subdir) = elf]
6900         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
6902 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6903             Florian Weimer  <fweimer@redhat.com>
6905         [BZ #7065]
6906         * csu/Makefile (tests): Empty assignment and document it.
6907         (tests-static): Remove.
6908         * csu/tst-empty.c: Move to...
6909         * misc/tst-empty.c: ... here.  Switch to new test driver.
6910         * csu/tst-atomic.c: Move to...
6911         * misc/tst-atomic.c: ... here.  Switch to new test driver.
6912         * csu/tst-atomic-long.c: Move to...
6913         * misc/tst-atomic-long.c: ... here.
6914         * misc/Makefile (tests): Add tst-empty, tst-atomic,
6915         tst-atomic-long.
6916         (tests-static): Add tst-empty.
6918 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
6920         * manual/nss.texi: Change incorrect @vtable to @table.
6921         * manual/arith.texi: Convert @tables of variables to @vtables
6922         and remove unnecessary indexing.
6923         * manual/filesys.texi: Likewise.
6924         * manual/llio.texi: Likewise.
6925         * manual/memory.texi: Likewise.
6926         * manual/process.texi: Likewise.
6927         * manual/resource.texi: Likewise.
6928         * manual/search.texi: Likewise.
6929         * manual/signal.texi: Likewise.
6930         * manual/socket.texi: Likewise.
6931         * manual/stdio.texi: Likewise.
6932         * manual/sysinfo.texi: Likewise.
6933         * manual/syslog.texi: Likewise.
6934         * manual/terminal.texi: Likewise.
6935         * manual/time.texi: Likewise.
6936         * manual/users.texi: Likewise.
6938 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
6940         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6941         (roundeven): New declaration.
6942         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
6943         macro.
6944         * math/Versions (roundeven): New libm symbol at version
6945         GLIBC_2.25.
6946         (roundevenf): Likewise.
6947         (roundevenl): Likewise.
6948         * math/Makefile (libm-calls): Add s_roundevenF.
6949         * math/libm-test.inc (roundeven_test_data): New array.
6950         (roundeven_test): New function.
6951         (main): Call roundeven_test.
6952         * math/test-tgmath.c (NCALLS): Increase to 134.
6953         (F(compile_test)): Call roundeven.
6954         (F(roundeven)): New function.
6955         * manual/arith.texi (Rounding Functions): Document roundeven,
6956         roundevenf and roundevenl.
6957         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
6958         * include/math.h (roundeven): Use libm_hidden_proto.
6959         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
6960         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
6961         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
6962         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
6963         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
6964         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
6965         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6966         roundeven.
6967         (CFLAGS-nldbl-roundeven.c): New variable.
6968         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
6969         * sysdeps/nacl/libm.abilist: Update.
6970         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6971         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6972         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6973         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6974         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6975         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6976         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6977         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6978         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6979         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6980         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6981         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6983         Likewise.
6984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6985         Likewise.
6986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6987         Likewise.
6988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6989         Likewise.
6990         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6991         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6992         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6993         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6994         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6996         Likewise.
6997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6998         Likewise.
6999         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7000         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7001         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7003 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
7005         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
7006         preprocessor indentation inside #if.
7008 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7010         * math/libm-test.inc (fmt_ftostr): New function.
7011         (print_float, check_float_internal): Replace some uses of
7012         FTOSTR with uses of fmt_ftostr.
7013         (print_max_error, print_complex_max_error, print_function_ulps)
7014         (print_complex_function_ulps): Remove uses of the macros
7015         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
7016         * math/test-double.h (FTOSTR): Define to strfromd.
7017         (PRINTF_EXPR): Delete.
7018         (PRINTF_XEXPR): Likewise.
7019         (PRINTF_NEXPR): Likewise.
7020         * math/test-float.h (FTOSTR): Define to strfromf.
7021         (PRINTF_EXPR): Delete.
7022         (PRINTF_XEXPR): Likewise.
7023         (PRINTF_NEXPR): Likewise.
7024         * math/test-ldouble.h (FTOSTR): Define to strfroml.
7025         (PRINTF_EXPR): Delete.
7026         (PRINTF_XEXPR): Likewise.
7027         (PRINTF_NEXPR): Likewise.
7029 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7031         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
7032         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
7033         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
7034         (__lll_lock_elision): Decrement adapt_count while unlocking
7035         instead of before locking.
7036         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
7037         (__lll_trylock_elision): Likewise.
7038         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
7039         (__lll_unlock_elision): Likewise.
7041 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7043         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
7044         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
7045         Use __libc_tbegin_retry macro.
7047 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7049         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
7050         Add -msoft-float.
7051         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
7052         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
7053         Use __libc_t* transaction macros instead of __builtin_t*.
7054         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7055         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7057 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7059         * sysdeps/unix/sysv/linux/s390/elision-lock.c
7060         (__lll_lock_elision): Use atomics to load / store adapt_count.
7061         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
7062         (__lll_trylock_elision): Likewise.
7064 2016-12-20  Florian Weimer  <fweimer@redhat.com>
7066         Do not require memset elimination in explicit_bzero test.
7067         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
7068         (enum test_expectation): Add NO_EXPECTATIONS.
7069         (subtests): NO_EXPECTATIONS for ordinary clear.
7070         (check_test_buffer): Handle NO_EXPECTATIONS.
7071         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
7073 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
7075         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7076         (fmaxmag): New declaration.
7077         (fminmag): Likewise.
7078         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
7079         macro.
7080         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
7081         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
7082         (fmaxmagf): Likewise.
7083         (fmaxmagl): Likewise.
7084         (fminmag): Likewise.
7085         (fminmagf): Likewise.
7086         (fminmagl): Likewise.
7087         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
7088         * math/s_fmaxmag_template.c: New file.
7089         * math/s_fminmag_template.c: Likewise.
7090         * math/libm-test.inc (fmaxmag_test_data): New array.
7091         (fmaxmag_test): New function.
7092         (fminmag_test_data): New array.
7093         (fminmag_test): New function.
7094         (main): Call fmaxmag_test and fminmag_test.
7095         * math/test-tgmath.c (NCALLS): Increase to 132.
7096         (F(compile_test)): Call fmaxmag and fminmag.
7097         (F(fminmag)): New function.
7098         (F(fmaxmag)): Likewise.
7099         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
7100         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
7101         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
7102         fminmag.
7103         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
7104         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
7105         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
7106         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
7107         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
7108         and fminmag.
7109         (CFLAGS-nldbl-fmaxmag.c): New variable.
7110         (CFLAGS-nldbl-fminmag.c): Likewise.
7111         * sysdeps/nacl/libm.abilist: Update.
7112         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7113         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7114         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7115         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7116         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7117         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7118         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7119         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7120         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7121         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7122         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7123         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7125         Likewise.
7126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7127         Likewise.
7128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7129         Likewise.
7130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7131         Likewise.
7132         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7133         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7134         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7135         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7136         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7138         Likewise.
7139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7140         Likewise.
7141         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7142         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7143         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7145 2016-12-19  Torvald Riegel  <triegel@redhat.com>
7147         [BZ #20973]
7148         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
7149         wake-up in robust mutexes.
7150         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7152 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7154         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
7155         (CFLAGS-bench-fmaxf.c): New rule.
7156         (CFLAGS-bench-fminf.c): Likewise.
7157         * benchtests/fmaxf-inputs: New file.
7158         * benchtests/fminf-inputs: Likewise.
7160         * benchtests/Makefile (bench-math): Add fmin and fmax.
7161         (CFLAGS-bench-fmax.c): New rule.
7162         (CFLAGS-bench-fmin.c): Likewise.
7163         * benchtests/fmax-inputs: New file.
7164         * benchtests/fmin-inputs: Likewise.
7166         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
7167         parenthesis.
7168         (CMDLINE_PROCESS): Define using function instead of macro.
7169         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
7170         of test-skeleton.
7171         * benchtests/bench-memchr.c: Likewise.
7172         * benchtests/bench-memcmp.c: Likewise.
7173         * benchtests/bench-memcpy-large.c: Likewise.
7174         * benchtests/bench-memcpy.c: Likewise.
7175         * benchtests/bench-memmem.c: Likewise.
7176         * benchtests/bench-memmove-large.c: Likewise.
7177         * benchtests/bench-memmove.c: Likewise.
7178         * benchtests/bench-memset-large.c: Likewise.
7179         * benchtests/bench-memset.c: Likewise.
7180         * benchtests/bench-rawmemchr.c: Likewise.
7181         * benchtests/bench-strcasecmp.c: Likewise.
7182         * benchtests/bench-strcasestr.c: Likewise.
7183         * benchtests/bench-strcat.c: Likewise.
7184         * benchtests/bench-strchr.c: Likewise.
7185         * benchtests/bench-strcmp.c: Likewise.
7186         * benchtests/bench-strcpy.c: Likewise.
7187         * benchtests/bench-strcpy_chk.c: Likewise.
7188         * benchtests/bench-strlen.c: Likewise.
7189         * benchtests/bench-strncasecmp.c: Likewise.
7190         * benchtests/bench-strncmp.c: Likewise.
7191         * benchtests/bench-strncpy.c: Likewise.
7192         * benchtests/bench-strnlen.c: Likewise.
7193         * benchtests/bench-strpbrk.c: Likewise.
7194         * benchtests/bench-strrchr.c: Likewise.
7195         * benchtests/bench-strsep.c: Likewise.
7196         * benchtests/bench-strspn.c: Likewise.
7197         * benchtests/bench-strstr.c: Likewise.
7198         * benchtests/bench-strtok.c: Likewise.
7200 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7202         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
7203         stepping identification.
7204         (init_cpu_features): Add handle of Haswell.
7206 2016-11-25  Jim Meyering  <meyering@fb.com>
7208         [BZ #20386]
7209         Let gcc detect assert(a = 1) errors.
7210         * assert/assert.h (assert): Rewrite, retaining the old definintion
7211         when required, but otherwise putting the expression as-is in an "if"
7212         expression (hence, with no added parentheses) within a statement
7213         expression.
7215 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7217         * benchtests/Makefile (binaries-benchset): Depend on libsupport
7218         DSO.
7220 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
7222         * Rules (python-flags, python-invoke): New.
7223         ($(test-printers-out)): Use $(python-flags).
7225 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
7227         * manual/arith.texi (Math Error Reporting): Document that sNaN
7228         arguments are not considered domain errors.
7230 2016-12-16  Zack Weinberg <zackw@panix.com>
7231             Florian Weimer <fweimer@redhat.com>
7232             Nick Mathewson <nickm@torproject.org>
7234         * string/explicit_bzero.c: New routine.
7235         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
7236         * string/Makefile (routines, strop-tests, tests): Add them.
7237         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
7238         * string/string.h [__USE_MISC]: Declare explicit_bzero.
7240         * debug/explicit_bzero_chk.c: New routine.
7241         * debug/Makefile (routines): Add it.
7242         * debug/tst-chk1.c: Test fortification of explicit_bzero.
7243         * string/bits/string3.h: Fortify explicit_bzero.
7245         * manual/string.texi: Document explicit_bzero.
7246         * NEWS: Mention addition of explicit_bzero.
7248         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
7249         data before returning, using explicit_bzero.
7250         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
7251         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7252         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7254         * include/string.h: Redirect internal uses of explicit_bzero
7255         to __explicit_bzero_chk[_internal].
7256         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
7257         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
7258         * sysdeps/arm/nacl/libc.abilist
7259         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
7260         * sysdeps/unix/sysv/linux/alpha/libc.abilist
7261         * sysdeps/unix/sysv/linux/arm/libc.abilist
7262         * sysdeps/unix/sysv/linux/hppa/libc.abilist
7263         * sysdeps/unix/sysv/linux/i386/libc.abilist
7264         * sysdeps/unix/sysv/linux/ia64/libc.abilist
7265         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7266         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
7267         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
7268         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7269         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7270         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7271         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7272         * sysdeps/unix/sysv/linux/nios2/libc.abilist
7273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7277         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
7278         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7279         * sysdeps/unix/sysv/linux/sh/libc.abilist
7280         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7281         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7284         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
7285         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
7286         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
7287         Add entries for explicit_bzero and __explicit_bzero_chk.
7289 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
7291         * math/fenv.h
7292         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
7293         (FE_SNANS_ALWAYS_SIGNAL): New macro.
7294         * math/test-fe-snans-always-signal.c: New file.
7295         * math/Makefile (tests): Add test-fe-snans-always-signal.
7296         (CFLAGS-test-fe-snans-always-signal.c): New variable.
7297         * manual/arith.texi (Infinity and NaN): Document
7298         FE_SNANS_ALWAYS_SIGNAL.
7300 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7302         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
7303         bracket.
7305 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
7307         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
7308         before calling execv.
7310 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7312         [BZ #20971]
7313         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
7314         overflow in pointer addition.
7315         * string/test-memchr.c (do_test): Add an argument to pass as
7316         the size on memchr.
7317         (test_main): Add check for SIZE_MAX.
7319 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7321         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
7322         (libm-calls): Add w_scalblnF.
7323         * math/w_scalbln.c: Remove.
7324         * math/w_scalblnf.c: Likewise.
7325         * math/w_scalblnl.c: Likewise.
7326         * math/w_scalbln_template.c: New file with type-generic
7327         implementation based on math/w_scalbln.c.
7328         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
7329         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
7331 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
7333         [BZ #20947]
7334         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
7335         either is a signaling NaN.
7336         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
7337         follow fmaxl more closely.
7338         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
7339         when either is a signaling NaN.
7340         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
7341         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
7342         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
7343         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
7344         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
7345         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
7346         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
7347         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
7348         (fmin_test_data): Likewise.
7350 2016-12-15  Andreas Schwab  <schwab@suse.de>
7352         * support/support_test_main.c (support_test_main): Don't shadow
7353         file-local variable test_pid.
7355 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
7357         [BZ #20947]
7358         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
7359         either is a signaling NaN.
7360         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
7362 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
7364         [BZ #20947]
7365         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
7366         when either is a signaling NaN.
7367         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
7369         * bits/long-double.h: New file.
7370         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
7371         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
7372         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
7373         * sysdeps/mips/bits/long-double.h: Likewise.
7374         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
7375         * math/Makefile (headers): Add bits/long-double.h.
7376         * misc/sys/cdefs.h: Include <bits/long-double.h>.
7377         * stdlib/strtold.c: Include <bits/long-double.h> instead of
7378         <bits/wordsize.h>.
7379         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
7380         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
7381         * math/math.h: Do not include <bits/mathdef.h>.
7382         * sysdeps/aarch64/bits/mathdef.h: Remove file.
7383         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
7384         inclusion.
7385         * sysdeps/ia64/bits/mathdef.h: Remove file.
7386         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
7387         * sysdeps/mips/bits/mathdef.h: Likewise.
7388         * sysdeps/powerpc/bits/mathdef.h: Likewise.
7389         * sysdeps/s390/bits/mathdef.h: Likewise.
7390         * sysdeps/sparc/bits/mathdef.h: Likewise.
7391         * sysdeps/x86/bits/mathdef.h: Likewise.
7392         * sysdeps/s390/s390-32/bits/wordsize.h
7393         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
7394         conditional code.
7395         * sysdeps/s390/s390-64/bits/wordsize.h
7396         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7397         Likewise.
7398         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
7399         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7400         Likewise.
7401         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
7402         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7403         Likewise.
7404         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
7405         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7406         Likewise.
7408         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
7409         <linux/falloc.h>.
7410         (FALLOC_FL_KEEP_SIZE): Remove.
7411         (FALLOC_FL_PUNCH_HOLE): Likewise.
7412         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
7413         (FALLOC_FL_ZERO_RANGE): Likewise.
7415 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7417         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
7419 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7421         * sysdeps/unix/sysv/linux/renameat.c: New file.
7422         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
7424         * sysdeps/unix/sysv/linux/rename.c: New file.
7425         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
7427 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
7429         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
7430         * string/strtok.c (strtok): Change to tailcall __strtok_r.
7431         * string/strtok_r.c (__strtok_r): Optimize for performance.
7432         * string/string-inlines.c (__old_strtok_r_1c): New function.
7433         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
7435 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7437         * math/Makefile (gen-libm-calls): Add w_log1pF.
7438         (libm-calls): Remove w_log1pF.
7439         * math/w_log1p.c: Remove.
7440         * math/w_log1pf.c: Likewise.
7441         * math/w_log1pl.c: Likewise.
7442         * math/w_log1p_template.c: New file with type-generic
7443         implementation based on math/w_log1p.c.
7444         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
7445         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
7447 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
7449         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
7451 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
7453         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7454         kernel version to 4.9.
7456 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
7458         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
7459         ($(inst_libdir)/libm.a): Fix rule to create the target only.
7461 2016-12-13  Andreas Schwab  <schwab@suse.de>
7463         * sysdeps/powerpc/dl-procinfo.c: Don't define
7464         _dl_powerpc_platforms.
7465         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
7466         constants instead of referencing _dl_powerpc_platforms.
7467         (_dl_platform_string): Remove.
7469 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7471         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
7473 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7475         * Rules (binaries-shared-tests, binaries-pie-tests)
7476         (binaries-static-tests): Link with $(link-extra-libs-tests).
7477         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
7478         Remove $(link-extra-libs-tests).
7480 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7482         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7483         (sysdep_routines): Add strncmp_power9.
7484         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7485         (strncmp): Add __strncmp_power9 to list of strncmp functions.
7486         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
7487         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7488         (strncmp): Add __strncmp_power9 to ifunc list.
7489         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
7491 2016-12-12  Florian Weimer  <fweimer@redhat.com>
7493         [BZ #17252]
7494         Add getentropy, getrandom.
7495         * stdlib/sys/random.h: New file.
7496         (headers): Add it.
7497         * stdlib/Makefile (routines): Add getentropy, getrandom.
7498         (tests): Add tst-getrandom.
7499         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
7500         * stdlib/getentropy.c: New file.
7501         * stdlib/getrandom.c: Likewise.
7502         * stdlib/tst-getrandom.c: Likewise.
7503         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
7504         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
7505         * manual/crypt.texi (Unpredictable Bytes): New section.
7506         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
7507         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
7508         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
7509         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7510         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7511         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7512         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7513         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7514         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7515         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7516         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7517         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7518         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7519         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7520         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7521         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7523         Likewise.
7524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7525         Likewise.
7526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7528         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7529         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7530         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7531         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7532         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7535         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7536         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7537         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7539 2016-12-10  Florian Weimer  <fweimer@redhat.com>
7541         [BZ #20956]
7542         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
7543         as additional compiler barriers.
7544         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
7545         (fn2, do_test): Declare with external linkage.
7546         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
7547         (do_test): Declare with external linkage.
7548         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
7549         (do_test): Declare with external linkage.
7550         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
7551         (do_test): Declare with external linkage.
7553 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
7555         * support/support_test_main.c (support_test_main): Use correct
7556         timeout.
7558 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
7559             Florian Weimer  <fweimer@redhat.com>
7561         [BZ #16421]
7562         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
7563         and __u6_addr32 members.
7564         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
7565         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
7566         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
7567         Use __u6_addr32.
7568         * inet/tst-checks.c: Use <support/test-driver.c>
7569         * inet/tst-checks-posix.c: New file.
7570         * inet/Makefile (tests): Add it.
7571         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
7573 2016-12-09  Florian Weimer  <fweimer@redhat.com>
7575         New subdirectory support for build and test infrastructure.
7576         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
7577         setting install-lib.
7578         * Makeconfig (link-extra-libs-tests): Define.
7579         (+link-pie-tests, +link-static-tests, +link-tests): Use
7580         link-extra-libs-tests.
7581         (rpath-dirs, all-subdirs): Add support.
7582         (built-modules): Add libsupport.
7583         (libsupport): Define.
7584         * support: New directory.
7585         * support/Makefile: New file.
7586         * support/check.c: Likewise.
7587         * support/check.h: Likewise.
7588         * support/delayed_exit.c: Likewise.
7589         * support/ignore_stderr.c: Likewise.
7590         * support/oom_error.c: Likewise.
7591         * support/set_fortify_handler.c: Likewise.
7592         * support/support.h: Likewise.
7593         * support/temp_file-internal.h: Likewise.
7594         * support/temp_file.c: Likewise.
7595         * support/test-driver.c: Likewise.
7596         * support/test-driver.h: Likewise.
7597         * support/test_main.c: Likewise.
7598         * support/write_message.c: Likewise.
7599         * support/xasprintf.c: Likewise.
7600         * support/xcalloc.c: Likewise.
7601         * support/xmalloc.c: Likewise.
7602         * support/xpthread_barrier_destroy.c: Likewise.
7603         * support/xpthread_barrier_init.c: Likewise.
7604         * support/xpthread_barrier_wait.c: Likewise.
7605         * support/xpthread_cancel.c: Likewise.
7606         * support/xpthread_check_return.c: Likewise.
7607         * support/xpthread_cond_wait.c: Likewise.
7608         * support/xpthread_create.c: Likewise.
7609         * support/xpthread_detach.c: Likewise.
7610         * support/xpthread_join.c: Likewise.
7611         * support/xpthread_mutex_lock.c: Likewise.
7612         * support/xpthread_mutex_unlock.c: Likewise.
7613         * support/xpthread_sigmask.c: Likewise.
7614         * support/xpthread_spin_lock.c: Likewise.
7615         * support/xpthread_spin_unlock.c: Likewise.
7616         * support/xrealloc.c: Likewise.
7617         * support/xsignal.h: Likewise.
7618         * support/xthread.h: Likewise.
7619         * support_tempfile.h: Likewise.
7620         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
7621         (TEST_DATA_LIMIT): Remove unused macro.
7622         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
7623         <support/check.h>.
7624         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
7625         (ignore_stderr, set_fortify_handler): Remove.  Now in
7626         <support/support.h>.
7627         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
7628         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
7629         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
7630         (xpthread_join): Remove.  Now in <support/xthread.h>.
7631         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
7632         Introduce legacy wrappers.
7633         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
7634         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
7635         (write_message): Remove.
7636         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
7637         test-skeleton.c.
7638         * io/test-open-tmpfile: Likewise.
7639         * io/tst-posix_fallocate-common.c: Likewise.
7640         * libio/tst-fseek.c: Likewise.
7641         * malloc/tst-malloc-backtrace.c: Likewise.
7642         * malloc/tst-malloc-fork-deadlock.c: Likewise.
7643         * malloc/tst-malloc-thread-exit.c: Likewise.
7644         * nptl/tst-cancel7.c: Likewise.
7645         * nptl/tst-cleanup0.c: Likewise.
7646         * posix/tst-posix_fadvise-common.c: Likewise.
7647         * rt/tst-shm.c: Likewise.
7648         * time/bug-getdate1.c: Likewise.
7649         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7650         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
7651         * elf/Makefile (tst-piemod1.so): Link against libsupport.
7653 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
7655         * Rules [$(run-built-tests) != no] (tests-expected): Add
7656         $(tests-printers).
7657         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
7659 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
7661         [BZ #20539]
7662         * math/Makefile (install-lib-ldscripts): Add libm.a.
7663         (install_subdir): Remove.
7664         (install-others): Add.
7665         ($(inst_libdir)/libm.a): Add rule for installation as
7666         linker script.
7667         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
7669 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
7671         * INSTALL: Regenerated.
7672         * Makeconfig: Add comments and whitespace to make the control flow
7673         clearer.
7674         (+link-printers-tests, +link-pie-printers-tests,
7675         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
7676         built-rtld-LDFLAGS, link-libc-rpath,
7677         link-libc-tests-after-rpath-link,
7678         link-libc-printers-tests): New.
7679         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
7680         link-libc-tests): Use the new variables as required.
7681         * Makerules ($(py-const)): New rule.
7682         generated: Add $(py-const).
7683         * README.pretty-printers: New file.
7684         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
7685         (others): Depend on $(py-const).
7686         (tests): Depend on $(tests-printers-programs) or
7687         $(tests-printers-out),
7688         as required.  Pass $(tests-printers) to merge-test-results.sh.
7689         * manual/install.texi: Add requirements for testing the pretty
7690         printers.
7691         * nptl/Makefile (gen-py-const-headers, pretty-printers,
7692         tests-printers, CFLAGS-test-mutexattr-printers.c
7693         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
7694         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
7695         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
7696         * nptl/nptl-printers.py: New file.
7697         * nptl/nptl_lock_constants.pysym: Likewise.
7698         * nptl/test-cond-printers.c: Likewise.
7699         * nptl/test-cond-printers.py: Likewise.
7700         * nptl/test-condattr-printers.c: Likewise.
7701         * nptl/test-condattr-printers.py: Likewise.
7702         * nptl/test-mutex-printers.c: Likewise.
7703         * nptl/test-mutex-printers.py: Likewise.
7704         * nptl/test-mutexattr-printers.c: Likewise.
7705         * nptl/test-mutexattr-printers.py: Likewise.
7706         * nptl/test-rwlock-printers.c: Likewise.
7707         * nptl/test-rwlock-printers.py: Likewise.
7708         * nptl/test-rwlockattr-printers.c: Likewise.
7709         * nptl/test-rwlockattr-printers.py: Likewise.
7710         * scripts/gen-py-const.awk: Likewise.
7711         * scripts/test_printers_common.py: Likewise.
7712         * scripts/test_printers_exceptions.py: Likewise.
7714 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7716         * scripts/build-many-glibcs.py (Context.__init__): Take strip
7717         argument.
7718         (Glibc.build_glibc): Strip installed shared libraries if
7719         requested.
7720         (get_parser): Add --strip option.
7721         (main): Update Context call.
7723 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7724             Dominik Vogt  <vogt@linux.vnet.ibm.com>
7726         [BZ #20847]
7727         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
7728         array bounds for else branch.
7729         (__execvpe): Style fixes.
7730         * posix/tst-vfork3.c (run_script): New function.
7731         (create_script): Likewise.
7732         (do_test): Use run_script internal function.
7733         (do_prepare): Use create_script internal function.
7735 2016-12-07  Andreas Schwab  <schwab@suse.de>
7737         * sysdeps/unix/sysv/linux/x86/elision-conf.h
7738         (__elision_available): Don't declare.
7739         * sysdeps/unix/sysv/linux/x86/elision-conf.c
7740         (__elision_available): Don't define.
7741         (elision_init): Don't set __elision_available.
7743 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7745         [BZ #20940]
7746         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
7747         return Inf for arguments Inf and sNaN.
7748         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
7749         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7750         Likewise.
7751         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7752         Likewise.
7753         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7754         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
7755         for arguments Inf and sNaN.  When returning a NaN, compute it by
7756         arithmetic on the arguments.
7757         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
7758         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
7759         arguments.
7761 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
7763         [BZ #20916]
7764         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
7765         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
7766         to compute result.
7767         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7768         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
7770 2016-12-05  Torvald Riegel  <triegel@redhat.com>
7772         * include/atomic.h (__atomic_check_size_ls): New.
7773         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
7774         atomic_store_release): Use it.
7775         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
7776         (elision_adapt, ELIDE_LOCK): Use atomics.
7777         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
7778         atomics and improve code comments.
7779         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
7780         (__lll_trylock_elision): Likewise.
7782 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7784         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
7785         programs.
7787 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7789         [BZ #20916]
7790         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
7791         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
7792         arguments to compute result.
7793         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
7794         1 for arguments (sNaN, 0) or (1, sNaN).
7795         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7796         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7798         [BZ #20919]
7799         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
7800         NaN first argument when raised to power 0.
7801         * math/w_pow.c (__pow): Do not check for NaN or zero results from
7802         raising to power zero.
7803         * math/w_powf.c (__powf): Likewise.
7804         * math/w_powl.c (__powl): Likewise.
7805         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
7806         pow (0, 0) or pow (NaN, 0).
7808 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
7810         [BZ #20918]
7811         * configure.ac: Test for static NSS cryptographic libraries and set
7812         libc_cv_static_nss_crypt.
7813         * configure: Regenerate.
7814         * config.make.in (static-nss-crypt): Define.
7815         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
7816         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
7817         (CFLAGS-tst-linkall-static.c): Define.
7818         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
7819         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
7820         ($(objpfx)tst-linkall-static): Define.
7821         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
7822         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
7824 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7826         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
7827         (one-hundred, tst-tls-many-dynamic-modules): Define.
7828         (modules-names): Add $(tst-tls-many-dynamic-modules).
7829         (tst-tls-manydynamic%mod.os): Build with special preprocessor
7830         macros.
7831         (tst-tls-manydynamic): Link against libdl, libpthread.
7832         (tst-tls-manydynamic.out): The test needs the test modules at run
7833         time.
7834         * elf/tst-tls-manydynamic.c: New file.
7835         * elf/tst-tls-manydynamic.h: Likewise.
7836         * elf/tst-tls-manydynamicmod.c: Likewise.
7838 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7840         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
7841         (TLS_DTV_UNALLOCATED): Add.
7842         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
7843         offsets.
7845 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7847         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7849 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7851         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
7852         Add -fno-optimize-sibling-calls.
7854 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7856         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
7857         New declaration.
7858         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
7859         macro.
7860         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
7861         New macro.
7862         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
7863         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
7864         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
7865         (llogbf): Likewise.
7866         (llogbl): Likewise.
7867         * math/Makefile (gen-libm-calls): Add w_llogbF.
7868         (tests): Add test-fp-llogb-constants.
7869         * math/w_llogb_template.c: New file.  Based on
7870         math/w_ilogb_template.c.
7871         * math/libm-test.inc (llogb_test_data): New array.
7872         (llogb_test): New function.
7873         (main): Call llogb_test.
7874         * math/test-fp-llogb-constants.c: New file.  Based on
7875         math/test-fp-ilogb-constants.c.
7876         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
7877         (do_test): Call check_return_llogb.
7878         * math/test-tgmath.c (NCALLS): Increase to 126.
7879         (F(compile_test)): Call llogb.
7880         (F(llogb)): New function.
7881         * manual/math.texi (Exponents and Logarithms): Document llogb,
7882         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
7883         * manual/libm-err-tab.pl (@all_functions): Add llogb.
7884         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
7885         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
7886         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
7887         (CFLAGS-nldbl-llogb.c): New variable.
7888         * sysdeps/nacl/libm.abilist: Update.
7889         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7890         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7891         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7892         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7893         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7894         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7895         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7896         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7897         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7898         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7899         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7900         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7902         Likewise.
7903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7904         Likewise.
7905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7906         Likewise.
7907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7908         Likewise.
7909         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7910         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7911         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7912         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7913         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7915         Likewise.
7916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7917         Likewise.
7918         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7919         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7920         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7922 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
7924         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
7925         _Float128 instead of long double.
7926         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
7928         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
7929         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
7930         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
7931         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
7932         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
7933         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
7934         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
7935         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
7936         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
7937         Likewise.
7939 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7941         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
7942         Remove redirection to __strrchr_ppc.
7944 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7946         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7947         (sysdep_routines): Add strcmp_power9.
7948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7949         (strcmp): Add __strcmp_power9 to list of strcmp functions.
7950         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
7951         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7952         (strcmp): Add __strcmp_power9 to ifunc list.
7953         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
7955 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
7957         * bits/fp-logb.h: New file.
7958         * sysdeps/ia64/bits/fp-logb.h: Likewise.
7959         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
7960         * sysdeps/x86/bits/fp-logb.h: Likewise.
7961         * math/Makefile (headers): Add bits/fp-logb.h.
7962         * math/math.h: Include <bits/fp-logb.h>.
7963         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
7964         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
7965         * bits/mathdef.h (FP_ILOGB0): Remove.
7966         (FP_ILOGBNAN): Likewise.
7967         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
7968         (FP_ILOGBNAN): Likewise.
7969         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
7970         (FP_ILOGBNAN): Likewise.
7971         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
7972         (FP_ILOGBNAN): Likewise.
7973         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
7974         (FP_ILOGBNAN): Likewise.
7975         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
7976         (FP_ILOGBNAN): Likewise.
7977         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
7978         (FP_ILOGBNAN): Likewise.
7979         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
7980         (FP_ILOGBNAN): Likewise.
7981         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
7982         (FP_ILOGBNAN): Likewise.
7983         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
7984         (FP_ILOGBNAN): Likewise.
7986         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
7987         time module.
7988         (Context.__init__): Initialize self.logsdir_old.
7989         (Context.run_builds): Handle bot action.
7990         (Context.bot_cycle): Copy logs directory before running builds.
7991         (Context.bot_run_self): Take argument for whether to check
7992         subprocess result.  Flush stdout before running subprocess.
7993         (Context.bot): New function.
7994         (get_parser): Allow bot action.
7996 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
7998         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
7999         Import email.mime.text, email.utils and smtplib modules.
8000         (Context.__init__): Initialize self.bot_config_json.
8001         (Context.run_builds): Handle bot-cycle action.
8002         (Context.load_bot_config_json): New function.
8003         (Context.part_build_old): Likewise.
8004         (Context.bot_cycle): Likewise.
8005         (Context.bot_build_mail): Likewise.
8006         (Context.bot_run_self): Likewise.
8007         (get_parser): Allow bot-cycle action.
8009 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8011         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
8012         Remove redirection to __stpcpy_ppc.
8014 2016-11-30  Florian Weimer  <fweimer@redhat.com>
8016         Remove __libc_memalign from ld.so because it is unused.
8017         * elf/dl-minimal.c: Update comment on the malloc implementation.
8018         (malloc): Renamed from __libc_memalign, replacing the original
8019         malloc implementation.  Replace the align parameter with
8020         MALLOC_ALIGNMENT.
8021         * elf/Versions (ld): Update comment and remove __libc_memalign.
8022         * sysdeps/nacl/ld.abilist: Likewise.
8023         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
8024         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
8025         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
8026         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
8027         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
8028         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
8029         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
8030         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
8031         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
8032         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
8033         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
8034         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
8035         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
8036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
8037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8039         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
8040         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
8041         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
8042         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
8043         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
8044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
8045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
8046         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
8047         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
8048         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
8049         * sysdeps/generic/localplt.data (ld.so): Likewise.
8050         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
8051         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
8052         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
8053         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
8054         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
8055         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
8056         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
8057         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
8058         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
8059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
8060         (ld.so): Likewise.
8061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8062         (ld.so): Likewise.
8063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
8064         Likewise.
8065         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
8066         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
8067         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
8068         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
8069         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
8071 2016-11-30  Florian Weimer  <fweimer@redhat.com>
8073         [BZ #16628]
8074         Implement _dl_catch_error, _dl_signal_error in libc.so.
8075         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
8076         (catch_hook): Define as thread-local or regular variable,
8077         depending on DL_ERROR_BOOTSTRAP.
8078         (CATCH_HOOK): Remove.
8079         (dl_signal_error, _dl_catch_error): Use
8080         catch_hook.  Add hidden definition for libc.
8081         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
8082         for DL_ERROR_BOOTSTRAP only.
8083         * elf/dl-error.c: New file.
8084         * elf/dl-error-minimal.c: Likewise.
8085         * elf/tst-latepthread.c: Likewise.
8086         * elf/tst-latepthreadmod.c: Likewise.
8087         * elf/Makefile (routines): Add dl-error.
8088         (dl-routines): Remove dl-error.
8089         (rtld-routines): Add dl-error-minimal.
8090         [build-shared] (tests): Add tst-latepthread.
8091         (module-names): Add tst-latepthreadmod.
8092         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
8093         symbol.
8094         (tst-latepthreadmod.so): Link against libpthread.
8095         (tst-latepthread): Link against libdbl.
8096         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
8097         _dl_catch_error.
8098         [ld] (GLIBC_PRIVATE): Likewise.
8099         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
8100         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
8101         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
8102         directly.
8103         * elf/dl-tsd.c: Remove file.
8104         * elf/rtld.c (_rtld_global_ro): Remove initializers for
8105         _dl_catch_error, _dl_signal_error.
8106         (_dl_initial_error_catch_tsd): Remove definition.
8107         (do_preload): Remove initialization of dl_error_catch_tsd.
8108         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
8109         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
8110         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8111         * dlfcn/dlopen.c (dlopen_doit): Likewise.
8112         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
8113         set dl_error_catch_tsd.
8114         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
8115         _dl_error_catch_tsd member.
8116         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
8117         members.
8118         (_dl_initial_error_catch_tsd): Remove declaration.
8119         (_dl_dprintf): Provide definition for use outside of ld.so.
8120         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
8121         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
8122         prototype for libc.
8123         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
8124         _dl_catch_error.
8125         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
8126         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
8127         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
8128         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
8129         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
8130         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
8131         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
8132         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
8133         Likewise.
8134         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
8135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
8136         (ld.so): Likewise.
8137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8138         (ld.so): Likewise.
8139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
8140         Likewise.
8141         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
8142         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
8143         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
8144         Likewise.
8145         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
8146         Likewise.
8147         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
8149 2016-11-30  Florian Weimer  <fweimer@redhat.com>
8151         [BZ #4099]
8152         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
8153         _IO_BUFSIZ (8192).
8155 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
8157         * PROJECTS: Remove file.
8159 2016-11-29  Florian Weimer  <fweimer@redhat.com>
8161         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
8163 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
8164             Steve Ellcey  <sellcey@caviumnetworks.com>
8166         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
8167         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
8168         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
8169         fxstatat.
8170         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
8171         lxstat.
8172         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
8173         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
8174         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
8175         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
8176         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
8177         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
8178         __xstat.
8180 2016-11-29  Florian Weimer  <fweimer@redhat.com>
8182         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
8183         Define.
8184         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
8185         definition.
8187 2016-11-29  Florian Weimer  <fweimer@redhat.com>
8189         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
8190         version and turn into strong alias.  Remove compat symbol.
8192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8193         (__longjmp): Remove.
8195 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
8197         * bits/fp-fast.h: New file.
8198         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
8199         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
8200         * math/Makefile (headers): Add bits/fp-fast.h.
8201         * math/math.h: Include <bits/fp-fast.h>.
8202         * bits/mathdef.h (FP_FAST_FMA): Remove.
8203         (FP_FAST_FMAF): Likewise.
8204         (FP_FAST_FMAL): Likewise.
8205         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
8206         (FP_FAST_FMAF): Likewise.
8207         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
8208         (FP_FAST_FMAF): Likewise.
8209         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
8210         (FP_FAST_FMAF): Likewise.
8211         (FP_FAST_FMAL): Likewise.
8212         * sysdeps/arm/bits/mathdef.h: Remove file.
8213         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
8214         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8215         * sysdeps/tile/bits/mathdef.h: Likewise.
8217 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
8219         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
8220         * math/w_ilogb.c: Remove.
8221         * math/w_ilogbf.c: Likewise.
8222         * math/w_ilogbl.c: Likewise.
8223         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
8224         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
8225         * math/Makefile (gen-libm-calls): Add w_ilogbF.
8226         (libm-calls): Remove w_ilogbF.
8227         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
8228         (LDOUBLE_ilogbl_libm_version): New macro.
8230         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
8232         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
8233         [!__STRICT_ANSI__ && !__cplusplus].
8235 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
8237         [BZ #20750]
8238         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
8239         of PIC.
8241 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
8242             Yury Norov  <ynorov@caviumnetworks.com>
8243             Steve Ellcey  <sellcey@caviumnetworks.com>
8245         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
8246         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
8247         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
8248         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
8249         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
8250         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
8251         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
8252         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
8253         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
8254         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
8255         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
8256         to get correct reg name for ILP32.
8257         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
8258         (RELA_SIZE): New Macro.
8259         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
8260         to support ILP32.
8261         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
8262         cast for ILP32 mode.
8263         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
8264         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
8265         * sysdeps/aarch64/memset.S (__memset): Ditto.
8266         * sysdeps/aarch64/strchr.S (strchr): Ditto.
8267         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
8268         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
8269         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
8270         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
8271         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
8272         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
8273         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
8274         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
8275         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
8276         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
8277         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
8278         change PTR_MANGLE call to use register numbers instead of names.
8279         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
8280         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
8281         ILP32 mode, change PTR_MANGLE calls to use register numbers.
8282         * sysdeps/aarch64/start.S (_start): Ditto.
8283         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
8284         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
8285         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
8286         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
8287         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
8288         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
8289         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
8290         Make defined values dependent on __ILP32__.
8291         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
8292         (sem_t): Change __align type.
8293         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
8294         PTR_SIZE): New Macros.
8295         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
8296         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
8297         Set when in ILP32 mode.
8298         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
8299         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
8300         Set elf flags for ILP32.
8301         (add_system_dir): Set ILP32 library directories.
8302         * sysdeps/unix/sysv/linux/aarch64/init-first.c
8303         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
8304         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
8305         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
8306         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
8307         New Macros.
8308         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
8310 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
8312         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
8313         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
8314         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
8316 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
8318         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
8319         <asm/cachectl.h>.
8321 2016-11-27  Zack Weinberg  <zackw@panix.com>
8323         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
8324         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
8326 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8328         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
8329         error_t to fix usage in C++ programs.
8331 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
8333         * scripts/build-many-glibcs.py: Import datetime module.
8334         (Context.__init__): Load JSON build state.  Initialize list of
8335         status logs.
8336         (Context.run_builds): Update saved build state.
8337         (Context.add_makefile_cmdlist): Update list of status logs.
8338         (Context.load_build_state_json): New function.
8339         (Context.store_build_state_json): Likewise.
8340         (Context.clear_last_build_state): Likewise.
8341         (Context.update_build_state): Likewise.
8342         (CommandList.status_logs): Likewise.
8344 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
8346         * scripts/build-many-glibcs.py (Context.__init__): Save text of
8347         script being executed.
8348         (Context.get_script_text): New function.
8349         (Context.exec_self): Likewise.
8350         (Context.checkout): Re-exec script if changed by checkout process.
8352 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
8354         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8355         (setpayloadsig): New declaration.
8356         * math/Versions (setpayloadsig): New libm symbol at version
8357         GLIBC_2.25.
8358         (setpayloadsigf): Likewise.
8359         (setpayloadsigl): Likewise.
8360         * math/Makefile (libm-calls): Add s_setpayloadsigF.
8361         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
8362         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
8363         (setpayloadsig_test_data): New array.
8364         (setpayloadsig_test): New function.
8365         (main): Call setpayloadsig_test.
8366         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
8367         setpayloadsigf and setpayloadsigl.
8368         * manual/libm-err-tab.pl: Update comment on interfaces without
8369         ulps tabulated.
8370         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
8371         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
8372         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
8373         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
8374         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
8375         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
8376         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8377         setpayloadsig.
8378         (CFLAGS-nldbl-setpayloadsig.c): New variable.
8379         * sysdeps/nacl/libm.abilist: Update.
8380         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8381         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8382         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8383         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8384         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8385         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8386         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8387         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8388         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8389         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8390         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8391         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8393         Likewise.
8394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8395         Likewise.
8396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8397         Likewise.
8398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8399         Likewise.
8400         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8401         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8402         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8403         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8404         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8406         Likewise.
8407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8408         Likewise.
8409         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8410         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8411         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8413         * scripts/build-many-glibcs.py: Import json module.
8414         (Context.__init__): Take replace_sources argument.  Load
8415         versions.json.
8416         (Context.load_versions_json): New function.
8417         (Context.store_json): Likewise.
8418         (Context.store_versions_json): Likewise.
8419         (Context.set_component_version): Likewise.
8420         (Context.checkout): Update versions.json.  Check for and handle
8421         changes of version.  Prefer previously explicitly specified
8422         version to default version.
8423         (Context.checkout_vcs): Return a revision identifier.
8424         (Context.git_checkout): Likewise.
8425         (Context.gcc_checkout): Likewise.
8426         (get_parser): Add --replace-sources option.
8427         (main): Pass replace_sources argument to Context call.
8429 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8431         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
8432         * nptl/allocatestack.c (allocate_stack): Likewise.
8433         (__reclaim_stacks): Likewise.
8434         (setxid_signal_thread): Obtain pid through syscall.
8435         * nptl/nptl-init.c (sigcancel_handler): Likewise.
8436         (sighandle_setxid): Likewise.
8437         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
8438         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8439         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
8440         Likewise.
8441         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
8442         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
8443         comment.
8444         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
8445         * nptl/descr.h (struct pthread): Change comment about pid value.
8446         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
8447         pid assert.
8448         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
8449         Do not set pid value.
8450         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
8451         pid cache check.
8452         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
8453         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
8454         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
8455         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
8456         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
8457         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8458         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
8459         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
8460         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
8461         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
8462         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
8463         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8464         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
8465         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8466         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
8467         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
8468         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8469         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
8470         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
8471         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
8472         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
8473         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8474         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
8475         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
8476         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
8477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8479         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8480         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8481         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8482         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
8483         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
8484         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
8485         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8486         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
8487         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8488         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
8489         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8490         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
8491         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
8492         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8493         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
8494         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
8495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8497         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8498         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8499         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8500         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8501         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8502         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
8503         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8504         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
8505         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
8506         struct access.
8507         (clone_test): Remove function.
8508         (do_test): Rewrite to take in consideration pid is not cached anymore.
8510 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
8512         * bits/flt-eval-method.h: New file.
8513         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
8514         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
8515         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
8516         * math/Makefile (headers): Add bits/flt-eval-method.h.
8517         * math/math.h: Include <bits/flt-eval-method.h>.
8518         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
8519         [__USE_ISOC99] (double_t): Likewise.
8520         * bits/mathdef.h (float_t): Remove.
8521         (double_t): Likewise.
8522         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
8523         (double_t): Likewise.
8524         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
8525         (double_t): Likewise.
8526         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
8527         (double_t): Likewise.
8528         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
8529         (double_t): Likewise.
8530         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
8531         (double_t): Likewise.
8532         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
8533         (double_t): Likewise.
8534         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
8535         (double_t): Likewise.
8536         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
8537         (double_t): Likewise.
8538         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
8539         (double_t): Likewise.
8540         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
8541         (double_t): Likewise.
8542         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
8543         (double_t): Likewise.
8544         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
8545         (double_t): Likewise.
8546         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
8547         (double_t): Likewise.
8549 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
8551         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
8552         instead of PIC.
8554 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8556         [BZ #20859]
8557         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
8558         (-0x7fffffff) instead of 0x80000001.
8559         * math/test-fp-ilogb-constants.c: New file.
8560         * math/Makefile (tests): Add test-fp-ilogb-constants.
8562 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
8564         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
8565         (_init): Use it in place of hardcoded R_MIPS_JALR.
8566         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
8567         (_init): Use it in place of hardcoded R_MIPS_JALR.
8568         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
8569         (_init): Use it in place of hardcoded R_MIPS_JALR.
8571 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8573         [BZ #20787]
8574         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
8575         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
8576         (double_t): Do not define to double if [__x86_64__] when
8577         __FLT_EVAL_METHOD__ is nonzero.
8578         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
8579         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
8580         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8581         test-flt-eval-method-387 and test-flt-eval-method-sse.
8582         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
8583         variable.
8584         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
8586 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
8588         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
8589         use of -fno-isolate-erroneous-paths options for tilepro.
8591 2016-11-23  Florian Weimer  <fweimer@redhat.com>
8593         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
8594         structure initialization is no longer needed.
8596 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8598         [BZ #20855]
8599         * bits/mathdef.h (float_t): Define to float.
8600         * math/test-flt-eval-method.c: New file.
8601         * math/Makefile (tests): Add test-flt-eval-method.
8602         (CFLAGS-test-flt-eval-method.c): New variable.
8604 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
8606         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
8607         and __fstatfs.  Make them aliases of __fstatfs64 if
8608         STATFS_IS_STATFS64 is set to non-zero.
8609         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
8610         and __statfs64.
8611         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
8612         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
8613         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
8614         for __statfs and statfs.
8615         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
8616         to 0.
8617         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
8618         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
8619         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
8620         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8621         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8622         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
8625         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
8626         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8627         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
8628         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
8630 2016-11-22  Andreas Schwab  <schwab@suse.de>
8632         * misc/mkstemp.c: Include <fcntl.h>.
8633         * misc/mkstemps.c: Likewise.
8634         * misc/mkostemp.c: Likewise.
8635         * misc/mkostemps.c: Likewise.
8637 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
8639         [BZ #20847]
8640         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
8641         array bounds.
8642         (__execvpe): Likewise.
8644 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
8646         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
8647         -fno-isolate-erroneous-paths options for tilepro.
8649 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
8651         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
8652         to 0 when in 32 bit mode.
8653         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
8654         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8655         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8656         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8658         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8659         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
8660         XSTAT_IS_XSTAT64 test.
8661         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
8662         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
8663         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
8664         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
8665         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
8666         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
8667         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
8668         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
8669         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
8670         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
8671         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
8673 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
8675         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8676         (setpayload): New declaration.
8677         * math/Versions (setpayload): New libm symbol at version
8678         GLIBC_2.25.
8679         (setpayloadf): Likewise.
8680         (setpayloadl): Likewise.
8681         * math/Makefile (libm-calls): Add s_setpayloadF.
8682         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
8683         test_Ff_b1_data.
8684         (RUN_TEST_Ff_b1): New macro.
8685         (RUN_TEST_LOOP_Ff_b1): Likewise.
8686         (canonicalize_test_data): Update type.
8687         (setpayload_test_data): New array.
8688         (setpayload_test): New function.
8689         (main): Call setpayload_test.
8690         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
8691         setpayloadf and setpayloadl.
8692         * manual/libm-err-tab.pl: Update comment on interfaces without
8693         ulps tabulated.
8694         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
8695         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
8696         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
8697         Likewise.
8698         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
8699         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
8700         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
8701         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
8702         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
8703         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
8704         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
8705         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
8706         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
8707         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8708         setpayload.
8709         (CFLAGS-nldbl-setpayload.c): New variable.
8710         * sysdeps/nacl/libm.abilist: Update.
8711         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8712         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8713         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8714         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8715         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8716         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8717         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8718         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8719         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8720         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8721         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8722         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8724         Likewise.
8725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8726         Likewise.
8727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8728         Likewise.
8729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8730         Likewise.
8731         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8732         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8733         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8734         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8735         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8737         Likewise.
8738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8739         Likewise.
8740         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8741         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8742         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8744 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8746         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
8747         * include/unistd.h: Extend comment about __access_noerrno return
8748         semantics.
8749         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
8750         (access_common): Correct typo for EACCES.
8752 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
8754         * sysdeps/tile/math-tests.h: New file.
8756         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
8757         (__old_set_dataplane): Rename from set_dataplane and make a
8758         compatibility symbol.
8759         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
8760         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
8761         sys/dataplane.h.
8763 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
8765         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
8766         script quote words in command output to log suitably for input to
8767         the shell.
8769 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
8770             Maciej W. Rozycki  <macro@imgtec.com>
8772         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
8773         `.Lno_weak_fn' label.
8774         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
8775         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
8777 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8778             Yury Norov  <ynorov@caviumnetworks.com>
8780         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
8781         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
8782         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8783         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
8784         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8785         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
8786         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8787         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8788         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8789         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
8790         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8791         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
8792         (sysdep_routines): Remove oldgetrlimit64.
8793         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
8794         (sysdep_routines): Likewise.
8795         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
8796         (sysdep_routines): Likewise.
8797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8798         [$(subdir) = resource] (sysdep_routines): Likewise.
8799         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
8800         [$(subdir) = resource] (sysdep_routines): Likewise.
8801         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
8802         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
8803         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
8804         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
8805         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
8806         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8807         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
8808         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
8809         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
8810         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
8811         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
8812         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
8813         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
8814         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
8815         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
8816         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
8817         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
8818         setrlimit and getrlimit.
8819         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8820         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8821         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
8822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
8824         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8825         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
8826         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8827         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8828         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
8829         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
8830         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
8831         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
8832         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
8833         (__old_getrlimit64): Add compatibility symbol.
8834         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
8836 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
8838         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
8839         newly built gmp, mpfr and mpc.
8841         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
8843 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8845         * conform/Makefile (linknamespace-libs): Rename to
8846         linknamespace-libs-thr.
8847         (linknamespace-libs-posix): New variable.
8848         (linknamespace-libs-xsi): Likewise.
8849         (linknamespace-libs-XPG3): Include libcrypt.a.
8850         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
8851         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
8852         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
8853         (linknamespace-libs-XOPEN2K): Likewise.
8854         (linknamespace-libs-XOPEN2K8): Likewise.
8855         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
8857         [BZ #20829]
8858         * stdio-common/Versions (__snprintf): Add to version
8859         GLIBC_PRIVATE.
8860         * include/stdio.h (__snprintf): Use libc_hidden_proto.
8861         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
8862         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
8863         of snprintf.
8864         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8866 2016-11-16  Zack Weinberg  <zackw@panix.com>
8868         * string/string.h: Remove obsolete comment stating that
8869         strcoll_l and strxfrm_l have not yet been standardized.
8871 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8873         * hurd/hurd.h (__hurd_fail_noerrno): New function.
8874         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
8875         __access_noerrno.
8876         * io/access.c (__access_noerrno): New function.
8877         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
8878         (hurd_fail_seterrno): Likewise.
8879         (access_common): Likewise.
8880         (__access_noerrno): Likewise.
8881         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
8882         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
8883         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
8884         macro.
8886 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8888         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
8889         Only declare fpregs if [__SH_FPU_ANY__].
8891 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
8893         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
8894         Make code unconditional.
8895         [!(__SH4__ || __SH4A__)]: Remove conditional code.
8897 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
8899         * manual/sysinfo.texi (S_APPEND): Delete.
8900         (S_IMMUTABLE): Likewise.
8902 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
8903             Magnus Granberg  <zorry@gentoo.org>
8904             Mike Frysinger  <vapier@gentoo.org>
8906         [BZ #20662]
8907         * configure.ac (libc_cv_predef_stack_protector): Also check for
8908         __stack_chk_fail_local symbols.
8909         * configure: Regenerated.
8911 2016-11-15  Florian Weimer  <fweimer@redhat.com>
8913         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
8914         (libc_hidden_def): Remove redefinition.
8915         (__sigsetjmp): Add hidden definition.
8916         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
8917         (libc_hidden_def): Remove redefinition.
8918         (__sigsetjmp): Add hidden definition.
8920 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
8922         * scripts/build-many-glibcs.py (os.path): Do not import.
8923         (Context): Inherit explicitly from object.  Remove blank line
8924         between class and docstring.
8925         (Config): Likewise.
8926         (Glibc): Likewise.
8927         (Command): Likewise.
8928         (CommandList): Likewise.
8929         (Context.write_files): Store chmod mode in a variable.
8931         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
8932         LIBC_SLIBDIR_RTLDDIR for tilegx32.
8933         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
8935 2016-11-14  Zack Weinberg  <zackw@panix.com>
8937         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
8938         creating or re-creating it.
8940         * string/bits/string2.h: Fix typo in comment.
8942 2016-11-14  Zack Weinberg  <zackw@panix.com>
8944         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
8945         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
8946         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
8947         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
8948         of redirected function names.
8950         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
8951         as well.  Document that MESSAGE must be a single string literal.
8953 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
8955         * scripts/build-many-glibcs.py: New file.
8957         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
8958         (do_test): Disable -Wmaybe-uninitialized around uses of
8959         except_mask.
8961         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
8963 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
8965         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
8966         (atomic_store_release): Provide tilepro-specific implementations.
8968 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
8970         * math/math.h (__MATH_TG): New macro.
8971         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
8972         [__USE_ISOC99] (signbit): Likewise.
8973         [__USE_ISOC99] (isfinite): Likewise.
8974         [__USE_ISOC99] (isnan): Likewise.
8975         [__USE_ISOC99] (isinf): Likewise.
8976         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
8977         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
8978         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
8979         __MATH_TG and __MATH_EVAL_FMT2.
8980         * sysdeps/generic/math_private.h (fabs_tg): Define using
8981         __MATH_TG.
8982         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8983         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
8984         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
8985         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
8986         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
8987         macro.
8988         (__iscanonical): Likewise.
8989         (iscanonical): Define using __MATH_TG.
8991 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8993         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
8994         guards.
8996         * sysdeps/unix/sysv/linux/access.c: New file.
8997         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
8999 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
9001         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
9002         and __WORDSIZE32_PTRDIFF_LONG.
9004 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9006         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9008 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9010         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
9011         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
9012         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
9013         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
9014         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
9015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
9016         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
9017         * sysdeps/unix/sysv/linux/truncate.c: New file.
9018         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
9019         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
9020         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
9021         Remove.
9022         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
9023         Likewise.
9025         * posix/tst-truncate-common.c: New file.
9026         * posix/tst-truncate.c: Use tst-truncate-common.c.
9027         * posix/tst-truncate64.c: Likewise and add LFS tests.
9028         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
9029         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
9030         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
9031         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
9032         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
9033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
9034         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
9035         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
9036         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
9037         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
9038         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
9039         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
9040         Remove.
9041         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
9042         Likewise.
9044 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
9046         [BZ #20790]
9047         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
9048         to MAXLINESIZE.
9049         * sunrpc/bug20790.x: New file.
9050         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
9051         variable.
9052         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
9053         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
9055         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
9057         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
9059         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
9060         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
9061         calloc, realloc, free, memalign and __libc_memalign rather than
9062         making them optional.
9064         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
9065         for libc.so.
9067 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9069         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
9070         ptw-lseek64.
9071         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
9072         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
9073         Likewise.
9074         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
9075         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
9076         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
9077         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
9078         * sysdeps/unix/sysv/linux/lseek.c: New file.
9079         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
9080         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
9081         __libc_lseek64 from auto-generation.
9082         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9083         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
9085 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9087         * nptl/tst-basic1.c (tf, do_test): Use write_message.
9088         * nptl/tst-cleanup1.c (do_test): Likewise.
9089         * nptl/tst-cleanup3.c (do_test): Likewise.
9090         * nptl/tst-key1.c (do_test): Likewise.
9091         * nptl/tst-key2.c (tf, do_test): Likewise.
9092         * nptl/tst-key3.c (tf, do_test): Likewise.
9093         * nptl/tst-stdio1.c (do_test): Likewise.
9094         * nptl/tst-stdio2.c (do_test): Likewise.
9096         * nptl/tst-kill3.c (handler): Use write_message in place of write.
9097         * nptl/tst-kill6.c (handler): Likewise.
9098         * nptl/tst-tls2.c (CB): Likewise.
9099         * nptl/tst-tls3.c (CB): Likewise.
9101 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
9103         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
9105 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
9106             Steve Ellcey  <sellcey@caviumnetworks.com>
9108         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
9109           __ASSUME_ST_INO_64_BIT as 0
9110         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
9111         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
9112           over the code where __ASSUME_ST_INO_64_BIT is used.
9113         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
9114         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
9115         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9117 2016-11-07  Florian Weimer  <fweimer@redhat.com>
9119         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9120         Document ABI exposure of the __kind offset.
9121         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9122         Mention reason for the __kind offset exposure in the ABI.
9123         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9124         Likewise.
9125         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9126         Likewise.
9127         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9128         Likewise.
9129         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
9130         (struct __pthread_mutex_s): Likewise.
9131         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9132         Likewise.
9133         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9134         Likewise.
9135         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9136         Likewise.
9137         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9138         Likewise.
9139         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9140         Likewise.
9141         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9142         Likewise.
9143         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
9144         (struct __pthread_mutex_s): Likewise.
9145         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9146         (struct __pthread_mutex_s): Likewise.
9147         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
9148         Likewise.
9150 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
9152         * test-skeleton.c: Document do_test usage.
9154 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
9156         * iconv/gconv.h (__gconv_info): Define __data element using a
9157         zero-length array.
9159 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
9161         * math/test-tgmath2.c: Split up test function.
9163 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
9165         * Rules (tests-expected): New variable, depending on
9166         $(run-built-tests).
9167         (tests): Pass $(tests-expected) to merge-test-results.sh, not
9168         $(tests).
9170         * Rules [$(run-built-tests) = no] (tests): Do not depend on
9171         $(tests-unsupported).
9173 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9175         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
9176         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
9178 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
9180         [BZ #20768]
9181         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
9182         __fegetenv instead of fegetenv.
9184         [BZ #14139]
9185         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
9186         (find_files): Obtain platform name from libm-test-ulps-name and
9187         store in %pplatforms.
9188         (canonicalize_platform): Remove.
9189         (print_platforms): Use $pplatforms directly.
9190         (by_platforms): Do not allow for platforms missing from
9191         %pplatforms.
9192         * sysdeps/aarch64/libm-test-ulps-name: New file.
9193         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
9194         * sysdeps/arm/libm-test-ulps-name: Likewise.
9195         * sysdeps/generic/libm-test-ulps-name: Likewise.
9196         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
9197         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
9198         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
9199         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
9200         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
9201         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
9202         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
9203         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
9204         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
9205         * sysdeps/nios2/libm-test-ulps-name: Likewise.
9206         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
9207         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
9208         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
9209         * sysdeps/sh/libm-test-ulps-name: Likewise.
9210         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
9211         * sysdeps/tile/libm-test-ulps-name: Likewise.
9212         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
9214         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
9216         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
9217         (test-xfail-check-execstack): New variable.
9219         * sysdeps/mips/localplt.data: New file.
9221 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
9222             Steve Ellcey  <sellcey@caviumnetworks.com>
9224         * bits/wordsize.h: Add documentation.
9225         * sysdeps/aarch64/bits/wordsize.h : New file
9226         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
9227         definitions.
9228         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
9229         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
9230         with #if instead of #ifdef.
9231         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
9232         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
9233         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
9234         Add or change defines.
9235         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
9236         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9237         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
9238         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
9239         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9240         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9241         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
9242         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
9243         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
9244         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9245         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
9246         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
9247         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
9248         * sysdeps/x86/bits/wordsize.h: Likewise.
9250 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
9251             Kevin Petit  <kevin.petit@arm.com>
9253         * sysdeps/aarch64/memchr.S (__memchr): New file.
9255 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
9257         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
9259 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
9261         [BZ #19398]
9262         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
9263         $(linknamespace-symlists-tests).
9265 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
9267         * time/tst-strptime2.c: Ignore -Wformat-length warning.
9269 2016-11-02  Florian Weimer  <fweimer@redhat.com>
9270             Carlos O'Donell  <carlos@redhat.com>
9272         [Bug #20729]
9273         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
9274         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
9275         for -Os related change.
9277 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
9279         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
9281 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
9283         [BZ #19673]
9284         * manual/math.texi (Exponents and Logarithms): Correct description
9285         of clog10.
9287 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
9289         [Bz #20729]
9290         * locale/weight.h: Include libc-internal.h.
9291         * locale/weightwc.h: Likewise.
9292         * nptl/nptl_dbP.h: Likewise.
9294 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
9296         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
9297         when it is MACH_PORT_NULL.
9299 2016-10-31  Andreas Schwab  <schwab@suse.de>
9301         [BZ #20707]
9302         * posix/glob.c (glob): Initialize pglob before checking for
9303         GLOB_BRACE.  Don't call glob recursively if pattern contains no
9304         valid brace expression despite GLOB_BRACE.
9305         * posix/globtest.sh: Test it.
9307 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
9309         [BZ #20729]
9310         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
9311         Define.
9312         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
9313         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
9314         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
9315         for seq2.back_us and seq1.back_us only for -Os compiles.
9316         * locale/weightwc.h (findix): Likewise.
9317         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
9318         DB_GET_FIELD_ADDRESS only for -Os compiles.
9319         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
9320         for slen only for -Os compiles.
9321         * string/strcoll_l.c (get_next_seq): Ignore
9322         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
9323         for -Os compiles.
9325         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
9326         * include/crypt.h: New file.
9328 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9330         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
9331         from test-skeleton.c.
9332         (statclass): Replace calls to write with calls to write_message.
9334 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
9336         * math/math.h
9337         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
9338         New macro.
9339         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
9340         Likewise.
9341         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
9342         Likewise.
9343         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
9344         SNANL.
9345         * math/test-double.h (snan_value_MACRO): New macro.
9346         * math/test-float.h (snan_value_MACRO): Likewise.
9347         * math/test-ldouble.h (snan_value_MACRO): Likewise.
9348         * math/libm-test.inc (issignaling_test_data): Add tests of
9349         snan_value_MACRO.
9351 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9353         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
9354         behavior when eliding a lock not held by the current thread.
9355         * sysdeps/powerpc/nptl/elide.h: Likewise.
9357 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9359         [BZ #20728]
9360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
9361         branch to _exit() by a function call.
9363 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9365         * malloc/malloc.c: Update chunk layout comments.
9366         (chunk_main_arena): Update comment.
9368 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9370         * crypt/sha256.c, crypt/sha256-block.c,
9371         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
9372         sha256_process_block to __sha256_process_block.
9373         * crypt/sha512.c, crypt/sha512-block.c,
9374         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
9375         sha512_process_block to __sha512_process_block.
9377 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
9379         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
9381         * math/test-nan-overflow.c: Include stdlib.h for malloc.
9383 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
9385         [BZ #20019]
9386         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
9387         definition in unrelocated shared library.
9388         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9390 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9392         [BZ #20729]
9393         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
9394         * sysdeps/unix/sysv/linux/i386/Makefile
9395         (uses-6-syscall-arguments): Define.
9396         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
9397         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
9398         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
9399         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
9400         Likewise.
9401         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
9402         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
9403         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
9404         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
9405         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
9406         (CFLAGS-fallocate64.os): Likewise.
9407         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
9408         (CFLAGS-pthread_rwlock_timedrdlock.os)
9409         (CFLAGS-pthread_rwlock_timedwrlock.o)
9410         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
9411         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
9412         (CFLAGS-sem_timedwait.os): Likewise.
9414 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9416         * elf/tst-linkall-static.c: New file.
9417         * elf/Makefile (tests-static): Add tst-linkall-static.
9418         (tst-linkall-static): Link against static libraries.
9420 2016-10-27  Florian Weimer  <fweimer@redhat.com>
9422         * malloc/malloc.c (sysmalloc): Initialize previous size field of
9423         mmaped chunks.
9425 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9427         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
9428         members to mchunk_prev_size, mchunk_size.
9429         (chunk_main_arena): Reverse sense and rename from
9430         chunk_non_main_arena.
9431         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
9432         mchunk_size instead of size.
9433         (set_non_main_arena): Define.
9434         (chunksize): Use chunksize_nomask instead of direct member access.
9435         (chunksize_nomask): Define.
9436         (next_chunk): Use chunksize instead of direct member access.
9437         (prev_size, set_prev_size): Define.
9438         (prev_chunk): Use prev_size instead of direct member access.
9439         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
9440         (inuse_bit_at_offset, set_inuse_bit_at_offset)
9441         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
9442         (mchunk_prev_size, mchunk_size): Poison tokens.
9443         (unlink): Use chunksize_nomask, prev_size accessors.
9444         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
9445         (do_check_free_chunk): Use prev_size accessor.
9446         (sysmalloc): Use set_prev_size, set_head accessors.
9447         (munmap_chunk, mremap_chunk): Use prev_size accessor.
9448         (__libc_free): Use chunksize_nomask accessor.
9449         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
9450         chunk_main_arena accessors.
9451         (_int_free): Use chunksize_nomask, prev_size accessors.
9452         (malloc_consolidate): Use chunksize, prev_size accessors.
9453         (_int_realloc): Use chunksize_nomask accessor.
9454         (_int_memalign): Use set_prev_size accessor.
9455         (__malloc_info): Use chunksize_nomask accessor.
9456         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
9457         accessors.
9458         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
9459         (heap_trim): Use chunksize_nomask, prev_size accessors.
9461 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
9463         [BZ #19380]
9464         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
9465         for inexact results.
9466         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
9467         of inexact result where mpfr_subnormalize is the only inexact
9468         step.
9469         * stdlib/tst-strtod-round-data.h: Regenerated.
9470         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
9471         Define to 0.
9472         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
9474 2016-10-27  David S. Miller  <davem@davemloft.net>
9476         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
9478 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9480         * malloc/malloc.c (do_set_mallopt_check): New function.
9481         (do_set_mmap_threshold): Likewise.
9482         (do_set_mmaps_max): Likewise.
9483         (do_set_top_pad): Likewise.
9484         (do_set_perturb_byte): Likewise.
9485         (do_set_trim_threshold): Likewise.
9486         (do_set_arena_max): Likewise.
9487         (do_set_arena_test): Likewise.
9488         (__libc_mallopt): Use them.
9490 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
9492         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9493         (canonicalize): New declaration.
9494         * math/Versions (canonicalize): New libm symbol at version
9495         GLIBC_2.25.
9496         (canonicalizef): Likewise.
9497         (canonicalizel): Likewise.
9498         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
9499         * math/s_canonicalize_template.c: New file.
9500         * math/libm-test.inc: Update comment on functions tested and
9501         testing of NaN payloads.
9502         (TEST_NAN_PAYLOAD): New macro.
9503         (NO_TEST_INLINE): Update value.
9504         (XFAIL_TEST): Likewise.
9505         (ERRNO_UNCHANGED): Likewise.
9506         (ERRNO_EDOM): Likewise.
9507         (ERRNO_ERANGE): Likewise.
9508         (IGNORE_RESULT): Likewise.
9509         (NON_FINITE): Likewise.
9510         (TEST_SNAN): Likewise.
9511         (NO_TEST_MATHVEC): Likewise.
9512         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
9513         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
9514         (struct test_Ffp_b1_data): New type.
9515         (RUN_TEST_Ffp_b1): New macro.
9516         (RUN_TEST_LOOP_Ffp_b1): Likewise.
9517         (canonicalize_test_data): New array.
9518         (canonicalize_test): New function.
9519         (main): Call canonicalize_test.
9520         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
9521         canonicalizef and canonicalizel.
9522         * manual/libm-err-tab.pl: Update comment on interfaces without
9523         ulps tabulated.
9524         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
9525         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
9526         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9527         canonicalize.
9528         (CFLAGS-nldbl-canonicalize.c): New variable.
9529         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
9530         to ...
9531         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
9532         ... here.
9533         (do_test): Also test canonicalizel.
9534         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
9535         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
9536         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
9537         file.
9538         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
9539         Use libm_hidden_def.
9540         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
9541         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
9542         (do_test): Also test canonicalizel.
9543         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
9544         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
9545         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
9546         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
9547         libm_hidden_def.
9548         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
9549         macro.
9550         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
9551         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
9552         * sysdeps/nacl/libm.abilist: Update.
9553         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9554         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9555         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9556         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9557         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9558         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9559         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9560         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9561         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9562         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9563         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9564         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9566         Likewise.
9567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9568         Likewise.
9569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9570         Likewise.
9571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9572         Likewise.
9573         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9574         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9575         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9576         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9577         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9579         Likewise.
9580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9581         Likewise.
9582         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9583         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9584         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9586         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
9587         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9588         getpayload.
9589         (CFLAGS-nldbl-getpayload.c): New variable.
9591 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9593         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
9594         integer from the format string.
9596 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9598         [BZ #19473]
9599         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
9600         declarations.
9601         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
9602         weak aliases.
9603         * malloc/hooks.c (__malloc_get_state): Remove definition.
9604         (malloc_get_state): New stub implementation as
9605         compatibility symbol.
9606         (malloc_set_state): Rename from __malloc_set_state.  Turn into
9607         compat symbol.
9608         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
9609         malloc_set_state.
9610         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
9612 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9614         * iconvdata/iso646.c (enum variant): Drop illegal_var.
9615         (names): Turn into concatenation of strings.
9616         (gconv_init): Adapt iteration over names.
9618 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9620         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
9621         make const.
9622         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
9623         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
9624         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
9625         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
9626         character in sbconv.
9627         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
9628         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
9629         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
9631 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9633         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
9635         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
9636         (M_TRIM_THRESHOLD): Likewise.
9638         * manual/memory.texi (M_ARENA_TEST): Add documentation.
9639         (M_ARENA_MAX): Likewise.
9640         * malloc/malloc.c: Remove obsolete comment.
9642         * manual/memory.texi: Add environment variable alternatives to
9643         setting mallopt parameters.
9645 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
9647         * include/atomic.h
9648         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
9649         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
9651 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9653         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
9654         * stdlib/tst-strfrom.h: New file.
9655         * stdlib/tst-strfrom.c: New file.
9656         * stdlib/tst-strfrom-locale.c: New file.
9658         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
9659         * stdlib/bug-strtod2.c: Likewise.
9660         * stdlib/tst-strtod-round-skeleton.c: Likewise.
9661         * stdlib/tst-strtod6.c: Likewise.
9662         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
9664 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9666         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
9667         * manual/arith.texi: Document strfromd, strfromf, strfroml.
9668         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
9669         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
9670         * stdlib/stdlib.h (strfromd): New declaration.
9671         (strfromf): Likewise.
9672         (strfroml): Likewise.
9673         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
9674         strfrom.
9675         * stdlib/strfromd.c: New file.
9676         * stdlib/strfromf.c: Likewise.
9677         * stdlib/strfroml.c: Likewise.
9678         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
9679         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
9680         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
9681         * sysdeps/arm/nacl/libc.abilist: Update.
9682         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9683         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9684         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9685         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9686         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9687         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9688         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9689         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9690         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9691         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9692         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9693         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9694         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9695         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
9697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9700         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9701         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9702         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9703         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9704         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9707         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9708         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9709         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9711 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
9713         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
9714         instead of cmpli.
9715         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
9716         instead of cmpli.
9718 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
9720         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
9721         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
9722         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
9723         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9724         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9725         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9727 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9729         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
9730         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9731         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
9732         SYSCALL_LL64_PRW.
9733         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9734         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
9735         __ASSUME_PRW_DUMMY_ARG.
9736         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
9737         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9738         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9739         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9740         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
9741         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
9743 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
9745         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
9747 2016-10-22  Florian Weimer  <fweimer@redhat.com>
9749         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
9750         "C++", to override a potential extern "C" directive around the
9751         header file inclusion.
9753 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
9755         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
9757 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9759         * sysdeps/powerpc/fpu/fenv_private.h:
9760         (_FPU_MASK_ALL): Rename to...
9761         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
9762         XE FPSCR bits.
9764         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
9766         (_FPU_MASK_ROUNDING): Rename to...
9767         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
9768         NI bits.
9770         (_FPU_MASK_EXCEPT_ROUND): Rename to...
9771         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
9772         bits and rounding bits.
9774         (__libc_feholdbits_ppc): New inline function to mask, set,
9775         and pontentially clear FSPCR bits, and change MSR[FE] bits.
9776         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
9777         (libc_feholdexcept_setround_ppc): Likewise.
9779         (__libc_femergeenv_ppc): New function to dynamically mask both
9780         old and new FP environments and merge.
9781         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
9782         (libc_feresetround_ppc): Likewise.
9783         (libc_feupdateenv_test_ppc): Likewise.
9784         (libc_feupdateenv_ppc): Likewise.
9786         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
9787         of ISA RN bits, and update macro names.
9788         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
9789         effectively the same as the previously mentioned function.
9791         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
9792         usage with fe_resetround_ppc.
9794         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
9795         to be used.
9796         (libc_feholdexcept_setround_ctxf): Likewise.
9797         (libc_feholdexcept_setround_ctxl): Likewise.
9799 2016-10-21  Florian Weimer  <fweimer@redhat.com>
9801         [BZ #20715]
9802         * math/math.h [__cplusplus] (iszero): Define as function template.
9803         * math/Makefile [CXX] (tests): Add test-math-iszero.
9804         (CFLAGS-test-math-iszero.cc): Set.
9805         * math/test-math-iszero.cc: New file.
9807 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
9809         [BZ #20660]
9810         * sysdeps/arm/e_sqrt.c: New file.
9811         * sysdeps/arm/e_sqrtf.c: Likewise.
9813 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
9815         [BZ #20718]
9816         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
9817         not use floating-point comparisons to test sign.
9818         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
9819         Likewise.
9821         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9822         (getpayload): New declaration.
9823         * math/Versions (getpayload): New libm symbol at version
9824         GLIBC_2.25.
9825         (getpayloadf): Likewise.
9826         (getpayloadl): Likewise.
9827         * math/Makefile (libm-calls): Add s_getpayloadF.
9828         * math/libm-test.inc: Include <nan-high-order-bit.h>.
9829         (struct test_f_f_data): Add comment.
9830         (RUN_TEST_fp_f): New macro.
9831         (RUN_TEST_LOOP_fp_f): Likewise.
9832         (getpayload_test_data): New array.
9833         (getpayload_test): New function.
9834         (main): Call getpayload_test.
9835         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
9836         descriptor.
9837         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
9838         getpayloadf and getpayloadl.
9839         * manual/libm-err-tab.pl: Update comment on interfaces without
9840         ulps tabulated.
9841         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
9842         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
9843         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
9844         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
9845         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
9846         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
9847         * sysdeps/nacl/libm.abilist: Update.
9848         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9849         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9850         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9851         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9852         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9853         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9854         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9855         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9856         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9857         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9858         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9859         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9861         Likewise.
9862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9863         Likewise.
9864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9865         Likewise.
9866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9867         Likewise.
9868         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9869         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9870         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9871         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9872         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9874         Likewise.
9875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9876         Likewise.
9877         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9878         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9879         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9881 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9883         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
9884         tst-fallocate{64}.
9885         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
9886         on syscall return.
9888 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
9890         [BZ #20689]
9891         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
9892         usable.
9894 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
9896         * sysdeps/generic/nan-high-order-bit.h: New file.
9897         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
9898         * sysdeps/mips/nan-high-order-bit.h: Likewise.
9899         * sysdeps/hppa/math_private.h: Remove file.
9900         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
9901         not define here.
9902         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
9903         <nan-high-order-bit.h>.
9904         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9905         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
9906         <nan-high-order-bit.h>.
9907         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9908         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
9909         <nan-high-order-bit.h>.
9910         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9911         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
9912         <nan-high-order-bit.h>.
9913         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9914         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
9915         <nan-high-order-bit.h>.
9916         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9917         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
9918         <nan-high-order-bit.h>.
9919         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9920         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
9921         <nan-high-order-bit.h>.
9922         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9923         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
9924         <nan-high-order-bit.h>.
9925         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9926         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
9927         <nan-high-order-bit.h>.
9928         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9929         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
9930         <nan-high-order-bit.h>.
9931         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9932         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
9933         <nan-high-order-bit.h>.
9934         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9935         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
9936         <nan-high-order-bit.h>.
9937         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9938         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
9939         <nan-high-order-bit.h>.
9940         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9941         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
9942         <nan-high-order-bit.h>.
9943         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9944         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
9945         <nan-high-order-bit.h>.
9946         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9947         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
9948         <nan-high-order-bit.h>.
9949         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9950         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
9951         <nan-high-order-bit.h>.
9952         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9953         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
9954         <nan-high-order-bit.h>.
9955         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9957 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9959         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
9961 2016-09-22  John David Anglin  <dave.anglin@bell.net>
9963         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
9964         abort-instr.h.
9965         (EFAULT): Remove conditional define.
9966         (ENOSYS): Likewise.
9967         (atomic_compare_and_exchange_val_acq): Use instruction nullification
9968         instead of conditional branch instructions.
9970 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
9972         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9973         (totalordermag): New declaration.
9974         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
9975         New macro.
9976         * math/Versions (totalordermag): New libm symbol at version
9977         GLIBC_2.25.
9978         (totalordermagf): Likewise.
9979         (totalordermagl): Likewise.
9980         * math/Makefile (libm-calls): Add s_totalordermagF.
9981         * math/libm-test.inc (totalordermag_test_data): New array.
9982         (totalordermag_test): New function.
9983         (main): Call totalordermag_test.
9984         * math/test-tgmath.c (NCALLS): Increase to 125.
9985         (F(compile_test)): Call totalordermag.
9986         (F(totalordermag)): New function.
9987         * manual/arith.texi (FP Comparison Functions): Document
9988         totalordermag, totalordermagf and totalordermagl.
9989         * manual/libm-err-tab.pl: Update comment on interfaces without
9990         ulps tabulated.
9991         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
9992         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
9993         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
9994         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
9995         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
9996         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
9997         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
9998         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9999         totalordermag.
10000         (CFLAGS-nldbl-totalordermag.c): New variable.
10001         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
10002         (do_test): Also test totalordermagl.
10003         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
10004         Likewise.
10005         * sysdeps/nacl/libm.abilist: Update.
10006         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10007         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10008         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10009         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10010         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10011         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10012         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10013         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10014         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10015         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10016         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10017         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10019         Likewise.
10020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10021         Likewise.
10022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10023         Likewise.
10024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10025         Likewise.
10026         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10027         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10028         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10029         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10030         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10032         Likewise.
10033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10034         Likewise.
10035         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10036         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10037         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10039 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
10041         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
10042         boolean.
10044 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
10046         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
10047         raising FE_INVALID with feraisexcept in case where part of
10048         argument is infinite, subtract that part of argument from itself.
10049         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
10050         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
10051         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
10053 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
10055         * math/libm-test.inc (totalorder_test_data): Add more tests.
10057 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
10059         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
10060         Undefine weak_alias and add a comment why mips64 require
10061         versioning.
10063 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
10065         [BZ #20647]
10066         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
10067         maximum CPUID level is less than 2.
10069 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
10071         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10072         (totalorder): New declaration.
10073         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
10074         New macro.
10075         * math/Versions (totalorder): New libm symbol at version
10076         GLIBC_2.25.
10077         (totalorderf): Likewise.
10078         (totalorderl): Likewise.
10079         * math/Makefile (libm-calls): Add s_totalorderF.
10080         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
10081         string.
10082         * math/libm-test.inc (PAYLOAD_DIG): New macro.
10083         (qnan_value_pl): Likewise.
10084         (snan_value_pl): Likewise.
10085         (qnan_value): Define using qnan_value_pl.
10086         (snan_value): Define using snan_value_pl.
10087         (struct test_ff_i_data): Add comment about which tests use this
10088         structure.
10089         (RUN_TEST_ff_b): New macro.
10090         (RUN_TEST_LOOP_ff_b): Likewise.
10091         (totalorder_test_data): New array.
10092         (totalorder_test): New function.
10093         (main): Call totalorder_test.
10094         * math/test-tgmath.c (NCALLS): Increase to 122.
10095         (F(compile_test)): Call totalorder.
10096         (F(totalorder)): New function.
10097         * manual/arith.texi (FP Comparison Functions): Document
10098         totalorder, totalorderf and totalorderl.
10099         * manual/libm-err-tab.pl: Update comment on interfaces without
10100         ulps tabulated.
10101         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
10102         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
10103         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
10104         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
10105         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
10106         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
10107         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
10108         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10109         totalorder.
10110         (CFLAGS-nldbl-totalorder.c): New variable.
10111         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
10112         file.
10113         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
10114         Add test-totalorderl-ldbl-128ibm.
10115         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
10116         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
10117         test-totalorderl-ldbl-96.
10118         * sysdeps/nacl/libm.abilist: Update.
10119         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10120         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10121         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10122         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10123         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10124         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10125         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10126         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10127         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10128         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10129         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10130         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10132         Likewise.
10133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10134         Likewise.
10135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10136         Likewise.
10137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10138         Likewise.
10139         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10140         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10141         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10142         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10143         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10145         Likewise.
10146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10147         Likewise.
10148         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10149         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10150         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10152 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10154         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
10155         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
10156         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
10157         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
10158         remove ENOSYS implementation.
10159         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
10160         Consolidate all Linux implementations.
10162 2016-10-11  Florian Weimer  <fweimer@redhat.com>
10164         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
10165         * resolv/herror.c (herror): Cast away const-ness.
10166         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
10167         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
10169 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
10171         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
10172         instead of M_NAN + M_NAN.
10173         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
10175 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10177         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
10178         unused variable 'p'.
10180 2016-10-09  Alan Modra  <amodra@gmail.com>
10181             Andreas Schwab  <schwab@linux-m68k.org>
10183         [BZ #20554]
10184         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
10185         [PIC && !SHARED]: Set up PIC register for PLT call.
10187 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
10189         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
10190         conditional on value of [__FLT_EVAL_METHOD__].
10191         * math/test-iseqsig-excess-precision.c: New file.
10192         * math/Makefile (tests): Add test-iseqsig-excess-precision.
10194 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10196         * math/s_iseqsig_template.c: Include math-private.h.
10198         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
10199         * posix/tst-posix_fadvise.c: New file.
10200         * posix/tst-posix_fadvise64.c: Likewise.
10201         * posix/tst-posix_fadvise-common.c: Likewise.
10202         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10203         (__ASSUME_FADVISE64_64_6ARG): Define.
10204         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10205         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
10206         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10207         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
10208         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
10209         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
10210         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
10211         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
10212         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
10213         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
10214         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
10215         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
10216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
10217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
10218         Likewise.
10219         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
10220         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
10221         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
10222         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
10223         Alias to __posix_fadvise64_l32.
10224         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
10225         Add compat definition to posix_fadvise64.
10226         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
10227         Add versioned definition to posix_fadvise64.
10228         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
10229         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
10230         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
10231         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
10232         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
10234         * io/Makefile (tests): Add tst-posix_fallocate and
10235         tst-posix_fallocate64.
10236         * io/tst-posix_fallocate-common.c: New file.
10237         * io/tst-posix_fallocate.c: Likewise.
10238         * io/tst-posix_fallocate64.c: Likewise.
10239         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
10240         file.
10241         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
10242         Likewise.
10243         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
10244         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
10245         Likewise.
10246         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
10247         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
10248         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
10249         SYSCALL_LL to pass both offset and len arguments.
10250         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
10251         Likewise.
10252         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
10253         __libc_pwrite64 alias used by posix_fallocate64.
10255         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
10256         tst-fallocate64.
10257         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
10258         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
10259         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
10260         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
10261         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
10262         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
10263         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
10264         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10265         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
10266         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
10267         macro on offset argument.
10268         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
10269         SYSCALL_LL64 on offset argument.
10271         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
10272         tst-fallocate64.
10273         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
10274         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
10275         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
10276         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
10277         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
10278         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
10279         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
10280         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10281         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
10282         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
10283         macro on offset argument.
10284         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
10285         SYSCALL_LL64 on offset argument.
10286         * test-skeleton.c (FAIL_RET): Add macro.
10287         (FAIL_EXIT): Likewise.
10288         (FAIL_EXIT1): Likewise.
10289         (_FAIL): Likewise.
10291 2016-10-07  Florian Weimer  <fweimer@redhat.com>
10293         [BZ #20629]
10294         resolv: Remove RES_USEBSTRING and its implementation.
10295         * resolv/resolv.h (RES_USEBSTRING): Remove.
10296         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
10297         (digitvalue, encode_bitstring, decode_bitstring): Remove.
10298         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
10299         (labellen): Remove extended label types support.
10300         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
10301         * resolv/res_init.c (res_setoptions): Likewise.
10302         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
10304 2016-10-07  Florian Weimer  <fweimer@redhat.com>
10306         resolv: Remove RES_NOIP6DOTINT and its implementation.
10307         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
10308         (RES_NOIP6DOTINT): Remove.
10309         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
10310         handling.
10311         * resolv/res_debug.c (p_option): Likewise.
10312         * resolv/res_init.c (res_setoptions): Likewise.
10313         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
10315 2016-10-07  Florian Weimer  <fweimer@redhat.com>
10317         resolv: Deprecate unimplemented flags.
10318         * misc/sys/cdefs.h (__glibc_macro_warning1)
10319         (__glibc_macro_warning): Define.
10320         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
10321         (RES_KEEPTSIG): Mark as deprecated.
10322         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
10323         RES_NOCHECKNAME, RES_KEEPTSIG.
10324         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
10326 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10328         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
10329         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
10330         Use strong_alias to create symbols for glibc verison 2.19.
10332 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10334         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
10336 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10338         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
10340 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10342         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
10344 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10346         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10347         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
10348         in header for using it as type for ifunc function because __GI_* symbols
10349         for ppc32 do not target the ifunc symbols.
10350         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10352 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10354         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
10355         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
10356         libc_ifunc_hidden_def.
10357         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
10358         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
10359         Redirect ifunced function in header for using it as type of ifunc'ed
10360         function. Redefine libc_hidden_def to use fallback non ifunc'ed
10361         function for __GI_* symbol.
10362         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
10363         * include/libc-symbols.h
10364         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
10366 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10368         [BZ #20478]
10369         * sysdeps/s390/multiarch/ifunc-resolve.h
10370         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
10371         to create ifunc symbols.
10372         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
10373         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
10374         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
10375         for using it as type for ifunc function.
10376         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
10377         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
10378         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
10379         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
10380         * sysdeps/s390/multiarch/strcat.c: Likewise.
10381         * sysdeps/s390/multiarch/strchr.c: Likewise.
10382         * sysdeps/s390/multiarch/strcmp.c: Likewise.
10383         * sysdeps/s390/multiarch/strcpy.c: Likewise.
10384         * sysdeps/s390/multiarch/strcspn.c: Likewise.
10385         * sysdeps/s390/multiarch/strlen.c: Likewise.
10386         * sysdeps/s390/multiarch/strncmp.c: Likewise.
10387         * sysdeps/s390/multiarch/strncpy.c: Likewise.
10388         * sysdeps/s390/multiarch/strnlen.c: Likewise.
10389         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
10390         * sysdeps/s390/multiarch/strrchr.c: Likewise.
10391         * sysdeps/s390/multiarch/strspn.c: Likewise.
10392         * sysdeps/s390/multiarch/wcschr.c: Likewise.
10393         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
10394         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
10395         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
10396         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
10397         * sysdeps/s390/multiarch/wmemset.c: Likewise.
10398         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10399         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
10400         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
10401         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10402         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
10403         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
10405 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10407         * include/libc-symbols.h (__ifunc_resolver):
10408         New macro is used by __ifunc* macros.
10409         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
10410         depending on HAVE_GCC_IFUNC.
10411         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
10412         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
10413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10414         Redirect ifunced function in header for using as type for ifunc function.
10415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
10416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
10417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
10418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
10419         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10420         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10421         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10422         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10423         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10424         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10425         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10426         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10427         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10428         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
10431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
10433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10434         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10435         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10436         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10437         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10438         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10439         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10440         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10441         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10442         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10443         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10444         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10445         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10446         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
10447         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
10449         Add libc_hidden_def() and use libc_ifunc_hidden() macro
10450         instead of libc_ifunc() macro.
10451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
10452         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10454 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10456         * config.h.in (HAVE_GCC_IFUNC): New undef.
10457         * configure.ac: Add check if gcc supports attribute ifunc feature.
10458         * configure: Regenerated.
10459         * manual/install.texi: Add recommendation for gcc with
10460         indirect-function support.
10461         * INSTALL: Regenerated.
10463 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
10465         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
10466         macro.
10467         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10468         (__iseqsig): New declaration.
10469         * math/s_iseqsig_template.c: New file.
10470         * math/Versions (__iseqsigf): New libm symbol at version
10471         GLIBC_2.25.
10472         (__iseqsig): Likewise.
10473         (__iseqsigl): Likewise.
10474         * math/libm-test.inc (iseqsig_test_data): New array.
10475         (iseqsig_test): New function.
10476         (main): Call iseqsig_test.
10477         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
10478         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
10479         * manual/libm-err-tab.pl: Update comment on interfaces without
10480         ulps tabulated.
10481         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
10482         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
10483         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
10484         * sysdeps/nacl/libm.abilist: Update.
10485         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10486         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10487         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10488         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10489         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10490         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10491         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10492         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10493         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10494         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10495         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10496         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10498         Likewise.
10499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10500         Likewise.
10501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10502         Likewise.
10503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10504         Likewise.
10505         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10506         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10507         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10508         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10509         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10511         Likewise.
10512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10513         Likewise.
10514         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10515         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10516         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10518 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10520         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
10521         do_sincos_2, sloww, sloww1): Update comments.
10523         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
10524         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
10526         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
10527         K boolean and rename it.
10528         (__sin): Adjust.
10529         (__cos): Adjust.
10531 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10532             Siddhesh Poyarekar  <siddhesh@sourceware.org>
10534         * manual/nss.texi: Fix typos in the manual.
10536 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10538         * manual/contrib.texi: Fix typos in the manual.
10540         * manual/maint.texi: Fix typos in the manual.
10542         * manual/install.texi: Fix typos in the manual.
10543         * INSTALL: Regenerated.
10545         * manual/lang.texi: Fix typos in the manual.
10547         * manual/probes.texi: Fix typos in the manual.
10549         * manual/threads.texi: Fix typos in the manual.
10551         * manual/debug.texi: Fix typos in the manual.
10553         * manual/crypt.texi: Fix typos in the manual.
10555         * manual/conf.texi: Fix typos in the manual.
10557         * manual/sysinfo.texi: Fix typos in the manual.
10559         * manual/users.texi: Fix typos in the manual.
10561         * manual/job.texi: Fix typos in the manual.
10563         * manual/process.texi: Fix typos in the manual.
10565         * manual/argp.texi: Fix typos in the manual.
10566         * manual/getopt.texi: Likewise.
10567         * manual/startup.texi: Likewise.
10569         * manual/signal.texi: Fix typos in the manual.
10571         * manual/setjmp.texi: Fix typos in the manual.
10573         * manual/resource.texi: Fix typos in the manual.
10575         * manual/time.texi: Fix typos in the manual.
10577         * manual/arith.texi: Fix typos in the manual.
10579         * manual/math.texi: Fix typos in the manual.
10581         * manual/syslog.texi: Fix typos in the manual.
10583         * manual/terminal.texi: Fix typos in the manual.
10585         * manual/socket.texi: Fix typos in the manual.
10587         * manual/filesys.texi: Fix typos in the manual.
10589         * manual/llio.texi: Fix typos in the manual.
10591         * manual/stdio.text: Fix typos in the manual.
10593 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10595         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
10596         instead of K1.
10598         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
10599         SHIFT_QUADRANT and make it bool.
10600         (do_sincos_2): Likewise.
10601         (sloww): Likewise.
10602         (sloww1): Likewise.
10603         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
10604         (__cos): Likewise.
10606 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10608         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10610 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
10612         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
10613         Define to __WORDSIZE, not conditional on [LONG_MAX ==
10614         0x7fffffffL].
10615         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10617 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10619         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
10620         inline by __inline__.
10621         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
10622         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
10623         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
10624         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
10625         sigset_t from signal.h.
10626         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
10627         which is already required.
10629 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
10631         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10633 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
10635         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
10636         (struct tcp_repair_window): New type.
10638 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10640         * libio/tst-memstream3.c: Include string.h.
10642 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10644         [BZ #18241]
10645         [BZ #20181]
10646         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
10647         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
10648         write position is at the end the buffer.
10649         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
10650         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
10651         (_IO_str_seekoff): Set correct offset from negative displacement and
10652         set EINVAL for invalid ones.
10653         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
10654         buffer length.
10655         (_IO_wstr_switch_to_get_mode): New function.
10656         (_IO_wstr_seekoff): Set correct offset from negative displacement and
10657         set EINVAL for invalid ones.
10658         * libio/tst-memstream3.c: New file.
10659         * libio/tst-wmemstream3.c: Likewise.
10660         * manual/examples/memstrm.c: Remove warning when priting size_t.
10662 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10664         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
10665         macro to use __builtin_fma.
10666         * sysdeps/x86_64/fpu/dla.h: Remove file.
10668         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
10669         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
10670         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
10672 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
10674         [BZ #20292]
10675         * elf/Makefile (routines): Add dl-addr-obj.
10676         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
10677         tst-_dl_addr_inside_object.
10678         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
10679         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10680         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
10681         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10682         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
10683         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
10684         * elf/dl-open.c: Likewise.
10685         * elf/dl-addr-obj.c: New file.
10686         * elf/tst-_dl_addr_inside_object.c: New file.
10688 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10690         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
10691         <bits/iscanonical.h>.
10692         * bits/iscanonical.h: New file.
10693         * math/s_iscanonicall.c: Likewise.
10694         * math/Versions (__iscanonicall): New libm symbol at version
10695         GLIBC_2.25.
10696         * math/libm-test.inc (iscanonical_test_data): New array.
10697         (iscanonical_test): New function.
10698         (main): Call iscanonical_test.
10699         * math/Makefile (headers): Add bits/iscanonical.h.
10700         (type-ldouble-routines): Add s_iscanonicall.
10701         * manual/arith.texi (Floating Point Classes): Document
10702         iscanonical.
10703         * manual/libm-err-tab.pl: Update comment on interfaces without
10704         ulps tabulated.
10705         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
10706         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
10707         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
10708         Likewise.
10709         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10710         test-iscanonical-ldbl-128ibm.
10711         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
10712         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
10713         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
10714         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
10715         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10716         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10717         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10719         Likewise.
10720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10721         Likewise.
10722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10723         Likewise.
10724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10725         Likewise.
10726         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10727         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10729 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10731         * string/bits/string3.h: Remove C++ style comments.
10733 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10735         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
10736         instead of ternary condition.
10737         (do_sincos_2): Likewise.
10738         (__sin): Likewise.
10739         (__cos): Likewise.
10740         (slow): Likewise.
10741         (sloww): Likewise.
10742         (sloww1): Likewise.
10743         (bsloww): Likewise.
10744         (bsloww1): Likewise.
10746         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
10747         instead of ternary condition.
10748         (do_sin_slow): Likewise.
10749         (do_sincos_1): Likewise.
10750         (do_sincos_2): Likewise.
10751         (__cos): Likewise.
10752         (sloww): Likewise.
10753         (sloww1): Likewise.
10754         (sloww2): Likewise.
10755         (bsloww): Likewise.
10756         (bsloww1): Likewise.
10757         (bsloww2): Likewise.
10759         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
10760         check from here...
10761         (slow2): ... and here...
10762         (__sin): ... to here.
10764 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
10766         * math/math.h
10767         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
10768         Cast argument to its own type.
10769         * math/test-iszero-excess-precision.c: New file.
10770         * math/Makefile (tests): Add test-iszero-excess-precision.
10771         (CFLAGS-test-iszero-excess-precision.c): New variable.
10773 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
10775         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
10776         field, add err field.
10777         (__spawni_child): Report error through err member instead of pipe.
10778         (__spawnix): Likewise.
10780 2016-09-28  Zack Weinberg  <zackw@panix.com>
10782         * scripts/check-installed-headers.sh: Generalize treatment of
10783         sys/elf.h to all target architectures.
10785         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
10786         deleted typedef ucontext_t.
10788 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10790         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
10791         (__INTERNAL_SYSCALL1): Likewise.
10792         (__INTERNAL_SYSCALL2): Likewise.
10793         (__INTERNAL_SYSCALL3): Likewise.
10794         (__INTERNAL_SYSCALL4): Likewise.
10795         (__INTERNAL_SYSCALL5): Likewise.
10796         (__INTERNAL_SYSCALL6): Likewise.
10797         (__INTERNAL_SYSCALL7): Likewise.
10798         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
10799         (__INTERNAL_SYSCALL_NARGS): Likewise.
10800         (__INTERNAL_SYSCALL_DISP): Likewise.
10801         (INTERNAL_SYSCALL_CALL): Likewise.
10802         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
10803         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
10804         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
10805         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
10806         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
10807         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
10808         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
10809         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
10810         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
10811         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
10812         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
10813         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
10814         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
10816 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
10818         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
10819         macro.
10820         * math/libm-test.inc (iszero_test_data): New array.
10821         (iszero_test): New function.
10822         (main): Call iszero_test.
10823         * manual/arith.texi (Floating Point Classes): Document iszero.
10824         * manual/libm-err-tab.pl: Update comment on interfaces without
10825         ulps tabulated.
10827 2016-09-23  Zack Weinberg  <zackw@panix.com>
10829         * scripts/check-installed-headers.sh: New script.
10830         * Rules: In each directory that defines header files to be installed,
10831         run check-installed-headers.sh on them as a special test.
10832         * Makefile: Likewise for the headers installed at top level.
10834         * include/aliases.h, include/alloca.h, include/argz.h
10835         * include/arpa/nameser.h, include/arpa/nameser_compat.h
10836         * include/elf.h, include/envz.h, include/err.h
10837         * include/execinfo.h, include/fpu_control.h, include/getopt.h
10838         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
10839         * include/link.h, include/malloc.h, include/mcheck.h
10840         * include/mntent.h, include/netinet/ether.h
10841         * include/nss.h, include/obstack.h, include/printf.h
10842         * include/pty.h, include/resolv.h, include/rpc/auth.h
10843         * include/rpc/auth_des.h, include/rpc/auth_unix.h
10844         * include/rpc/clnt.h, include/rpc/des_crypt.h
10845         * include/rpc/key_prot.h, include/rpc/netdb.h
10846         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
10847         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
10848         * include/rpc/rpc_msg.h, include/rpc/svc.h
10849         * include/rpc/svc_auth.h, include/rpc/xdr.h
10850         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
10851         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
10852         * include/rpcsvc/ypupd.h, include/shadow.h
10853         * include/stdio_ext.h, include/sys/epoll.h
10854         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
10855         * include/sys/prctl.h, include/sys/profil.h
10856         * include/sys/statfs.h, include/sys/sysctl.h
10857         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
10858         * sysdeps/arm/nacl/include/bits/setjmp.h
10859         * sysdeps/mips/include/sys/asm.h
10860         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
10861         * sysdeps/unix/sysv/linux/include/sys/timex.h
10862         * sysdeps/x86/fpu/include/bits/fenv.h:
10863         Add #ifndef _ISOMAC guard around internal declarations.
10864         Add multiple-inclusion guard if not already present.
10866 2016-09-23  Zack Weinberg  <zackw@panix.com>
10868         * sysdeps/generic/sys/ucontext.h
10869         * sysdeps/arm/sys/ucontext.h
10870         * sysdeps/i386/sys/ucontext.h
10871         * sysdeps/m68k/sys/ucontext.h
10872         * sysdeps/mips/sys/ucontext.h
10873         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
10874         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
10875         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
10876         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
10877         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
10878         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
10879         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
10880         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
10881         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
10882         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
10883         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
10884         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
10885         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
10886         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
10887         Include both bits/sigcontext.h and bits/sigstack.h.
10888         Fix grammar error in comment, if present.
10890         * bits/sigstack.h
10891         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
10892         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
10893         * sysdeps/unix/sysv/linux/bits/sigstack.h
10894         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
10895         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
10896         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
10897         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
10898         * bits/sigcontext.h
10899         * sysdeps/mach/hurd/i386/bits/sigcontext.h
10900         * sysdeps/unix/sysv/linux/bits/sigcontext.h
10901         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
10902         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
10903         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
10904         as well as signal.h, if this was not already allowed.  Request
10905         definition of size_t if necessary.  Minimize semantically-null
10906         differences across files.
10908 2016-09-23  Zack Weinberg  <zackw@panix.com>
10910         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
10911         Remove all logic conditional on __need macros.  Move all the
10912         conditionally defined types to their own headers...
10913         * time/bits/types/clock_t.h: Define clock_t here.
10914         * time/bits/types/clockid_t.h: Define clockid_t here.
10915         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
10916         * time/bits/types/struct_timespec.h: Define struct timespec here.
10917         * time/bits/types/struct_timeval.h: Define struct timeval here.
10918         * time/bits/types/struct_tm.h: Define struct tm here.
10919         * time/bits/types/time_t.h: Define time_t here.
10920         * time/bits/types/timer_t.h: Define timer_t here.
10921         * time/Makefile: Install the new headers.
10923         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
10924         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
10925         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
10926         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
10927         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
10928         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
10929         * sysdeps/unix/sysv/linux/bits/resource.h
10930         * sysdeps/unix/sysv/linux/bits/timex.h
10931         * sysdeps/unix/sysv/linux/mips/bits/resource.h
10932         * sysdeps/unix/sysv/linux/net/ppp_defs.h
10933         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
10934         * sysdeps/unix/sysv/linux/sys/acct.h
10935         * sysdeps/unix/sysv/linux/sys/timerfd.h
10936         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
10937         * time/sys/time.h, time/sys/timeb.h
10938         Use the new bits/types headers.
10940         * include/time.h: Remove __need logic.
10941         * include/bits/time.h
10942         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
10943         * include/bits/types/time_t.h, include/bits/types/timer_t.h
10944         * include/bits/types/struct_itimerspec.h
10945         * include/bits/types/struct_timespec.h
10946         * include/bits/types/struct_timeval.h
10947         * include/bits/types/struct_tm.h:
10948         New wrapper headers.
10950 2016-09-23  Zack Weinberg  <zackw@panix.com>
10952         * sysdeps/mach/hurd/net/if_ppp.h
10953         * sysdeps/unix/sysv/linux/net/if_ppp.h:
10954         Only define struct ifpppstatsreq and struct ifpppcstatsreq
10955         if __USE_MISC is defined, to ensure struct ifreq is declared.
10957         * inet/netinet/ether.h: Condition all function prototypes
10958         on __USE_MISC, to ensure struct ether_addr is declared.
10960         * socket/bits/types/struct_osockaddr.h: New header.
10961         * include/bits/types/struct_osockaddr.h: New wrapper.
10962         * socket/Makefile: Install the new header.
10963         * socket/sys/socket.h, inet/protocols/talkd.h:
10964         Refer to bits/types/struct_osockaddr.h for the definition of
10965         struct osockaddr.
10967 2016-09-23  Zack Weinberg  <zackw@panix.com>
10969         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
10970         * inet/protocols/routed.h, inet/protocols/talkd.h
10971         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
10972         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
10973         * sysdeps/generic/netinet/if_ether.h
10974         * sysdeps/generic/netinet/in_systm.h
10975         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
10976         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10977         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
10978         * sysdeps/mach/hurd/net/if_arp.h
10979         * sysdeps/mach/hurd/net/if_ppp.h
10980         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
10981         * sysdeps/unix/sysv/linux/bits/in.h
10982         * sysdeps/unix/sysv/linux/net/ethernet.h
10983         * sysdeps/unix/sysv/linux/net/if_arp.h
10984         * sysdeps/unix/sysv/linux/net/if_ppp.h
10985         * sysdeps/unix/sysv/linux/net/if_shaper.h
10986         * sysdeps/unix/sysv/linux/net/route.h
10987         * sysdeps/unix/sysv/linux/netinet/if_ether.h
10988         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10989         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10990         * sysdeps/unix/sysv/linux/netipx/ipx.h
10991         * sysdeps/unix/sysv/linux/sys/acct.h
10992         * include/arpa/nameser.h, include/resolv.h:
10993         Change all uses of u_char to unsigned char,
10994         u_short and ushort to unsigned short, u_int and uint to unsigned int,
10995         u_long and ulong to unsigned long, u_int8_t to uint8_t,
10996         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
10997         and u_int64_t and u_quad_t to uint64_t.
10999         * mach/sys/reboot.h: Remove two casts of integer literals
11000         to the types they already have.
11002         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
11003         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
11004         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
11005         from referring to 'unsigned char' to 'uint8_t' for consistency with
11006         the macro definition below.
11008         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
11009         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
11010         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
11011         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
11012         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
11013         * sysdeps/unix/sysv/linux/sys/acct.h
11014         * include/arpa/nameser.h, include/resolv.h:
11015         Fix indentation disrupted by mechanical edits.
11017         * inet/protocols/talkd.h, resolv/arpa/nameser.h
11018         * sysdeps/generic/netinet/in_systm.h
11019         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
11020         * sysdeps/gnu/netinet/udp.h
11021         * sysdeps/unix/sysv/linux/net/ethernet.h
11022         * sysdeps/unix/sysv/linux/net/if_arp.h
11023         * sysdeps/unix/sysv/linux/net/if_ppp.h
11024         * sysdeps/unix/sysv/linux/net/if_shaper.h
11025         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
11026         * sysdeps/unix/sysv/linux/netinet/if_tr.h
11027         * sysdeps/unix/sysv/linux/netipx/ipx.h
11028         * sysdeps/unix/sysv/linux/sys/acct.h
11029         Include stdint.h for uintNN_t definitions.
11030         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
11032 2016-09-23  Zack Weinberg  <zackw@panix.com>
11034         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
11035         * sysdeps/unix/sysv/linux/netrose/rose.h:
11036         Include sys/socket.h and netax25/ax25.h.
11038         * inet/netinet/icmp6.h, inet/netinet/ip6.h
11039         * resolv/arpa/nameser_compat.h:
11040         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
11042         * sysdeps/unix/sysv/linux/sys/quota.h:
11043         Use __caddr_t instead of caddr_t.
11044         * sysdeps/unix/sysv/linux/sys/timerfd.h:
11045         Use __clockid_t instead of clockid_t.
11047         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
11049         * argp/argp.h: Check whether _LIBC is defined before expanding it.
11050         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
11051         expanding it.
11053         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
11054         Define __glibc_c99_flexarr_available to 1 when the compiler
11055         supports C99-compatible flexible array members, 0 otherwise.
11056         * sysdeps/unix/sysv/linux/bits/socket.h
11057         * sysdeps/mach/hurd/bits/socket.h
11058         * bits/socket.h: Use __glibc_c99_flexarr_available in
11059         definitions of struct cmsghdr and CMSG_DATA.
11061 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11063         * manual/nss.texi (NSS Modules Interface): Adjust function return
11064         type to enum nss_status.  Document errnop argument.  Clarify
11065         h_errnop semantics.  Fix cross-reference formatting.
11066         (NSS Module Function Internals): Mention that *errnop needs to be
11067         set on failure, but not to zero.
11069 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11071         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
11072         (get_random_name): New functions.
11073         (check_wrapper_flags_mode): Use linkat to give the new file a name
11074         determined by get_random_name.
11075         (do_test): Add calls to test open64 and openat64.
11077 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11079         * test-skeleton.c: Remove #include <stdarg.h>.
11081 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
11083         [BZ #19826]
11084         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
11085         initialization of static TLS entries.
11086         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
11087         * nptl/allocatestack.c (init_one_static_tls): Likewise.
11089 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11091         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
11092         _hurd_malloc_fork_prepare.
11093         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
11094         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
11095         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
11096         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
11097         (_hurd_fork_child_hook): Drop malloc_fork_child.
11098         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
11099         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
11100         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
11101         after locking locks (notably hurd_dtable_lock). Call
11102         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
11103         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
11104         __malloc_fork_unlock_child.
11105         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
11107 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
11109         * soft-fp/extendhftf2.c: New.
11110         * soft-fp/fixhfti.c: Likewise.
11111         * soft-fp/fixunshfti.c: Likewise.
11112         * soft-fp/floattihf.c: Likewise.
11113         * soft-fp/floatuntihf.c: Likewise.
11114         * soft-fp/half.h: Likewise.
11115         * soft-fp/trunctfhf2.c: Likewise.
11117 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
11119         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
11120         macro.
11121         * math/libm-test.inc (issubnormal_test_data): New array.
11122         (issubnormal_test): New function.
11123         * manual/arith.texi (Floating Point Classes): Document
11124         issubnormal.
11125         * manual/libm-err-tab.pl: Update comment on interfaces without
11126         ulps tabulated.
11128         * sysdeps/generic/stdint.h: Define
11129         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11130         <bits/libc-header-start.h> instead of including <features.h>.
11131         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
11132         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
11133         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
11134         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
11135         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
11136         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
11137         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
11138         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
11139         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
11140         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
11141         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
11142         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
11143         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
11144         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
11145         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
11146         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
11147         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
11148         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
11149         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
11150         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
11151         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
11152         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
11153         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
11154         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
11155         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
11156         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
11157         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
11158         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
11159         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
11160         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
11161         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
11162         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
11163         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
11164         * manual/arith.texi (Integers): Document these macros for types
11165         specified by width properties.
11166         * manual/lang.texi (Width of Type): Document these macros for
11167         other standard typedefs.
11168         * stdlib/tst-width-stdint.c: New file.
11169         * stdlib/Makefile (tests): Add tst-width-stdint.
11171 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11173         [BZ #20016]
11174         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
11175         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
11176         Move ...
11177         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
11178         ... here, as compatibility symbols in a new file.
11179         * resolv/Makefile (libresolv-routines): Add compat-hooks.
11180         * resolv/res_init.c (__res_vinit): Adjust member names.
11181         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
11182         * resolv/resolv.h (res_sendhookact, res_send_qhook)
11183         (res_send_rhook): Remove.
11184         (struct __res_state): Rename qhook, rhook members.
11186 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11188         malloc: Use __libc_lock wrappers.
11189         * malloc/arena.c (list_lock, free_list_lock): Define using
11190         __libc_lock_define_initialized.
11191         (arena_lock): Adjust formatting.
11192         * malloc/malloc.c (struct malloc_state): Define mutex using
11193         __libc_lock_define.
11194         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
11195         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
11196         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
11197         (mutex_unlock, mutex_trylock): Remove.
11198         (__pthread_initialize): Remove unused macro.
11199         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
11200         (mutex_unlock, mutex_trylock): Remove.
11202 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11204         [BZ #20592]
11205         Remove RR type classification macros.
11206         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
11207         (ns_t_udp_p, ns_t_xfr_p): Remove.
11209 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11211         Remove misleading version information.
11212         * resolv/arpa/nameser.h (__NAMESER): Remove.
11213         * resolv/arpa/nameser_compat.h (__BIND): Remove.
11215 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11217         Remove the always-defined BIND_4_COMPAT macro.
11218         * resolv/arpa/nameser.h: Unconditionally include
11219         <arpa/nameser_compat.h>.
11220         (BIND_4_COMPAT): Remove.
11221         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
11223 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11225         [BZ #20591]
11226         Remove obsolete DNSSEC support.
11227         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
11228         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
11229         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
11230         (ns_verify_tcp, ns_verify_tcp_init): Remove.
11231         (ns_cert_types): Add comment.
11232         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
11233         separately.
11234         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
11235         (dst_s_dns_key_id): Remove.
11236         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
11237         variables.
11239 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11241         [BZ #20524]
11242         * manual/string.texi (String/Array Comparison): Clarify the
11243         strverscmp behavior.
11245 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11247         * test-skeleton.c (xasprintf): Add function.
11248         * io/tst-open-tmpfile.c: New test.
11249         * io/Makefile (tests): Add it.
11251 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11253         Avoid running $(CXX) during build to obtain header file paths.
11254         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
11255         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
11256         * Makerules (cstdlib, cmath): Remove variables.  Use
11257         $(c++-cstdlib-header), $(c++-cmath-header) instead.
11258         * configure: Regenerate.
11260 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11262         * Makeconfig (all-object-suffixes): Include .op only if
11263         $(build-profile).
11265 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11267         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
11268         conditionals.  Do not define PATH_MAX.
11270 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11272         * posix/Makefile (tests): Add tst-spawn3.
11273         * posix/tst-spawn3.c: New file.
11274         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
11275         if it is already opened for open action.
11277         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
11278         all signals when executing the clone vfork child.
11279         (SIGALL_SET): Remove macro.
11281         * nptl/Makefile (tests): Add tst-exec5.
11282         * nptl/tst-exec5.c: New file.
11283         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
11284         asynchronous cancellation.
11286 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11288         * hurd/exc2signal.c: #include <hurd/signal.h>
11289         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
11290         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
11291         accordingly.
11292         * mach/mach_error.c (mach_error): Fix old-style function definition.
11293         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
11295 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11297         * math/Makefile (libm-calls): Remove s_nanF.
11298         (gen-libm-calls): Add s_nanF.
11300         * math/s_nan.c: Refactor into ...
11301         * math/s_nan_template.c: New file.
11303         * math/s_nanf.c: Removed.
11304         * math/s_nanl.c: Removed.
11305         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
11306         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
11308         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11309         (LDOUBLE_nanl_libm_version): New macro.
11311         * sysdeps/generic/math-type-macros-double.h:
11312         (M_STRTO_NAN): New macro.
11313         * sysdeps/generic/math-type-macros-float.h: Likewise.
11314         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
11316         * sysdeps/generic/math-type-macros.h: Document
11317         M_STRTO_NAN.
11319 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11321         * math/s_nanf.c: Remove __nanf undef.
11322         * math/s_nan.c: Remove __nan undef.
11323         * math/s_nanl.c: Remove __nanl undef.
11325         * sysdeps/generic/math_private.h (__nan): Remove macro
11326         override.
11327         (__nanf): Likewise.
11328         (__nanl): Likewise.
11330 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11332         * math/Makefile (gen-all-calls): New variable.
11333         (generated): Replace gen-libm-calls with gen-all-calls.
11334         (gen-libm-templates.stmp): Likewise.  Also, ensure
11335         the output directory exists or is created and add
11336         dependency on the Makefile.
11337         (calls): Move s_ldexpF into gen-calls.
11338         (gen-calls): New variable.
11340         * math/s_ldexpf.c: Removed.
11341         * math/s_ldexpl.c: Removed.
11342         * math/s_ldexp.c: Refactored into ...
11343         * math/s_ldexp_template.c: New file.
11345         * sysdeps/generic/math-type-macros-double.h: Remove
11346         redundant fall-through definition of declare_mgen_alias.
11347         (declare_mgen_alias_2): New macro.
11349         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
11350         New macro for function aliased to two exported symbols.
11352         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
11353         new template file.
11354         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11356 2016-09-20  Florian Weimer  <fweimer@redhat.com>
11358         * Makeconfig (all-object-suffixes): Remove .og.
11359         * Makerules (elide-routines.og): Remove.
11360         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
11361         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
11362         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
11364 2016-09-20  Florian Weimer  <fweimer@redhat.com>
11366         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
11367         .os objects.
11369 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11371         [BZ #20615]
11372         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
11373         fpu directory by non-fpu.
11374         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
11375         on non-fpu directory from a fpu directory.
11377 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
11379         * include/limits.h: Define
11380         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11381         <bits/libc-header-start.h> instead of including <features.h>.
11382         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
11383         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
11384         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
11385         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
11386         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
11387         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
11388         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
11389         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
11390         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
11391         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
11392         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
11393         * manual/lang.texi (Width of Type): Document these macros.
11394         * stdlib/tst-width.c: New file.
11395         * stdlib/Makefile (tests): Add tst-width.
11397 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11399         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
11400         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
11402 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11404         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
11405         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
11406         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
11408 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11410         [BZ #18243]
11411         * rt/Makefile (test): Add tst-shm-cancel.
11412         * rt/tst-shm-cancel.c: New file.
11413         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
11415         [BZ #18243]
11416         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
11417         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
11418         definition.
11419         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
11420         uncontended case.
11421         * nptl/sem_wait.c (__new_sem_wait): Likewise.
11422         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
11423         (tf): Fix check for uncontended case.
11424         (do_test): Likewise.
11425         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
11426         (tf): Fix check for uncontended case.
11427         (do_test): Likewise.
11428         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
11429         (tf): Fix check for uncontended case.
11430         (do_test): Likewise.
11431         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
11432         (tf): Fix check for uncontended case.
11433         (do_test): Likewise.
11435         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
11436         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
11438         [BZ #15765]
11439         * nptl/Makefile (tests): Add tst-sem16.
11440         * nptl/tst-sem16.c: New file.
11441         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
11443         * nptl/sem_open.c (sem_open): Init pad value to 0.
11444         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
11445         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
11447 2016-09-15  Florian Weimer  <fweimer@redhat.com>
11449         [BZ #20611]
11450         * inet/Makefile (routines): Add inet6_scopeid_pton.
11451         (tests): Add tst-inet6_scopeid_pton.
11452         * inet/inet6_scopeid_pton.c: New file.
11453         * inet/net-internal.h: Likewise.
11454         * inet/tst-inet6_scopeid_pton.c: New test.
11455         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
11456         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
11457         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11459 2016-09-14  Florian Weimer  <fweimer@redhat.com>
11461         Remove support for compiling wrappers with PTW.
11462         * sysdeps/nptl/Makeconfig: Drop ptw- support.
11463         * nptl/Makefile (pthread-compat-wrappers): Define.
11464         (libpthread-routines): Use pthread-compat-wrappers.
11465         * sysdeps/unix/sysv/linux/alpha/Makefile
11466         (libpthread-routines, libpthread-shared-only-routines): Remove
11467         ptw- prefix.
11468         * sysdeps/s390/nptl/Makefile
11469         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11470         * sysdeps/ia64/nptl/Makefile
11471         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11472         * sysdeps/nacl/Makefile (libpthread-routines): Use
11473         pthread-compat-wrappers to filter the routines list instead of the
11474         ptw- prefix.
11476 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11478         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
11479         with L() and remove explicit suffix, convert real literals
11480         which can be equivalentally substituted with integers, and
11481         transform -L(x) to L(-x).
11483         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11484         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11485         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11486         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11487         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11488         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11489         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11490         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11491         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11492         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11493         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11494         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11495         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11496         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11497         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11498         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11499         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11500         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11501         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11502         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11503         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11504         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11505         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11506         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11507         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11508         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11509         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11510         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11511         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11512         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11513         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11514         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11515         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11516         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11517         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11518         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11519         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11520         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11521         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11522         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11523         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11524         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11525         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11526         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11527         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11528         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11529         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11530         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11531         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11532         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11534 2016-09-13  Florian Weimer  <fweimer@redhat.com>
11536         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
11538 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11540         * malloc/Makefile (tests): Remove individual static test names
11541         and just add all of tests-static.
11543         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
11545 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
11547         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
11548         file.
11550         * sysdeps/sparc/fpu/fegetmode.c: New file.
11551         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
11553         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
11554         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
11556         * sysdeps/s390/fpu/fegetmode.c: New file.
11557         * sysdeps/s390/fpu/fesetmode.c: Likewise.
11559         * sysdeps/powerpc/fpu/fegetmode.c: New file.
11560         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
11561         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
11562         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
11563         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
11564         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
11566         * sysdeps/mips/fpu/fegetmode.c: New file.
11567         * sysdeps/mips/fpu/fesetmode.c: Likewise.
11569         * sysdeps/m68k/fpu/fegetmode.c: New file.
11570         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
11572         * sysdeps/ia64/fpu/fegetmode.c: New file.
11573         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
11575         * sysdeps/hppa/fpu/fegetmode.c: New file.
11576         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
11578         * sysdeps/arm/fegetmode.c: New file.
11579         * sysdeps/arm/fesetmode.c: Likewise.
11581         * sysdeps/alpha/fpu/fegetmode.c: New file.
11582         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
11584         * sysdeps/aarch64/fpu/fegetmode.c: New file.
11585         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
11587         * math/fegetmode.c: New file.
11588         * math/fesetmode.c: Likewise.
11589         * sysdeps/i386/fpu/fegetmode.c: Likewise.
11590         * sysdeps/i386/fpu/fesetmode.c: Likewise.
11591         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
11592         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
11593         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
11594         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
11595         declaration.
11596         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
11597         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
11598         typedef.
11599         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11600         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11601         (femode_t): New typedef.
11602         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11603         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11604         (femode_t): New typedef.
11605         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11606         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11607         (femode_t): New typedef.
11608         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11609         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11610         (femode_t): New typedef.
11611         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11612         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11613         (femode_t): New typedef.
11614         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11615         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11616         (femode_t): New typedef.
11617         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11618         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11619         (femode_t): New typedef.
11620         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11621         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11622         (femode_t): New typedef.
11623         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11624         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11625         (femode_t): New typedef.
11626         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11627         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11628         (femode_t): New typedef.
11629         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
11630         declaration.
11631         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11632         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11633         (femode_t): New typedef.
11634         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11635         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11636         (femode_t): New typedef.
11637         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11638         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11639         (femode_t): New typedef.
11640         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11641         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11642         (femode_t): New typedef.
11643         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11644         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11645         (femode_t): New typedef.
11646         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11647         * manual/arith.texi (FE_DFL_MODE): Document macro.
11648         (fegetmode): Document function.
11649         (fesetmode): Likewise.
11650         * math/Versions (fegetmode): New libm symbol at version
11651         GLIBC_2.25.
11652         (fesetmode): Likewise.
11653         * math/Makefile (libm-support): Add fegetmode and fesetmode.
11654         (tests): Add test-femode and test-femode-traps.
11655         * math/test-femode-traps.c: New file.
11656         * math/test-femode.c: Likewise.
11657         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
11658         alias for __fe_dfl_env.
11659         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
11660         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
11661         (__fe_dfl_mode): Likewise.
11662         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
11663         version GLIBC_2.25.
11664         * sysdeps/nacl/libm.abilist: Update.
11665         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11666         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11667         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11668         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11669         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11670         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11671         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11672         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11673         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11674         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11675         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11676         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11678         Likewise.
11679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11680         Likewise.
11681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11682         Likewise.
11683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11684         Likewise.
11685         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11686         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11687         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11688         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11689         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11691         Likewise.
11692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11693         Likewise.
11694         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11695         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11696         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11698 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11700         [BZ #20495]
11701         [BZ #20508]
11702         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
11703         processors, set Use_dl_runtime_resolve_slow and set
11704         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
11705         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
11706         New.
11707         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
11708         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
11709         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
11710         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
11711         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
11712         if Use_dl_runtime_resolve_opt is set.  Use
11713         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
11714         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
11715         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
11716         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
11717         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
11718         New.
11719         (_dl_runtime_resolve_opt): Likewise.
11720         (_dl_runtime_profile): Define only if _dl_runtime_profile is
11721         defined.
11723 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11725         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
11726         __libc_memalign with "+ RELA R_390_GLOB_DAT".
11728 2016-09-06  Florian Weimer  <fweimer@redhat.com>
11730         Convert malloc to __libc_lock.  Automated part, using this Perl
11731         s/// command:
11732           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
11733             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
11734         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
11735         conversion.
11737 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
11739         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
11740         (linknamespace-symlists-tests): Likewise.
11741         (linknamespace-header-tests): Likewise.
11743 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
11745         [BZ #19810]
11746         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
11747         * elf/tst-noload.c: New test case.
11748         * elf/Makefile (tests): Add tst-noload.
11750 2016-09-02  Roland McGrath  <roland@hack.frob.com>
11752         * sysdeps/nacl/dup.c: Add libc_hidden_def.
11754         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
11755         not any more.
11757         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
11759 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11761         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
11762         (do_cos_slow): Likewise.
11763         (do_sin): Likewise.
11764         (do_sin_slow): Likewise.
11765         (slow): Likewise.
11766         (slow1): Likewise.
11767         (slow2): Likewise.
11768         (sloww): Likewise.
11769         (sloww1): Likewise.
11770         (sloww2): Likewise.
11771         (bsloww): Likewise.
11772         (bsloww1): Likewise.
11773         (bsloww2): Likewise.
11774         (cslow2): Likewise.
11776         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
11778         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
11779         arguments.  Consolidate input partitioning from callers here.
11780         (do_cos_slow): Likewise.
11781         (do_sin): Likewise.
11782         (do_sin_slow): Likewise.
11783         (do_sincos_1): Remove the no longer necessary input partitioning.
11784         (do_sincos_2): Likewise.
11785         (__sin): Likewise.
11786         (__cos): Likewise.
11787         (slow1): Likewise.
11788         (slow2): Likewise.
11789         (sloww1): Likewise.
11790         (sloww2): Likewise.
11791         (bsloww1): Likewise.
11792         (bsloww2): Likewise.
11793         (cslow2): Likewise.
11795 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11797         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
11798         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
11799         outside of allocated array.
11801 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11803         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
11804         instead of MB_CUR_MAX to avoid variable-length array.
11806 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11808         * math/Makefile (libm-calls): Remove k_rem_pio2F.
11809         (type-double-routines): Add k_rem_pio2.
11810         (type-float-routines): Add k_rem_pio2f.
11812         * sysdeps/generic/math_private.h:
11813         (__kernel_rem_pio2l): Removed.
11815         * math/k_rem_pio2l.c: Removed.
11816         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
11817         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
11818         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
11819         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
11821 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11823         * math/Makefile (gen-libm-calls): Add s_fmin
11824         (libm-calls): Remove above.
11826         * math/s_fmin.c: Refactor into ...
11827         * math/s_fmin_template.c: New file.
11829         * math/s_fminf.c: Removed.
11830         * math/s_fminl.c: Removed.
11831         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11832         (LDOUBLE_fmin_libm_version): New macro.
11834         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
11835         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
11837 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11839         * math/Makefile: (gen-libm-calls): Add s_fmax.
11840         (libm-calls): Remove above.
11842         * math/s_fmax.c: Refactor into ...
11843         * math/s_fmax_template.c: New file.
11844         * math/s_fmaxf.c: Removed.
11845         * math/s_fmaxl.c: Removed.
11847         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11848         (LDOUBLE_fmaxl_libm_version): New macro.
11850         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
11851         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
11853         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
11854         s_fmin.c to pick the aarch64 version of the file.
11855         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
11856         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
11858 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11860         * math/Makefile: (gen-libm-calls): Add s_nextdown.
11861         (libm-calls): Remove above.
11863         * math/s_nextdown.c: Refactor into ...
11864         * math/s_nextdown_template.c: New file.
11865         * math/s_nextdownf.c: Removed.
11866         * math/s_nextdownl.c: Removed.
11868         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
11870 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11872         * math/Makefile (gen-libm-calls): Add s_fdim.
11873         (libm-calls): Move to above.
11875         * math/s_fdim.c: Renamed and refactored into to ...
11876         * math/s_fdim_template.c: New file.
11877         * math/s_fdiml.c: Removed.
11878         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
11879         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
11881         * sysdeps/generic/math-type-macros-double.h:
11882         (declare_mgen_alias): Don't declare if already declared.
11883         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
11884         Likewise.
11886         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11887         (declare_mgen_alias): Don't declare if already declared.
11888         (M_LIBM_NEED_COMPAT): Likewise.
11889         (declare_mgen_libm_compat): Likewise.
11890         (LDOUBLE_fdiml_libm_version): New macro.
11892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11893         Include math/s_fdim.c now that ldbl-opt version is not needed.
11894         (declare_mgen_alias): New macro to disable aliasing.
11896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
11897         (declare_mgen_alias): Likewise.
11898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
11899         (declare_mgen_alias): Likewise.
11900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
11901         (declare_mgen_alias): Likewise.
11902         (M_LIBM_NEED_COMPAT): Likewise.
11904 2016-09-01  Florian Weimer  <fweimer@redhat.com>
11906         [BZ #20525]
11907         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
11908         Include <linux/quota.h>.
11909         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
11910         and btodb.
11911         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
11912         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
11913         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
11914         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
11915         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
11916         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
11917         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
11918         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
11919         types.
11920         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
11921         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
11923 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11925         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
11926         (gammal_positive): Fix spacing.
11927         (__ieee754_gammal_r): Likewise.
11929 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11931         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
11932         (_Float128): Define as long double, always.
11933         (L): Apply long double type suffix, always.
11935         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
11936         _Float128, excepting comments.
11938         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11939         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11940         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11941         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11942         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11943         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11944         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11945         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11946         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11947         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
11948         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11949         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11950         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11951         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11952         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11953         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11954         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11955         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11956         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11957         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11958         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11959         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11960         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11961         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11962         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11963         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11964         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11965         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11966         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11967         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11968         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11969         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11970         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11971         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11972         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11973         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11974         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11975         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11976         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11977         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11978         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11979         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11980         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11981         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11982         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11983         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11984         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11985         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11986         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11987         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11988         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11989         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11990         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11991         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11992         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11993         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11994         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11995         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11996         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11997         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11998         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11999         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12000         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12001         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12002         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12003         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
12004         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12005         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12007         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
12008         _Float128, and include math_private.h.
12009         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12011         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
12012         long double semantics.
12013         (_Float128): Likewise.
12014         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
12015         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12016         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
12017         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
12019 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12021         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
12022         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
12023         * sysdeps/s390/configure: Regenerated.
12024         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
12025         instruction for raising over-/underflow if z196 zarch is supported
12026         by default.
12027         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
12029 2016-08-30  Svante Signell  <svante.signell@gmail.com>
12031         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
12032         it point to a dumb buffer for RPC to fill it.
12034 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12036         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
12037         instead of if/else.
12038         (do_sin_slow): Likewise.
12039         (do_sincos_1): Use fabs instead of if/else.
12040         (do_sincos_2): Likewise.
12041         (__sin): Likewise.
12042         (__cos): Likewise.
12043         (slow2): Likewise.
12044         (sloww): Likewise.
12045         (sloww1): Likewise.  Drop argument M.
12046         (sloww2): Use fabs instead of if/else.
12047         (bsloww): Likewise.
12048         (bsloww1): Likewise.
12049         (bsloww2): Likewise.
12051         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
12052         fall through comment.
12053         (do_sincos_1): Likewise.
12055         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
12056         Consolidate switch cases 0 and 2.
12058 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12060         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
12061         (libm-calls): Remove the above.
12063         * math/s_cexp_template.c: Update using type-generic macros.
12064         * math/s_clog10_template.c: Likewise.
12065         * math/s_cpow_template.c: Likewise.
12066         * math/s_clog_template.c: Likewise.
12067         * math/s_cproj_template.c: Likewise.
12068         * math/s_csqrt_template.c: Likewise.
12070         * math/s_cexp.c: Removed.
12071         * math/s_cexpf.c: Removed.
12072         * math/s_cexpl.c: Removed.
12073         * math/s_clog10.c: Removed.
12074         * math/s_clog10f.c: Removed.
12075         * math/s_clog10l.c: Removed.
12076         * math/s_cpow.c: Removed.
12077         * math/s_cpowf.c: Removed.
12078         * math/s_cpowl.c: Removed.
12079         * math/s_clog.c: Removed.
12080         * math/s_clogf.c: Removed.
12081         * math/s_clogl.c: Removed.
12082         * math/s_cproj.c: Removed.
12083         * math/s_cprojf.c: Removed.
12084         * math/s_cprojl.c: Removed.
12085         * math/s_csqrt.c: Removed.
12086         * math/s_csqrtf.c: Removed.
12087         * math/s_csqrtl.c: Removed.
12089         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
12090         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
12091         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
12092         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
12093         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
12094         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
12096         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
12097         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
12098         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
12099         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
12100         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
12101         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
12102         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
12103         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
12104         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
12105         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
12106         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
12108         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
12109         version.
12111         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
12112         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
12113         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
12114         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
12116 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12118         * s_cexp_template.c: Copy of s_cexp.c.
12119         * s_clog_template.c: Copy of s_clog.c.
12120         * s_clog10_template.c: Copy of s_clog10.c.
12121         * s_cpow_template.c: Copy of s_cpow.c.
12122         * s_cproj_template.c: Copy of s_cproj.c.
12123         * s_csqrt_template.c: Copy of s_csqrt.c.
12125 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12127         [BZ #20517]
12128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
12129         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
12130         exported.
12132 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
12134         * math/fetestexceptflag.c: New file.
12135         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
12136         Stefan Liebler.
12137         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12138         (fetestexceptflag): New function declaration.
12139         * manual/arith.texi (fetestexceptflag): Document function.
12140         * math/Versions (fetestexceptflag): New libm symbol at version
12141         GLIBC_2.25.
12142         * math/Makefile (libm-support): Add fetestexceptflag.
12143         (tests): Add test-fetestexceptflag.
12144         * math/test-fetestexceptflag.c: New file.
12145         * sysdeps/nacl/libm.abilist: Update.
12146         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12147         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12148         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12149         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12150         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12151         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12152         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12153         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12154         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12155         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12156         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12157         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12159         Likewise.
12160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12161         Likewise.
12162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12163         Likewise.
12164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12165         Likewise.
12166         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12167         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12168         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12169         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12170         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12172         Likewise.
12173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12174         Likewise.
12175         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12176         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12177         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12179 2016-08-26  Florian Weimer  <fweimer@redhat.com>
12181         [BZ #20432]
12182         Avoid strong references to malloc-internal symbols when linking
12183         statically, to support statically interposed mallocs.
12184         * include/libc-symbols.h (call_function_static_weak): New macro.
12185         * malloc/Makefile (tests): Add tst-interpose-nothread,
12186         tst-interpose-thread, tst-interpose-static-nothread,
12187         tst-interpose-static-thread.
12188         (tests-static): Add tst-interpose-static-nothread,
12189         tst-interpose-static-thread.
12190         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
12191         tst-interpose-aux-thread.o.
12192         (test-extras): Add tst-interpose-aux-nothread,
12193         tst-interpose-aux-thread.
12194         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
12195         tst-interpose-aux-nothread.o.
12196         (tst-interpose-thread, tst-interpose-static-thread): Link with
12197         tst-interpose-aux-thread.o and libthread.
12198         * malloc/tst-interpose-aux-nothread.c: New file.
12199         * malloc/tst-interpose-aux-thread.c: Likewise.
12200         * malloc/tst-interpose-aux.c: Likewise.
12201         * malloc/tst-interpose-aux.h: Likewise.
12202         * malloc/tst-interpose-nothread.c: Likewise.
12203         * malloc/tst-interpose-skeleton.c: Likewise.
12204         * malloc/tst-interpose-static-nothread.c: Likewise.
12205         * malloc/tst-interpose-static-thread.c: Likewise.
12206         * malloc/tst-interpose-thread.c: Likewise.
12207         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
12208         * sysdeps/mach/hurd/fork.c (__fork): Only call
12209         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
12210         __malloc_fork_unlock_child if defined.
12211         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
12213 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12215         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
12216         timespec C99 designated initialization.
12218 2016-08-26  Florian Weimer  <fweimer@redhat.com>
12220         [BZ #19946]
12221         Avoid expected SIGALRM signals.
12222         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
12223         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
12224         (xpthread_create, xpthread_detach, xpthread_join)
12225         (delayed_exit_thread, delayed_exit): New functions.
12226         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
12227         (tf): Use xpthread_cond_wait.
12228         (do_test): Likewise.  Replace alarm with delayed_exit.
12229         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12230         (do_test): Call delayed_exit.  Report failure.
12231         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12232         (do_test): Call delayed_exit.
12233         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12234         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
12235         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12236         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
12237         error.
12238         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12239         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
12240         error.
12241         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
12242         (do_test): Call delayed_exit.
12243         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
12244         (do_test): Call delayed_exit.
12245         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
12246         (do_test): Call delayed_exit instead of alarm.  Use
12247         xpthread_mutex_lock.
12248         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
12249         (do_test): Call delayed_exit instead of alarm.  Use
12250         xpthread_mutex_lock.
12251         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
12252         (do_test): Call delayed_exit instead of alarm.
12253         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
12254         (do_test): Call delayed_exit instead of alarm.  Use
12255         xpthread_spin_lock.
12256         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
12257         (do_test): Call delayed_exit instead of alarm.  Use
12258         xpthread_join.
12260 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12262         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
12263         adjust CFA when allocating register save area on re-aligned
12264         stack.
12266 2016-08-26  Florian Weimer  <fweimer@redhat.com>
12268         * string/tst-cmp.c: New test.
12269         * string/Makefile (tests): Add it.
12271 2016-08-25  Mark Wielaard  <mark@klomp.org>
12273         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
12274         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
12275         (check_tree_recurse): Use newly defined accessors.
12276         (check_tree): Likewise.
12277         (maybe_split_for_insert): Likewise.
12278         (__tfind): Likewise.
12279         (__tdelete): Likewise.
12280         (trecurse): Likewise.
12281         (tdestroy_recurse): Likewise.
12282         (__tsearch): Likewise. And add asserts for malloc alignment.
12283         (__twalk): Cast root to node in case CHECK_TREE is defined.
12285 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12287         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
12289 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12291         * math/Makefile (libm-gen-calls): Add
12292         catan, catanh, ctan, ctanh.
12293         (libm-calls): Remove the above.
12295         * math/s_catan_template.c: Update using type-generic macros.
12296         * math/s_catanh_template.c: Likewise.
12297         * math/s_ctan_template.c: Likewise.
12298         * math/s_ctanh_template.c: Likewise.
12300         * math/s_catanf.c: Removed.
12301         * math/s_catan.c: Removed.
12302         * math/s_catanl.c: Removed.
12303         * math/s_catanhf.c: Removed.
12304         * math/s_catanh.c: Removed.
12305         * math/s_catanhl.c: Removed.
12306         * math/s_ctanf.c: Removed.
12307         * math/s_ctan.c: Removed.
12308         * math/s_ctanl.c: Removed.
12309         * math/s_ctanhf.c: Removed.
12310         * math/s_ctanh.c: Removed.
12311         * math/s_ctanhl.c: Removed.
12313         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
12314         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
12315         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
12316         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
12317         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
12318         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
12320         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
12321         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
12322         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
12323         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
12325 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12327         * s_catan_template.c: Copy of s_catan.c.
12328         * s_catanh_template.c: Copy of s_catanh.c.
12329         * s_ctan_template.c: Copy of s_ctan.c.
12330         * s_ctanh_template.c: Copy of s_ctanh.c.
12332 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12334         * math/Makefile (gen-libm-calls): Move
12335         casin, casinh, csin, csinh here.
12336         (libm-calls): Remove the above.
12338         * math/s_casin_template.c: Update using type-generic macros.
12339         * math/s_casinh_template.c: Likewise.
12340         * math/s_csin_template.c: Likewise.
12341         * math/s_csinh_template.c: Likewise.
12342         * math/k_casinh_template.c: Likewise.
12344         * math/s_casinf.c: Removed.
12345         * math/s_casin.c: Removed.
12346         * math/s_casinl.c: Removed.
12347         * math/s_casinh.c: Removed.
12348         * math/s_casinhf.c: Removed.
12349         * math/s_casinhl.c: Removed.
12350         * math/s_csin.c: Removed.
12351         * math/s_csinf.c: Removed.
12352         * math/s_csinl.c: Removed.
12353         * math/s_csinh.c: Removed.
12354         * math/s_csinhf.c: Removed.
12355         * math/s_csinhl.c: Removed.
12356         * math/k_casinh.c: Removed.
12357         * math/k_casinhf.c: Removed.
12358         * math/k_casinhl.c: Removed.
12360         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
12361         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
12362         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
12363         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
12365         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
12366         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
12367         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
12368         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
12369         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
12370         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
12371         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
12372         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
12374         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
12375         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
12376         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
12377         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
12379         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
12380         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
12381         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
12382         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
12384 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12386         * s_casin_template.c: Copy of s_casin.c.
12387         * s_casinh_template.c: Copy of s_casinh.c.
12388         * s_csin_template.c: Copy of s_csin.c.
12389         * s_csinh_template.c: Copy of s_csinh.c.
12390         * k_casinh_template.c: Copy of k_casinh.c.
12392 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12394         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
12396 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12398         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
12399         (mul_split) Remove, rename as mul_splitl, remove
12400         redundant float.h include, and include via mul_splitl.h
12402         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12403         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12404         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12405         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12406         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12408         * math/mul_splitl.h: New file.
12410         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
12411         Move into mul_split.h, and remove redundant float.h include.
12413         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12414         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
12415         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12416         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
12418         * math/mul_split.h: New file.
12420 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12422         * math/Makefile (libm-gen-calls): Move
12423         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
12424         (libm-calls): Remove above.
12426         * math/s_cacos_template.c: Update using type-generic macros.
12427         * math/s_cacosh_template.c: Likewise.
12428         * math/s_ccos_template.c: Likewise.
12429         * math/s_ccosh_template.c: Likewise.
12431         * math/s_cacosf.c: Removed.
12432         * math/s_cacos.c: Removed.
12433         * math/s_cacosl.c: Removed.
12434         * math/s_cacoshf.c: Removed.
12435         * math/s_cacosh.c: Removed.
12436         * math/s_cacoshl.c: Removed.
12437         * math/s_ccosf.c: Removed.
12438         * math/s_ccos.c: Removed.
12439         * math/s_ccosl.c: Removed.
12440         * math/s_ccoshf.c: Removed.
12441         * math/s_ccosh.c: Removed.
12442         * math/s_ccoshl.c: Removed.
12444         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
12445         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
12446         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
12447         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
12448         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
12449         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
12451         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
12452         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
12453         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
12454         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
12456         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
12457         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
12458         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
12459         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
12461 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12463         * s_cacos_template.c: Copy of s_cacos.c.
12464         * s_cacosh_template.c: Copy of s_cacosh.c.
12465         * s_ccos_template.c: Copy of s_ccos.c.
12466         * s_ccosh_template.c: Copy of s_ccosh.c.
12468 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12470         * stdlib/tst-strtod-round-skeleton.c:
12471         Refactored from tst-strtod-round.c.
12473         (L_): New macro to apply literal modifier.
12474         (FNPFX): New macro to select str or wcs prefix.
12475         (CHAR): New macro to choose wchar_t or char.
12476         (STRM): New macro to choose printf for tested character type.
12478         (STRTO): New macro to choose appropriate string -> real function.
12479         (FNPFXS): Stringitized version of FNPFX.
12480         (STR): Support for above macro.
12481         (STRX): Likewise.
12483         (TEST): Update with above macros.
12484         (test): Likewise.
12485         (GEN_ONE_TEST): Likewise.
12486         (test_in_one_mode): Likewise.
12488         * stdlib/tst-strtod-round.c: New file.
12489         * wcsmbs/tst-wcstod-round.c: New file.
12491         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
12492         (tst-wcstod-round): Add libm depencency for fesetround.
12494 2016-08-19  Zack Weinberg  <zackw@panix.com>
12496         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
12498 2016-08-18  Torvald Riegel  <triegel@redhat.com>
12500         [BZ #20477]
12501         * resolv/res_hconf.c (do_init): Use atomic access.
12502         * resolv/res_hconf.h: Add comments.
12503         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
12504         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
12505         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12507 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
12509         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12510         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
12511         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12512         Likewise.
12514 2016-08-18  Florian Weimer  <fweimer@redhat.com>
12516         [BZ #16907]
12517         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
12518         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
12519         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
12520         (__attribute__): Remove definition.
12522 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12524         * sysdeps/ieee754/ldbl-128/e_asinl.c:
12525         Remove unused sqrtl declaration.
12527 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12529         * math/Makefile: (gen-libm-templates.stmp): New rule.
12530         (libm-calls): Move carg conj cimag and cabs into ...
12531         (gen-libm-calls): New variable.
12532         (generated): Inform Make objects from gen-libm-calls
12533         may be generated.
12535         * sysdeps/generic/math-type-macros.h: New file.
12536         * sysdeps/generic/math-type-macros-float.h: Likewise.
12537         * sysdeps/generic/math-type-macros-double.h: Likewise.
12538         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
12539         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
12540         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
12542         * math/cabs.c: Refactor into
12543         * math/cabs_template.c: new file.
12544         * math/cabsf.c: Removed.
12545         * math/cabsl.c: Removed.
12546         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
12547         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
12549         * math/carg.c: Refactor into
12550         * math/carg_template.c: new file.
12551         * math/cargf.c: Removed.
12552         * math/cargl.c: Removed.
12553         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
12554         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
12556         * math/conj.c: Refactor into
12557         * math/conj_template.c: new file.
12558         * math/conjf.c: Removed.
12559         * math/conjl.c: Removed.
12560         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
12561         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
12563         * math/cimag.c: Refactor into
12564         * math/cimag_template.c: new file.
12565         * math/cimagf.c: Removed.
12566         * math/cimagl.c: Removed.
12567         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12568         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12570         * math/cimag.c: Refactor into
12571         * math/cimag_template.c: new file.
12572         * math/cimagf.c: Removed.
12573         * math/cimagl.c: Removed.
12574         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12575         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12577 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12579         Reduce time to expected nptl/tst-once5 failure.
12580         * nptl/tst-once5.cc (TIMEOUT): Define.
12582 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12584         [BZ #20452]
12585         Avoid additional copies of objects in libc.a in static libraries.
12586         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
12587         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
12588         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
12589         rt-sysdep.
12590         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
12591         Add nptl-sysdep.
12592         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
12593         Add ptw-sysdep.
12594         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
12595         rt-sysdep.
12596         * sysdeps/unix/sysv/linux/alpha/Makefile
12597         (libpthread-shared-only-routines): Add ptw-sysdep,
12598         ptw-sigprocmask, ptw-rt_sigaction.
12599         * sysdeps/unix/sysv/linux/ia64/Makefile
12600         (librt-shared-only-routines): Add rt-sysdep.
12601         * sysdeps/unix/sysv/linux/i386/Makefile
12602         (libpthread-shared-only-routines): Add libc-do-syscall.
12603         * sysdeps/unix/sysv/linux/microblaze/Makefile
12604         (libpthread-shared-only-routines): Add sysdep.
12605         * sysdeps/unix/sysv/linux/powerpc/Makefile
12606         (librt-shared-only-routines): Add rt-sysdep.
12607         (libpthread-shared-only-routines): Add sysdep.
12608         * sysdeps/unix/sysv/linux/s390/Makefile
12609         (librt-shared-only-routines): Add rt-sysdep.
12610         * sysdeps/unix/sysv/linux/sparc/Makefile
12611         (librt-shared-only-routines): Add rt-sysdep.
12612         (libpthread-shared-only-routines): Add sysdep.
12613         * sysdeps/unix/sysv/linux/tile/Makefile
12614         (libpthread-shared-only-routines): Likewise.
12616 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
12618         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
12619         Mask implicit bit out of unpacked value.
12620         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
12621         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
12622         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
12624         * sysdeps/sparc/fpu/fesetexcept.c: New file.
12626         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
12628         * sysdeps/s390/fpu/fesetexcept.c: New file.
12630         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
12631         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
12632         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
12634         * sysdeps/mips/fpu/fesetexcept.c: New file.
12636         * sysdeps/m68k/fpu/fesetexcept.c: New file.
12638         * sysdeps/ia64/fpu/fesetexcept.c: New file.
12640         * sysdeps/hppa/fpu/fesetexcept.c: New file.
12642         * sysdeps/arm/fesetexcept.c: New file.
12644         * sysdeps/alpha/fpu/fesetexcept.c: New file.
12646         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
12648         * math/fesetexcept.c: New file.
12649         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
12650         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
12651         * math/fenv.h: Define
12652         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12653         <bits/libc-header-start.h> instead of including <features.h>.
12654         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
12655         declaration.
12656         * manual/arith.texi (fesetexcept): Document function.
12657         * math/Versions (fesetexcept): New libm symbol at version
12658         GLIBC_2.25.
12659         * math/Makefile (libm-support): Add fesetexcept.
12660         (tests): Add test-fesetexcept and test-fesetexcept-traps.
12661         * math/test-fesetexcept.c: New file.
12662         * math/test-fesetexcept-traps.c: Likewise.
12663         * sysdeps/nacl/libm.abilist: Update.
12664         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12665         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12666         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12667         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12668         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12669         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12670         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12671         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12672         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12673         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12674         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12675         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12677         Likewise.
12678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12679         Likewise.
12680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12681         Likewise.
12682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12683         Likewise.
12684         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12685         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12686         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12687         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12688         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12690         Likewise.
12691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12692         Likewise.
12693         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12694         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12695         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12697 2016-08-16  Florian Weimer  <fweimer@redhat.com>
12699         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
12700         New.
12701         (do_test): Apply default_stack_size_in_mb if not set.
12702         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
12704 2016-08-15  Andreas Schwab  <schwab@suse.de>
12706         [BZ #20435]
12707         CVE-2016-6323
12708         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
12709         as .cantunwind.
12711 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
12713         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
12714         comment from fraiseexcpt.c.
12716         * math/test-fexcept.c (feraiseexcept_exact): New function.
12717         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
12718         (test_except): Likewise.
12720 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
12722         [BZ #20455]
12723         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
12724         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
12725         to be restored.
12727         * math/test-fexcept-traps.c: New file.
12728         * math/test-fexcept.c: Likewise.
12729         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
12730         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
12731         macro.
12732         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
12733         (EXCEPTION_SET_FORCES_TRAP): Likewise.
12735 2016-08-09  Torvald Riegel  <triegel@redhat.com>
12737         * include/atomic.h (atomic_fetch_and_relaxed,
12738         atomic_fetch_and_release, atomic_fetch_or_release,
12739         atomic_fetch_xor_release): New.
12741 2016-08-06  Christian Seiler  <christian@iwakd.de>
12743         [BZ #20444]
12744         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
12745         MACH_PORT_NULL.
12747 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12749         * math/s_fdim.c: Avoid alias renamed.
12750         * math/s_fdimf.c: Likewise.
12751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12752         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12753         Add s_fdimf-vis3, s_fdim-vis3.
12754         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12755         (CFLAGS-s_fdim-vis3.c): Likewise.
12756         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
12757         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
12759 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12762         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12763         Remove s_fdimf-vis3, s_fdim-vis3.
12764         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
12765         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
12766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
12767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
12768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
12769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
12770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
12771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
12772         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
12773         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
12775 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12777         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
12778         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
12779         -Wa,-Av9a -mvis.
12781 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12783         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
12784         LIT() to individual constants in simple expressions
12785         after splitting on spaces.
12786         (_apply_lit): Rename replaced version, and use it to
12787         apply to what appears to be a token.
12789         * math/libm-test.inc: Fix many, many issues with
12790         spacing.
12792 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
12794         * math/math.h: Move comment about <bits/mathdef.h> definitions
12795         above inclusion of <bits/mathdef.h>.  Do not mention
12796         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
12798 2016-08-05  Torvald Riegel  <triegel@redhat.com>
12800         * include/atomic.h (atomic_exchange_relaxed): New.
12802 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
12804         * math/e_scalb.c: Do not include <fenv.h>.
12805         (invalid_fn): Do calculation resulting in NaN instead of raising
12806         FE_INVALID and returning a NaN explicitly.
12807         * math/e_scalbf.c: Do not include <fenv.h>.
12808         (invalid_fn): Do calculation resulting in NaN instead of raising
12809         FE_INVALID and returning a NaN explicitly.
12810         * math/e_scalbl.c: Do not include <fenv.h>.
12811         (invalid_fn): Do calculation resulting in NaN instead of raising
12812         FE_INVALID and returning a NaN explicitly.
12814 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
12816         * po/de.po: Updated from Translation Project.
12817         * po/fi.po: Likewise.
12818         * po/sv.po: Likewise.
12820 2016-08-04  Florian Weimer  <fweimer@redhat.com>
12822         [BZ #20452]
12823         Use sysdep.o from libc.a in static libraries.
12824         * sysdeps/unix/sysv/linux/i386/Makefile
12825         (libpthread-shared-only-routines): Add sysdep.
12826         (librt-shared-only-routines): Likewise.
12828 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12830         * math/tgmath.h (nextdown): Define if
12831         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
12832         (nextup): Likewise.
12834         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
12835         macro.
12836         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12837         Document.
12838         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12839         Document macro.
12840         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
12841         (exp10f): Likewise.
12842         (exp10l): Likewise.
12843         * math/bits/mathcalls.h (exp10): Declare if
12844         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
12846         * manual/arith.texi (nextup): Fix typo in last change.
12848 2016-08-03  Zack Weinberg  <zackw@panix.com>
12850         [BZ #19239]
12851         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
12852         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
12853         define major, minor, and makedev to issue deprecation warnings on use.
12854         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
12855         previously-activated deprecation warnings for these macros and prevent
12856         subsequent inclusions of this header from having any effect.
12857         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
12858         including <sys/sysmacros.h>, and undefine it again afterward.
12860 2016-08-03  Zack Weinberg  <zackw@panix.com>
12862         * sysdeps/generic/sys/sysmacros.h: Delete file.
12863         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
12864         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
12865         * bits/sysmacros.h: ... here; this encoding is now the generic
12866         encoding.  Now defines only the following macros:
12867         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
12868         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
12869         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
12871         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
12872         bits/sysmacros.h and the above new macros to generate the
12873         public implementations of major, minor, and makedev.
12874         * misc/tst-makedev.c: New test.
12875         * include/sys/sysmacros.h: New wrapper.
12877         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
12878         (routines): Add makedev.
12879         (tests): Add tst-makedev.
12880         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
12881         gnu_dev_makedev.
12882         * posix/Makefile (headers): Remove sys/sysmacros.h.
12883         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
12885         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
12886         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
12887         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12888         * sysdeps/unix/sysv/linux/alpha/libc.abilist
12889         * sysdeps/unix/sysv/linux/arm/libc.abilist
12890         * sysdeps/unix/sysv/linux/hppa/libc.abilist
12891         * sysdeps/unix/sysv/linux/i386/libc.abilist
12892         * sysdeps/unix/sysv/linux/ia64/libc.abilist
12893         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12894         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12895         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12896         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12897         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12898         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12899         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12900         * sysdeps/unix/sysv/linux/nios2/libc.abilist
12901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12905         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12906         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12907         * sysdeps/unix/sysv/linux/sh/libc.abilist
12908         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12909         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12912         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12913         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12914         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12915         Add GLIBC_2.25.
12917         * include/features.h (__glibc_clang_prereq): New macro.
12918         * misc/sys/cdefs.h (__glibc_clang_has_extension)
12919         (__attribute_deprecated_msg__): New macros.
12921 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12923         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
12924         macro.
12925         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
12926         * manual/arith.texi (issignaling): Document as ISO from TS
12927         18661-1:2014.
12928         (nextup): Likewise.
12929         (nextupf): Likewise.
12930         (nextupl): Likewise.
12931         (nextdown): Likewise.
12932         (nextdownf): Likewise.
12933         (nextdownl): Likewise.
12934         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
12935         macro.
12936         * math/math.h: Define
12937         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12938         <bits/libc-header-start.h> instead of including <features.h>.
12939         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
12940         [__USE_GNU].
12941         * math/bits/mathcalls.h (nextdown): Declare if
12942         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
12943         (nextup): Likewise.
12944         (__issignaling): Likewise.
12946 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12948         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
12949         check, and remove __glibc_likely hint
12950         from FP_INFINITE check.
12951         * s_csinhf.c (__csinhf): Likewise.
12953         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
12954         hint from FP_INFINITE check.
12955         * s_csinhl.c (__csinhl): Likewise.
12957 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12959         * math/Makefile (libm-calls): Insert F placeholder into
12960         object names.  Move w_lgamma_compat* routines into
12961         (libm-compat-calls): New variable.
12962         (libm-compat-calls-ldouble-yes): New variable.
12963         (calls): Insert F placeholder.
12964         (generated): Redefine using new type-foreach macro call.
12965         (routines): Likewise.
12967         (types): New variable to hold a list of symbolic names
12968         for each type supported by the target machine.
12969         (libm-routines): Redefine using new types variable.
12970         (type-foreach): macro to replace fooF with the
12971         appropriately suffixed foo for each types.
12973         (type-ldouble-suffix): New variable.
12974         (type-ldouble-routines): Likewise.
12975         (type-ldouble-yes): Likewise.
12976         (type-double-suffix): Likewise.
12977         (type-double-routines): Likewise.
12978         (type-float-suffix): Likewise.
12979         (type-float-routines): Likewise.
12981         (dbl-only-routines): Remove.
12982         (long-c-yes): Likewise.
12983         (long-m-routines): Likewise.
12984         (long-m-support): Likewise.
12985         (long-m-yes): Likewise.
12986         (test-longdouble-yes): Likewise.
12988         (test-float.o): Simplify by increasing the scope of the
12989         recipe which adds libm-test.stmp to the vector types.
12990         (test-ifloat.o): Likewise.
12991         (test-float-finite.o): Likewise.
12992         (test-double.o): Likewise
12993         (test-idouble.o): Likewise.
12994         (test-double-finite.o): Likewise.
12995         (test-ldouble.o): Likewise
12996         (test-ildoubl.o): Likewise.
12997         (test-ldouble-finite.o): Likewise.
12999         (libm-tests): Redefine type tests using foreach and the
13000         list of types in types.
13002         (CPPFLAGS-test-ildoubl.c): Rename to
13003         (CPPFLAGS-test-ildouble.c): New variable
13005         * math/test-ildoubl.c: Rename to
13006         * math/test-ildouble.c: New file.
13008 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13010         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
13011         Use fabsl instead of fabs.
13012         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
13013         Likewise.
13014         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
13015         Add long double suffix to constant to ensure proper
13016         promotion to long double.
13018 2016-08-03  Tom Tromey  <tom@tromey.com>
13020         [BZ #20311]
13021         * nptl_db/Makefile (headers): Add proc_service.h.
13022         * nptl_db/proc_service.h: Add include guard.  Use
13023         __BEGIN/__END_DECLS.
13024         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
13025         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
13026         arguments.
13029 2016-08-03  Florian Weimer  <fweimer@redhat.com>
13031         [BZ #17730]
13032         Avoid using memalign for TCB allocations.
13033         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
13034         (_dl_allocate_tls_storage): Use malloc and manual alignment.
13035         Avoid alignment gap in the TLS_DTV_AT_TP case.
13036         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
13037         determine the pointer to free.
13038         * nptl/tst-tls3-malloc.c: New test.
13039         * nptl/Makefile (tests): Add it.
13040         (tst-tls3-malloc): Link with libdl, libpthread.
13041         (LDFLAGS-tst-tls3-malloc): Set.
13042         (tst-tls3-malloc.out): Depend on DSO used in test.
13044 2016-08-03  Florian Weimer  <fweimer@redhat.com>
13046         [BZ #17730]
13047         Avoid using memalign for TLS allocations.
13048         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
13049         is_static member with to_free member.
13050         (union dtv): Use struct dtv_pointer.
13051         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
13052         dtv_pointer instead of is_static.
13053         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
13054         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
13055         instead of val.
13056         (allocate_dtv_entry): New function.
13057         (allocate_and_init): Return struct dtv_pointer.  Call
13058         allocate_dtv_entry instead of __libc_memalign.
13059         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
13060         instead of val.
13061         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
13062         instead of is_static.  Adjust call to allocate_and_init.
13063         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
13064         struct dtv_pointer instead of val.
13066 2016-08-03  Florian Weimer  <fweimer@redhat.com>
13068         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
13069         (MALLOC_ALIGN_MASK): Move ...
13070         * malloc/malloc-internal.h: ... to here.
13071         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
13073 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
13075         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
13076         (UDP_ENCAP_GTP1U): Likewise.
13078         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
13079         (PF_MAX): Update value.
13080         (AF_QIPCRTR): New macro.
13082 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
13084         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
13085         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13086         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13087         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
13088         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
13089         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
13090         s_truncf-vis3, s_trunc-vis3.
13091         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
13092         (CFLAGS-s_ceil-vis3.c): Likewise.
13093         (CFLAGS-s_floorf-vis3.c): Likewise.
13094         (CFLAGS-s_floor-vis3.c): Likewise.
13095         (CFLAGS-s_truncf-vis3.c): Likewise.
13096         (CFLAGS-s_trunc-vis3.c): Likewise.
13097         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
13098         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
13099         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
13100         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
13101         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
13102         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
13103         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
13104         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
13105         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
13106         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
13107         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
13108         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
13110 2016-08-02  David S. Miller  <davem@davemloft.net>
13112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
13113         (__nearbyint_vis3): Don't check for sNaN before float register is
13114         loaded with the incoming argument.
13115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
13116         (__nearbyintf_vis3): Likewise.
13117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
13118         Likewise.
13119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
13120         Likewise.
13122         * string/test-strncmp.c (do_test_limit): Make sure the test data
13123         stream is aligned as required for the type "CHAR".
13124         (do_test): Likewise.
13126 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
13128         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
13129         by beq instructions jumping to the end of the function.
13130         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
13131         clobber list. Use "i" constraint instead of "X".
13132         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
13133         of "X".
13135 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
13137         * bits/libc-header-start.h: New file.
13138         * Makefile (headers): Add bits/libc-header-start.h.
13139         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
13140         (__GLIBC_USE): New macro.
13141         * libio/stdio.h: Define
13142         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13143         <bits/libc-header-start.h> instead of including <features.h>.
13144         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
13145         (open_memstream): Likewise.
13146         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
13147         (__asprintf): Likewise.
13148         (asprintf): Likewise.
13149         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
13150         (getdelim): Likewise.
13151         (getline): Likewise.
13152         * string/string.h: Define
13153         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13154         <bits/libc-header-start.h> instead of including <features.h>.
13155         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
13156         (strndup): Likewise.
13157         * wcsmbs/wchar.h: Define
13158         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13159         <bits/libc-header-start.h> instead of including <features.h>.
13160         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
13161         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
13163 2016-08-02  Florian Weimer  <fweimer@redhat.com>
13165         Support linking against compatibility symbols, for use in tests.
13166         * include/libc-symbols.h (symbol_version_reference): New macro.
13167         (symbol_version): Use it.
13168         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
13169         (compat_symbol): Use compat_symbol_reference.
13170         (compat_symbol_1, compat_symbol_2): Remove.
13171         (compat_symbol_reference, compat_symbol_reference_1)
13172         (compat_symbol_reference_2): New macro.  Use
13173         symbol_version_reference.
13175 2016-08-02  Florian Weimer  <fweimer@redhat.com>
13177         [BZ #19469]
13178         * malloc/Makefile (CPPFLAGS): Compile tests with
13179         -DTEST_NO_MALLOPT.
13180         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
13182 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
13184         [BZ #20033]
13185         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
13186         finite version.
13187         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
13188         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
13189         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
13190         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
13191         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
13192         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
13193         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
13194         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
13195         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
13196         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
13197         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
13198         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
13199         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
13200         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
13201         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
13202         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
13203         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
13204         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
13205         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
13206         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
13207         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
13208         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
13209         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
13210         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
13211         in zero power.
13213 2016-08-02  Florian Weimer  <fweimer@redhat.com>
13215         [BZ #20370]
13216         * malloc/arena.c (get_free_list): Update comment.  Assert that
13217         arenas on the free list have no attached threads.
13218         (remove_from_free_list): New function.
13219         (reused_arena): Call it.
13221 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
13223         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
13224         when it is a NaN.
13225         [_IEEE_FP_INEXACT] Remove.
13226         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
13227         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
13228         when it is a NaN.
13229         [_IEEE_FP_INEXACT] Remove.
13230         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
13231         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
13232         when it is a NaN.
13233         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
13234         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
13235         when its absolute value is greater than 0x1.0p52.
13236         [_IEEE_FP_INEXACT] Remove.
13237         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
13238         when its absolute value is greater than 0x1.0p23.
13239         [_IEEE_FP_INEXACT] Remove.
13241 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
13243         * version.h (RELEASE): Set to "development"
13244         (VERSION): Set to 2.24.90.
13245         * NEWS: Add 2.25 section.
13247         * version.h (RELEASE): Set to "stable"
13248         (VERSION): Set to 2.24.
13249         * include/features.h (__GLIBC_MINOR__): Set to 24.
13251         * NEWS: Add 2.24 fixed bugs.
13252         * po/libc.pot: Regenerate.
13254 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
13256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
13257         [$(subdir) = math] (libm-sysdep_routines): Remove.
13258         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
13259         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
13260         s_truncf-vis3, s_trunc-vis3.
13261         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
13263         file.
13264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
13265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
13266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
13267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
13270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
13271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
13273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
13274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
13275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
13276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
13277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
13278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
13279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
13283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
13284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
13285         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
13286         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13287         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13288         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
13289         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13290         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13291         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
13292         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13293         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13294         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
13295         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13296         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13297         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
13298         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
13299         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
13300         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
13301         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13302         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13303         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
13304         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
13305         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
13306         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
13308 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
13310         [BZ #20384]
13311         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
13312         test-double-libmvec-sincos-avx-main.o,
13313         test-double-libmvec-sincos-avx2-main.o,
13314         test-double-libmvec-sincos-main.o,
13315         test-float-libmvec-sincosf-avx-main.o,
13316         test-float-libmvec-sincosf-avx2-main.o and
13317         test-float-libmvec-sincosf-main.o.
13318         test-float-libmvec-sincosf-avx512-main.o.
13319         ($(objpfx)test-double-libmvec-sincos): Also link with
13320         $(objpfx)test-double-libmvec-sincos-main.o.
13321         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
13322         $(objpfx)test-double-libmvec-sincos-avx-main.o.
13323         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
13324         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
13325         ($(objpfx)test-float-libmvec-sincosf): Also link with
13326         $(objpfx)test-float-libmvec-sincosf-main.o.
13327         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
13328         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
13329         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
13330         test-double-libmvec-sincos-avx512-main.o and
13331         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
13332         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
13333         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
13334         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
13335         (CFLAGS-test-double-libmvec-sincos.c): Removed.
13336         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
13337         (CFLAGS-test-double-libmvec-sincos-main.c): New.
13338         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
13339         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
13340         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
13341         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
13342         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
13343         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
13344         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
13345         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
13346         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
13347         -DREQUIRE_AVX2.
13348         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
13349         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
13350         -DREQUIRE_AVX512F.
13351         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
13352         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
13353         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
13354         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
13355         file.
13356         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
13357         Likewise.
13358         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
13359         Likewise.
13360         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
13361         Likewise.
13362         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
13363         Likewise.
13364         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
13365         Likewise.
13366         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
13367         Likewise.
13368         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
13369         Likewise.
13371 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
13373         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
13375 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
13377         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
13378         and typo in a comment about AT_HWCAP entry.
13380 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13382         * sysdeps/aarch64/libm-test-ulps: Updated.
13384 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13386         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
13387         of r13 as it is not restored in mvcle case.
13389 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
13391         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
13392         Rename "ret" to "__ret".
13393         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
13394         inline_syscall5, inline_syscall6): Likewise.
13396 2016-07-19   Will Newton  <will.newton@gmail.com>
13398         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
13399         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
13400         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
13401         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
13402         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
13404 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
13406         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
13407         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
13408         -mfpmath=387 with $(rtld-CFLAGS).
13409         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
13410         $(rtld-CFLAGS).
13412 2016-07-18   Ross Burton  <ross.burton@intel.com>
13413              Khem Raj  <raj.khem@gmail.com>
13415         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
13416         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
13417         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
13418         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
13419         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
13420         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
13421         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
13422         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
13423         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
13424         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
13425         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
13426         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
13427         R_METAG_TLS_DTPOFF): New.
13429 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13430             Matt Clay  <mclay@lycos.com>
13432         [BZ #20357]
13433         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
13434         to call __mpsin/__mpcos and to negate values.
13435         * math/auto-libm-test-in: Add test.
13436         * math/auto-libm-test-out: Regenerate.
13438 2016-07-18  Zack Weinberg  <zackw@panix.com>
13440         * grp/Makefile: Don't install the internal header grp-merge.h.
13442 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13444         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13446 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13448         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
13450 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13452         [BZ #15368]
13453         * sysdeps/unix/sysv/linux/nptl-signals.h
13454         (__nptl_clear_internal_signals): New function.
13455         (__libc_signal_block_all): Likewise.
13456         (__libc_signal_block_app): Likewise.
13457         (__libc_signal_restore_set): Likewise.
13458         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
13459         implementation.
13460         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
13461         the cached pid/tid value in pthread structure.
13463 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
13465         [BZ #20347]
13466         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13468 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13470         [BZ #20348]
13471         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
13472         preadv64, pwrite64 and pwritev64.
13474 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13476         [BZ #20350]
13477         * posix/tst-preadwrite.c: Renamed to ...
13478         * posix/tst-preadwrite-common.c: This.
13479         (PREAD): Removed.
13480         (PWRITE): Likewise.
13481         (STRINGIFY): Likewise.
13482         (STRINGIFY2): Likewise.
13483         (do_prepare): Make it static and remove function arguments.
13484         (do_test): Likewise.
13485         (PREPARE): Updated.
13486         (TEST_FUNCTION): New.
13487         (name): Make it static.
13488         (fd): Likewise.
13489         (do_prepare): Use create_temp_file.
13490         (do_test): Renamed to ...
13491         (do_test_with_offset): This.  Make it static and accept offset.
13492         Properly check return value of PWRITE and PREAD.  Return bytes
13493         read.  Don't close fd nor unlink name.
13494         * posix/tst-preadwrite.c: Rewrite.
13495         * posix/tst-preadwrite64.c: Likewise.
13497 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13499         [BZ #20309]
13500         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
13501         -mtls-dialect=gnu2 works.
13502         * configure: Regenerated.
13503         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
13504         (tests): Add tst-gnu2-tls1.
13505         (modules-names): Add tst-gnu2-tls1mod.
13506         ($(objpfx)tst-gnu2-tls1): New.
13507         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
13508         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
13509         * elf/tst-gnu2-tls1.c: New file.
13510         * elf/tst-gnu2-tls1mod.c: Likewise.
13511         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
13512         bytes for push in the PLT entry to align the stack.
13514 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
13516         [BZ #20349]
13517         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
13519 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13521         [BZ #18707]
13522         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
13523         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
13525 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13527         * sysdeps/unix/sysv/linux/sysdep.h
13528         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
13529         guards.
13530         * misc/tst-preadvwritev-common.c: New file.
13531         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
13532         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
13533         a check for files larger than 2GB.
13535         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13536         (__ASSUME_OFF_DIFF_OFF64): Remove define.
13537         * sysdeps/unix/sysv/linux/pread.c
13538         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
13539         __OFF_T_MATCHES_OFF64_T.
13540         * sysdeps/unix/sysv/linux/pread64.c
13541         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
13542         * sysdeps/unix/sysv/linux/preadv.c
13543         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
13544         * sysdeps/unix/sysv/linux/preadv64.c
13545         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
13546         * sysdeps/unix/sysv/linux/pwrite.c
13547         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
13548         * sysdeps/unix/sysv/linux/pwrite64.c
13549         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
13550         * sysdeps/unix/sysv/linux/pwritev.c
13551         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
13552         * sysdeps/unix/sysv/linux/pwritev64.c
13553         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
13555 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
13557         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13558         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
13560 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13562         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
13564 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13566         [BZ #20240]
13567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
13568         (CFLAGS-s_modf-ppc32.c): New variable.
13569         (CFLAGS-s_modff-ppc32.c): Likewise.
13570         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13571         (CFLAGS-s_modf-ppc64.c): Likewise.
13572         (CFLAGS-s_modff-ppc64.c): Likewise.
13574 2016-07-07  Andreas Schwab  <schwab@suse.de>
13576         [BZ #20263]
13577         * nptl/tst-robust10.c: New test.
13578         * nptl/Makefile (tests): Add tst-robust10.
13580 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
13582         [BZ #20263]
13583         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
13585 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13587         * sysdeps/s390/linkmap.h (struct link_map_machine):
13588         Remove member gotplt and add member jmprel.
13589         * sysdeps/s390/s390-32/dl-machine.h
13590         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
13591         instead of gotplt with &got[3].
13592         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
13593         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13595 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
13597         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
13599 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13601         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
13602         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
13603         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13604         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
13605         * libio/vtables.c (_IO_vtable_check)
13606         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13607         * libio/libioP.h (IO_set_accept_foreign_vtables)
13608         [!PTR_MANGLE]: Do not call PTR_MANGLE.
13610 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
13612         [BZ #20314]
13613         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
13614         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
13615         $(common-objpfx)cmath.
13616         ($(common-objpfx)cstdlib): New target.
13617         ($(common-objpfx)cmath): Likewise.
13619 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
13621         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
13623 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13625         [BZ #20327]
13626         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
13627         are not part of the string.
13629 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13631         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
13632         * nptl/tst-cancel4-common.h (fifoname): New variable.
13633         (fifofd): Likewise.
13634         (cl_fifo): New function.
13635         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
13636         SIGINT.
13637         (tf_open): Add early cancel test.
13639 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
13641         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
13643 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
13645         * sysdeps/generic/ldsodefs.h
13646         (dl_symbol_visibility_binds_local_p): New inline function.
13647         * elf/dl-addr.c (determine_info): Treat hidden and internal
13648         symbols as local.
13649         * elf/dl-lookup.c (do_lookup_x): Likewise.
13650         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
13652 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
13654         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
13655         invalid exception for a sNaN input.
13656         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13657         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
13658         (__nearbyint_vis3): Likewise
13659         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
13660         (__nearbyintf_vis3): Likewise
13661         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
13662         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13663         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
13664         Likewise.
13665         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
13666         Likewise.
13668 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
13670         [BZ #20139]
13671         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
13672         (HAVE_AVX512DQ_ASM_SUPPORT): This.
13673         * sysdeps/x86_64/configure.ac: Require assembler from binutils
13674         2.24 or above.
13675         (HAVE_AVX512_ASM_SUPPORT): Removed.
13676         (HAVE_AVX512DQ_ASM_SUPPORT): New.
13677         * sysdeps/x86_64/configure: Regenerated.
13678         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
13679         check unconditional.
13680         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13681         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13682         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13683         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
13684         Likewise.
13685         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
13686         Likewise.
13687         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
13688         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
13689         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13690         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13691         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13692         Likewise.
13693         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
13694         Likewise.
13695         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13696         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13697         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
13698         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
13699         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
13700         Likewise.
13701         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
13702         Likewise.
13703         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
13704         Likewise.
13705         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
13706         Likewise.
13707         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
13708         Likewise.
13709         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
13710         Likewise.
13711         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
13712         Likewise.
13713         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
13714         Likewise.
13715         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
13716         Likewise.
13717         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
13718         Likewise.
13719         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
13720         Likewise.
13722 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
13724         [BZ #20024]
13725         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
13726         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
13727         of this implementation of vector function.
13728         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13729         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13730         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
13731         Likewise.
13732         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
13733         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
13734         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
13735         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
13736         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
13737         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
13738         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
13739         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
13740         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
13741         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
13742         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
13743         for testing vector sincos with fixed ABI.
13744         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13745         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13746         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13747         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13748         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13749         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13750         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13751         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
13752         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
13753         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
13754         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
13755         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
13756         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
13757         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
13758         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
13759         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13761 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13763         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
13765 2016-06-30  Anton Blanchard  <anton@samba.org>
13767         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13768         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
13769         s_sinf-ppc64.
13770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
13771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13773         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13775 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13778         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13779         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
13780         e_expf-ppc64.
13781         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
13782         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
13783         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
13784         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
13786 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
13788         [BZ #20277]
13789         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
13790         when SHARED is defined.
13792 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
13794         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
13795         (index_arch_Prefer_ERMS): Likewise.
13796         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
13797         __memcpy_erms for Prefer_ERMS.
13798         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13799         (__memmove_erms): Enabled for libc.a.
13800         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
13801         __memmove_erms or Prefer_ERMS.
13802         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
13803         __mempcpy_erms for Prefer_ERMS.
13804         * sysdeps/x86_64/multiarch/memset.S (memset): Return
13805         __memset_erms for Prefer_ERMS.
13807 2016-06-30  Andreas Schwab  <schwab@suse.de>
13809         [BZ #20262]
13810         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
13811         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
13812         of memory.
13814 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
13816         [BZ #18645]
13817         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
13818         (test-extras): Add tst-cleanupx4aux.
13819         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
13820         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
13821         tst-cleanupx4aux.o.
13822         * nptl/tst-cleanupx4aux.c: New file.
13824 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13826         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13828 2016-06-29  Andreas Schwab  <schwab@suse.de>
13830         [BZ #20260]
13831         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
13832         address before the beginning of the string as an integer to avoid
13833         array-bounds warning.
13835 2016-06-28  Richard Henderson  <rth@redhat.com>
13837         * elf/elf.h (EM_BPF): New.
13838         (EM_NUM): Update.
13839         (R_BPF_NONE, R_BPF_MAP_FD): New.
13841         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
13842         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
13843         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
13844         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
13845         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
13846         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
13847         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
13848         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
13849         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
13850         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
13851         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
13852         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
13853         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
13854         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
13855         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
13856         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
13857         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
13858         (EM_NUM): Update.
13860 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
13862         [BZ #18960]
13863         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
13864         Set _nl_current_LC_CATEGORY_used to two instead of one.
13866 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
13868         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
13869         (do_test): ... this.
13870         (TEST_FUNCTION): New macro.
13871          Include test-skeleton.c.
13872         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
13873         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
13875 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
13877         [BZ #15479]
13878         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
13879         floating-point environment rather than just control word.
13880         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13881         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
13882         floating-point environment, with "invalid" exceptions merged in,
13883         rather than just control word.
13884         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
13885         * math/libm-test.inc (trunc_test_data): Do not allow spurious
13886         "inexact" exceptions.
13888         [BZ #15479]
13889         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
13890         floating-point environment rather than just control word.
13891         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13892         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
13893         floating-point environment, with "invalid" exceptions merged in,
13894         rather than just control word.
13895         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
13896         * math/libm-test.inc (floor_test_data): Do not allow spurious
13897         "inexact" exceptions.
13899         [BZ #15479]
13900         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
13901         floating-point environment rather than just control word.
13902         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13903         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
13904         floating-point environment, with "invalid" exceptions merged in,
13905         rather than just control word.
13906         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
13907         * math/libm-test.inc (ceil_test_data): Do not allow spurious
13908         "inexact" exceptions.
13910 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
13912         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
13913         __libc_vfork.
13914         (__vfork) [IS_IN (libc)]: Remove alias.
13915         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
13916         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13917         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13919 2016-06-24  Torvald Riegel  <triegel@redhat.com>
13921         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
13922         of atomic_compare_and_exchange_bool_rel.
13923         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13924         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
13925         catomic_compare_and_exchange_bool_rel): Remove.
13926         * sysdeps/aarch64/atomic-machine.h
13927         (atomic_compare_and_exchange_bool_rel): Likewise.
13928         * sysdeps/alpha/atomic-machine.h
13929         (atomic_compare_and_exchange_bool_rel): Likewise.
13930         * sysdeps/arm/atomic-machine.h
13931         (atomic_compare_and_exchange_bool_rel): Likewise.
13932         * sysdeps/mips/atomic-machine.h
13933         (atomic_compare_and_exchange_bool_rel): Likewise.
13934         * sysdeps/microblaze/atomic-machine.h
13935         ( __arch_compare_and_exchange_bool_8_rel,
13936         __arch_compare_and_exchange_bool_16_rel): Likewise.
13937         * sysdeps/powerpc/atomic-machine.h
13938         ( __arch_compare_and_exchange_bool_8_rel,
13939         __arch_compare_and_exchange_bool_16_rel): Likewise.
13940         * sysdeps/powerpc/powerpc32/atomic-machine.h
13941         ( __arch_compare_and_exchange_bool_32_rel,
13942         __arch_compare_and_exchange_bool_64_rel): Likewise.
13943         * sysdeps/powerpc/powerpc64/atomic-machine.h
13944         ( __arch_compare_and_exchange_bool_32_rel,
13945         __arch_compare_and_exchange_bool_64_rel): Likewise.
13946         * sysdeps/tile/atomic-machine.h
13947         (atomic_compare_and_exchange_bool_rel): Likewise.
13949 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
13951         [BZ #20296]
13952         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
13953         when either argument is a NaN.
13954         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13955         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
13957         * math/libm-test.inc (snan_value_ld): New macro.
13958         (isgreater_test_data): Add sNaN tests.
13959         (isgreaterequal_test_data): Likewise.
13960         (isless_test_data): Likewise.
13961         (islessequal_test_data): Likewise.
13962         (islessgreater_test_data): Likewise.
13963         (isunordered_test_data): Likewise.
13964         (nextafter_test_data): Likewise.
13965         (nexttoward_test_data): Likewise.
13966         (remainder_test_data): Likewise.
13967         (remquo_test_data): Likewise.
13968         (significand_test_data): Likewise.
13969         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
13971 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13973         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
13974         environment macros are defined.
13975         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
13977 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13979         [BZ #20191]
13980         Implement vtable verification in libio.
13981         * Makerules (shlib.lds): Place __libc_IO_vtables section.
13982         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
13983         * debug/vdprintf_chk.c (__vdprintf_chk): Call
13984         _IO_new_file_init_internal instead of _IO_file_init.
13985         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
13986         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
13987         * libio/Makefile (routines): Add vtables.
13988         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
13989         (_IO_init): Remove, not for internal use.
13990         (_IO_init_internal): Declare, internal replacement for _IO_init.
13991         (_IO_file_init): Remove, not for internal use.
13992         (_IO_new_file_init): Remove, not for internal use.
13993         (_IO_new_file_init_internal): Declare, internal replacement for
13994         _IO_new_file_init.
13995         (_IO_old_file_init): Remove, not for internal use.
13996         (_IO_old_file_init_internal): Declare, internal replacement for
13997         _IO_old_file_init.
13998         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
13999         internal use.
14000         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
14001         Declare.
14002         (libio_vtable): New macro.
14003         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
14004         functions.
14005         * libio/fileops.c (_IO_new_file_init_internal): Rename from
14006         _IO_new_file_init.
14007         (_IO_new_file_init): New externally visible wrapper which disables
14008         vtable verification.
14009         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
14010         Define as vtables.
14011         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
14012         (_IO_init): New externally visible wrapper which disables
14013         vtable verification.
14014         * libio/iofdopen.c (_IO_new_fdopen): Call
14015         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
14016         comment.
14017         * libio/iofopen.c (__fopen_internal): Call
14018         _IO_new_file_init_internal instead of _IO_file_init.
14019         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
14020         Define as vtables.
14021         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
14022         _IO_new_file_init_internal instead of _IO_file_init.
14023         * libio/iopopen.c (_IO_new_popen): Likewise.
14024         (_IO_proc_jumps): Define as vtable.
14025         * libio/iovdprintf.c (_IO_vdprintf): Call
14026         _IO_new_file_init_internal instead of _IO_file_init.
14027         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
14028         (__open_memstream): Call _IO_init_internal instead of _IO_init.
14029         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
14030         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
14031         _IO_old_file_init.
14032         (_IO_old_file_init): New externally visible wrapper which disables
14033         vtable verification.
14034         (_IO_old_file_jumps): Define as vtable.
14035         * libio/oldiofdopen.c (_IO_old_fdopen): Call
14036         _IO_old_file_init_internal instead of _IO_old_file_init.
14037         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14038         * libio/oldiopopen.c (_IO_old_popen): Likewise.
14039         (_IO_old_proc_jumps): Define as vtable.
14040         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
14041         Define as vtables.
14042         * libio/vtables.c: New file.
14043         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
14044         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
14045         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
14046         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
14047         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
14048         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
14049         instead of _IO_init.
14051 2016-06-23  Florian Weimer  <fweimer@redhat.com>
14053         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
14055 2016-06-23  Florian Weimer  <fweimer@redhat.com>
14057         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
14058         potentially unused.
14060 2016-06-22  Florian Weimer  <fweimer@redhat.com>
14062         * test-skeleton.c (write_message): New function.
14063         * malloc/tst-mallocfork2.c (write_message): Remove.
14064         * debug/tst-longjmp_chk2.c (write_indented): New function.
14065         (write_message): Remove.
14066         (stackoverflow_handler): Call write_indented.
14068 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
14070         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
14071         "inexact" exceptions after fnstenv.
14072         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14073         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14074         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14076 2015-06-22  Zack Weinberg  <zackw@panix.com>
14078         * sysdeps/generic/bits/hwcap.h: Moved to ...
14079         * bits/hwcap.h: Here.
14081 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
14083         * sysdeps/aarch64/memcpy.S (memcpy):
14084         Further tuning for performance.
14086 2016-06-21  Florian Weimer  <fweimer@redhat.com>
14088         [BZ #20284]
14089         * malloc/arena.c (reused_arena): Do not return NULL if we start
14090         out with a non-corrupted arena.
14092 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14094         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
14095         * misc/tst-preadvwritev.c: New file.
14096         * misc/tst-preadvwritev64.c: Likewise.
14097         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
14098         usage.
14099         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
14100         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
14101         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
14102         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
14104 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
14106         [BZ #19654]
14107         * sysdeps/x86_64/fpu/Makefile: Added new tests.
14108         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
14109         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
14110         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
14111         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
14112         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
14113         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
14114         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
14115         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
14116         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
14117         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
14118         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
14119         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
14120         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
14121         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
14122         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
14123         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
14124         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
14125         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
14126         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
14127         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
14128         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
14129         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
14130         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
14131         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
14132         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
14134 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
14136         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
14137         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
14139 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
14141         * sysdeps/aarch64/memcpy.S (memcpy):
14142         Rewrite of optimized memcpy and memmove.
14143         * sysdeps/aarch64/memmove.S (memmove): Remove
14144         memmove code (merged into memcpy.S).
14146 2016-06-20  Florian Weimer  <fweimer@redhat.com>
14148         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
14149         * sysdeps/generic/dl-dtv.h: New file.
14150         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14151         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
14152         (dtv_t): Remove.
14153         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14154         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
14155         (dtv_t): Remove.
14156         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14157         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
14158         (dtv_t): Remove.
14159         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14160         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
14161         (dtv_t): Remove.
14162         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14163         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
14164         (dtv_t): Remove.
14165         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14166         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
14167         (dtv_t): Remove.
14168         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14169         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
14170         (dtv_t): Remove.
14171         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
14172         (dtv_t): Remove.
14173         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14174         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
14175         (dtv_t): Remove.
14176         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14177         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
14178         (dtv_t): Remove.
14179         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14180         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
14181         (dtv_t): Remove.
14182         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14183         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
14184         (dtv_t): Remove.
14185         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14186         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
14187         (dtv_t): Remove.
14188         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14189         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
14190         (dtv_t): Remove.
14191         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14192         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
14193         (dtv_t): Remove.
14194         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14195         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
14196         (dtv_t): Remove.
14198 2016-06-20  Florian Weimer  <fweimer@redhat.com>
14200         Revert symbol poisoning of  __malloc_initialize_hook.
14201         * include/stdc-predef.h (__malloc_initialize_hook): Remove
14202         poisoning.
14203         * malloc/Makefile: Remove un-poisoning.
14204         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
14205         instead of old__malloc_initialize_hook.
14206         * malloc/malloc-hooks.h: Likewise.
14207         * malloc/malloc.c: Likewise.
14208         * malloc/mcheck-init.c: Likewise.
14210 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
14212         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
14214 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
14216         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
14217         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
14218         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14219         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14221 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14223         * NEWS: Mention addition of nextup and nextdown.
14224         * manual/arith.texi: Document nextup and nextdown.
14225         * manual/libm-err-tab.pl: Add nextup and nextdown.
14226         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
14227         * math/Versions (libm): Add GLIBC_2.24.
14228         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
14229         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
14230         Add new test.
14231         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
14232         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
14233         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
14234         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
14235         (nextup_test_data): Likewise.
14236         (nextdown_test_data): Likewise.
14237         * math/s_nextdown.c: New file.
14238         * math/s_nextdownf.c: Likewise.
14239         * math/s_nextdownl.c: Likewise.
14240         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
14241         F(nextup): New function.
14242         F(nextdown): Likewise.
14243         * math/tgmath.h: Add nextup and nextdown.
14244         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
14245         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
14246         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14247         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14248         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14249         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
14250         Add nextup and nextdown.
14251         (CFLAGS-nldbl-nextup.c): New variable.
14252         (CFLAGS-nldbl-nextdown.c): Likewise.
14253         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
14254         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
14255         * sysdeps/nacl/libm.abilist: Update.
14256         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14257         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14258         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14259         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14260         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14261         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14262         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14263         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14264         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14265         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14266         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14267         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14270         Likewise.
14271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14273         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14274         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14275         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14276         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14277         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
14279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
14280         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14281         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14282         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14283         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14285 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14287         * manual/pattern.texi: Fix typos & grammar errors.
14289 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14291         * manual/search.texi: Fix typos & grammar errors.
14293 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14295         * manual/message.texi: Fix typos & grammar errors.
14297 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
14299         * manual/contrib.texi: Fix spelling typos.
14300         * manual/crypt.texi: Likewise.
14301         * manual/filesys.texi: Likewise.
14302         * manual/locale.texi: Likewise.
14303         * manual/message.texi: Likewise.
14304         * manual/nss.texi: Likewise.
14305         * manual/string.texi: Likewise.
14307 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14309         * manual/locale.texi: Fix typos & grammar errors.
14311 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14313         * manual/charset.texi: Fix typos & grammar errors.
14315 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14317         * manual/string.texi: Fix typos.
14319 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14321         * manual/ctype.texi: Fix typos.
14323 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14325         * manual/memory.texi: Fix various typos & grammar errors.
14327 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
14329         [BZ #20255]
14330         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
14331         * math/libm-test.inc (fdim_test_data): Add another test.
14333         [BZ #6796]
14334         [BZ #20255]
14335         [BZ #20256]
14336         * math/s_fdim.c: Include <math_private.h>.
14337         (__fdim): Use math_narrow_eval on result.
14338         * math/s_fdimf.c: Include <math_private.h>.
14339         (__fdimf): Use math_narrow_eval on result.
14340         * sysdeps/i386/fpu/s_fdim.S: Remove file.
14341         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
14342         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
14343         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
14344         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
14345         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
14346         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
14347         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
14348         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
14349         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
14350         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
14351         * math/libm-test.inc (fdim_test_data): Expect errno setting on
14352         overflow.  Add sNaN tests.
14354         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
14355         fpclassify.
14356         * math/s_fdimf.c (__fdimf): Likewise.
14357         * math/s_fdiml.c (__fdiml): Likewise.
14359 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14361         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14362         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
14363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14364         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
14365         ifunc'ed strcasecmp/strncasecmp.
14366         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
14367         [EALIGN]: Removed.
14368         [END]: Likewise.
14369         [__strcasecmp]: Define instead of the above to control symbol name.
14370         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
14371         for __strcasecmp_power8.
14372         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
14373         for __strncasecmp_power8.
14374         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
14375         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
14376         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
14377         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
14378         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
14379         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
14381 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
14383         [BZ #20252]
14384         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
14385         arguments when second argument is a NaN.
14386         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
14387         qNaN tests.
14389         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
14390         (conj_test_data): Likewise.
14391         (copysign_test_data): Likewise.
14392         (creal_test_data): Likewise.
14393         (fma_test_data): Likewise.
14394         (fmod_test_data): Likewise.
14396         [BZ #20250]
14397         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
14398         itself.
14399         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
14400         zero input to itself.
14401         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
14402         Likewise.
14403         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
14404         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
14405         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14406         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
14407         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
14409 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14411         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
14412         * nptl/tst-cancel4-common.c: New file.
14413         * nptl/tst-cancel4-common.h: Likewise.
14414         * nptl/tst-cancel4.c: Move common definitions to
14415         tst-cancel4-common.{c,h} file.
14416         * nptl/tst-cancel4_1.c: New test.
14417         * nptl/tst-cancel4_2.c: New test.
14419 2016-06-13  Florian Weimer  <fweimer@redhat.com>
14421         [BZ #20248]
14422         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
14423         (write_message): New function.
14424         (stackoverflow_handler): Call it instead of printf, to avoid
14425         excessive stack usage by printf.
14426         (do_test): Restore SIGSEGV, SIGBUS default handlers.
14428 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14430         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
14431         (prio_inherit_missing): Remove define.
14432         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14433         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14434         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
14435         Likewise.
14436         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14437         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14438         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14439         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14440         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14441         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14443 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14445         [BZ #19670]
14446         [BZ #19672]
14448         * io/test-lfs.c (do_prepare): Use xmalloc.
14449         * io/tst-fcntl.c (do_prepare): Likewise.
14450         * libio/tst-fopenloc.c (do_bz17916): Likewise.
14451         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
14452         * login/tst-utmp.c (do_prepare): Likewise.
14453         * posix/tst-exec.c (do_prepare): Likewise.
14454         * posix/tst-pathconf.c (prepare): Likewise.
14455         * posix/tst-spawn.c (do_prepare): Likewise.
14456         * posix/tst-truncate.c (do_prepare): Likewise.
14457         * rt/tst-aio.c (do_prepare): Likewise.
14458         * rt/tst-aio64.c (do_prepare): Likewise.
14460 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14462         [BZ #20237]
14463         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
14464         (get*ent): Set entidx to NULL during initialization.  If entidx is
14465         NULL, start iteration from the beginning.
14467 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14469         * malloc/malloc.c (musable): Return correct size for dumped fake
14470         mmapped chunk.
14472 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14474         [BZ #20222]
14475         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
14476         (_IO_cookie_write): Likewise.
14477         (_IO_cookie_seek): Likewise.
14478         (_IO_cookie_close): Likewise.
14479         (_IO_old_cookie_seek): Likewise.
14480         (set_callbacks): New function.
14481         (_IO_cookie_init): Call set_callbacks to copy callbacks.
14483 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
14485         * locale/programs/localedef.c (oldstyle_tables): Remove.
14486         * locale/programs/localedef.h (oldstyle_tables): Likewise.
14488 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
14490         [BZ #20240]
14491         * math/Makefile (CFLAGS-s_modf.c): New variable.
14492         (CFLAGS-s_modff.c): Likewise.
14493         (CFLAGS-s_modfl.c): Likewise.
14494         * math/libm-test.inc (modf_test_data): Add sNaN tests.
14496 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
14498         [BZ #20215]
14499         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
14500         [!__GNUC_PREREQ (3,2)]: Likewise.
14502 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
14504         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
14505         (msghdr.msg_controllen): Likewise.
14506         (cmsghdr.cmsg_len): Likewise.
14507         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
14508         ptw-oldsendmsg.
14509         (CFLAGS-oldrecvmsg.c): Remove rule.
14510         (CFLAGS-oldsendmsg.c): Likewise.
14511         (CFLAGS-recvmsg.c): Add rule.
14512         (CFLAGS-sendmsg.c): Likewise.
14513         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
14514         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
14515         (CFLAGS-recvmsg.c): Remove rule.
14516         (CFLAGS-sendmsg.c): Likewise.
14517         (CFLAGS-oldrecvmsg.c): Likewise.
14518         (CFLAGS-oldsendmsg.c): Likewise.
14519         (CFLAGS-recvmmsg.c): Likewise.
14520         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
14521         to kernel defined interfaces.
14522         (msghdr.msg_controllen): Likewise.
14523         (cmsghdr.cmsg_len): Likewise.
14524         (msghdr.__glibc_reserved1): Remove member.
14525         (msghdr.__glibc_reserved2): Likewise.
14526         (cmsghdr.__glibc_reserved1): Likewise.
14527         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
14528         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
14529         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
14530         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
14531         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
14532         version.
14533         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14534         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
14535         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14536         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
14537         Remove recvmsg and sendmsg.
14538         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
14539         Likewise.
14540         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
14541         Likewise.
14542         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
14543         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
14544         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
14545         Likewise.
14546         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
14547         Likewise.
14548         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
14549         [libc] (GLIBC_2.24): Likewise.
14550         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
14551         Likewise.
14552         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
14553         Likewise.
14554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14555         [libc] (GLIBC_2.24): Likewise.
14556         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
14557         Likewise.
14558         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
14559         Likewise.
14560         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
14561         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
14562         Likewise.
14563         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
14564         Likewise.
14565         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
14566         Likewise.
14567         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
14568         Likewise.
14569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
14570         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
14571         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
14572         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
14573         version for {recv,send,recm,sendm}msg.
14574         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14575         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14576         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14577         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14578         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14579         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14580         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14581         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14582         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14583         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14584         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14585         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14587         Likewise.
14588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14589         Likewise.
14590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14592         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14593         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14594         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14595         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14596         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14597         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14600         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14601         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14602         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14604 2016-06-10  Florian Weimer  <fweimer@redhat.com>
14606         [BZ #19564]
14607         Remove __malloc_initialize_hook from the API.
14608         * malloc/malloc.h (__malloc_initialize_hook): Remove.
14609         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
14610         #pragma GCC poison.
14611         * malloc/malloc-hooks.h: New file.
14612         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
14613         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
14614         (old__malloc_initialize_hook): Rename from
14615         __malloc_initialize_hook to evade poisoning.  Turn into compat
14616         symbol.
14617         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
14618         __malloc_initialize_hook.
14619         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
14620         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
14621         * manual/memory.texi (Hooks for Malloc): Remove
14622         __malloc_initialize_hook.  Adjust hook example.
14624 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
14626         [BZ #20235]
14627         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
14628         itself.
14629         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14630         * math/libm-test.inc (log2_test_data): Add sNaN tests.
14632         [BZ #20234]
14633         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
14634         infinity or NaN input to itself.
14636         [BZ #20233]
14637         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
14638         to itself.
14640         [BZ #20232]
14641         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
14642         itself.
14644 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14646         * sysdeps/x86_64/start.S (_start): Always indirect branch to
14647         __libc_start_main via GOT.
14649 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14651         * sysdeps/x86_64/memcopy.h: New file.
14652         * sysdeps/x86_64/wordcopy.c: Likewise.
14654 2016-06-09  Florian Weimer  <fweimer@redhat.com>
14656         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
14657         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
14658         <cstdlib>.
14659         (optimization_barrier): New.
14660         (do_test): Use it.  Call quick_exit in the global namespace.
14661         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
14662         instead of <cstdlib>, <thread>.
14663         (optimization_barrier): New.
14664         (non_main_thread): Adjust declaration.  Call optimization_barrier.
14665         Call quick_exit in the global namespace.
14666         (do_test): Call optimization_barrier.  Use pthread_create,
14667         pthread_join instead of std::thread.
14669 2016-06-09  Andreas Schwab  <schwab@suse.de>
14671         [BZ #19755]
14672         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
14673         new entries in auto-propagate mode.
14674         * nscd/grpcache.c (cache_addgr): Likewise.
14676 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14678         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
14679         New functions.
14680         (add_temp_file): Use them.
14682 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
14684         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
14686 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
14688         [BZ #20229]
14689         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
14690         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
14691         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
14693         [BZ #20228]
14694         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
14695         itself.
14696         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14697         * math/libm-test.inc (log10_test_data): Add sNaN tests.
14699         [BZ #20227]
14700         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
14701         itself.
14702         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14703         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14704         * math/libm-test.inc (log_test_data): Add sNaN tests.
14706         [BZ #20226]
14707         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
14708         itself.
14709         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14710         * math/libm-test.inc (exp_test_data): Add sNaN tests.
14711         (exp10_test_data): Likewise.
14712         (expm1_test_data): Likewise.
14714         [BZ #20225]
14715         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
14716         itself.
14717         * math/s_ldexpf.c (__ldexpf): Likewise.
14718         * math/s_ldexpl.c (__ldexpl): Likewise.
14719         * math/w_scalbln.c (__w_scalbln): Likewise.
14720         * math/w_scalblnf.c (__w_scalblnf): Likewise.
14721         * math/w_scalblnl.c (__w_scalblnl): Likewise.
14722         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
14723         (scalbln_test_data): Likewise.
14725         [BZ #20224]
14726         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
14727         argument to itself.
14728         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
14730 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14732         [BZ #19776]
14733         * sysdeps/x86_64/memcpy.S: Make it dummy.
14734         * sysdeps/x86_64/mempcpy.S: Likewise.
14735         * sysdeps/x86_64/memmove.S: New file.
14736         * sysdeps/x86_64/memmove_chk.S: Likewise.
14737         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
14738         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
14739         * sysdeps/x86_64/memmove.c: Removed.
14740         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
14741         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14742         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
14743         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
14744         Likewise.
14745         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14746         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14747         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14748         memcpy-sse2-unaligned, memmove-avx-unaligned,
14749         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
14750         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14751         (__libc_ifunc_impl_list): Replace
14752         __memmove_chk_avx512_unaligned_2 with
14753         __memmove_chk_avx512_unaligned.  Remove
14754         __memmove_chk_avx_unaligned_2.  Replace
14755         __memmove_chk_sse2_unaligned_2 with
14756         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
14757         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
14758         with __memmove_avx512_unaligned.  Replace
14759         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
14760         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
14761         with __memcpy_chk_avx512_unaligned.  Remove
14762         __memcpy_chk_avx_unaligned_2.  Replace
14763         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
14764         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
14765         Replace __memcpy_avx512_unaligned_2 with
14766         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
14767         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
14768         with __mempcpy_chk_avx512_unaligned.  Remove
14769         __mempcpy_chk_avx_unaligned_2.  Replace
14770         __mempcpy_chk_sse2_unaligned_2 with
14771         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
14772         Replace __mempcpy_avx512_unaligned_2 with
14773         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
14774         Replace __mempcpy_sse2_unaligned_2 with
14775         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
14776         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
14777         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
14778         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
14779         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
14780         (ENTRY): Removed.
14781         (END): Likewise.
14782         (ENTRY_CHK): Likewise.
14783         (libc_hidden_builtin_def): Likewise.
14784         Don't include ../memcpy.S.
14785         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
14786         __memcpy_chk_avx512_unaligned_erms and
14787         __memcpy_chk_avx512_unaligned.  Use
14788         __memcpy_chk_avx_unaligned_erms and
14789         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14790         Default to __memcpy_chk_sse2_unaligned.
14791         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14792         Change function suffix from unaligned_2 to unaligned.
14793         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
14794         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
14795         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
14796         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
14797         (ENTRY): Removed.
14798         (END): Likewise.
14799         (ENTRY_CHK): Likewise.
14800         (libc_hidden_builtin_def): Likewise.
14801         Don't include ../mempcpy.S.
14802         (mempcpy): New.  Add a weak alias.
14803         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
14804         __mempcpy_chk_avx512_unaligned_erms and
14805         __mempcpy_chk_avx512_unaligned.  Use
14806         __mempcpy_chk_avx_unaligned_erms and
14807         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14808         Default to __mempcpy_chk_sse2_unaligned.
14810 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14812         [BZ #19881]
14813         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
14814         into ...
14815         * sysdeps/x86_64/memset.S: This.
14816         (__bzero): Removed.
14817         (__memset_tail): Likewise.
14818         (__memset_chk): Likewise.
14819         (memset): Likewise.
14820         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
14821         defined.
14822         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
14823         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
14824         (__memset_zero_constant_len_parameter): Check SHARED instead of
14825         PIC.
14826         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14827         memset-avx2 and memset-sse2-unaligned-erms.
14828         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14829         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
14830         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
14831         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14832         (__bzero): Enabled.
14833         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
14834         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
14835         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
14836         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
14837         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
14838         (memset): Removed.
14839         (__memset_chk): Likewise.
14840         (MEMSET_SYMBOL): New.
14841         (libc_hidden_builtin_def): Replace __memset_sse2 with
14842         __memset_sse2_unaligned.
14843         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
14844         __memset_chk_sse2 and __memset_chk_avx2 with
14845         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
14846         Use __memset_chk_sse2_unaligned_erms or
14847         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
14848         __memset_chk_avx512_unaligned_erms and
14849         __memset_chk_avx512_unaligned.
14851 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14853         * math/gen-auto-libm-test.c (fp_format_desc): remove
14854         suffix member.
14855         (output_generic_value): Remove usage of suffix member,
14856         and the resulting unuse of the fp_format argument.
14857         (output_for_one_input_case): Remove unused fp_format
14858         parameter.
14860         * math/auto-libm-test-out: Regenerate.
14862         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
14863         usage with TEST_COND_ibm128.
14864         (TEST_COND_flt_32): Remove.
14865         (TEST_COND_dbl_64): Remove.
14866         (TEST_COND_ldbl_96_intel): Remove.
14867         (TEST_COND_ldbl_96_m68k): Remove.
14868         (TEST_COND_ldbl_128): Remove.
14870 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14872         * auto-libm-test-in:
14873         Replace flt-32 usage with binary32.
14874         Replace dbl-64 usage with binary64.
14875         Replace ldbl-intel-96 usage with intel96.
14876         Replace ldbl-m68k-96 usage with m68k96.
14877         Replace ldbl-128ibm usage with ibm128.
14878         Replace ldbl-128 usage with binary128.
14880         * auto-libm-test-out: Regenerate.
14882 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14884         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
14885         (parse_ulps): Dynamically generate type name matching
14886         string from all_floats.
14887         (get_ulps): Generate the ulps as an array instead.
14888         (output_ulps): Dynamically compose the type based
14889         on the number of supported formats, and print
14890         the indices as type specific helper macros.
14892         * math/libm-test.inc: Remove comment about CHOOSE.
14893         (ulp_data): Generate the type in libm-test-ulps.h.
14894         (ULP_IDX): New macro.
14895         (find_ulps): Update usage of max_ulp.
14897         * math/test-double-vlen2.h (CHOOSE): Remove.
14898         * math/test-double-vlen4.h (CHOOSE): Likewise.
14899         * math/test-double-vlen8.h (CHOOSE): Likewise.
14900         * math/test-float.c (CHOOSE): Likewise.
14901         * math/test-float-finite.c (CHOOSE): Likewise.
14902         * math/test-double.c (CHOOSE): Likewise.
14903         * math/test-double-finite.c (CHOOSE): Likewise.
14904         * math/test-idouble.c (CHOOSE): Likewise.
14905         * math/test-ifloat.c (CHOOSE): Likewise.
14906         * math/test-ildoubl.c (CHOOSE): Likewise.
14907         * math/test-ldouble-finite.c (CHOOSE): Likewise.
14908         * math/test-ldouble.c (CHOOSE): Likewise.
14910         * math/test-float.h (TEST_FLOAT): Remove.
14911         * math/test-double.h (TEST_DOUBLE): Likewise.
14912         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
14914 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14916         * math/gen-libm-test.pl: (apply_lit): New subroutine.
14917         (parse_args): Strip C suffix from floating point literals
14918         typed with 'f' and wrap them with LIT().
14920         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
14921         (test_ff_f_data_nexttoward): Rename to
14922         (test_fj_f_data): New struct.
14923         (nexttoward_test_data): Relabel tests as
14924         TEST_fj_f instead of TEST_ff_f.
14926 2016-06-08  Florian Weimer  <fweimer@redhat.com>
14928         Emacs bug 23726.
14929         * malloc/malloc.c (dumped_main_arena_start): Update comment.
14930         (__libc_realloc): Correct size computation for dumped fake mmapped
14931         chunks.
14933 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
14935         [BZ #20219]
14936         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
14937         to itself.
14938         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
14940         [BZ #20218]
14941         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
14942         to itself.
14943         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
14945 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
14947         [BZ #20195]
14948         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
14949         check to ...
14950         (init_cpu_features): Here.
14952 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
14954         [BZ #20214]
14955         * sysdeps/unix/sysv/linux/bits/in.h
14956         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
14957          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
14958         Define to 1.
14959         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
14960          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
14961         Define to 0.
14962         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
14963         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
14965 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
14967         [BZ #20198]
14968         * stdlib/Makefile (tests): Add tst-quick_exit, and
14969         tst-thread-quick_exit.
14970         [ifeq ($(have-cxx-thread_local),yes)]
14971         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
14972         (CFLAGS-tst-thread-quick_exit.o): Likewise.
14973         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
14974         (LDLIBS-tst-thread-quick_exit): Likewise.
14975         [ifneq ($(have-cxx-thread_local),yes)]
14976         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
14977         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
14978         If run_dtors is true call __call_tls_dtors.
14979         (exit): Call __run_exit_handlers with run_dtors set to true.
14980         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
14981         definition.
14982         * stdlib/quick_exit.c (quick_exit): Remove function.
14983         (__new_quick_exit): New function.
14984         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
14985         function.
14986         * stdlib/tst-quick_exit.cc: New file.
14987         * stdlib/tst-thread-quick_exit.cc: New file.
14988         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
14989         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
14990         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
14991         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
14992         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
14993         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
14994         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
14995         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
14996         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
14997         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
14998         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
14999         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
15000         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
15001         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
15002         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
15003         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
15004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
15005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
15006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
15007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
15008         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
15009         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
15010         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
15011         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
15012         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
15013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
15014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
15015         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
15016         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
15017         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
15019 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
15021         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
15022         a typo in comments.
15024 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
15026         [BZ #20213]
15027         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
15028         argument to itself.
15029         * math/libm-test.inc (asin_test_data): Add sNaN tests.
15031 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15033         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
15034         required flags.
15035         (CFLAGS-pwritev64.c): Likewise.
15036         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
15037         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15038         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
15039         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15040         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
15041         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
15042         syscall from auto-generation.
15043         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
15044         [WORDSIZE == 64] (pwritev64): Remove macro.
15045         [!PWRITEV] (PWRITEV): Likewise.
15046         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
15047         [!PWRITEV] (PWRITE): Likewise.
15048         [!PWRITEV] (OFF_T): Likewise.
15049         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
15050         (LO_HI_LONG): Remove macro.
15051         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
15052         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
15053         (PWRITEV): Remove macro.
15054         (PWRITEV_REPLACEMENTE): Likewise.
15055         (PWRITE): Likewise.
15056         (OFF_T): Likewise.
15057         (pwritev64): New function.
15058         * nptl/tst-cancel4.c (tf_writev): Add test.
15060         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
15061         required flags.
15062         (CFLAGS-preadv64.c): Likewise.
15063         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
15064         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15065         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
15066         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
15067         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
15068         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
15069         syscall from auto-generation.
15070         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
15071         [WORDSIZE == 64] (preadv64): Remove macro.
15072         [!PREADV] (PREADV): Likewise.
15073         [!PREADV] (PREADV_REPLACEMENT): Likewise.
15074         [!PREADV] (PREAD): Likewise.
15075         [!PREADV] (OFF_T): Likewise.
15076         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
15077         (LO_HI_LONG): Remove macro.
15078         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
15079         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
15080         (PREADV): Remove macro.
15081         (PREADV_REPLACEMENTE): Likewise.
15082         (PREAD): Likewise.
15083         (OFF_T): Likewise.
15084         (preadv64): New function.
15085         * nptl/tst-cancel4.c (tf_preadv): Add test.
15087 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
15089         [BZ #20212]
15090         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
15091         argument to itself.
15092         * math/libm-test.inc (acos_test_data): Add sNaN tests.
15094 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15096         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
15097         New symbol defined as libc_hidden_def.
15098         (strcasestr): Became a weak alias to __strcasestr.
15099         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
15100         according to multi-arch support.  Move __stpncpy hidden
15101         definition from here to...
15102         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
15103         symbol stpncpy.
15104         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
15105         libc_hidden_builtin_def.
15106         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
15107         memset symbol to use when multi-arch support is available.
15109 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15111         * dlfcn/tst-rec-dlopen.c: Include string.h.
15113 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15115         * manual/install.texi: Remove mention of --without-tls
15116         * INSTALL: Regenerate.
15118 2016-06-05  Florian Weimer  <fweimer@redhat.com>
15120         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
15121         Remove.
15122         (call_function, interposed_malloc_called): New variables.
15123         (malloc): New function.
15124         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
15125         and clear call_function as needed.
15127 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
15129         * include/wchar.h (__wmemset): Use __typeof.
15131 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
15133         * include/wchar.h (__wmemset): Declare function without typeof.
15135 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
15137         [BZ #20205]
15138         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
15139         exponent when incrementing negative subnormal with low mantissa
15140         word zero.
15141         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
15142         Add another test.
15144 2016-06-03  Florian Weimer  <fweimer@redhat.com>
15146         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
15147         __wmemset instead of wmemset.
15149 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
15151         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
15152         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
15153         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
15154         __USE_KERNEL_IPV6_DEFS to 0.
15155         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
15156         Update comment.
15158 2016-06-01  Florian Weimer  <fweimer@redhat.com>
15160         [BZ #19861]
15161         Do not use IFUNC resolver with potentially unrelocated symbol.
15162         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
15163         (DEFINE_FORK): Remove macro and inline definition.
15164         (fork_alias): Renamed from fork_ifunc.
15165         (__fork_alias): Renamed from __fork_ifunc.
15167 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
15169         [BZ 19653]
15170         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
15171         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
15173 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15175         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
15176         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
15177         i386-linux-gnu).
15178         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
15179         Set to no.
15180         * sysdeps/mach/hurd/configure: Refresh.
15182 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15184         [BZ #20178]
15185         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
15186         on failure instead of exit.
15188 2016-05-30  Roland McGrath  <roland@hack.frob.com>
15190         [BZ #3629]
15191         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
15192         of POSIX.1-2008.
15194 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15196         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
15197           Use PLT entry for calling _hurd_self_sigstate.
15199 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
15201         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
15202         available logical processors with SMT level type sharing L2
15203         cache for Intel processors.
15205 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
15207         [BZ #20160]
15208         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
15209         argument to itself before returning the result.
15210         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
15211         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
15212         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
15213         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
15214         Likewise.
15215         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
15216         Likewise.
15217         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
15218         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
15219         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15220         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15221         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
15222         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
15224         [BZ #20160]
15225         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
15226         argument to itself before returning the result.
15227         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
15228         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
15229         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
15230         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
15231         Likewise.
15232         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15233         Likewise.
15234         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
15235         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
15236         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
15237         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15238         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
15239         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
15241 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15243         * libm-test.inc: Replace usage of M_El with
15244         (lit_e): New macro.
15246 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15248         * libm-test.inc: Replace usage of M_PI_4l with
15249         (lit_pi_4_d): New macro.
15251 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15253         * libm-test.inc: Replace usage of M_PIl with
15254         (lit_pi): New macro.
15256 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15258         * libm-test.inc: Replace usage of M_PI2l with
15259         (lit_pi_2_d): New macro.
15261         * math/test-double.h (LITM): New macro.
15262         * math/test-float.h (LITM): Likewise.
15263         * math/test-ldouble.h (LITM): Likewise.
15265 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15267         * libm-test.inc (M_PI_34l): Rename to
15268         (lit_pi_3_m_4_d): New Macro.
15269         (M_PI_34_LOG10El): Rename to
15270         (lit_pi_3_m_4_ln10_m_d): New Macro.
15271         (M_PI2_LOG10El): Rename to
15272         (lit_pi_2_ln10_m_d):  New Macro.
15273         (M_PI4_LOG10El): Rename to
15274         (lit_pi_4_ln10_m_d):  New Macro.
15275         (M_PI_LOG10El): Rename to
15276         (lit_pi_ln10_d):  New Macro.
15278 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
15280         [BZ #20157]
15281         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
15282         determine whether to negate low half if [_ARCH_PPCGR], and integer
15283         comparison otherwise.
15284         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
15285         determine whether to negate low half.
15287         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
15288         (NO_TEST_INLINE_DOUBLE): Likewise.
15289         (TEST_COND_x86_64): Likewise.
15290         (TEST_COND_x86): Likewise.
15291         (M_PI_6l): Likewise.
15293 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15295         * math/libm-test.inc:
15296         (TEST_FLOAT): Change usage to TEST_COND_binary32.
15297         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
15298         (TEST_LDOUBLE): Update usage to evaluate as true if
15299         the guarded tests match the property being tested.
15300         (LDBL_MAX_EXP): Change to MAX_EXP.
15301         (LDBL_MIN_EXP): Change to MIN_EXP.
15302         (LDBL_MANT_DIG): Change to MANT_DIG, except for
15303         nexttoward tests.
15305 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15307         * math/libm-test.inc:
15308         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
15309         (TYPE_MIN): Likewise.
15310         (TYPE_TRUE_MIN): Likewise.
15311         (TYPE_MAX): Likewise.
15312         (MIN_EXP): Likewise.
15313         (MAX_EXP): Likewise.
15314         (MANT_DIG): Likewise.
15316         (FSTR_MAX): New macro.
15317         (__CONCATX): Likewise.
15318         (QTYPE_STR): Likewise.
15319         (TEST_COND_binary32): Likewise.
15320         (TEST_COND_binary64): Likewise.
15321         (TEST_COND_binary128): Likewise.
15322         (TEST_COND_ibm128): Likewise.
15323         (TEST_COND_intel96): Likewise.
15324         (TEST_COND_m68k96): Likewise.
15326         (TEST_COND_flt_32): Redefine as equivalent format test macro.
15327         (TEST_COND_dbl_64): Likewise.
15328         (TEST_COND_ldbl_96_intel): Likewise.
15329         (TEST_COND_ldbl_96_m68k): Likewise.
15330         (TEST_COND_ldbl_128): Likewise.
15331         (TEST_COND_ldbl_128ibm): Likewise.
15333         (plus_zero): Redefine using LIT macro.
15334         (minus_zero): Likewise.
15335         (plus_infty): Redefine as (INF).
15336         (minux_infty): Redefine as (-INF).
15337         (max_value): Redefine as TYPE_MAX.
15338         (min_value): Redefine as TYPE_MIN.
15339         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
15341         (print_float): Refactor to use snprintf to convert FLOAT values
15342         to string. This brings it closer to dropin replacement of strtof
15343         for the TS 18661 defined types.
15344         (update_stats): Likewise.
15345         (print_complex_function_ulps): Likewise.
15346         (print_max_error): Likewise.
15347         (print_complex_max_error): Likewise.
15348         (check_float_internal): Likewise.
15350         * math/test-float.h (PREFIX): New macro.
15351         (LIT): Likewise.
15352         (TYPE_STR): Likewise.
15353         (FTOSTR): Likewise.
15355         * math/test-double.h (PREFIX): New macro.
15356         (LIT): Likewise.
15357         (TYPE_STR): Likewise.
15358         (FTOSTR): Likewise.
15360         * math/test-ldouble.h (PREFIX): New macro.
15361         (LIT): Likewise.
15362         (TYPE_STR): Likewise.
15363         (FTOSTR): Likewise.
15365 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
15367         [BZ #20156]
15368         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
15369         to itself when zero or not finite.
15370         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
15371         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15372         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
15373         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
15375 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
15377         [BZ #20153]
15378         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
15379         x * x + x for infinities and NaNs.
15381         [BZ #20151]
15382         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
15383         argument to itself before returning result.
15384         (__ieee754_y0l): Likewise.
15385         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15386         (__ieee754_y1l).
15388         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
15389         (atan_test_data): Likewise.
15390         (ceil_test_data): Likewise.
15391         (cos_test_data): Likewise.
15392         (cosh_test_data): Likewise.
15393         (erf_test_data): Likewise.
15394         (exp2_test_data): Likewise.
15395         (fabs_test_data): Likewise.
15396         (floor_test_data): Likewise.
15397         (ilogb_test_data): Likewise.
15398         (j0_test_data): Likewise.
15399         (j1_test_data): Likewise.
15400         (jn_test_data): Likewise.
15401         (lgamma_test_data): Likewise.
15402         (lrint_test_data): Likewise.
15403         (llrint_test_data): Likewise.
15404         (logb_test_data): Likewise.
15405         (lround_test_data): Likewise.
15406         (llround_test_data): Likewise.
15407         (nearbyint_test_data): Likewise.
15408         (rint_test_data): Likewise.
15409         (round_test_data): Likewise.
15410         (sin_test_data): Likewise.
15411         (sincos_test_data): Likewise.
15412         (sinh_test_data): Likewise.
15413         (sqrt_test_data): Likewise.
15414         (tan_test_data): Likewise.
15415         (tanh_test_data): Likewise.
15416         (tgamma_test_data): Likewise.
15417         (trunc_test_data): Likewise.
15418         (y0_test_data): Likewise.
15419         (y1_test_data): Likewise.
15420         (yn_test_data): Likewise.
15422         * math/libm-test.inc: Update comment about NaN testing.
15423         (TEST_SNAN): New macro.
15424         (snan_value): Likewise.
15425         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
15426         (fpclassify_test_data): Add sNaN tests.
15427         (isfinite_test_data): Likewise.
15428         (isinf_test_data): Likewise.
15429         (isnan_test_data): Likewise.
15430         (isnormal_test_data): Likewise.
15431         (issignaling_test_data): Likewise.
15432         (signbit_test_data): Likewise.
15433         * math/gen-libm-test.pl (%beautify): Add snan_value.
15434         (show_exceptions): Add argument $test_snan.
15435         (parse_args): Handle snan_value as non-finite.  Update call to
15436         show_exceptions.
15437         * math/Makefile (libm-test-no-inline-cflags): Add
15438         -fsignaling-nans.
15440 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15442         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
15443         (CFLAGS-oldsendmsg.c): Add rule.
15444         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
15445         Correct recvmsg symbol name.
15446         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
15447         Likewise.
15449 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15451         * sysdeps/unix/sysv/linux/Makefile
15452         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
15453         oldsendmmsg.
15454         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
15455         sendmmsg.
15456         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15457         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15458         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15459         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15461         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15462         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15464         Likewise.
15465         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15466         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
15467         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
15468         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
15469         iovlen and controllen fields to adjust to POSIX specification.
15470         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15472         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
15473         and change to correct expected type.
15474         (msghdr.msg_controllen): Likewise.
15475         (cmsghdr.cmsg_len): Likewise.
15476         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
15477         expected POSIX assumption about the size.
15478         (msghdr.msg_controllen): Likewise.
15479         (msghdr.__glibc_reserved1): Likewise.
15480         (msghdr.__glibc_reserved2): Likewise.
15481         (cmsghdr.cmsg_len): Likewise.
15482         (cmsghdr.__glibc_reserved1): Likewise.
15483         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
15484         Add ptw-oldrecvmsg and ptw-oldsendmsg.
15485         (CFLAGS-sendmsg.c): Remove rule.
15486         (CFLAGS-recvmsg.c): Likewise.
15487         (CFLAGS-oldsendmsg.c): Add rule.
15488         (CFLAGS-oldrecvmsg.c): Likewise.
15489         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
15490         recvmsg and sendmsg.
15491         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
15492         Likewise.
15493         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
15494         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
15495         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
15496         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
15497         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
15498         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
15499         Likewise.
15500         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
15501         Likewise.
15502         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
15503         Likewise.
15504         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
15505         Likewise.
15506         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
15507         Likewise.
15508         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
15509         Likewise.
15510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
15511         (GLIBC_2.24): Likewise.
15512         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
15513         Likewise.
15514         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
15515         Likewise.
15516         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
15517         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
15518         Likewise.
15519         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
15520         Likewise.
15521         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
15522         Likewise.
15523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
15524         (GLIBC_2.24): Likewise.
15525         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
15526         Likewise.
15527         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
15528         Likewise.
15529         * sysdeps/unix/sysv/linux/Makefile
15530         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
15531         (CFLAGS-sendmsg.c): Add rule.
15532         (CFLAGS-recvmsg.c): Likewise.
15533         (CFLAGS-oldsendmsg.c): Likewise.
15534         (CFLAGS-oldrecvmsg.c): Likewise.
15535         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
15536         initialization.
15537         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15538         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15539         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
15540         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
15541         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
15542         iovlen and controllen fields to adjust to POSIX specification.
15543         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
15544         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
15545         added recvmsg and sendmsg.
15546         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15547         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15548         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15549         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15550         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15551         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15552         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15553         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15554         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15555         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15556         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15557         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
15558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15559         Likewise.
15560         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15562         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15563         Likewise.
15564         Likewise.
15565         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15566         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15567         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15568         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15569         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15570         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15572         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15574         Likewise.
15575         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15576         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15578         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
15579         from auto-generation.
15580         (sendmsg): Likewise.
15581         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
15582         (sendmsg): Likewise.
15583         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
15584         (sendmsg): Likewise.
15585         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
15586         (sendmsg): Likewise.
15587         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
15588         (sendmsg): Likewise.
15589         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
15590         (sendmsg): Likewise.
15591         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
15592         Likewise.
15593         (sendmsg): Likewise.
15594         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
15595         (sendmsg): Likewise.
15596         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15597         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15598         Remove.
15599         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15600         Likewise.
15601         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15602         Undefine.
15603         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15604         Likewise.
15605         * sysdeps/unix/sysv/linux/kernel-features.h
15606         (__ASSUME_SENDMSG_SYSCALL): Define.
15607         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15608         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15609         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15610         Remove.
15611         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15612         Likewise.
15613         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15614         Undefine.
15615         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15616         Likewise.
15617         * sysdeps/unix/sysv/linux/s390/kernel-features.h
15618         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15619         Remove.
15620         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15621         Likewise.
15622         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15623         Undefine.
15624         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15625         Likewise.
15626         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15627         (__ASSUME_SENDMSG_SYSCALL): Undefine.
15628         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15629         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15630         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15631         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15632         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15633         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15634         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15636 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15638         * stdlib/gen-tst-strtod-round.c: Add backslash to
15639         compile command in comment.
15640         (printfp): Remove the literal suffix, and define an infinite
15641         value as INF to avoid expansion clash with INFINITY.
15642         (round_str): Remove the literal suffix.
15643         (round_for_all): Likewise, remove the now duplicate ldbl-64
15644         entry, and remove some magic constants.
15646         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
15647         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
15648         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
15649         (_CONCAT): New macro.
15650         (CONCAT): Likewise.
15651         (CHOOSE_ld): Likewise.
15652         (CHOOSE_f): Likewise.
15653         (CHOOSE_d): Likewise.
15654         (FTYPE_MEMBER): Likewise.
15655         (BOOL_MEMBER): Likewise.
15656         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
15657         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
15658         (_XNTRY): Likewise.
15659         (XNTRY): Likewise.
15660         (_ENTRY): Likewise.
15661         (ENTRY): Likewise.
15662         (test_exactness): Generate members via macro.
15663         (test_results): Likewise.
15664         (test): Update members.
15665         (TEST): Redefine using new macros.
15666         (INF): New macro.
15667         (fetestmodes): New structure.
15668         (do_test): Refactor to be type generic.
15669         (test_in_one_mode): Refactor duplicate code into
15670         (GEN_ONE_TEST): New macro.
15672         * stdlib/tst-strtod-round-data.h: Regenerate.
15674         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
15675         Extend to pass additional arbitrary parameters to
15676         generators.
15678 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
15680         [BZ #15479]
15681         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
15682         floating-point state after first floating-point operation on
15683         input.  Restore full floating-point state instead of just rounding
15684         mode.
15685         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
15686         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
15687         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
15688         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
15689         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
15691         [BZ #15479]
15692         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
15693         floating-point state after first floating-point operation on
15694         input.  Restore full floating-point state instead of just rounding
15695         mode.
15696         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
15697         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
15698         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
15699         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
15700         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
15702 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15704         [BZ #19727]
15705         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
15706         valid high surrogate.
15707         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
15708         of an utf16 surrogate.
15709         * iconv/gconv_simple.c (BODY): Likewise.
15710         * iconvdata/bug-iconv12.c: New file.
15711         * iconvdata/Makefile (tests): Add bug-iconv12.
15713 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15715         [BZ #19726]
15716         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
15717         outptrp in case of an illegal input.
15718         * iconv/tst-iconv6.c: New file.
15719         * iconv/Makefile (tests): Add tst-iconv6.
15721 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15723         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
15724         an error in case of a value in range of an utf16 low surrogate.
15726 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15728         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
15729         an error in case of a value in range of an utf16 low surrogate.
15731 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15733         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
15734         Move to ...
15735         * sysdeps/s390/Makefile: ... here.
15736         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
15737         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
15738         (BRANCH_ON_COUNT): New define.
15739         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
15740         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
15741         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
15742         run on s390-32, too.
15743         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
15744         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
15745         run on s390-32, too.
15746         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
15747         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
15748         run on s390-32, too.
15750 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15752         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
15753         etf3eh or new vector loop-variant.
15755 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15757         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
15758         etf3eh or new vector loop-variant.
15760 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15762         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
15763         or new vector loop-variant.
15765 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15767         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
15768         Rename to TR_LOOP and usage of tr instead of troo instruction.
15770 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15772         * sysdeps/s390/multiarch/gconv_simple.c: New File.
15773         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
15775 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15777         * sysdeps/s390/multiarch/8bit-generic.c: New File.
15778         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
15779         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
15780         New override define.
15781         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
15783 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15785         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
15786         * sysdeps/s390/configure.ac: Add test for S390 vector register
15787         support in gcc.
15788         * sysdeps/s390/configure: Regenerated.
15790 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15792         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
15793         Install file from $(objpfx)gconv-modules.
15794         ($(objpfx)gconv-modules): Concatenate architecture specific file
15795         in variable sysdeps-gconv-modules and gconv-modules in src dir.
15796         * sysdeps/s390/gconv-modules: New file.
15797         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
15798         Deleted.
15799         ($(objpfx)gconv-modules-s390): Deleted.
15800         (sysdeps-gconv-modules): New variable.
15802 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15804         [BZ #15479]
15805         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
15806         of immediate operand to rounding instruction.
15807         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
15808         Likewise.
15809         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
15810         Likewise.
15811         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
15812         Likewise.
15814 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15816         * math/libm-test.inc (MIN_EXP): Directly define as
15817         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
15819 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15821         * math/libm-test.inc (MANT_DIG): Directly define as
15822         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
15824 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15826         * stdlib/gen-tst-strtod-round.c (main):
15827           Change usage to more closely match the generated
15828           output.  Add usage and compilation instructions.
15829           (string_to_fp): Add and use FILE* parameter as
15830           output target.
15831           (print_fp): Likewise.
15832           (round_str): Likewise.
15833           (round_for_all): Likewise.
15834         * stdlib/tst-strtod-round.c (tests): Move into
15835         * stdlib/tst-strtod-round-data.h: New file.
15837 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15839         [BZ #15479]
15840         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
15841         (__round): Do not force "inexact" exception.
15842         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
15843         variable.
15844         (__round): Do not force "inexact" exception.
15845         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
15846         (__roundf): Do not force "inexact" exception.
15847         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
15848         (__roundl): Do not force "inexact" exception.
15849         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
15850         (__roundl): Do not force "inexact" exception.
15851         * math/libm-test.inc (round_test_data): Do not allow spurious
15852         "inexact" exceptions.
15854         [BZ #15479]
15855         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
15856         exception in comment.
15857         (huge): Remove variable.
15858         (__floor): Do not force "inexact" exception.
15859         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
15860         "inexact" exception in comment.
15861         (huge): Remove variable.
15862         (__floor): Do not force "inexact" exception.
15863         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
15864         exception in comment.
15865         (huge): Remove variable.
15866         (__floorf): Do not force "inexact" exception.
15867         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
15868         exception in comment.
15869         (huge): Remove variable.
15870         (__floorl): Do not force "inexact" exception.
15872         [BZ #15479]
15873         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
15874         exception in comment.
15875         (huge): Remove variable.
15876         (__ceil): Do not force "inexact" exception.
15877         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
15878         "inexact" exception in comment.
15879         (huge): Remove variable.
15880         (__ceil): Do not force "inexact" exception.
15881         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
15882         (__ceilf): Do not force "inexact" exception.
15883         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
15884         exception in comment.
15885         (huge): Remove variable.
15886         (__ceill): Do not force "inexact" exception.
15888 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
15890         * config.h.in (BIND_NOW): New.
15891         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
15892         * configure: Regenerated.
15893         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
15894         indirect branch via the GOT slot.
15896 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15898         [BZ #19765]
15899         * sysdeps/s390/mempcpy.S: New File.
15900         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15901         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
15902         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15903         Add mempcpy variants.
15904         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
15905         (memcpy): Adjust to be usable from mempcpy entry point.
15906         (__memcpy_mvcle): Likewise.
15907         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15908         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
15909         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
15910         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
15911         (__memcpy_z10): Likewise.
15912         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
15914 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15916         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
15917         Remove __GI_ symbol.
15918         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
15919         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
15920         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
15921         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
15922         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
15923         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
15925 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15927         * sysdeps/s390/s390-64/memcpy.S (memcpy):
15928         Use cghi instead of chi to compare 64bit value.
15930 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15932         * sysdeps/s390/s390-32/memcpy.S (memcpy):
15933         Jump to 1MB check before executing mvc-loop.
15935 2016-05-24  Florian Weimer  <fweimer@redhat.com>
15937         [BZ #6527]
15938         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
15939         unconditionally.
15940         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
15942 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15944         * stdlib/tst-strtod6.c (do_test): Use new type generic
15945         invocation of the test function.
15946         (test): Refactor into ...
15947         (TEST_STRTOD): New macro base function.
15949 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15951         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
15952         (TEST_STRTOD): New macro.
15953         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
15955 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15957         * stdlib/tst-strtod6.c (do_test): Use new type generic
15958         invocation of the test function.
15959         (test): Refactor into ...
15960         (TEST_STRTOD): New macro base function.
15962 2016-05-23  Florian Weimer  <fweimer@redhat.com>
15964         CVE-2016-4429
15965         [BZ #20112]
15966         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
15967         payload.
15969 2016-05-23  Florian Weimer  <fweimer@redhat.com>
15971         [BZ #20111]
15972         * bits/sockaddr.h (_SS_SIZE): Define.
15973         * bits/socket.h (_SS_SIZE): Remove.
15974         (_SS_PADSIZE): Adjust to account for all padding.
15975         (struct sockaddr_storage): Update comment.  Avoid implicit
15976         padding.
15977         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
15978         (_SS_PADSIZE): Adjust to account for all padding.
15979         (struct sockaddr_storage): Update comment.  Avoid implicit
15980         padding.
15981         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
15982         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
15983         (_SS_PADSIZE): Adjust to account for all padding.
15984         (struct sockaddr_storage): Update comment.  Avoid implicit
15985         padding.
15986         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
15987         __SS_SIZE is 126 in this version.
15988         * inet/tst-sockaddr.c: New file.
15989         * inet/Makefile (tests): Add tst-sockaddr.c
15990         (tst-sockaddr.c): Compile with non-strict aliasing.
15992 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
15994         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
15995         [XPG3 || XPG4].
15996         (NL_ARGMAX): Also expect for [XPG3].
15997         (NL_LANGMAX): Likewise.
15998         (NL_MSGMAX): Likewise.
15999         (NL_NMAX): Likewise.
16000         (NL_SETMAX): Likewise.
16001         (NL_TEXTMAX): Likewise.
16002         (NZERO): Likewise.
16003         (TMP_MAX): Likewise.
16004         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
16005         variable.
16007         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
16008         (PF_MAX): Update value.
16009         (AF_KCM): New macro.
16010         (SOL_NETBEUI): Likewise.
16011         (SOL_LLC): Likewise.
16012         (SOL_DCCP): Likewise.
16013         (SOL_NETLINK): Likewise.
16014         (SOL_TIPC): Likewise.
16015         (SOL_RXRPC): Likewise.
16016         (SOL_PPPOL2TP): Likewise.
16017         (SOL_BLUETOOTH): Likewise.
16018         (SOL_PNPIPE): Likewise.
16019         (SOL_RDS): Likewise.
16020         (SOL_IUCV): Likewise.
16021         (SOL_CAIF): Likewise.
16022         (SOL_ALG): Likewise.
16023         (SOL_NFC): Likewise.
16024         (SOL_KCM): Likewise.
16025         (MSG_BATCH): New enum value and macro.
16027 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
16029         [BZ #18185]
16030         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
16031         sharing L2 cache to 2 for Knights Landing.
16033 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
16035         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
16036         (FTW_DP): Do not expect for [XPG3 || XPG4].
16037         (FTW_SL): Do not expect for [XPG3].
16038         (FTW_SLN): Likewise.
16039         (FTW_PHYS): Likewise.
16040         (FTW_MOUNT): Likewise.
16041         (FTW_DEPTH): Likewise.
16042         (FTW_CHDIR): Likewise.
16043         (nftw): Likewise.
16044         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
16045         variable.
16047 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
16049         * manual/errno.texi: Fix various typos & grammar errors.
16051 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
16053         * manual/intro.texi: Fix duplicated typo.
16055 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
16057         [BZ #13304]
16058         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
16059         <float.h>, <math_private.h> and <stdlib.h>.
16060         (add_split): New function.
16061         (mul_split): Likewise.
16062         (ext_val): New typedef.
16063         (store_ext_val): New function.
16064         (mul_ext_val): New function.
16065         (compare): New function.
16066         (add_split_ext): New function.
16067         (__fmal): After checking for Inf, NaN and zero, compute result as
16068         an exact sum of scaled double values in round-to-nearest before
16069         adding those up and adjusting for other rounding modes.
16070         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
16071         tests of fma.
16072         * math/auto-libm-test-out: Regenerated.
16074 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16076         [BZ #20119]
16077         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
16078         processor level type mask for CPUID with EAX == 11.
16080 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16082         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
16083         logical threads if the HTT bit is 0.
16084         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
16085         (index_cpu_HTT): Likewise.
16086         (reg_HTT): Likewise.
16088 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16090         [BZ #20115]
16091         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
16092         Remove alignments on jump targets.
16094 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
16096         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
16097         (getpwent): Likewise.
16098         (setpwent): Likewise.
16099         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
16100         variable.
16102         * conform/data/search.h-data (insque): Do not expect for [XPG3].
16103         (remque): Likewise.
16104         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
16105         variable.
16107 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
16109         * math/libm-test.inc: Update comment not to refer to signs of NaNs
16110         not being tested.
16112 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16114         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16115         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
16116         call.
16117         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16118         (__condvar_cleanup1): Likewise.
16120 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16122         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
16123         New
16124         (__pthread_unwind): Renamed to ...
16125         (PTHREAD_UNWIND): This.
16126         (__pthread_enable_asynccancel): Replace
16127         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
16129 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
16131         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
16132         (CLONE_NEWCGROUP): New macro.
16134         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
16135         (Q_GETNEXTQUOTA): New macro.
16137 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16139         [BZ #19907]
16140         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
16141         buffer updated by the previous run.
16142         * string/test-memcpy.c (do_one_test): Likewise.
16143         * benchtests/bench-memmove.c (do_one_test): Add a comment.
16144         * string/test-memmove.c (do_one_test): Likewise.
16146 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
16148         [BZ #20094]
16149         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
16150         not [__USE_XOPEN].
16151         (unlockpt): Likewise.
16152         (ptsname): Likewise.
16153         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
16154         variable.
16156         [BZ #20076]
16157         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
16158         instead of [__USE_UNIX98].
16159         (S_ISSOCK): Likewise.
16160         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
16161         variable.
16163         [BZ #20074]
16164         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
16165         [__USE_POSIX].
16166         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
16167         variable.
16169         [BZ #20051]
16170         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
16171         (ttyslot): Do not declare.
16172         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
16173         (ttyslot): New prototype.
16174         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
16175         variable.
16176         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16178 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16180         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
16182 2016-05-13  Florian Weimer  <fweimer@redhat.com>
16184         Fix race condition in tst-mallocfork2, use fewer resources.
16185         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
16186         to current process group.
16187         (signal_sender): Yield in the non-sleeping case.
16189 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
16191         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
16192         (ecvt): Likewise.
16193         (fcvt): Likewise.
16194         (gcvt): Likewise.
16195         (getsubopt): Likewise.
16196         (grantpt): Likewise.
16197         (initstate): Likewise.
16198         (l64a): Likewise.
16199         (mktemp): Likewise.
16200         (mkstemp): Likewise.
16201         (ptsname): Likewise.
16202         (random): Likewise.
16203         (realpath): Likewise.
16204         (setstate): Likewise.
16205         (srandom): Likewise.
16206         (ttyslot): Likewise.
16207         (unlockpt): Likewise.
16208         (valloc): Likewise.
16210         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
16211         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
16212         variable.
16214 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16216         [BZ #20072]
16217         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
16218         init_cpu_features only if SHARED is defined.
16219         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
16221 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16223         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
16224         non-inclusive caches on Intel processors.
16226 2016-05-13  Florian Weimer  <fweimer@redhat.com>
16228         * malloc/malloc.c (dumped_main_arena_start)
16229         (dumped_main_arena_end): New variables.
16230         (DUMPED_MAIN_ARENA_CHUNK): New macro.
16231         (do_check_chunk): Skip dumped fake mmapped chunks.
16232         (munmap_chunk): Likewise.
16233         (__libc_free): Do not adjust statistics for fake mmapped chunks.
16234         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
16235         mmapped chunks.
16236         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
16237         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
16238         and dumped_main_arena_end to cover the dumped heap.
16240 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
16242         * conform/data/time.h-data (getdate_err): Do not expect for
16243         [XPG3].
16244         (getdate): Likewise.
16245         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
16246         variable.
16248         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
16249         (F_ULOCK): Likewise.
16250         (F_TEST): Likewise.
16251         (F_TLOCK): Likewise.
16252         (useconds_t): Likewise.
16253         (intptr_t): Do not expect for [XPG3] or [XPG4].
16254         (brk): Do not expect for [XPG3]
16255         (fchown): Likewise.
16256         (fchdir): Likewise.
16257         (ftruncate): Likewise.
16258         (getdtablesize): Likewise.
16259         (gethostid): Likewise.
16260         (getpagesize): Likewise.
16261         (getpgid): Likewise.
16262         (getsid): Likewise.
16263         (getwd): Likewise.
16264         (lchown): Likewise.
16265         (lockf): Likewise.
16266         (readlink): Likewise.
16267         (sbrk): Likewise.
16268         (setpgrp): Likewise.
16269         (setregid): Likewise.
16270         (setreuid): Likewise.
16271         (symlink): Likewise.
16272         (sync): Likewise.
16273         (truncate): Likewise.
16274         (ualarm): Likewise.
16275         (usleep): Likewise.
16276         (vfork): Likewise.
16277         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
16278         variable.
16280         [BZ #20054]
16281         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
16282         not [__USE_UNIX98].
16283         * conform/data/unistd.h-data (gethostname): Do not expect for
16284         [XPG3].
16286         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
16287         [!POSIX] (S_IFBLK): Likewise.
16288         [!POSIX] (S_IFCHR): Likewise.
16289         [!POSIX] (S_IFIFO): Likewise.
16290         [!POSIX] (S_IFREG): Likewise.
16291         [!POSIX] (S_IFDIR): Likewise.
16292         [!POSIX] (S_IFLNK): Likewise.
16293         [!POSIX] (S_IFSOCK): Likewise.
16294         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
16295         variable.
16296         (test-xfail-XPG4/fcntl.h/conform): Likewise.
16298 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
16300         * sysdeps/aarch64/memset.S (__memset):
16301         Rewrite of optimized memset.
16303 2016-05-12  Florian Weimer  <fweimer@redhat.com>
16305         [BZ #19703]
16306         Partially async-signal-safe fork for single-threaded processes.
16307         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
16308         variable.  Do not acquire and reset/release malloc and libio locks
16309         in single-threaded processes.
16310         * malloc/tst-mallocfork2.c: New file.
16311         * malloc/Makefile (tests): Add it.
16313 2016-05-12  Florian Weimer  <fweimer@redhat.com>
16315         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
16316         argument.  Use scratch buffer instead of extend_alloca.
16317         (gethosts): Use scratch buffer instead of extend_alloca.
16318         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
16319         extend_alloca.
16320         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
16322 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
16324         [BZ #20055]
16325         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
16326         instead of [__USE_UNIX98].
16327         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
16328         [__USE_UNIX98].
16329         * conform/data/termios.h-data (tcgetsid): Do not expect for
16330         [XPG3].
16331         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
16332         variable.
16333         (test-xfail-XPG4/termios.h/conform): Likewise.
16335 2016-05-11  Florian Weimer  <fweimer@redhat.com>
16337         Do not use mcheck in localedef.
16338         * locale/programs/localedef.c (turn_on_mcheck)
16339         (__malloc_initialize_hook): Remove.
16341 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16343         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
16344         * sysdeps/s390/s390-64/Makefile: Likewise.
16346 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
16348         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
16349         Remove ifunc-defines.sym.
16350         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
16351         Likewise.
16352         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
16353         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16354         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
16355         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
16356         rtld-global-offsets.sym.
16357         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
16358         * sysdeps/x86/cpu-features-offsets.sym: This.
16359         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
16360         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
16362 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
16364         [BZ #20073]
16365         * io/sys/stat.h (fchmod): Declare for
16366         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
16367         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
16368         variable.
16370         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
16371         [XPG3] (S_IFSOCK): Likewise.
16372         [XPG3] (S_ISVTX): Likewise.
16373         [XPG3] (S_ISLNK): Likewise.
16374         [XPG3] (S_ISSOCK): Likewise.
16375         [XPG3] (fchmod): Likewise.
16376         [XPG3] (lstat): Likewise.
16377         [XPG3] (mknod): Likewise.
16379         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
16380         [XPG3].  Expect type long and XFAIL for [XPG4].
16381         (st_blocks): Likewise.
16383         [BZ #20044]
16384         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
16385         (pthread_atfork): New prototype.
16386         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
16387         variable.
16389         [BZ #20043]
16390         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
16391         prototype.
16393 2016-05-10  Florian Weimer  <fweimer@redhat.com>
16395         [BZ #20017]
16396         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
16397         gmtime.
16399 2016-05-10  Florian Weimer  <fweimer@redhat.com>
16401         [BZ #19994]
16402         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
16403         flag in _res.options.
16405 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
16407         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
16408         [XPG3 || XPG4].
16409         (blksize_t): Likewise.
16410         (clockid_t): Likewise.
16411         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
16412         variable.
16413         (test-xfail-XPG4/sys/types.h/conform): Likewise.
16415 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
16417         * sysdeps/unix/sysv/linux/s390/init-first.c:
16418         Add VDSO_SYMBOL(getcpu).
16419         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
16420         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
16421         Add VDSO_SYMBOL(getcpu).
16422         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
16423         New define HAVE_GETCPU_VSYSCALL.
16424         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16426 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
16428         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
16429         instead of <sysdeps/x86_64/cacheinfo.c>.
16430         * sysdeps/x86_64/cacheinfo.c: Moved to ...
16431         * sysdeps/x86/cacheinfo.c: Here.
16433 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16435         * malloc/malloc-internal.h: Adjust header file guard.
16437 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16439         [BZ #19787]
16440         * inet/getnameinfo.c (check_sprintf_result): New function.
16441         (CHECKED_SNPRINTF): New macro.
16442         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
16443         to the host buffer.
16444         (gni_host_local): Use checked_copy to copy the host name.
16445         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
16446         (gni_serv_local): Use checked_copy to copy the service name.
16447         (getnameinfo): Remove unnecessary truncation of result buffers.
16449 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16451         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
16452         in case of inet_ntop failure.
16454 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16456         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
16457         avoid long lines.
16458         (gni_host_inet_numeric): Likewise.  Reduce scope of local
16459         variables.
16460         (gni_host_inet, gni_host_local): Add comment.
16461         (gni_host): Add comment.  Use temporary to avoid long lines.
16463 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16465         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
16466         registers specifiers where general purpose registers specifiers should
16467         have been used.
16469 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16471         [BZ #19779]
16472         CVE-2016-1234
16473         Avoid copying names of directory entries.
16474         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
16475         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
16476         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
16477         (struct readdir_result): New type.
16478         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
16479         (GL_READDIR): New macros.
16480         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
16481         (convert_dirent, convert_dirent64): New functions.
16482         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
16483         convert_dirent64.  Adjust references to the readdir result.
16484         * sysdeps/unix/sysv/linux/i386/glob64.c:
16485         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
16486         * posix/bug-glob2.c (LONG_NAME): Define.
16487         (filesystem): Add LONG_NAME.
16488         (my_DIR): Increase the size of room_for_dirent.
16490 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
16492         [BZ #20041]
16493         * misc/sys/select.h (__need_timespec): Only define if
16494         [__USE_XOPEN2K].
16495         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
16496         variable.
16497         (test-xfail-XPG4/utmpx.h/conform): Likewise.
16498         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16499         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16501 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16502             Segher Boessenkool  <segher@gcc.gnu.org>
16504         [BZ #20004]
16505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
16506         (__novec_swapcontext): Add missing load.
16508 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
16510         [BZ #20023]
16511         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
16512         <time.h>.
16513         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
16514         variable.
16515         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16517 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
16520         flags CLONE_VM compare.
16522 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16524         [BZ #20031]
16525         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
16526         completely empty.
16528 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16530         [BZ #19573]
16531         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
16532         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
16533         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
16534         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
16535         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
16536         (hesiod_free_list): Mark as hidden.
16537         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
16538         res_set, res_get.
16539         * hesiod/hesiod.c: Remove unnecessary forward declarations.
16540         (init, __hesiod_res_get, __hesiod_res_set): Remove.
16541         (hesiod_init): Remove obsolete res_ninit call.
16542         (hesiod_end): Do not free resolver state.  Do not invoke callback.
16543         (hesiod_bind): Do not call init.
16544         (get_txt_records): Use res_mkquery, res_send instead of
16545         res_nmkquery, res_nsend.
16546         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
16547         instead of _nss_hesiod_init.
16548         (_nss_hesiod_initgroups_dyn): Likewise.
16549         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
16550         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
16551         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
16553 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16555         * hesiod/hesiod_p.h (DEF_RHS): Remove.
16556         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
16558 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16560         * hesiod/hesiod.h: Remove RCS keyword.
16561         * hesiod/hesiod_p.h: Likewise.
16563         * hesiod/hesiod.c: Likewise.
16565 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
16567         [BZ #12450]
16568         * locale/iso-639.def: Add Samogitian/sgs.
16570 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
16572         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
16574         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
16576 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
16577             Carlos O'Donell  <carlos@redhat.com>
16579         [BZ #19072]
16580         * grp/Makefile (headers): Add grp-merge.h
16581         (routines): Add grp-merge.
16582         * grp/getgrgid_r.c: Include grp-merge.h.
16583         (DEEPCOPY_FN): Define.
16584         (MERGE_FN): Define.
16585         * grp/getgrname_r.c: Include grp-merge.h.
16586         (DEEPCOPY_FN): Define.
16587         (MERGE_FN): Define.
16588         * grp/grp-merge.c: New file.
16589         * grp/grp-merge.h: New file.
16590         * include/grp-merge.h: New file.
16591         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
16592         __copy_grp@GLIBC_PRIVATE.
16593         * manual/nss.texi (Actions in the NSS configuration): Describe
16594         return, continue, and merge.
16595         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
16596         (DEEPCOPY_FN): Define.
16597         (MERGE_FN): Define.
16598         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
16599         (DEEPCOPY_FN): Define.
16600         (MERGE_FN): Define.
16601         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
16602         [!MERGE_FN]: Define __merge_einval.
16603         (CHECK_MERGE): Define.
16604         (REENTRANT_NAME): Process merge if do_merge is true.
16605         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
16606         (__nss_getent_r): Likewise.
16607         * nss/nsswitch.c (nss_parse_service_list): Likewise.
16608         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
16610 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16612         [BZ #20012]
16613         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
16614         length to calculate the buffer to read.
16615         (fmemopen_write): Set the buffer position based on bytes written.
16616         (fmemopen_seek): Return EINVAL for invalid whence modes.
16618         [BZ #19957]
16619         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
16620         tst-getpid2.
16621         (test): Add tst-clone2.
16622         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
16623         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
16624         pid/tid fields for CLONE_VM.
16625         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16626         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16627         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16628         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
16629         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16630         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16631         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16632         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16634         Likewise.
16635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16636         Likewise.
16637         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16638         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16639         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16640         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16641         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16642         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16643         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16644         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
16646 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16648         [BZ #19642]
16649         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
16650         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
16651         (gni_serv_local, gni_serv): New functions extracted from
16652         getnameinfo.
16653         (getnameinfo): Call gni_host and gni_serv to perform the
16654         processing.  Always free scratch buffer.
16656 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16658         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
16659         remaining bytes in the dest string, with zeros.
16661 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16663         [BZ #20010]
16664         CVE-2016-3706
16665         * sysdeps/posix/getaddrinfo.c
16666         (convert_hostent_to_gaih_addrtuple): New function.
16667         (gethosts): Call convert_hostent_to_gaih_addrtuple.
16668         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
16669         AF_INET data.
16671 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16673         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
16674         callback function gl_readdir.
16675         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
16676         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
16677         (glob_in_dir): Remove len.  Use strdup instead of malloc and
16678         memcpy to copy the name.
16679         * manual/pattern.texi (Calling Glob): Document requirements for
16680         implementations of the gl_readdir callback function.
16681         * manual/examples/mkdirent.c: New example.
16682         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
16683         per the manual guidance.
16684         * posix/tst-gnuglob.c (my_readdir): Likewise.
16686 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
16688         [BZ #20014]
16689         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
16690         not [__USE_POSIX].
16691         (getchar_unlocked): Likewise.
16692         (putc_unlocked): Likewise.
16693         (putchar_unlocked): Likewise.
16694         (flockfile): Likewise.
16695         (ftrylockfile): Likewise.
16696         (funlockfile): Likewise.
16697         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
16698         variable.
16699         (test-xfail-XPG4/stdio.h/conform): Likewise.
16701         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
16702         Expect constant.
16703         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
16704         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
16705         variable.
16706         (test-xfail-XPG4/langinfo.h/conform): Likewise.
16707         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16709         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
16710         [__USE_LARGEFILE64] (off64_t): Likewise.
16711         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
16712         variable.
16714 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16716         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
16718 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16720         * resolv/inet_addr.c: Reindent preprocessor conditionals.
16721         * resolv/res_init.c: Likewise.
16722         * resolv/res_mkquery.c: Likewise.
16724 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16726         * resolv/res_init.c (isascii): Do not define.  Use definition in
16727         <ctype.h>.
16728         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
16729         (LOG_AUTH): Remove.
16730         (SPRINTF): Remove, adjust caller.
16731         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
16733 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16735         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
16736         SUNSECURITY conditional.
16737         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
16739 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16741         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
16742         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
16743         Remove BSD-related preprocessor conditionals.
16744         * conf/portability.h: Remove.
16746 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16748         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
16749         * resolv/res_data.c: Likewise.
16751 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16753         * resolv/res_comp.c: Remove code conditional on __ultrix__.
16754         * resolv/res_data.c: Remove code conditional on ultrix.
16756 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16758         * resolv/res_init.c (RFC1535): Do not define.  Remove
16759         RFC1535 preprocessor conditionals.
16760         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
16761         because there configuration options which make the resolver
16762         behavior different.
16764 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16766         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
16767         RESOLVSORT preprocessor conditionals.
16768         * resolv/nss_dns/dns-host.c: Likewise.
16769         * resolv/res_init.c: Likewise.
16771 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16773         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
16774         is never defined.
16776 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16778         * inet/inet_lnaof.c: Remove SCSS keyword.
16779         * inet/inet_mkadr.c: Likewise.
16780         * inet/inet_net.c: Likewise.
16781         * inet/inet_netof.c: Likewise.
16782         * inet/rcmd.c: Likewise.
16783         * inet/rexec.c: Likewise.
16784         * inet/ruserpass.c: Likewise.
16786 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16788         * resolv/inet_addr.c: Remove _LIBC conditionals.
16789         * resolv/res_data.c: Likewise.
16790         * resolv/res_init.c: Likewise.
16791         * resolv/res_mkquery.c: Likewise.
16792         * resolv/res_libc.c: Update comment.
16793         * resolv/README: Update.
16795 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16797         * resolv/gethnamaddr.c: Remove SCSS keyword.
16798         * resolv/herror.c: Likewise.
16799         * resolv/inet_addr.c: Likewise.
16800         * resolv/inet_net_ntop.c: Likewise.
16801         * resolv/inet_net_pton.c: Likewise.
16802         * resolv/inet_neta.c: Likewise.
16803         * resolv/inet_ntop.c: Likewise.
16804         * resolv/inet_pton.c: Likewise.
16805         * resolv/ns_date.c: Remove RCS keyword.
16806         * resolv/ns_name.c: Likewise.
16807         * resolv/ns_netint.c: Likewise.
16808         * resolv/ns_parse.c: Likewise.
16809         * resolv/ns_print.c: Likewise.
16810         * resolv/ns_samedomain.c: Likewise.
16811         * resolv/ns_ttl.c: Likewise.
16812         * resolv/nsap_addr.c: Likewise.
16813         * resolv/res_comp.c: Remove SCSS and RCS keyword.
16814         * resolv/res_data.c: Remove RCS keyword.
16815         * resolv/res_debug.c: Remove SCSS and RCS keyword.
16816         * resolv/res_init.c: Likewise.
16817         * resolv/res_mkquery.c: Likewise.
16818         * resolv/res_query.c: Likewise.
16819         * resolv/res_send.c: Likewise.
16821 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16823         * conform/data/stdio.h-data (fdopen): Expect also for
16824         [XPG3 || XPG4].
16826         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
16827         (fseeko): Likewise.
16828         (ftello): Likewise.
16829         (ftrylockfile): Likewise.
16830         (funlockfile): Likewise.
16831         (getc_unlocked): Likewise.
16832         (getchar_unlocked): Likewise.
16833         (putc_unlocked): Likewise.
16834         (putchar_unlocked): Likewise.
16836 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16838         [BZ #19868]
16839         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
16840         DNS packet syntax checks (which were not needed before).  Skip
16841         over non-PTR records.
16843 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16845         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
16846         definition.  Include <stddef.h> instead.
16848 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16850         [BZ #19831]
16851         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
16852         function.
16853         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
16854         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
16856 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16858         [BZ #19862]
16859         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
16860         (getanswer_r): Do not call syslog.
16861         (gaih_getanswer_slice): Likewise.
16862         * resolv/gethnamaddr.c (AskedForGot): Remove.
16863         (getanswer): Do not call syslog.
16864         (gethostbyaddr): Likewise.
16866 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16868         * conform/data/signal.h-data (union sigval): Expect also if
16869         [XOPEN2K].
16870         (struct sigevent): Likewise.
16871         (SIGEV_NONE): Likewise.
16872         (SIGEV_SIGNAL): Likewise.
16873         (SIGEV_THREAD): Likewise.
16874         (SIGRTMIN): Likewise.
16875         (SIGRTMAX): Likewise.
16876         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
16877         variable.
16878         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16880 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16882         [BZ #19830]
16883         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
16884         (gaih_getanswer_slice): Likewise.
16885         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
16886         Also check for availability of RR metadata.
16888 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16890         [BZ #19825]
16891         * resolv/res_send.c (send_vc): Remove early *resplen2
16892         initialization.  Set *resplen2 on socket error.  Call
16893         close_and_return_error for other errors.
16895 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
16897         * sysdeps/unix/sysv/linux/netiucv/iucv.h
16898         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
16899         (SCM_IUCV_TRGCLS): New define.
16901 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16903         [BZ #20005]
16904         * libio/fmemopen.c (fmemopen_write): Update internal position after
16905         write.
16906         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
16907         * stdio-common/tst-fmemopen4.c: New file..
16909 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
16911         [BZ #19996]
16912         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
16913         not [__USE_XOPEN2K].
16914         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
16915         variable.
16917         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
16918         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
16919         variable.
16921         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
16922         [__USE_XOPEN2K8].
16923         [__USE_LARGEFILE64] (off64_t): Likewise.
16924         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
16925         variable.
16927 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
16929         [BZ #19989]
16930         * libio/stdio.h (cuserid): Do not declare if
16931         [__USE_XOPEN2K && !__USE_GNU].
16932         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
16933         variable.
16935 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16937         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16938         (sysdep_routines): Add P8 and PPC64 strcspn targets.
16939         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16940         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
16941         ifunc'ed strcspn.
16942         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
16943         [EALIGN]: Removed.
16944         [END]: Likewise
16945         [STRSPN]: Define instead of the above to control symbol name.
16946         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
16947         New file.
16948         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
16949         Likewise.
16950         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
16951         Likewise.
16952         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
16953         Likewise.
16954         * sysdeps/powerpc/powerpc64/power8/strspn.S:
16955         [INITIAL_MASK]: New macro.
16956         [STRCSPN]: Likewise.
16957         [UPDATE_MASK]: Likewise.
16958         [USE_AS_STRCSPN]: Likewise.
16960 2016-04-25  Florian Weimer  <fweimer@redhat.com>
16962         [BZ #19931]
16963         * stdio-common/tst-vfprintf-width-prec.c: New file.
16964         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
16965         (tests-special): Add tst-vfprintf-width-prec-mem.out.
16966         (generated): Add mtrace-related files.
16967         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
16968         (tst-%-mem.out): New pattern rule, replaces
16969         tst-printf-bz18872-mem.out.
16970         * stdio-common/vfprintf.c (vfprintf): When handling a precision
16971         specifier, deallocate any previously allocated work buffer.
16973 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
16975         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
16976         Add nop before __startcontext, add explaining comments.
16978 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
16980         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
16981         any more. Notably since IPV6_PKTINFO has been reintroduced with a
16982         completely different API.
16984         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
16985         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
16986         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
16987         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
16988         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
16989         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
16990         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
16991         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
16992         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
16993         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
16995 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
16997         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
16999 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
17001         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
17002         when it is the default of 0.
17004 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17006         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
17007         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17008         (sysdep_routines): Add new strcasestr targets.
17009         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17010         (__libc_ifunc_impl_list): Likewise.
17011         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
17012         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
17013         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
17014         * sysdeps/powerpc/powerpc64/power8/Makefile:
17015         New file to add strcasestr-ppc64 to sysdep_routines.
17016         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
17017         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
17019 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
17021         * benchtests/Makefile (wcsmbs-benchset): Include only for
17022         native builds and runs.
17023         (LOCALES): Likewise.
17024         (bench-build): Build timing-type here instead of the bench
17025         target.  Generate locale only for native builds.
17026         * benchtests/README: Add note for cross-building.
17028         * benchtests/Makefile (bench-clean): Clean up extra-objs.
17030         * benchtests/README: Update README to include instructions on
17031         using bench-build.
17033         * Makefile.in (bench-build): New target.
17034         * Rules (PHONY): Add bench-build target.
17035         * benchtests/Makefile (bench): Depend on bench-build.
17036         (bench-build): New target.
17038 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17040         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
17041         profil_reply_port.
17042         (profile_waiter): Do not initialize profil_reply_port.
17043         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
17044         frequency instead of tick length in us.
17046 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
17048         [BZ #18712]
17049         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
17050         (__old_mempcpy_small): Likewise.
17051         (__old_strcpy_small): Likewise.
17052         (__old_stpcpy_small): Likewise.
17053         (__old_strpbrk_c2): Fix compat symbol name.
17054         (__old_strpbrk_c3): Likewise.
17055         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
17056         (__mempcpy_small): Remove.
17057         (__strcpy_small): Remove.
17058         (__stpcpy_small): Remove.
17060 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
17062         [BZ #19400]
17063         * locale/iso-639.def: Add the Talossan/tzl language.
17065 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
17067         [BZ #16983]
17068         * locale/programs/ld-address.c (address_finish): Update postal_fmt
17069         comment.  Add "ln" to strchr check on postal_fmt.
17071 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
17073         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
17074         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
17075         tel_dom_fmt.
17077 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17079         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17080         (sysdep_routines): Added __strlen_power8.
17081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
17082         __strlen_power8 entry.
17083         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
17084         Implementation for POWER8.
17085         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
17086         for __strlen_power8.
17087         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
17088         Implementation for POWER8.
17090 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
17092         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
17094 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
17096         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
17097         Goldmont and Airmont processors.
17099 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
17101         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
17102         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
17103         (__STRING2_SMALL_GET32): Remove.
17104         (memset): Remove.
17105         (__memset_1): Remove.
17106         (__memset_gc): Remove.
17107         (__mempcpy): Remove.
17108         (mempcpy): Remove.
17109         (__mempcpy_args): Remove.
17110         (strchr): Remove.
17111         (strcpy): Remove.
17112         (strcpy_args): Remove.
17113         (__stpcpy_args): Remove.
17114         (__strcmp_cc): Remove.
17115         (__strcmp_gc): Remove.
17116         (strstr): Remove.
17118 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
17120         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
17121         * nis/nis_call.c (nis_server_cache_add): Likewise.
17123 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17125         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
17127 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17129         * malloc/arena.c (__malloc_fork_lock_parent)
17130         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
17131         internal_function attribute.
17133 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
17135         * stdio-common/printf_fp.c (__printf_fp_l):
17136         Rename ___printf_fp_l to __printf_fp_l and
17137         remove strong alias. Use libc_hidden_def instead
17138         of ldbl_hidden_def macro.
17140 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17142         Remove malloc hooks from fork handler.  They are no longer needed
17143         because malloc runs right before fork, and no malloc calls from
17144         other fork handlers are not possible anymore.
17145         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
17146         declarations.
17147         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
17148         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
17149         (atfork_recursive_cntr): Remove.
17150         (__malloc_fork_lock_parent): Do not override malloc hooks and
17151         thread_arena.
17152         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
17153         thread_arena.
17154         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
17155         thread_arena instead of save_arena.
17157 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17159         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
17160         (thread_atfork, thread_atfork_static): Remove.
17161         * sysdeps/mach/hurd/malloc-machine.h:
17162         (thread_atfork, thread_atfork_static): Remove.
17164 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17166         [BZ #19431]
17167         Run the malloc fork handler as late as possible to avoid deadlocks.
17168         * malloc/malloc-internal.h: New file.
17169         * malloc/malloc.c: Include it.
17170         * malloc/arena.c (ATFORK_MEM): Remove.
17171         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
17172         Update comment.
17173         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
17174         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
17175         Remove outdated comment.
17176         (ptmalloc_init): Do not call thread_atfork.  Remove
17177         thread_atfork_static.
17178         * malloc/tst-malloc-fork-deadlock.c: New file.
17179         * Makefile (tests): Add tst-malloc-fork-deadlock.
17180         (tst-malloc-fork-deadlock): Link against libpthread.
17181         * manual/memory.texi (Aligned Memory Blocks): Update safety
17182         annotation comments.
17183         * sysdeps/nptl/fork.c (__libc_fork): Call
17184         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17185         __malloc_fork_unlock_child.
17186         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
17188 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17190         [BZ #19613]
17191         Remove union wait.
17192         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
17193         (w_stopsig, w_stopval): Remove.
17194         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
17195         stat_loc argument.
17196         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
17197         (__WAIT_STATUS_DEFN): Remove.
17198         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
17199         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
17200         (wait, wait3, wait4): Use int * for the stat_loc argument.
17201         * posix/wait.c (__wait): Likewise.
17202         * posix/wait3.c (__wait3): Likewise.
17203         * posix/wait4.c (__wait4): Likewise.
17204         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
17205         (__WAIT_STATUS_DEFN): Remove.
17206         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
17207         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
17208         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
17209         argument.
17210         * sysdeps/posix/wait.c (__libc_wait): Likewise.
17211         * sysdeps/posix/wait3.c (__wait3): Likewise.
17212         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
17213         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
17214         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
17215         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
17216         stat_loc argument.
17217         * manual/process.texi (BSD Wait Functions): Remove union wait.
17219 2016-04-13  Andreas Schwab  <schwab@suse.de>
17221         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
17222         (test-extras): Add tst-tlsalign-vars.
17223         * math/Makefile: Wrap long lines.
17224         (libm-vec-test-wrappers): Define.
17225         (test-extras): Add $(libm-vec-test-wrappers).
17226         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
17227         * nss/Makefile (extra-test-objs): Add nss_test1.os.
17228         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
17229         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
17230         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
17231         (extra-test-objs): Add corresponding objects.
17233 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
17235         [BZ #19928]
17236         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
17237         New.
17238         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
17239         times of shared cache size.
17240         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
17241         (VMOVNT): New.
17242         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
17243         (VMOVNT): Likewise.
17244         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
17245         (VMOVNT): Likewise.
17246         (VMOVU): Changed to movups for smaller code sizes.
17247         (VMOVA): Changed to movaps for smaller code sizes.
17248         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
17249         comments.
17250         (PREFETCH): New.
17251         (PREFETCH_SIZE): Likewise.
17252         (PREFETCHED_LOAD_SIZE): Likewise.
17253         (PREFETCH_ONE_SET): Likewise.
17254         Rewrite to use forward and backward loops, which move 4 vector
17255         registers at a time, to support overlapping addresses and use
17256         non temporal store if size is above the threshold and there is
17257         no overlap between destination and source.
17259 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
17261         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
17262         Include dl-vdso.
17263         * sysdeps/unix/sysv/linux/mips/Versions: Add
17264         __vdso_clock_gettime.
17265         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
17266         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
17267         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
17268         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
17269         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
17270         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
17271         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
17272         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
17273         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
17275 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17277         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
17278         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
17279         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17280         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17281         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17282         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17285         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
17286         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
17287         syscalls generation.
17288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17289         [__NR_pwrite64] (__NR_write): Remove define.
17290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17291         [__NR_pwrite64] (__NR_write): Remove define.
17292         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
17293         Remove define.
17294         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
17295         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
17296         Remove define.
17297         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
17298         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
17299         Linux implementation as base.
17300         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17302         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
17303         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
17304         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17305         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
17307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17308         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
17309         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
17310         syscall generation.
17311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17312         [__NR_pread64] (__NR_pread): Remove define.
17313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17314         [__NR_pread64] (__NR_pread): Likewise.
17315         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
17316         define.
17317         (__libc_pread): Use SYSCALL_LL macro on offset argument.
17318         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
17319         Remove define.
17320         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
17321         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
17322         Linux implementation as base.
17323         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17324         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17325         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17327         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
17328         definition.
17329         (__ALIGNMENT_COUNT): Likewise.
17330         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
17331         (__ALIGNMENT_COUNT): Likewise.
17332         (SYSCALL_LL): New define.
17333         (SYSCALL_LL64): Likewise.
17334         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
17335         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
17336         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
17337         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
17339         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17340         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
17341         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17342         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
17343         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17344         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
17346 2016-04-11  Florian Weimer  <fweimer@redhat.com>
17348         [BZ #19865]
17349         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
17350         original buffer before retry.
17352 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17354         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
17355         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
17356         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
17357         GLRO(dl_auxv) list.
17358         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
17359         including <ldsodefs.h>.
17360         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
17362 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
17364         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
17365         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
17366         $(CPPFLAGS).
17368 2016-04-09  Khem Raj  <raj.khem@gmail.com>
17370         [BZ #17950]
17371         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
17372         Add -mfpmath=387.
17374 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
17376         * sysdeps/i386/configure.ac: Change == to = when calling test.
17377         * sysdeps/x86_64/configure.ac: Likewise.
17378         * sysdeps/i386/configure: Regenerated.
17379         * sysdeps/x86_64/configure: Likewise.
17381 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
17383         [BZ #16137]
17384         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
17385         * benchtests/bench-strcoll.c (input_files): Likewise.
17386         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
17387         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
17388         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
17390 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
17392         [BZ #19929]
17393         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
17394         [__USE_XOPEN2K8 && !__USE_GNU].
17395         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
17396         variable.
17398         [BZ #19925]
17399         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
17400         define if [!__USE_MISC && __USE_XOPEN2K].
17401         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
17402         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
17403         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
17404         Likewise.
17405         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
17406         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
17407         variable.
17408         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17410 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17412         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17413         (sysdep_routines): Add new strspn targets.
17414         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17415         (__libc_ifunc_impl_list): Add strspn.
17416         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
17417         New file.
17418         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
17419         Likewise.
17420         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
17421         Likewise.
17422         * sysdeps/powerpc/powerpc64/power8/strspn.S:
17423         Likewise.
17425 2016-04-07  Florian Weimer  <fweimer@redhat.com>
17427         * misc/hsearch_r.c: Include <limits.h>.
17429 2016-04-07  Florian Weimer  <fweimer@redhat.com>
17431         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
17433 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17435         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17436         (MEMCPY_SYMBOL): New.
17437         (MEMPCPY_SYMBOL): Likewise.
17438         (MEMMOVE_CHK_SYMBOL): Likewise.
17439         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
17440         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
17441         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
17442         Provide alias for memcpy in libc.a and ld.so.
17444 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17446         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17447         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
17448         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
17449         Disabled fro now.
17450         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
17451         symbols.  Properly check USE_MULTIARCH on __memset symbols.
17453 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17455         * benchtests/Makefile (string-benchset): Add memcpy-large,
17456         memmove-large and memset-large.
17457         * benchtests/bench-memcpy-large.c: New file.
17458         * benchtests/bench-memmove-large.c: Likewise.
17459         * benchtests/bench-memmove-large.c: Likewise.
17460         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
17462 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
17464         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
17465         32-bit displacement to avoid long nop between instructions.
17467 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
17469         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
17470         a comment on VMOVU and VMOVA.
17472 2016-04-04  Florian Weimer  <fweimer@redhat.com>
17474         [BZ #19633]
17475         Use specified locale for number formatting in strfmon_l.
17476         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
17477         (__nl_lookup_word): New inline functions.
17478         * include/printf.h (__print_fp_l): Declare.
17479         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
17480         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
17481         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
17482         (___printf_fp): New function.
17483         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
17484         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
17485         * stdlib/tst-strfmon_l.c (do_test): New test.
17486         * stdlib/Makefile (tests): Add kt.
17487         (LOCALES): Build additional locales.
17488         (tst-strfmon_l.out): Require locales.
17490 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17492         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
17493         if not in libc.
17494         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17495         Likewise.
17496         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
17497         Likewise.
17498         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17499         Likewise.
17501 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17503         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17504         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
17505         with unaligned_erms.
17506         (__memmove_erms): Skip if source == destination.
17507         (__memmove_unaligned_erms): Don't check source == destination
17508         first.
17510 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17512         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
17513         bit_arch_Fast_Copy_Backward for Intel Core proessors.
17515 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17517         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
17518         * string/strspn.c (strspn): Likewise.
17520 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17522         * benchtests/bench-memset.c (do_test): Support 64-byte
17523         alignment.
17524         (test_main): Test 64-byte alignment.
17526 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17528         * benchtests/bench-memmove.c (test_main): Test 64-byte
17529         alignment.
17531 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17533         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
17535 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17537         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
17538         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
17539         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
17541         * string/strpbrk.c (strpbrk): Rewrite function.
17542         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
17543         (__strpbrk_c2): Likewise.
17544         (__strpbrk_c3): Likewise.
17545         * string/string-inlines.c
17546         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
17547         Likewise.
17548         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
17549         Likewise.
17551         * string/strspn.c (strcspn): Rewrite function.
17552         * string/bits/string2.h (strspn): Use __builtin_strcspn.
17553         (__strspn_c1): Remove inline function.
17554         (__strspn_c2): Likewise.
17555         (__strspn_c3): Likewise.
17556         * string/string-inlines.c
17557         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
17558         compatibility symbol.
17559         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
17560         Likewise.
17561         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
17562         Likewise.
17563         * string/string-inlines.c: Include generic version.
17565 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
17566             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17568         * string/Version (libc): Add GLIBC_2.24.
17569         * string/strcspn.c (strcspn): Rewrite function.
17570         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
17571         (__strcspn_c1): Remove inline function.
17572         (__strcspn_c2): Likewise.
17573         (__strcspn_c3): Likewise.
17574         * string/string-inline.c
17575         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
17576         compatibility symbol.
17577         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
17578         Likewise.
17579         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
17580         Likewise.
17581         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
17583 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
17585         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
17586         Use ahi instead of aghi to adjust stack pointer.
17588 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17590         [BZ #19853]
17591         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
17592         TEST to take significant digits as second parameter.
17593         [TEST]: Redefine in terms of TEST_N taking 30
17594         significant digits.
17595         (do_test): Add test case to demonstrate precision
17596         failure in the ldbl-128ibm printf.
17597         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
17598         (__mpn_extract_long_double): Carry 7 extra intermediate
17599         bits of precision to aide computing difference when
17600         signs differ.
17602 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17604         [BZ #19881]
17605         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17606         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
17607         memset-avx512-unaligned-erms.
17608         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17609         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
17610         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
17611         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
17612         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
17613         __memset_sse2_unaligned_erms, __memset_erms,
17614         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
17615         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
17616         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
17617         file.
17618         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17619         Likewise.
17620         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
17621         Likewise.
17622         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
17623         Likewise.
17625 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17627         [BZ #19776]
17628         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17629         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
17630         memmove-avx512-unaligned-erms.
17631         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17632         (__libc_ifunc_impl_list): Test
17633         __memmove_chk_avx512_unaligned_2,
17634         __memmove_chk_avx512_unaligned_erms,
17635         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
17636         __memmove_chk_sse2_unaligned_2,
17637         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
17638         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
17639         __memmove_avx512_unaligned_erms, __memmove_erms,
17640         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
17641         __memcpy_chk_avx512_unaligned_2,
17642         __memcpy_chk_avx512_unaligned_erms,
17643         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
17644         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
17645         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
17646         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
17647         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
17648         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
17649         __mempcpy_chk_avx512_unaligned_erms,
17650         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
17651         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
17652         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
17653         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
17654         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
17655         __mempcpy_erms.
17656         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
17657         file.
17658         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17659         Likewise.
17660         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
17661         Likewise.
17662         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17663         Likewise.
17665 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17667         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
17668         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
17669         (La_s390_64_regs): Likewise.
17670         (La_s390_32_retval): Append vector register lrv_v24.
17671         (La_s390_64_retval): Likeweise.
17672         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
17673         Handle extended structs La_s390_32_regs and La_s390_32_retval.
17674         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
17675         Handle extended structs La_s390_64_regs and La_s390_64_retval.
17677 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17679         [BZ #19916]
17680         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
17681         to create a non-vector/vector version for _dl_runtime_resolve and
17682         _dl_runtime_profile. Move implementation to ...
17683         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
17684         (_dl_runtime_resolve) Save and restore fpr/vrs.
17685         (_dl_runtime_profile) Save and restore vrs and fix some issues
17686         if _dl_call_pltexit is called.
17687         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
17688         Choose the correct resolver function if running on a machine with vx.
17689         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
17690         to create a non-vector/vector version for _dl_runtime_resolve and
17691         _dl_runtime_profile. Move implementation to ...
17692         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
17693         (_dl_runtime_resolve) Save and restore fpr/vrs.
17694         (_dl_runtime_profile) Save and restore vrs and fix some issues
17695         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
17696         Choose the correct resolver function if running on a machine with vx.
17698 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17700         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
17702 2016-03-31  Florian Weimer  <fweimer@redhat.com>
17704         [BZ #19509]
17705         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
17706         skip_map != NULL.
17707         * elf/tst-dlsym-error.c: New file.
17708         * elf/Makefile (tests): Add tst-dlsym-error.
17709         (tst-dlsym-error): Link against libdl.
17711 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
17713         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17714         (__ASSUME_FUTIMESAT): Remove macro.
17715         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
17717 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17719         [BZ #19879]
17720         CVE-2016-3075
17721         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
17722         copy name.
17724 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17726         [BZ #19837]
17727         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
17728         error if parse_line fails.
17730 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17732         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
17733         (index_cpu_ERMS): Likewise.
17734         (reg_ERMS): Likewise.
17736 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
17738         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
17739         PER_LINUX_FDPIC): Add.
17741 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17743         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17744         memcpy-avx512-no-vzeroupper.
17745         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
17746         to ...
17747         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
17748         (MEMCPY): Don't define.
17749         (MEMCPY_CHK): Likewise.
17750         (MEMPCPY): Likewise.
17751         (MEMPCPY_CHK): Likewise.
17752         (MEMPCPY_CHK): Renamed to ...
17753         (__mempcpy_chk_avx512_no_vzeroupper): This.
17754         (MEMPCPY_CHK): Renamed to ...
17755         (__mempcpy_chk_avx512_no_vzeroupper): This.
17756         (MEMCPY_CHK): Renamed to ...
17757         (__memmove_chk_avx512_no_vzeroupper): This.
17758         (MEMCPY): Renamed to ...
17759         (__memmove_avx512_no_vzeroupper): This.
17760         (__memcpy_avx512_no_vzeroupper): New alias.
17761         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
17763 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17765         [BZ #18858]
17766         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17767         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
17768         and mempcpy-avx512-no-vzeroupper.
17769         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
17770         New.
17771         (MEMPCPY): Likewise.
17772         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
17773         (MEMPCPY_CHK): New.
17774         (MEMPCPY): Likewise.
17775         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
17776         (MEMPCPY): Likewise.
17777         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
17778         (MEMPCPY): Likewise.
17779         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
17780         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
17781         Likewise.
17782         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
17783         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
17785 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17786              Amit Pawar  <Amit.Pawar@amd.com>
17788         [BZ #19583]
17789         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17790         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
17791         processors.  Set Fast_Copy_Backward for AMD Excavator
17792         processors.
17793         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
17794         New.
17795         (index_arch_Fast_Unaligned_Copy): Likewise.
17796         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
17797         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
17799 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17801         [BZ #19791]
17802         * resolv/res_send.c (close_and_return_error): New function.
17803         (send_dg): Initialize *resplen2 after reopen failure.  Call
17804         close_and_return_error for error returns.  On error paths without
17805         __res_iclose, initialze *resplen2 explicitly.  Update comment for
17806         successful return.
17808 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17810         [BZ #19860]
17811         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
17812         zero if the compiler does not provide the AVX512F bit.
17814 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
17816         [BZ #19848]
17817         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
17818         from 8 to 4.
17819         (__ieee754_powl): Compare integer exponent against 4 not 8.
17820         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
17821         from 8 to 4.
17822         (__ieee754_powl): Compare integer exponent against 4 not 8.
17823         * math/auto-libm-test-in: Add more tests of pow.
17824         * math/auto-libm-test-out: Regenerated.
17825         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
17826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17828 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17830         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
17831         Make code unconditional.
17832         [!__NR_utimensat]: Remove conditional code.
17833         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
17834         Make code unconditional.
17835         [!__NR_utimensat]: Remove conditional code.
17836         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
17837         Make code unconditional.
17838         [!__NR_utimensat]: Remove conditional code.
17840 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17842         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
17843         Make code unconditional.
17845 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
17847         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
17848         call-clobbered %eax on retry path.
17849         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
17851 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17853         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
17854         Don't set %rcx twice before "rep movsb".
17856 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17858         [BZ #19583]
17859         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
17860         inline.  Check family before setting family, model and
17861         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
17862         bits here.
17863         (init_cpu_features): Replace HAS_CPU_FEATURE and
17864         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
17865         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
17866         for Intel processors with usable AVX2.  Call get_common_indeces
17867         for other processors with family == NULL.
17868         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
17869         (CPU_FEATURES_ARCH_P): Likewise.
17870         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
17871         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
17873 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17875         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
17876         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
17877         $(shared-thread-library) instead of hardcoding the path to libpthread.
17879 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
17881         * sysdeps/unix/sysv/linux/kernel-features.h
17882         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
17883         * sysdeps/unix/sysv/linux/getdents.c
17884         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
17885         [!have_no_getdents64_defined]: Likewise.
17886         (__GETDENTS): Remove __have_no_getdents64 conditional.
17888 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
17890         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
17891         Remove macro.
17892         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
17893         <kernel-features.h>.
17894         (signalfd) [__NR_signalfd4]: Make code unconditional.
17895         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
17897 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17899         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
17900         style.
17902 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17904         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
17905         (__pthread_enable_asynccancel): Use JUMPTARGET to call
17906         __pthread_unwind.
17907         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
17908         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
17909         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
17910         (__condvar_cleanup1): Likewise.
17912 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
17914         [BZ #19822]
17915         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
17916         move it to the final $@ location.
17918 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17920         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
17921         access where posix_spawn success and pid argument is null.
17922         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
17923         success case.
17925 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
17927         * sysdeps/mach/hurd/i386/c++-types.data: New file.
17929         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
17931         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
17932         and __fcntl.
17933         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
17934         __fcntl only.
17935         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
17936         adding attribute_hidden to __open and __fcntl.
17938         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
17939         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
17940         depend on libc-modules.h,
17941         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
17943 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
17945         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
17946         Remove macro.
17947         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
17948         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
17949         entry.
17951         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
17952         Remove macro.
17953         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
17954         include <kernel-features.h>.
17955         [!__ASSUME_FALLOCATE]: Remove conditional code.
17956         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
17958 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17960         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
17961         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
17962         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
17963         (_ZGVdN4v_cos_avx2): Likewise.
17964         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
17965         (_ZGVdN4v_cos): Likewise.
17966         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
17967         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
17968         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
17969         (_ZGVdN4v_exp_avx2): Likewise.
17970         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
17971         (_ZGVdN4v_exp): Likewise.
17972         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
17973         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
17974         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
17975         (_ZGVdN4v_log_avx2): Likewise.
17976         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
17977         (_ZGVdN4v_log): Likewise.
17978         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
17979         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
17980         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
17981         (_ZGVdN4vv_pow_avx2): Likewise.
17982         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
17983         (_ZGVdN4vv_pow): Likewise.
17984         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
17985         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
17986         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
17987         (_ZGVdN4v_sin_avx2): Likewise.
17988         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
17989         (_ZGVdN4v_sin): Likewise.
17990         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
17991         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
17992         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
17993         (_ZGVdN4vvv_sincos_avx2): Likewise.
17994         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
17995         (_ZGVdN4vvv_sincos): Likewise.
17996         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
17997         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
17998         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
17999         (_ZGVbN4v_cosf_sse4): Likewise.
18000         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
18001         (_ZGVdN8v_cosf_avx2): Likewise.
18002         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
18003         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
18004         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
18005         (_ZGVbN4v_expf_sse4): Likewise.
18006         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
18007         (_ZGVdN8v_expf_avx2): Likewise.
18008         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
18009         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
18010         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
18011         (_ZGVbN4v_logf_sse4): Likewise.
18012         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
18013         (_ZGVdN8v_logf_avx2): Likewise.
18014         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
18015         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
18016         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
18017         (_ZGVbN4vv_powf_sse4): Likewise.
18018         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
18019         (_ZGVdN8vv_powf_avx2): Likewise.
18020         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
18021         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
18022         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
18023         (_ZGVbN4vvv_sincosf_sse4): Likewise.
18024         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
18025         (_ZGVdN8vvv_sincosf_avx2): Likewise.
18026         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
18027         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
18028         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
18029         (_ZGVbN4v_sinf_sse4): Likewise.
18030         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
18031         (_ZGVdN8v_sinf_avx2): Likewise.
18032         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
18033         Use JUMPTARGET to call callee.
18034         (WRAPPER_IMPL_SSE2_ff): Likewise.
18035         (WRAPPER_IMPL_SSE2_fFF): Likewise.
18036         (WRAPPER_IMPL_AVX): Likewise.
18037         (WRAPPER_IMPL_AVX_ff): Likewise.
18038         (WRAPPER_IMPL_AVX_fFF): Likewise.
18039         (WRAPPER_IMPL_AVX512): Likewise.
18040         (WRAPPER_IMPL_AVX512_ff): Likewise.
18041         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
18042         Likewise.
18043         (WRAPPER_IMPL_SSE2_ff): Likewise.
18044         (WRAPPER_IMPL_SSE2_fFF): Likewise.
18045         (WRAPPER_IMPL_AVX): Likewise.
18046         (WRAPPER_IMPL_AVX_ff): Likewise.
18047         (WRAPPER_IMPL_AVX_fFF): Likewise.
18048         (WRAPPER_IMPL_AVX512): Likewise.
18049         (WRAPPER_IMPL_AVX512_ff): Likewise.
18050         (WRAPPER_IMPL_AVX512_fFF): Likewise.
18052 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18054         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
18055         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
18056         qualifier.
18057         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
18058         internal_function qualifiers.
18060 2016-03-15  Carlos O'Donell <carlos@redhat.com>
18062         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
18063         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
18064         * math/atest-exp.c (exp_mpn): Mark chk unused.
18065         * math/atest-exp2.c (exp_mpn): Likewise.
18066         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
18067         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
18069 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
18071         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
18072         Remove macro.
18073         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
18074         <kernel-features.h>.
18075         [__NR_ppoll]: Make code unconditional.
18076         [!__ASSUME_PPOLL]: Remove conditional code.
18078         * sysdeps/unix/sysv/linux/kernel-features.h
18079         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
18080         (__ASSUME_ACCEPT4): Likewise.
18081         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18082         Define.
18083         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
18084         Likewise.
18085         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18086         Likewise.
18087         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
18088         Likewise.
18089         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
18090         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
18091         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18092         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
18093         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18094         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18095         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18096         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18097         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18098         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18099         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18100         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18101         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18102         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18103         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18104         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18105         Likewise.
18106         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18107         Likewise.
18108         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18109         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
18110         0x040300].
18111         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18112         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
18113         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18114         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18115         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
18116         0x030300].
18117         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
18118         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18119         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18120         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
18121         0x040300].
18122         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18123         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18124         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18125         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18126         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18127         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18128         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
18129         0x030300].
18130         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18131         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18132         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18133         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18134         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18135         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18136         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18137         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18138         * sysdeps/unix/sysv/linux/s390/kernel-features.h
18139         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18140         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
18141         0x040300].
18142         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18143         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18144         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18145         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18146         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18147         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18148         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18149         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18150         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18151         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18152         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18153         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18154         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18155         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18156         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
18157         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18158         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18159         Likewise.
18160         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18161         Likewise.
18163 2016-03-15  Andreas Schwab  <schwab@suse.de>
18165         [BZ #19257]
18166         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
18167         statp->_u._ext.nscount as loop count.
18169 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
18171         * math/test-signgam-finite-c99.c: Also #undef
18172         __LIBC_INTERNAL_MATH_INLINES.
18173         * math/test-signgam-main.c: Likewise.
18175 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
18177         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
18178         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18179         (MADV_FREE): Likewise.
18180         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
18181         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
18182         EPOLLEXCLUSIVE.
18184 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
18186         * timezone/README: Remove mention of checktab.awk. Mention wiki
18187         SharedSourceFiles.
18189 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
18191         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
18192         WUNTRACED.
18194 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18196         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
18197         order to match the type of p when calling atomic_exchange_acq().
18199 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18201         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
18202         cfi_offset calls.
18203         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
18204         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
18205         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
18206         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
18207         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
18209 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
18211         * timezone/checktab.awk: Removed.
18213 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
18215         * manual/math.texi (Errors in Math Functions): Document relaxed
18216         accuracy goals for IBM long double.
18217         * math/libm-test.inc (test_exceptions): Always allow spurious
18218         "underflow" and "inexact" exceptions for IBM long double.
18220 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
18222         [BZ #19762]
18223         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
18224         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
18225         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
18226         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
18227         (bit_arch_*): This for feature array.
18228         (bit_*): Renamed to ...
18229         (bit_cpu_*): This for cpu array.
18230         (index_*): Renamed to ...
18231         (index_arch_*): This for feature array.
18232         (index_*): Renamed to ...
18233         (index_cpu_*): This for cpu array.
18234         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
18235         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
18236         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
18237         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
18238         bit_##name with index_cpu_##name and bit_cpu_##name.
18239         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
18240         bit_##name with index_arch_##name and bit_arch_##name.
18242 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
18244         [BZ #19792]
18245         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
18246         Terminate FDE before return label.
18248 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
18250         [BZ #19790]
18251         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
18252         (rintl): Define as macro.
18253         [USE_AS_NEARBYINTL] (__rintl): Likewise.
18254         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
18255         of fesetround.  Ensure results are evaluated before end of scope.
18256         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
18257         USE_AS_NEARBYINTL and include s_rintl.c.
18258         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
18259         Disable exception traps in new environment.
18260         (libc_feholdsetround_ppc_ctx): Likewise.
18262 2016-03-08  Roland McGrath  <roland@hack.frob.com>
18264         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
18265         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
18266         (tst_audit10_aux) [__AVX512F__]: ... here.
18268 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
18270         * include/sys/auxv.h: New file.
18272 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
18274         [BZ #19759]
18275         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
18277 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18279         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
18280         operand modifier.
18281         (feclearexcept): Likewise.
18283 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18285         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
18286         to reflect the entire 32-bit HWCAP.
18287         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
18288         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
18290 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
18292         [BZ #19783]
18293         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
18294         $(test-via-rtld-prefix).
18295         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
18297 2016-03-08  Florian Weimer  <fweimer@redhat.com>
18299         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
18300         union wait.  Report any non-zero exit status as error.
18302 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18304         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
18305         configured with --enable-hardcoded-path-in-tests.
18307 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
18309         [BZ #19677]
18310         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18311         (__ieee754_remainderl): Put zero low parts in canonical form.
18312         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
18313         file.  Based on
18314         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
18315         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
18316         with wrapper round test-fmodrem-ldbl-128ibm.c.
18317         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
18318         file.
18319         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
18320         Likewise.
18321         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
18322         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
18324 2016-03-07  Florian Weimer  <fweimer@redhat.com>
18326         [BZ #19610]
18327         * elf/ldconfig.c (opt_link): Update comment.
18328         (options): Update help string for option -X.
18329         (search_dir): Unlink stale symbolic link only if updating symbolic
18330         links.
18331         * elf/tst-ldconfig-X.sh: New file.
18332         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
18333         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
18335 2016-03-07  Andreas Schwab  <schwab@suse.de>
18337         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
18338         needed arguments.
18340 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
18342         [BZ #15333]
18343         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
18344         to lstat64.
18346 2016-03-07  Florian Weimer  <fweimer@redhat.com>
18348         * libio/filedoalloc.c (isatty): Remove.
18349         (local_isatty): Add comment.  Call __isatty directly.
18350         (_IO_file_doallocate): Update comment.  Assume _LIBC.
18351         * libio/wfiledoalloc.c (isatty): Remove.
18352         (_IO_wfile_doallocate): Update comment.
18354 2016-03-07  Florian Weimer  <fweimer@redhat.com>
18356         [BZ #19269]
18357         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
18358         tst-audit4-aux.o.
18359         (tst-audit10): Depend on tst-audit10-aux.o.
18360         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
18361         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
18362         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
18363         instead of inline AVX code.
18364         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
18365         instead of inline AVX512 code.
18366         * sysdeps/x86_64/tst-audit4-aux.c: New file
18367         * sysdeps/x86_64/tst-audit10-aux.c: New file
18369         [BZ #19648]
18370         * test-skeleton.c (main): Do not set RLIMIT_DATA.
18372 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18374         [BZ #14750]
18375         [BZ #10354]
18376         [BZ #18433]
18377         * include/sched.h (__clone): Add hidden prototype.
18378         (__clone2): Likewise.
18379         * include/unistd.h (__dup): Likewise.
18380         * posix/Makefile (tests): Add tst-spawn2.
18381         * posix/tst-spawn2.c: New file.
18382         * sysdeps/posix/dup.c (__dup): Add hidden definition.
18383         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
18384         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
18385         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
18386         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
18387         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
18388         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
18389         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
18390         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
18391         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
18392         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
18393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
18394         Likewise.
18395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18396         Likewise.
18397         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
18398         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
18399         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
18400         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
18401         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
18402         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
18403         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
18404         * sysdeps/unix/sysv/linux/nptl-signals.h
18405         (____nptl_is_internal_signal): New function.
18406         * sysdeps/unix/sysv/linux/spawni.c: New file.
18408         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
18409         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
18410         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
18411         * posix/tst-execvp2.c (do_test): Likewise.
18412         * posix/tst-execvp3.c (do_test): Likewise.
18413         * posix/tst-execvp4.c (do_test): Likewise.
18414         * posix/tst-execvpe1.c: New file.
18415         * posix/tst-execvpe2.c: Likewise.
18416         * posix/tst-execvpe3.c: Likewise.
18417         * posix/tst-execvpe4.c: Likewise.
18418         * posix/tst-execvpe5.c: Likewise.
18419         * posix/tst-execvpe6.c: Likewise.
18421         [BZ #19534]
18422         * posix/execl.c (execl): Remove dynamic memory allocation.
18423         * posix/execle.c (execle): Likewise.
18424         * posix/execlp.c (execlp): Likewise.
18426 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18428         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
18429         Replace .text with .text.avx512.
18430         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
18431         Likewise.
18433 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
18435         * sysdeps/generic/libnsl.abilist: New file.
18436         * sysdeps/generic/libutil.abilist: New file.
18438 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18440         [BZ #19762]
18441         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
18442         HAS_ARCH_FEATURE with Fast_Rep_String.
18443         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
18444         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
18445         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
18446         Likewise.
18447         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
18448         Likewise.
18449         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
18450         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
18451         Likewise.
18452         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
18453         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
18454         Likewise.
18456 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18458         [BZ #19745]
18459         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
18460         with *%rax in call.
18462 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18464         [BZ #19745]
18465         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
18466         with *__libc_start_main@GOTPCREL(%rip) in call.
18468 2016-03-04  Roland McGrath  <roland@hack.frob.com>
18470         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
18471         inside conditional for nonempty $(CXX).
18473         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
18474         nonempty.
18476         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
18477         to test for empty $(CXX) rather than $(CXX) of "no".
18479 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18481         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
18483 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
18484             H.J. Lu  <hongjiu.lu@intel.com>
18486         [BZ #18880]
18487         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
18488         instead of Slow_BSF, and also check for Fast_Copy_Backward to
18489         enable __memcpy_ssse3_back.
18491 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18493         [BZ #19758]
18494         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
18495         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
18497 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
18499         [BZ #19490]
18500         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
18501         (__fentry__): Likewise.
18503 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18505         * gmon/Makefile (noprof): Add $(sysdep_noprof).
18506         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
18508 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18510         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
18511         __mcount_internal directly.
18512         (C_LABEL(__fentry__)): Likewise.
18513         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
18514         directly.
18516 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18518         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18519         (__start_context): Call __setcontext directly.
18521 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
18523         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18524         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18525         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
18526         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18527         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18528         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18529         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
18530         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18531         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18532         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
18533         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18534         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18535         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18536         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18537         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18538         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18539         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
18540         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18541         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18542         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18543         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
18544         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18545         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18546         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18547         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
18548         Remove conditional code.
18549         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18550         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
18551         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18552         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18553         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
18554         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18555         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18556         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18557         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18558         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18559         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18560         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18562 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
18564         * NEWS (2.23): Fix typo in bug 19048 text.
18566 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
18568         [BZ #14259]
18569         * Makeconfig: Rename msgcatdir to localedir.
18570         Rename inst_msgcatdir to inst_localedir.
18571         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
18572         * config.make.in: Add localedir.
18573         * elf/Makefile ($(objpfx)sotruss): Use localedir.
18574         (ldd-rewrite): Likewise.
18575         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
18576         (install-others): Use inst_localedir.
18577         (CPPFLAGS): Use localedir.
18578         * locale/Makefile (locale-CPPFLAGS): Likewise.
18579         * po/Makefile (mo-installed): Use inst_localedir.
18581         [BZ #19575]
18582         * localedata/charmaps/GB18030: Update comments regarding PAU to
18583         non-PUA mappings.
18585 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
18587         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
18588         test for header.
18589         * sysdeps/unix/sysv/linux/configure: Regenerated.
18590         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
18591         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
18592         Remove conditional code.
18593         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
18595         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18596         Define to 3.2.0.
18597         (arch_minimum_kernel): Likewise.
18598         * sysdeps/unix/sysv/linux/configure: Regenerated.
18599         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
18600         Define to 2.6.32.
18601         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
18602         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
18603         (arch_minimum_kernel): Define to 2.6.32.
18604         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
18605         * README: Document Linux 3.2 requirement.
18606         * manual/install.texi (Linux): Document Linux 3.2 headers
18607         requirement.
18608         * INSTALL: Regenerated.
18610 2016-02-24  Andreas Schwab  <schwab@suse.de>
18612         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
18613         if !NO_LONG_DOUBLE.
18615 2016-02-22  Roland McGrath  <roland@hack.frob.com>
18617         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
18618         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
18620 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
18622         [BZ #19512]
18623         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
18625 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18627         * posix/tst-dir.c: Include libc-internal.h.
18629 2016-02-20  Florian Weimer  <fweimer@redhat.com>
18631         [BZ #19056]
18632         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
18633         * manual/filesys.texi (Reading/Closing Directory): Mention
18634         deprecaion.
18635         * posix/tst-dir.c (main): Disable deprecation warning in test.
18637 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
18639         [BZ #19679]
18640         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
18641         Renamed to ...
18642         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
18643         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18644         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
18645         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18646         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18647         * sysdeps/x86_64/dl-trampoline.h
18648         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18649         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18651 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18653         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
18655 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18657         * elf/elf.h (R_386_GOT32X): New.
18658         (R_386_NUM): Update.
18659         (R_X86_64_GOTPCRELX: New.
18660         (R_X86_64_REX_GOTPCRELX): New.
18661         (R_X86_64_NUM): Update.
18663 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
18665         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
18667 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
18669         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
18670         assign attr->stackaddr to it, and adjust it down when
18671         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
18672         [_STACK_GROWS_UP]: Delete assert.
18673         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
18674         Implement stack grows up logic.
18675         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
18676         stack grows up logic.
18678 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18680         * NEWS: Update with 2.24 template.
18682 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18684         [BZ #19678]
18685         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18686         Ensure +0.0 is returned when taking the next value below the least
18687         positive value.
18689 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18691         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
18692         available.  Do not define NO_THREADS.
18693         * malloc/malloc.c: Do not check NO_THREADS.
18694         * malloc/arena.c: Likewise.
18696 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18698         * malloc/malloc.c (__libc_mallinfo): Update comment.
18699         (struct malloc_par): Remove max_total_mem member, it was always 0.
18700         (int_mallinfo): Store 0 into usmblks (no functional change).
18701         * malloc/hooks.c (struct malloc_state): Document that
18702         max_total_mem is always 0.
18703         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
18704         always 0.
18705         * manual/memory.texi (Statistics of Malloc): Likewise.
18707 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18709         * malloc/malloc.c (sysmalloc): Do not update arena_max.
18710         * malloc/arena.c (arena_max): Remove.
18711         (heap_trim, _int_new_arena): Do not update arena_max.
18713 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18715         * resolv/res_init.c (res_ninit): Update comment.
18717 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18719         [BZ #19505]
18720         * posix/spawn_int.h: Add headers and include guard.
18721         (__spawn_valid_fd): New function.
18722         * posix/spawn_faction_addopen.c
18723         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
18724         * posix/spawn_faction_addclose.c
18725         (posix_spawn_file_actions_addclose): Likewise.
18726         * posix/spawn_faction_adddup2.c
18727         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
18728         second file descriptor.
18729         * posix/spawn_valid_fd.c: New file.
18730         * posix/tst-posix_spawn-fd.c: New file.
18731         * posix/Makefile (routines): Add spawn_valid_fd.
18732         (tests): Add tst-posix_spawn-fd.
18734 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18736         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
18737         (do_test): Limit the number of arenas, so that we can use fewer
18738         outer threads.  Limit timeout to 3 seconds, in preparation for a
18739         larger TIMEOUT value.
18741 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18743         [BZ #19674]
18744         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
18745         sign in overflowing and underflowing results when overflow or
18746         underflow is detected early.  Include sign in result before rather
18747         than after scaling.
18749         [BZ #19603]
18750         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18751         (__ieee754_remainderl): Adjust sign of integer version of low part
18752         when taking absolute value of high part.
18753         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18754         * math/libm-test.inc (remainder_test_data): Add another test.
18755         (remquo_test_data): Likewise.
18757 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
18759         [BZ #19602]
18760         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
18761         equal high parts and both low parts zero specially.
18762         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
18763         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
18764         Add test-fmodl-ldbl-128ibm.
18766         [BZ #19595]
18767         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
18768         common logic for all cases of shifting subnormal results.  Do not
18769         insert sign bit in shifted mantissa.  Always pass -1023 as biased
18770         exponent to ldbl_insert_mantissa in subnormal case.
18772         [BZ #19594]
18773         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
18774         on high and low parts then adjust result and use
18775         ldbl_canonicalize_int if needed.
18777         [BZ #19593]
18778         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
18779         on high part and __floor or __ceil on low part then use
18780         ldbl_canonicalize_int if needed.
18782         [BZ #19592]
18783         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
18784         high and low parts then use ldbl_canonicalize_int if needed.
18786         [BZ #17899]
18787         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
18788         New function.
18789         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
18790         on high and low parts then use ldbl_canonicalize_int if needed.
18792 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18794         * configure: Regenerated.
18796         * po/libc.pot: Regenerated.
18798         * po/be.po: Updated translation.
18799         * po/bg.po: Likewise.
18800         * po/ca.po: Likewise.
18801         * po/cs.po: Likewise.
18802         * po/da.po: Likewise.
18803         * po/el.po: Likewise.
18804         * po/eo.po: Likewise.
18805         * po/es.po: Likewise.
18806         * po/fi.po: Likewise.
18807         * po/fr.po: Likewise.
18808         * po/gl.po: Likewise.
18809         * po/hr.po: Likewise.
18810         * po/hu.po: Likewise.
18811         * po/ia.po: Likewise.
18812         * po/id.po: Likewise.
18813         * po/it.po: Likewise.
18814         * po/ja.po: Likewise.
18815         * po/lt.po: Likewise.
18816         * po/nb.po: Likewise.
18817         * po/nl.po: Likewise.
18818         * po/pt_BR.po: Likewise.
18819         * po/rw.po: Likewise.
18820         * po/sk.po: Likewise.
18821         * po/sl.po: Likewise.
18822         * po/sv.po: Likewise.
18823         * po/tr.po: Likewise.
18824         * po/zh_CN.po: Likewise.
18825         * po/zh_TW.po: Likewise.
18827         * version.h (RELEAES): Set to "development".
18828         (VERSION): Set to 2.23.90.
18830         * version.h (RELEASE): Set to "stable".
18831         (VERSION): Set to 2.23.
18832         * include/feature.h (__GLIBC_MINOR__): Set to 23.
18834         * NEWS: Updated fixed bugs.
18836 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
18837             Wilco Dijkstra  <wdijkstr@arm.com>
18839         [BZ #19462]
18840         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
18841         (_STRING_INLINE_unaligned): This.
18842         * include/string.h: Include <string_private.h>.
18843         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
18844         _STRING_INLINE_unaligned.
18845         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
18846         (_STRING_INLINE_unaligned): New.
18847         * sysdeps/aarch64/string_private.h: New file.
18848         * sysdeps/generic/string_private.h: Likewise.
18849         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
18850         * sysdeps/s390/string_private.h: Likewise.
18851         * sysdeps/x86/string_private.h: Likewise.
18852         * sysdeps/m68k/m680x0/m68020/bits/string.h
18853         (_STRING_ARCH_unaligned): Renamed to ...
18854         (_STRING_INLINE_unaligned): This.
18855         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
18856         to ...
18857         (_STRING_INLINE_unaligned): This.
18858         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
18859         to ...
18860         (_STRING_INLINE_unaligned): This.
18861         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
18862         to ...
18863         (_STRING_INLINE_unaligned): This.
18865 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18866             H.J. Lu  <hongjiu.lu@intel.com>
18868         [BZ #19590]
18869         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
18870         relocation.
18872 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
18874         [BZ #18665]
18875         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
18876         *herrno_p.
18877         (gaih_getanswer): Document functional behviour. Return tryagain
18878         if any result is tryagain.
18879         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
18880         when freed.
18881         * resolv/res_send.c: Add copyright text.
18882         (__libc_res_nsend): Document that MAXPACKET is expected.
18883         (send_vc): Document. Remove buffer reuse.
18884         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
18885         size of the buffer. Add Dprint for truncated UDP buffer.
18887 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
18889         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
18890         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
18891         * INSTALL: Regenerate.
18893 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
18894             Jonathan Wakely  <jwakely@redhat.com>
18895             Carlos O'Donell  <carlos@redhat.com>
18897         [BZ 19439]
18898         * math/Makefile (tests): Add test-math-isinff.
18899         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
18900         * math/bits/mathcalls.h [__USE_MISC]: Use
18901         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
18902         functions not in C++11 and which don't conflict e.g. isinff,
18903         isinfl etc.
18904         * math/test-math-isinff.cc: New file.
18906 2016-02-12  Florian Weimer  <fweimer@redhat.com>
18908         * misc/bug18240.c (do_test): Set RLIMIT_AS.
18910 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18912         [BZ #19529]
18913         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
18915 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18917         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
18919 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
18921         [BZ #19550]
18922         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
18923         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
18924         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
18925         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
18926         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
18927         New syscall entry.
18928         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
18929         New syscall entry.
18930         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
18931         syscall entry.
18933 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
18935         [BZ #18240]
18936         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
18937         unsigned int wraparound.
18939 2016-01-27  Florian Weimer  <fweimer@redhat.com>
18941         [BZ #18240]
18942         * misc/bug18240.c: New test.
18943         * misc/Makefile (tests): Add it.
18945 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
18946             Joseph Myers  <joseph@codesourcery.com>
18948         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
18949         load in branch delay slot when less than a word of input left.
18951 2016-01-27  Andreas Schwab  <schwab@suse.de>
18953         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
18954         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
18955         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
18956         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
18958 2016-01-26  David S. Miller  <davem@davemloft.net>
18960         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
18962 2016-01-25  David S. Miller  <davem@davemloft.net>
18964         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
18965         __sqrtl_finite.
18966         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
18967         instead using versioned_symbol.
18968         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
18969         of entries.
18971         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
18972         __sqrtl_finite to GLIBC_2.23
18974 2016-01-25  Ricchard Henderson  <rth@redhat.com>
18976         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18978 2016-01-25  Andreas Schwab  <schwab@suse.de>
18980         [BZ #17514]
18981         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
18982         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
18983         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
18984         * nptl/tst-mutex-errorcheck.c: New file.
18986 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18988         [BZ #18560]
18989         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
18990         (IPCOP_semop): Likewise.
18991         (IPCOP_semget): Likewise.
18992         (IPCOP_semctl): Likewise.
18993         (IPCOP_msgsnd): Likewise.
18994         (IPCOP_msgrcv): Likewise.
18995         (IPCOP_msgget): Likewise.
18996         (IPCOP_msgctl): Likewise.
18997         (IPCOP_shmat): Likewise.
18998         (IPCOP_shmdt): Likewise.
18999         (IPCOP_shmget): Likewise.
19000         (IPCOP_shmctl): Likewise.
19002 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
19004         * string/tst-endian.c: Include <libc-internal.h>.
19005         (do_test): Ignore tautological-compare warnings around
19006         "htobeXX (beXXtoh (i)) != i" and
19007         "htoleXX (leXXtoh (i)) != i" if-statements.
19009 2016-01-24  David S. Miller  <davem@davemloft.net>
19011         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
19012         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
19013         alias.
19014         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
19015         __sqrtl_finite.
19017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19019 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
19021         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
19022         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
19023         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19025 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19027         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
19028         (thread_func): Use new function to simplify barrier check.
19029         (do_test): Use new function to simplify checking barrier exit
19030         code, and actually join the child thread.
19032 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19034         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
19035         semicolon.
19036         (__libc_tend): Likewise.
19037         (__libc_tabort): Likewise.
19039 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
19041         * sysdeps/nios2/libm-test-ulps: Update.
19042         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
19043         (__gtsf2): Likewise.
19044         (__unorddf2): Likewise.
19045         (__unordsf2): Likewise.
19046         (__ledf2): Likewise.
19048 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
19050         * nis/nis_table.c (__follow_path): Disable diagnostic for
19051         uninitialized variable that is a false positive for gcc 4.7.
19052         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
19054 2016-01-20  Roland McGrath  <roland@hack.frob.com>
19056         * sysdeps/nacl/lowlevellock-futex.h
19057         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
19058         Always evaluate PRIVATE argument.
19060 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
19062         [BZ #19490]
19063         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
19064         (pthread_cond_broadcast): Use ENTRY/END
19065         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
19066         (pthread_cond_signal): Likewise.
19067         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
19068         Likewise.
19069         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
19070         Likewise.
19071         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
19072         Likewise.
19074 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
19076         * sysdeps/ieee754/dbl-64/s_finite.c
19077         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
19078         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
19079         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
19080         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
19081         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
19083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
19084         (__gtsf2): Add as optional for libc.so.
19085         (__unordsf2): Likewise.
19086         (__signbit): Remove for libc.so.
19087         (__signbitl): Likewise.
19089 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19091         * iconvdata/bug-iconv11.c (test_ibm93x):
19092         Use %zu printf format specifier for size_t argument.
19094 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
19096         * math/gen-libm-test.pl (parse_ulps): Do not reduce
19097         already-recorded ulps.
19098         * sysdeps/arm/libm-test-ulps: Regenerated.
19099         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19100         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19101         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19103 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19104             Paul Pluzhnikov  <ppluzhnikov@google.com>
19106         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
19107         assembler not supporting AVX-512.
19109 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
19111         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19113 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
19115         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19116         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19118         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19120         * sysdeps/arm/libm-test-ulps: Regenerated.
19122 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19124         [BZ #19451]
19125         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
19127 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19129         [BZ #19486]
19130         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
19131         * sysdeps/generic/fix-fp-int-convert-overflow.h
19132         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
19133         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
19134         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
19135         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
19136         Likewise.
19137         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
19138         Avoid conversions to long int where inexact exceptions
19139         could be raised.
19140         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
19141         Likewise.
19142         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
19143         Avoid conversions to long long int where inexact exceptions
19144         could be raised.
19145         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
19146         Likewise.
19148 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
19150         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
19151         * configure: Regenerated.
19153 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
19155         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
19157 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
19159         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
19160         outside of comment.
19162 2016-01-15  Torvald Riegel  <triegel@redhat.com>
19164         * nptl/tst-barrier1.c: Add description on first line.
19165         * nptl/tst-barrier2.c: Likewise.
19166         * nptl/tst-barrier3.c: Likewise.
19167         * nptl/tst-barrier4.c: Likewise.
19168         * nptl/tst-barrier5.c: Likewise.
19170 2016-01-15  Torvald Riegel  <triegel@redhat.com>
19172         [BZ #18868]
19173         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
19175 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
19177         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
19178         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
19179         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
19180         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
19181         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
19182         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
19183         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19184         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19185         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19186         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19187         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19189 2016-01-15  Torvald Riegel  <triegel@redhat.com>
19191         [BZ #13065]
19192         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
19193         new implementation.
19194         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
19195         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
19196         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
19197         (BARRIER_IN_THRESHOLD): New macro.
19198         * nptl/pthread_barrierattr_setpshared.c
19199         (pthread_barrierattr_setpshared): Clean up.
19200         * nptl/tst-barrier4.c: Correct comment.
19201         * nptl/tst-barrier5.c: New file.
19202         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
19203         (gen-as-const-headers): Remove lowlevelbarrier.sym.
19204         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
19205         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
19206         * nptl/lowlevelbarrier.sym: Remove.
19207         * nptl/DESIGN-barrier.txt: Remove.
19208         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
19209         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
19210         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
19211         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
19212         error.
19213         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
19214         implementation.
19216 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19218         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
19219         (do_child): Mask SIGRTMIN while thr is running.
19221 2016-01-15  Martin Sebor  <msebor@redhat.com>
19223         [BZ #19432]
19224         * iconvdata/Makefile: Add bug-iconv11.
19225         * iconvdata/bug-iconv11.c: New test.
19226         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
19227         * iconvdata/ibm933.c: Same.
19228         * iconvdata/ibm935.c: Same.
19229         * iconvdata/ibm937.c: Same.
19230         * iconvdata/ibm939.c: Same.
19232 2016-01-15  Martin Sebor  <msebor@redhat.com>
19234         [BZ #19443]
19235         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
19236         [DEBUG] (_ufc_set_bits): Declare used.
19237         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
19238         [DEBUG] (print_all): Declare used.
19239         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
19240         operands of the ternary ?: expression to target type.
19241         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
19242         calling the undeclared abort.
19243         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
19245 2016-01-15  Martin Sebor  <msebor@redhat.com>
19247         [BZ #18755]
19248         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
19249         warnings.
19250         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
19251         (__gai_create_helper_thread): Same.
19252         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
19253         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
19254         to suppress -Wmaybe-uninitialized warnings.
19256 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
19258         [BZ #19465]
19259         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
19260         inside if.
19261         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19262         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19263         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19265 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
19267         [BZ #19466]
19268         * time/tst-mktime2.c (time_t_max): Removed.
19269         (time_t_min): Likewise.
19270         (TYPE_SIGNED): New.
19271         (TYPE_MINIMUM): Likewise.
19272         (TYPE_MAXIMUM): Likewise.
19273         (TIME_T_MIN): Likewise.
19274         (TIME_T_MAX): Likewise.
19275         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
19276         and TIME_T_MIN.
19277         (do_test): Likewise.
19279 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
19281         [BZ #19467]
19282         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
19283         index_Fast_Unaligned_Load flag for Excavator family CPUs.
19285 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
19287         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
19289 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
19291         * benchtests/Makefile (PYTHON): Define.
19292         (bench-func): Use $(PYTHON) to run python scripts.
19293         ($(objpfx)bench-%.c): Likewise.
19295 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
19297         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
19298         leading slash when `file_name' is "/".
19300 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
19302         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
19303         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
19304         Likewise.
19305         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
19306         Likewise.
19307         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
19308         Likewise.
19309         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
19310         enum constant and macro.
19311         (PTRACE_SETSIGMASK): Likewise.
19312         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19313         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
19314         (PTRACE_GETSIGMASK): Likewise.
19315         (PTRACE_SETSIGMASK): Likewise.
19316         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19317         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
19318         Likewise.
19319         (PTRACE_SETSIGMASK): Likewise.
19320         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19321         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
19322         (PTRACE_GETSIGMASK): Likewise.
19323         (PTRACE_SETSIGMASK): Likewise.
19324         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19325         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
19326         Likewise.
19327         (PTRACE_SETSIGMASK): Likewise.
19328         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19329         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
19330         Likewise.
19331         (PTRACE_SETSIGMASK): Likewise.
19332         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19333         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
19334         Likewise.
19335         (PTRACE_SETSIGMASK): Likewise.
19336         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19338 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
19339             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19341         [BZ #19439]
19342         * math/bits/mathcalls.h
19343         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
19344         prototype.
19345         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
19347 2016-01-11  Andreas Schwab  <schwab@suse.de>
19349         [BZ #19253]
19350         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
19351         cache when TZDEFRULES was used.
19352         * time/tst-tzname.c: New file.
19353         * time/Makefile (test): Add tst-tzname.
19354         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
19355         * timezone/Makefile (test-zones): Add $(posixrules-file).
19356         ($(testdata)/$(posixrules-file)): New rule.
19358 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
19360         Fix doc quoting problems with Texinfo 5
19361         Without this change, in the info file output, Texinfo 5 quotes code
19362         in text with undirected single quotes 'like this' and generates
19363         code examples that with many PDF readers cannot be cut out of PDFs
19364         and pasted into code.
19365         * manual/libc.texinfo: Configure the libc manual like the GNU
19366         Emacs manual, by using @documentencoding and setting
19367         txicodequoteundirected and txicodequotebacktick.  This way,
19368         Texinfo 5 quotes code in text with directed single quotes ‘like
19369         this’ and produces examples that can be cut out of PDFs.  This
19370         change causes Texinfo 5 to generate info files that contain UTF-8
19371         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
19372         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
19374 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19376         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
19377         __libc_tabort, __libc_tend): New wrappers that enforce compiler
19378         barriers to their respective compiler built-ins.
19379         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
19380         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
19381         * sysdeps/powerpc/sysdep.h: Likewise.
19382         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
19383         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
19384         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
19386 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
19388         * scripts/config.guess: Revert previous shebang change.
19389         * scripts/config.sub: Likewise.
19390         * scripts/mkinstalldirs: Likewise.
19392 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19394         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
19395         PPC_FEATURE2_HAS_IEEE128.
19396         * sysdeps/powerpc/dl-procinfo.c:
19397         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
19399 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
19401         [BZ #19415]
19402         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
19403         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
19404         (_dl_lookup_address): Rewrite using function resolver trampoline.
19405         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
19406         two bits in address.
19408 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
19410         * longlong.h: Change !__SHMEDIA__ to
19411         (!defined (__SHMEDIA__) || !__SHMEDIA__).
19412         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
19414 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
19415             Joseph Myers  <joseph@codesourcery.com>
19416             Mark Shinwell  <shinwell@codesourcery.com>
19417             Andrew Stubbs  <ams@codesourcery.com>
19418             Rich Felker <dalias@libc.org>
19420         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
19422 2016-01-07  Richard Henderson  <rth@redhat.com>
19424         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
19426 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
19428         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
19429         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
19430         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19431         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19432         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
19434 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
19435             Joseph Myers  <joseph@codesourcery.com>
19437         * timezone/private.h: Update from tzcode 2015g.
19438         * timezone/tzfile.h: Likewise.
19439         * timezone/tzselect.ksh: Likewise.
19440         * timezone/zdump.c: Likewise.
19441         * timezone/zic.c: Likewise.
19442         * timezone/ialloc.c: Remove file.
19443         * timezone/scheck.c: Likewise.
19444         * timezone/Makefile (extra-objs): Remove variable.
19445         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
19446         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
19447         -Wno-maybe-uninitialized.
19448         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
19449         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
19450         (CFLAGS-ialloc.c): Remove variable.
19451         (CFLAGS-scheck.c): Likewise.
19452         * timezone/README: Update list of files from tzcode.
19454 2016-01-07  Khem Raj  <raj.khem@gmail.com>
19456         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
19457         instead of __fxprintf when _LIBC is undefined.
19459 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
19461         * catgets/test-gencat.sh: Remove space after shebang.
19462         * conform/GlibcConform.pm: Likewise.
19463         * conform/check-header-lists.sh: Likewise.
19464         * conform/conformtest.pl: Likewise.
19465         * conform/linknamespace.pl: Likewise.
19466         * conform/list-header-symbols.pl: Likewise.
19467         * debug/catchsegv.sh: Likewise.
19468         * elf/genrtldtbl.awk: Likewise.
19469         * elf/tst-pathopt.sh: Likewise.
19470         * elf/tst-rtld-load-self.sh: Likewise.
19471         * grp/tst_fgetgrent.sh: Likewise.
19472         * iconvdata/gen-8bit-gap-1.sh: Likewise.
19473         * iconvdata/gen-8bit-gap.sh: Likewise.
19474         * iconvdata/gen-8bit.sh: Likewise.
19475         * iconvdata/run-iconv-test.sh: Likewise.
19476         * intl/tst-gettext.sh: Likewise.
19477         * intl/tst-gettext2.sh: Likewise.
19478         * intl/tst-gettext4.sh: Likewise.
19479         * intl/tst-gettext6.sh: Likewise.
19480         * intl/tst-translit.sh: Likewise.
19481         * io/ftwtest-sh: Likewise.
19482         * libio/test-freopen.sh: Likewise.
19483         * locale/gen-translit.pl: Likewise.
19484         * malloc/tst-mtrace.sh: Likewise.
19485         * manual/check-safety.sh: Likewise.
19486         * manual/libc-texinfo.sh: Likewise.
19487         * manual/tsort.awk: Likewise.
19488         * manual/xtract-typefun.awk: Likewise.
19489         * nptl/tst-cancel-wrappers.sh: Likewise.
19490         * nptl/tst-tls6.sh: Likewise.
19491         * posix/globtest.sh: Likewise.
19492         * posix/tst-getconf.sh: Likewise.
19493         * posix/wordexp-tst.sh: Likewise.
19494         * scripts/check-c++-types.sh: Likewise.
19495         * scripts/check-local-headers.sh: Likewise.
19496         * scripts/config.guess: Likewise.
19497         * scripts/config.sub: Likewise.
19498         * scripts/cpp: Likewise.
19499         * scripts/cross-test-ssh.sh: Likewise.
19500         * scripts/documented.sh: Likewise.
19501         * scripts/evaluate-test.sh: Likewise.
19502         * scripts/gen-libc-abis: Likewise.
19503         * scripts/gen-sorted.awk: Likewise.
19504         * scripts/list-fixed-bugs.py: Likewise.
19505         * scripts/merge-test-results.sh: Likewise.
19506         * scripts/mkinstalldirs: Likewise.
19507         * scripts/rellns-sh: Likewise.
19508         * scripts/test-installation.pl: Likewise.
19509         * scripts/update-copyrights: Likewise.
19510         * stdio-common/tst-printf.sh: Likewise.
19511         * stdio-common/tst-unbputc.sh: Likewise.
19512         * stdlib/tst-fmtmsg.sh: Likewise.
19513         * stdlib/tst-setcontext3.sh: Likewise.
19514         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
19515         * sysdeps/unix/make-syscalls.sh: Likewise.
19517 2016-01-06  John David Anglin  <dave.anglin@bell.net>
19519         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
19520         asm stw with atomic_exchange_rel.  Add explanatory comment.
19521         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19522         Likewise.
19524 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19526         [BZ #19122]
19527         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
19528         * sysdeps/generic/dl-unistd.h: New file.
19529         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
19531 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19533          [BZ #19122]
19534          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
19535          * sysdeps/generic/dl-mman.h: New file.
19536          * sysdeps/mach/hurd/dl-mman.h: Likewise.
19538 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
19540         * manual/texinfo.tex: Update to version 2016-01-04.21 with
19541         trailing whitespace removed.
19542         * scripts/config.guess: Update to version 2016-01-01.
19543         * scripts/config.sub: Update to version 2016-01-01.
19544         * scripts/move-if-change: Update from gnulib.
19546 2016-01-04  Anton Blanchard  <anton@samba.org>
19548         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
19549         for array indices.
19550         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
19552 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
19554         * NEWS: Update copyright dates.
19555         * catgets/gencat.c (print_version): Likewise.
19556         * csu/version.c (banner): Likewise.
19557         * debug/catchsegv.sh: Likewise.
19558         * debug/pcprofiledump.c (print_version): Likewise.
19559         * debug/xtrace.sh (do_version): Likewise.
19560         * elf/ldconfig.c (print_version): Likewise.
19561         * elf/ldd.bash.in: Likewise.
19562         * elf/pldd.c (print_version): Likewise.
19563         * elf/sotruss.sh: Likewise.
19564         * elf/sprof.c (print_version): Likewise.
19565         * iconv/iconv_prog.c (print_version): Likewise.
19566         * iconv/iconvconfig.c (print_version): Likewise.
19567         * locale/programs/locale.c (print_version): Likewise.
19568         * locale/programs/localedef.c (print_version): Likewise.
19569         * login/programs/pt_chown.c (print_version): Likewise.
19570         * malloc/memusage.sh (do_version): Likewise.
19571         * malloc/memusagestat.c (print_version): Likewise.
19572         * malloc/mtrace.pl: Likewise.
19573         * manual/libc.texinfo: Likewise.
19574         * nptl/version.c (banner): Likewise.
19575         * nscd/nscd.c (print_version): Likewise.
19576         * nss/getent.c (print_version): Likewise.
19577         * nss/makedb.c (print_version): Likewise.
19578         * posix/getconf.c (main): Likewise.
19579         * scripts/test-installation.pl: Likewise.
19580         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19582         * All files with FSF copyright notices: Update copyright dates
19583         using scripts/update-copyrights.
19584         * intl/plural.c: Regenerated.
19585         * locale/programs/charmap-kw.h: Likewise.
19586         * locale/programs/locfile-kw.h: Likewise.
19588 2016-01-02  Helge Deller  <deller@gmx.de>
19590         [BZ #19285]
19591         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
19592         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
19593         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
19594         (MADV_xxK_PAGES): Remove.
19596 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
19598         [BZ #15421]
19599         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
19600         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
19601         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
19602         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
19604 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
19606         [BZ #19408]
19607         * sysdeps/unix/sysv/linux/personality.c: New file.
19608         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
19609         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
19610         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
19611         (sysdep_routines): Add personality.
19612         (tests): Add tst-personality.
19613         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
19614         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
19615         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
19616         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
19617         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
19618         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
19619         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
19620         Likewise.
19621         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
19622         Likewise.
19623         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
19624         Likewise.
19625         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
19626         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
19627         Likewise.
19629 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
19631         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
19632         (PATH_ARM_SYSTYPE): Remove.
19633         (PATH_CPUINFO): Likewise.
19634         (IO_BASE_FOOTBRIDGE): Likewise.
19635         (IO_SHIFT_FOOTBRIDGE): Likewise.
19636         (struct platform): Likewise.
19637         (init_iosys): Remove compatibility code for 2.4 kernels.
19638         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
19640 2015-12-29  Florian Weimer  <fweimer@redhat.com>
19642         * malloc/tst-malloc-thread-fail.c: New file.
19643         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
19644         (tst-malloc-thread-fail): Link against libpthread.
19646 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
19648         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
19649         (get_parser): New function.
19650         (main): New function.
19652 2015-12-29  Rob Wu  <rob@robwu.nl>
19654         [BZ #19369]
19655         * resolv/res_init.c (__res_vinit): Reset defdname before use.
19657 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
19659         [BZ #19270]
19660         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19662 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
19664         [BZ #15421]
19665         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
19667 2015-12-23  Torvald Riegel  <triegel@redhat.com>
19669         [BZ #13690]
19670         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
19671         after releasing it.
19672         (__lll_robust_unlock): Likewise.
19673         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19674         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
19675         (lll_robust_unlock): Likewise.
19676         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
19677         Prevent warnings in callers.
19679 2015-12-23  Florian Weimer  <fweimer@redhat.com>
19681         * malloc/arena.c (list_lock): Update comment.
19683 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19685         * sysdeps/powerpc/hwcapinfo.c: Export symbol
19686         __parse_hwcap_and_convert_at_platform to libc.a.
19688 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19690         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
19691         platform and feature support for POWER9.
19692         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19693         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
19694         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
19695         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
19696         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
19697         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
19698         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
19699         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
19701 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19703         Harmonize generic stdio-lock support with nptl
19705         This fixes build when _IO_funlockfile is a macro, fixes build where
19706         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
19707         stack unwind.
19709         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
19710         _IO_release_lock ): Use cleanup attribute on new
19711         _IO_acquire_lock_file variable instead of assuming that
19712         _IO_release_lock will be called.
19713         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
19714         _IO_acquire_lock_needs_exceptions_enabled.
19715         (_IO_acquire_lock_clear_flags2): New macro.
19717 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19719         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
19721 2015-12-21  Florian Weimer  <fweimer@redhat.com>
19723         [BZ #19182]
19724         * malloc/arena.c (list_lock): Document lock ordering requirements.
19725         (free_list_lock): New lock.
19726         (ptmalloc_lock_all): Comment on free_list_lock.
19727         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
19728         (detach_arena): Update comment.  free_list_lock is now needed.
19729         (_int_new_arena): Use free_list_lock around detach_arena call.
19730         Acquire arena lock after list_lock.  Add comment, including FIXME
19731         about incorrect synchronization.
19732         (get_free_list): Switch to free_list_lock.
19733         (reused_arena): Acquire free_list_lock around detach_arena call
19734         and attached threads counter update.  Add two FIXMEs about
19735         incorrect synchronization.
19736         (arena_thread_freeres): Switch to free_list_lock.
19737         * malloc/malloc.c (struct malloc_state): Update comments to
19738         mention free_list_lock.
19740 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19742         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
19743         Remove functions.
19744         (sloww, sloww1): Accept argument to offset quadrant.
19745         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
19746         quadrant.
19747         (__sin, __cos): Consolidate common code into new functions.
19748         (reduce_sincos_1, do_sincos_1): New functions.
19749         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19751         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
19752         code to new functions.
19753         (reduce_sincos_2, do_sincos_2): New functions.
19754         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19756         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
19757         common code for sincos.
19758         (__cos) [!IN_SINCOS]: Likewise.
19759         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
19760         New function.
19761         (__sincos): Use it.
19763 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
19765         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
19766         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
19767         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19769 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19771         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
19772         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
19773         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
19774         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
19775         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19776         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
19777         index_Prefer_No_VZEROUPPER): New feature.
19778         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
19779         Prefer_No_VZEROUPPER for Knights Landing.
19781 015-12-18  Torvald Riegel  <triegel@redhat.com>
19783         * math/atest-exp2.c (mp_exp_m1): Remove.
19785 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19787         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
19788         syscalls.
19789         (__SYSCALL0): New macro.
19790         (__SYSCALL1): Likewise.
19791         (__SYSCALL2): Likewise.
19792         (__SYSCALL3): Likewise.
19793         (__SYSCALL4): Likewise.
19794         (__SYSCALL5): Likewise.
19795         (__SYSCALL6): Likewise.
19796         (__SYSCALL_CONCAT_X): Likewise.
19797         (__SYSCALL_CONCAT): Likewise.
19798         (__SYSCALL_DIST): Likewise.
19799         (__SYSCALL_CALL): Likewise.
19801 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
19803         [BZ #19363]
19804         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
19806 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19808         [BZ #19375]
19809         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
19810         negative subnormals.
19812 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
19814         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19815         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
19816         (INTERNAL_SYSCALL_NCS): Use it.
19817         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19819 2015-12-16  Florian Weimer  <fweimer@redhat.com>
19821         [BZ #19243]
19822         * malloc/arena.c (get_free_list): Remove assert and adjust
19823         reference count handling.  Add comment about reused_arena
19824         interaction.
19825         (reused_arena): Add comments abount get_free_list interaction.
19826         * malloc/tst-malloc-thread-exit.c: New file.
19827         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
19828         (tst-malloc-thread-exit): Link against libpthread.
19830 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19832         [BZ #19367]
19833         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
19834         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
19835         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
19836         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
19837         (index_Prefer_MAP_32BIT_EXEC): Likewise.
19839 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19841         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
19842         Silvermont optimizations for Knights Landing.
19844 2015-12-15  Andreas Schwab  <schwab@suse.de>
19846         [BZ #17197]
19847         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
19848         immediately after emitting SI.
19849         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
19850         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
19851         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
19852         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
19853         * iconvdata/bug-iconv10.c: New file.
19854         * iconvdata/Makefile (tests): Add bug-iconv10.
19855         ($(objpfx)bug-iconv10.out): New rule.
19857 2015-12-15  Florian Weimer  <fweimer@redhat.com>
19859         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
19860         aliasing violation.
19862 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
19864         [BZ #18472]
19865         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
19866         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
19867         conditionals for them.
19868         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
19869         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
19870         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
19871         sys/kdaemon.h.
19872         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
19873         compat-only syscall, obsoleted in glibc 2.23.
19874         (create_module): Likewise.
19875         (get_kernel_syms): Likewise.
19876         (query_module): Likewise.
19877         (uselib): Likewise.
19878         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
19880 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
19882         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
19883         <linux/version.h>.
19884         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
19885         conditional code.
19886         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
19887         and ioshift_name initialization.
19889 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19891         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
19892         Fix indentation.
19894 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19896         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
19898 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19900         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
19902 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
19903             Jakub Wilk  <jwilk@debian.org>
19905         [BZ #19347]
19906         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
19907         to change the group of the device to the tty group.
19909 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
19911         Split large string section; add truncation advice
19912         * manual/examples/strncat.c: Remove.
19913         This example was misleading, as the code would have undefined
19914         behavior if "hello" was longer than SIZE.  Anyway, the manual
19915         shouldn't encourage strncpy+strncat for this sort of thing.
19916         * manual/string.texi (Copying Strings and Arrays): Split into
19917         three sections Copying Strings and Arrays, Concatenating Strings,
19918         and Truncating Strings, as this section was way too long.  All
19919         cross-referenced changed.  Add advice about string-truncation
19920         functions.  Remove misleading strncat example.
19922 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
19924         * manual/nss.texi (NSS Modules Interface): Document
19925         NSS_STATUS_NOTFOUND and SUCCESS.
19927 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
19929         [BZ 18568]
19930         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
19931         201505L, for Unicode 8.
19933 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
19935         * locale/C-translit.h: Regenerate.
19937 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
19939         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
19940         and U+0153.
19942 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
19944         [BZ #19351]
19945         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
19946         expanding log(1+z), compare z rather than its square with epsilon
19947         to determine when to avoid evaluating the expansion.
19949         [BZ #19350]
19950         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
19951         Increase overflow threshold.
19953         [BZ #19349]
19954         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
19955         when small.
19957         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19958         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
19959         New macro.
19960         [__LINUX_KERNEL_VERSION >= 0x040300]
19961         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19962         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
19963         Likewise.
19964         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
19965         Likewise.
19966         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
19967         Likewise.
19968         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
19969         Likewise.
19970         [__LINUX_KERNEL_VERSION >= 0x040300]
19971         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19972         [__LINUX_KERNEL_VERSION >= 0x040300]
19973         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19974         [__LINUX_KERNEL_VERSION >= 0x040300]
19975         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19976         [__LINUX_KERNEL_VERSION >= 0x040300]
19977         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19978         [__LINUX_KERNEL_VERSION >= 0x040300]
19979         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19980         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19981         Likewise.
19982         [__LINUX_KERNEL_VERSION >= 0x040300]
19983         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19984         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19985         Likewise.
19986         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19987         Likewise.
19988         [__LINUX_KERNEL_VERSION >= 0x040300]
19989         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19990         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19991         Likewise.
19992         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19993         Likewise.
19994         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19995         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
19996         Likewise.
19997         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
19998         Likewise.
19999         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
20000         Likewise.
20001         [__LINUX_KERNEL_VERSION >= 0x040300]
20002         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20003         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
20004         Likewise.
20005         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
20006         Likewise.
20007         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
20008         Likewise.
20009         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
20010         Likewise.
20011         [__LINUX_KERNEL_VERSION >= 0x040300]
20012         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
20013         [__LINUX_KERNEL_VERSION >= 0x040300]
20014         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20015         [__LINUX_KERNEL_VERSION >= 0x040300]
20016         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20017         [__LINUX_KERNEL_VERSION >= 0x040300]
20018         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20019         [__LINUX_KERNEL_VERSION >= 0x040300]
20020         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20021         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
20022         Likewise.
20023         [__LINUX_KERNEL_VERSION >= 0x040300]
20024         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
20025         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20026         Likewise.
20027         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
20028         Likewise.
20029         [__LINUX_KERNEL_VERSION >= 0x040300]
20030         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
20031         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20032         Likewise.
20033         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
20034         Likewise.
20035         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20036         (__ASSUME_SOCKET_SYSCALL): Likewise.
20037         (__ASSUME_BIND_SYSCALL): Likewise.
20038         (__ASSUME_CONNECT_SYSCALL): Likewise.
20039         (__ASSUME_LISTEN_SYSCALL): Likewise.
20040         (__ASSUME_ACCEPT_SYSCALL): Likewise.
20041         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20042         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20043         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20044         (__ASSUME_SEND_SYSCALL): Likewise.
20045         (__ASSUME_SENDTO_SYSCALL): Likewise.
20046         (__ASSUME_RECV_SYSCALL): Likewise.
20047         (__ASSUME_RECVFROM_SYSCALL): Likewise.
20048         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
20049         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20050         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20051         (__ASSUME_SENDMSG_SYSCALL): Likewise.
20052         (__ASSUME_RECVMSG_SYSCALL): Likewise.
20053         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20054         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
20055         Likewise.
20056         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
20057         Likewise.
20058         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
20059         Likewise.
20060         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
20061         Likewise.
20062         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
20063         Likewise.
20064         [__LINUX_KERNEL_VERSION >= 0x020625]
20065         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20066         [__LINUX_KERNEL_VERSION >= 0x020625]
20067         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20068         [__LINUX_KERNEL_VERSION >= 0x020625]
20069         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20070         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
20071         Likewise.
20072         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
20073         Likewise.
20074         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
20075         Likewise.
20076         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
20077         Likewise.
20078         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
20079         Likewise.
20080         [__LINUX_KERNEL_VERSION >= 0x020625]
20081         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20082         [__LINUX_KERNEL_VERSION >= 0x020625]
20083         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20084         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
20085         Likewise.
20086         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
20087         Likewise.
20089 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
20091         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
20092         record the current if the current ABI and CPU support the FP64
20093         extension.
20094         (has-modd-spreg): Define to record the current if the current ABI and
20095         CPU support 32-bit floating point values in odd FPU registers.
20096         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20097         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
20098         $(has-modd-spreg) equals yes.
20099         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
20100         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
20101         $(has-modd-spreg) equal yes.
20103 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
20105         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
20106         basename.
20108 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
20110         * benchtests/Makefile (bench-math): Move ffs and ffsll...
20111         (bench-string): ... here.
20112         (bench): Add bench-string.
20113         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
20114         to *-benchset to reflect what they are.
20115         (benchset): Adjust.
20117         * benchtests/sincos-inputs: Add inputs from sin-inputs and
20118         cos-inputs.
20120 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
20122         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
20123         __attribute__ ((__simd__)) for vector math function declarations.
20125 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20127         Fix typo in strncat, wcsncat manual entries
20128         * manual/string.texi (Copying and Concatenation): Fix typos in
20129         sample implementations of strncat and wcsncat, by having them use
20130         the old value of the destination length, not the new one.
20132 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
20134         [BZ #16961]
20135         [BZ #16962]
20136         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
20137         string on the stack for strtod.
20138         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
20139         a string on the stack for strtof.
20140         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
20141         constructing a string on the stack for strtold.
20142         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
20143         __strtold_nan to GLIBC_PRIVATE.
20144         * math/test-nan-overflow.c: New file.
20145         * math/test-nan-payload.c: Likewise.
20146         * math/Makefile (tests): Add test-nan-overflow and
20147         test-nan-payload.
20149 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20151         Consistency about byte vs character in string.texi
20152         * manual/string.texi (String and Array Utilities):
20153         Distinguish more carefully among bytes, multibyte characters,
20154         and wide characters.  Use "byte" when talking about C 'char',
20155         to distinguish it more clearly from multibyte characters.
20156         Say "wide character" or "multibyte character" instead of
20157         "character", when a wide or multibyte character is intended.
20158         Similarly for "multibyte string" versus "string".
20159         Define these terms more carefully.
20161 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
20163         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
20164         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
20165         Likewise.
20166         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20167         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20168         * sysdeps/sh/math_private.h: New file.
20169         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
20170         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
20171         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
20172         long double function name.
20173         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20174         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20175         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20176         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20177         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20179         Remove __finitel, __isinfl, and __isnanl.
20180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20181         Likewise.
20182         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20184         Remove __finitel.
20185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20186         Likewise.
20187         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20189 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
20191         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
20192         installed libmvec_nonshared.a.
20194 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20196         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
20197         (sysdep_routines): Likewise.
20198         (sysdep-rtld-routines): Likewise.
20199         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
20200         [$(subdir) = nptl](tests-static): test-get_hwcap-static
20201         * sysdeps/powerpc/Versions: Added new
20202         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
20203         * sysdeps/powerpc/hwcapinfo.c: New file.
20204         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
20205         and parse hwcap, hwcap2 and platform number information.
20206         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
20207         to store HWCAP+HWCAP2 and platform number.
20208         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
20209         for HWCAP+HWCAP2 and platform number in the TCB.
20210         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
20211         the HWCAP, HWCAP2 and platform number in the TCB.
20212         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
20213         (TLS_INIT_TP): Included calls to add the hwcap and
20214         at_platform values in the TCB in TP initialization.
20215         (TLS_DEFINE_INIT_TP): Likewise.
20216         (THREAD_GET_HWCAP): New macro.
20217         (THREAD_SET_HWCAP): Likewise.
20218         (THREAD_GET_AT_PLATFORM): Likewise.
20219         (THREAD_SET_AT_PLATFORM): Likewise.
20220         * sysdeps/powerpc/powerpc32/dl-machine.h:
20221         (dl_platform_init): New function that calls
20222         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
20223         powerpc32.
20224         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
20225         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
20226         this functionality, static linking case.
20227         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
20228         linking case.
20229         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
20230         __parse_hwcap_and_convert_at_platform for the static linking case.
20231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
20232         Included the new __parse_hwcap_and_convert_at_platform symbol in the
20233         ABI list for GLIBC 2.23.
20234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
20235         Likewise.
20236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
20237         Likewise.
20239 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
20241         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
20242         * configure: Regenerate.
20243         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
20244         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
20246 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
20248         * iconvdata/ibm930.c: Add comment explaining encoding uses.
20249         * iconvdata/ibm933.c: Likewise.
20250         * iconvdata/ibm935.c: Likewise.
20251         * iconvdata/ibm937.c: Likewise.
20252         * iconvdata/ibm939.c: Likewise.
20254 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20256         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
20257         pthread_join.
20258         * nptl/tst-cancel21.c (tf): Likewise.
20260 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
20262         [BZ #19313]
20263         * bits/typesizes.h (__CPU_MASK_TYPE): New.
20264         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
20265         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
20266         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
20267         Likewise.
20268         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
20269         Likewise.
20270         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
20271         Likewise.
20272         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
20273         Likewise.
20274         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
20275         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
20276         unsigned long int with __CPU_MASK_TYPE.
20278 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20280         * sysdeps/aarch64/libm-test-ulps: Regenerated.
20282 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
20284         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
20285         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
20286         t512.x.
20287         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
20289 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
20291         [BZ #19214]
20292         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
20293         argument to return extended model.  Update family and model
20294         with extended family and model when family == 0x0f.
20295         (init_cpu_features): Updated.
20297 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20299         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
20300         signed off_t, so 32bit bigger than 2GiB values are fine actually.
20302         * sysdeps/mach/hurd/mmap64.c: New file.
20304 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
20306         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
20307         rights for its main user thread in NEWTASK.
20309 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
20311         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
20312         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
20314 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
20316         [BZ #14259]
20317         * Makeconfig: Rename localedir to complocaledir.
20318         Rename inst_localedir to inst_complocaledir.
20319         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
20320         * config.make.in: Use complocaledir and libc_cv_complocaledir.
20321         * configure.ac: Use libc_cv_complocaledir.
20322         * configure: Regenerate.
20323         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
20324         -DCOMPLOCALEDIR.
20325         * locale/findlocale.c: Use COMPLOCALEDIR.
20326         * locale/loadarchive.c: Likewise.
20327         * locale/programs/locale.c: Likewise.
20328         * locale/programs/localedef.c: Likewise.
20329         * locale/programs/locarchive.c: Likewise.
20330         * localedata/Makefile: Use inst_complocaledir.
20331         * sysdeps/gnu/configure: Regenerate.
20332         * sysdeps/hppa/configure: Regenerate.
20333         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
20334         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20336         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
20337         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
20338         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
20339         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
20341 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
20343         [BZ #19058]
20344         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
20345         AS_NEEDED.
20346         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
20347         workaround.
20348         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
20349         libmvec-static-only-routines): Added new file.
20350         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
20352 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20354         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
20355         of interrupted RPC instead of restoring it.
20357         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
20358         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
20359         libc_hidden_def.
20360         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
20361         into initialized data instead of common. Define rtld_hidden_data_def.
20362         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
20363         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
20364         libc_hidden_def.
20365         (if_freenameindex): Add libc_hidden_weak.
20366         (if_nameindex): Add libc_hidden_weak.
20367         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
20368         __open64.
20369         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
20370         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
20371         * sysdeps/mach/nanosleep.c: Include <time.h>
20372         (__nanosleep): Rename to __libc_nanosleep.
20373         (__nanosleep): Add weak_alias.
20374         (nanosleep): Update alias.
20376 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
20378         * stdlib/strtod_nan.c: New file.
20379         * stdlib/strtod_nan_double.h: Likewise.
20380         * stdlib/strtod_nan_float.h: Likewise.
20381         * stdlib/strtod_nan_main.c: Likewise.
20382         * stdlib/strtod_nan_narrow.h: Likewise.
20383         * stdlib/strtod_nan_wide.h: Likewise.
20384         * stdlib/strtof_nan.c: Likewise.
20385         * stdlib/strtold_nan.c: Likewise.
20386         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
20387         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
20388         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
20389         * wcsmbs/wcstod_nan.c: Likewise.
20390         * wcsmbs/wcstof_nan.c: Likewise.
20391         * wcsmbs/wcstold_nan.c: Likewise.
20392         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
20393         strtold_nan.
20394         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
20395         wcstof_nan.
20396         * include/stdlib.h (__strtof_nan): Declare and use
20397         libc_hidden_proto.
20398         (__strtod_nan): Likewise.
20399         (__strtold_nan): Likewise.
20400         (__wcstof_nan): Likewise.
20401         (__wcstod_nan): Likewise.
20402         (__wcstold_nan): Likewise.
20403         * include/wchar.h (____wcstoull_l_internal): Declare.
20404         * stdlib/strtod_l.c: Do not include <ieee754.h>.
20405         (____strtoull_l_internal): Remove declaration.
20406         (STRTOF_NAN): Define macro.
20407         (SET_MANTISSA): Remove macro.
20408         (STRTOULL): Likewise.
20409         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
20410         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
20411         (STRTOF_NAN): Define macro.
20412         (SET_MANTISSA): Remove macro.
20413         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
20414         (SET_MANTISSA): Remove macro.
20415         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
20416         macro.
20417         (SET_MANTISSA): Remove macro.
20418         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
20419         macro.
20420         (SET_MANTISSA): Remove macro.
20421         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
20422         (SET_MANTISSA): Remove macro.
20423         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
20424         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
20425         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
20427         [BZ #19266]
20428         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
20429         upper case and lower case letters inside NAN(), not using TOLOWER.
20430         * stdlib/tst-strtod-nan-locale-main.c: New file.
20431         * stdlib/tst-strtod-nan-locale.c: Likewise.
20432         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
20433         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
20434         Depend on $(gen-locales).
20435         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
20436         * wcsmbs/tst-wcstod-nan-locale.c: New file.
20437         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
20438         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
20439         Depend on $(gen-locales).
20440         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
20442 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
20444         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
20446         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
20447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
20448         __finitel, __isinfl, and __isnanl.
20449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20450         Likewise.
20451         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
20453         __finitel.
20454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20455         Likewise.
20456         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20458 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20460         * malloc/memusage.c (me): Remove redundant getenv call.
20462 2015-10-24  Florian Weimer  <fweimer@redhat.com>
20464         [BZ #19143]
20465         [BZ #19164]
20466         * nptl/check-cpuset.h: Remove.
20467         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
20468         Remove CPU set size check.
20469         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
20470         Likewise.
20471         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
20472         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20473         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
20474         (__pthread_setaffinity_new): Remove CPU set size check.
20475         * sysdeps/unix/sysv/linux/sched_setaffinity.c
20476         (__kernel_cpumask_size): Remove.
20477         (__sched_setaffinity_new): Remove CPU set size check.
20478         * manual/threads.texi (Default Thread Attributes): Remove stale
20479         reference to check_cpuset_attr, determine_cpumask_size in comment.
20480         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
20481         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
20482         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
20483         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
20484         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
20485         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
20486         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
20487         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
20488         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
20489         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
20490         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
20491         skeleton test file.
20492         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
20493         tst-affinity-pid.
20495 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20497         * scripts/update-abilist.sh: New file.
20498         * Makefile (+subdir_targets): Add subdir_update-all-abi.
20499         * Makerules (update-all-abi-%, update-all-abi)
20500         (subdir_update-all-abi): New targets.
20501         * elf/Makefile (update-all-abi): New target.
20503 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20505         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
20506         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
20507         (__libc_lock_define_initialized): Use it.
20508         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
20509         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
20510         * malloc/malloc.c (main_arena): Likewise.
20511         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20512         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20514 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
20516         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
20517         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
20518         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20519         (PTRACE_O_MASK): Update value.
20520         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
20521         New value in enum __ptrace_setoptions.
20522         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20523         (PTRACE_O_MASK): Update value.
20524         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
20525         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20526         (PTRACE_O_MASK): Update value.
20527         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
20528         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20529         (PTRACE_O_MASK): Update value.
20530         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
20531         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20532         (PTRACE_O_MASK): Update value.
20533         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
20534         New value in enum __ptrace_setoptions.
20535         (PTRACE_O_MASK): Update value.
20536         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
20537         New value in enum __ptrace_setoptions.
20538         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20539         (PTRACE_O_MASK): Update value.
20541         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
20542         New macro.
20543         (PACKET_AUXDATA): Likewise.
20544         (PACKET_ORIGDEV): Likewise.
20545         (PACKET_VERSION): Likewise.
20546         (PACKET_HDRLEN): Likewise.
20547         (PACKET_RESERVE): Likewise.
20548         (PACKET_TX_RING): Likewise.
20549         (PACKET_LOSS): Likewise.
20550         (PACKET_VNET_HDR): Likewise.
20551         (PACKET_TX_TIMESTAMP): Likewise.
20552         (PACKET_TIMESTAMP): Likewise.
20553         (PACKET_FANOUT): Likewise.
20554         (PACKET_TX_HAS_OFF): Likewise.
20555         (PACKET_QDISC_BYPASS): Likewise.
20556         (PACKET_ROLLOVER_STATS): Likewise.
20557         (PACKET_FANOUT_DATA): Likewise.
20558         (PACKET_MR_UNICAST): Likewise.
20560         [BZ #19242]
20561         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
20562         (TOUPPER): Likewise.
20563         * stdlib/tst-strtol-locale-main.c: New file.
20564         * stdlib/tst-strtol-locale.c: Likewise.
20565         * stdlib/Makefile (tests): Add tst-strtol-locale.
20566         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
20567         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
20568         Depend on $(gen-locales).
20569         * wcsmbs/tst-wcstol-locale.c: New file.
20570         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
20571         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
20572         tr_TR.ISO-8859-9.
20573         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
20574         Depend on $(gen-locales).
20576 2015-11-20  Roland McGrath  <roland@hack.frob.com>
20578         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
20579         __glibc_likely instead of __builtin_expect.  After falling back to
20580         dyncode_create in a non-ET_DYN case, use the allocate_code_data
20581         system interface to register the code pages as occupied.
20583 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
20585         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20586         [!ARM_MATH_PRIVATE_H].
20587         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
20588         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20589         [!HPPA_MATH_PRIVATE_H].
20590         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
20591         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
20592         to [!I386_MATH_PRIVATE_H].
20593         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
20594         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
20595         Change guard to [!M68K_MATH_PRIVATE_H].
20596         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
20597         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
20598         guard to [!MICROBLAZE_MATH_PRIVATE_H].
20599         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
20600         macro.
20601         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20602         [!MIPS_MATH_PRIVATE_H].
20603         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
20604         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20605         [!NIO2_MATH_PRIVATE_H].
20606         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
20607         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20608         [!TILE_MATH_PRIVATE_H].
20609         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
20611         [BZ #15421]
20612         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
20613         initialize with 0 and define as weak alias of __signgam.
20614         * include/math.h [!_ISOMAC] (__signgam): Declare.
20615         * math/Makefile (libm-calls): Add w_lgamma_compat.
20616         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
20617         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
20618         test-signgam-ullong-init.
20619         (tests-static): Add test-signgam-uchar-static,
20620         test-signgam-uchar-init-static, test-signgam-uint-static,
20621         test-signgam-uint-init-static, test-signgam-ullong-static and
20622         test-signgam-ullong-init-static.
20623         (CFLAGS-test-signgam-uchar.c): New variable.
20624         (CFLAGS-test-signgam-uchar-init.c): Likewise.
20625         (CFLAGS-test-signgam-uchar-static.c): Likewise.
20626         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20627         (CFLAGS-test-signgam-uint.c): Likewise.
20628         (CFLAGS-test-signgam-uint-init.c): Likewise.
20629         (CFLAGS-test-signgam-uint-static.c): Likewise.
20630         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20631         (CFLAGS-test-signgam-ullong.c): Likewise.
20632         (CFLAGS-test-signgam-ullong-init.c): Likewise.
20633         (CFLAGS-test-signgam-ullong-static.c): Likewise.
20634         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20635         * math/Versions (libm): Add GLIBC_2.23.
20636         * math/lgamma-compat.h: New file.
20637         * math/test-signgam-main.c: Likewise.
20638         * math/test-signgam-uchar-init-static.c: Likewise.
20639         * math/test-signgam-uchar-init.c: Likewise.
20640         * math/test-signgam-uchar-static.c: Likewise.
20641         * math/test-signgam-uchar.c: Likewise.
20642         * math/test-signgam-uint-init-static.c: Likewise.
20643         * math/test-signgam-uint-init.c: Likewise.
20644         * math/test-signgam-uint-static.c: Likewise.
20645         * math/test-signgam-uint.c: Likewise.
20646         * math/test-signgam-ullong-init-static.c: Likewise.
20647         * math/test-signgam-ullong-init.c: Likewise.
20648         * math/test-signgam-ullong-static.c: Likewise.
20649         * math/test-signgam-ullong.c: Likewise.
20650         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
20651         wrapper of w_lgamma_main.c.
20652         * math/w_lgamma_compat.c: New file.
20653         * math/w_lgamma_compatf.c: Likewise.
20654         * math/w_lgamma_compatl.c: Likewise.
20655         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
20656         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20657         defining compatibility symbols.
20658         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
20659         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
20660         wrapper of w_lgammaf_main.c.
20661         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
20662         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20663         defining compatibility symbols.
20664         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
20665         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
20666         wrapper of w_lgammal_main.c.
20667         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
20668         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20669         defining compatibility symbols.
20670         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
20671         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
20672         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
20673         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
20674         <lgamma-compat.h>.
20675         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
20676         (__ieee754_gamma): Define as alias.
20677         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
20678         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
20679         <lgamma-compat.h>.
20680         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
20681         (__ieee754_gammaf): Define as alias.
20682         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
20683         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
20684         <lgamma-compat.h>.
20685         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
20686         (__ieee754_gammal): Define as alias.
20687         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
20688         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
20689         <math/w_lgamma_compat.c>.
20690         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
20691         Define as alias of __lgamma_compat and use in defining lgammal.
20692         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
20693         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
20694         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
20695         (USE_AS_COMPAT): New macro.
20696         (LGAMMA_OLD_VER): Undefine and redefine.
20697         (lgammal): Do not define here.
20698         (gammal): Only define here if [GAMMA_ALIAS].
20699         * conform/linknamespace.pl (@whitelist): Remove signgam.
20700         * sysdeps/nacl/libm.abilist: Update.
20701         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20702         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20703         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20704         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20705         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20706         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20707         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20708         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20709         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20710         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20711         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20712         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20714         Likewise.
20715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20716         Likewise.
20717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20718         Likewise.
20719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20720         Likewise.
20721         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20722         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20723         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20724         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20725         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20727         Likewise.
20728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20729         Likewise.
20730         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20731         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20732         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20734 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20736         [BZ #16364]
20737         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
20738         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
20740 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20742         * sysdeps/s390/fpu/bits/mathinline.h:
20743         Use __asm__ [__volatile__] instead of asm [volatile].
20744         * sysdeps/s390/abort-instr.h: Likewise.
20745         * sysdeps/s390/atomic-machine.h: Likewise.
20746         * sysdeps/s390/bits/string.h: Likewise.
20747         * sysdeps/s390/dl-tls.h: Likewise.
20748         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20749         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20750         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20751         * sysdeps/s390/fpu/fesetround.c: Likewise.
20752         * sysdeps/s390/fpu/fpu_control.h: Likewise.
20753         * sysdeps/s390/fpu/s_fma.c: Likewise.
20754         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
20755         * sysdeps/s390/memusage.h: Likewise.
20756         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
20757         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
20758         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
20759         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
20760         * sysdeps/s390/nptl/tls.h: Likewise.
20761         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
20762         * sysdeps/s390/s390-32/backtrace.c: Likewise.
20763         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20764         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
20765         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20766         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20767         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
20768         * sysdeps/s390/s390-64/backtrace.c: Likewise.
20769         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20770         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
20771         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
20772         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20773         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20774         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
20775         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20776         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20777         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
20778         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20779         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
20780         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20781         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
20782         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20783         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
20785 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20786             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20788         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20789         Add lwarx hint, and use macro for acquire instruction.
20790         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20791         Likewise.
20792         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
20793         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
20794         update to use new atomic macros.
20796 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20798         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20799         (__lll_trylock_elision): Fix setting of adapt_count.
20800         * sysdeps/unix/sysv/linux/powerpc/htm.h
20801         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
20802         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
20803         (_ABORT_SYSCALL): Renumber, and clarify definition.
20804         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
20806 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20808         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
20809         after system headers to prevent MIN/MAX redefinition.  Define
20810         HAVE_ALLOCA to preserve builtin alloca usage.
20812 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
20814         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
20815         static and don't set or restore rounding.
20816         (__cos)[IN_SINCOS]: Likewise.
20817         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
20818         (__sincos): Set and restore rounding mode.  Remove check for infinite
20819         or NaN input.
20821         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
20823         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
20824         as used.
20826 2015-11-16  Florian Weimer  <fweimer@redhat.com>
20828         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
20830 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
20832         * config.make.in (have-glob-dat-reloc): New.
20833         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
20834         target supports GLOB_DAT relocaton. AC_SUBST.
20835         * configure: Regenerated.
20836         * elf/Makefile (tests): Add tst-prelink.
20837         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
20838         (tst-prelink-ENV): New.
20839         ($(objpfx)tst-prelink-conflict.out): Likewise.
20840         ($(objpfx)tst-prelink-cmp.out): Likewise.
20841         * sysdeps/x86/tst-prelink.c: Moved to ...
20842         * elf/tst-prelink.c: Here.
20843         * sysdeps/x86/tst-prelink.exp: Moved to ...
20844         * elf/tst-prelink.exp: Here.
20845         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
20846         (tst-prelink-ENV): Removed.
20847         ($(objpfx)tst-prelink-conflict.out): Likewise.
20848         ($(objpfx)tst-prelink-cmp.out): Likewise.
20849         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
20851 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
20853         [BZ #14551]
20854         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
20855         (__mpn_construct_long_double): If high part overflows to infinity,
20856         set errno and recompute overflowed result of the correct sign.
20857         * sysdeps/ieee754/ldbl-128ibm/Makefile
20858         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
20859         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
20860         $(libm).
20861         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
20863 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
20865         [BZ #15479]
20866         [BZ #19238]
20867         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
20868         floating-point state after first operation on input.  Restore full
20869         state rather than just rounding mode.
20870         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20871         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20872         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20874         [BZ #19235]
20875         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
20876         add 0.5 to integer arguments.
20877         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
20878         Likewise.
20879         (.LC2): New object.
20881 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
20883         * scripts/pylintrc (reports): Set to no.
20885 2015-11-10  Roland McGrath  <roland@hack.frob.com>
20887         * elf/dl-load.c (open_verify): Take new argument FD.
20888         Skip __open call if passed FD is not -1.
20889         (_dl_map_object, open_path): Update callers.
20890         * elf/dl-sysdep-open.h: New file.
20891         * elf/dl-load.c: Include it.
20892         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
20893         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
20894         * sysdeps/nacl/dl-sysdep-open.h: New file.
20895         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
20896         from libc to rtld.
20898 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
20900         [BZ #19228]
20901         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
20902         and restore full floating-point state.
20903         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20904         Likewise.
20905         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20906         Likewise.
20907         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20908         Likewise.
20909         * math/test-nearbyint-except-2.c: New file.
20910         * math/Makefile (tests): Add test-nearbyint-except-2.
20912 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
20914         [BZ #19178]
20915         * sysdeps/x86/Makefile (tests): Add tst-prelink.
20916         (tst-prelink-ENV): New.
20917         ($(objpfx)tst-prelink-conflict.out): Likewise.
20918         ($(objpfx)tst-prelink-cmp.out): Likewise.
20919         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
20920         * sysdeps/x86/tst-prelink.c: New file.
20921         * sysdeps/x86/tst-prelink.exp: Likewise.
20923 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
20925         * math/auto-libm-test-in: Add another test of pow.
20926         * math/auto-libm-test-out: Regenerated.
20927         * math/libm-test.inc (pow_test_data): Add another test.
20929 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20931         [BZ #19219]
20932         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
20933         weak_alias to nearbyintl.
20935 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
20937         * sysdeps/aarch64/bits/string.h: New file.
20938         (_STRING_ARCH_unaligned): Define.
20940 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
20942         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
20943         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20944         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20945         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
20946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
20948 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
20950         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
20951         for original name of the DSO.  Add it to the name list of the DSO
20952         if it is actually given.
20953         (_dl_map_object): Keep track of whether an audit module rewrote
20954         the file name.  If yes, pass the original name to
20955         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
20956         debugging is enabled, log the change of the file name.
20957         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
20958         _dl_map_object_from_fd.
20959         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
20960         * elf/tst-audit11.c: New file
20961         * elf/tst-auditmod11.c: New file.
20962         * elf/tst-audit11mod1.c: New file.
20963         * elf/tst-audit11mod2.c: New file.
20964         * elf/tst-audit11mod2.map: New file.
20965         * elf/tst-audit12.c: New file
20966         * elf/tst-auditmod12.c: New file.
20967         * elf/tst-audit12mod1.c: New file.
20968         * elf/tst-audit12mod2.c: New file.
20969         * elf/tst-audit12mod2.map: New file.
20970         * elf/tst-audit12mod3.c: New file.
20972 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20974         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
20975         Don't create weak aliases,
20976         because versioned symbols are created later.
20977         * sysdeps/s390/s390-32/setjmp.S
20978         (setjmp, _setjmp): Remove weak and rename to an unique name
20979         in SHARED case due to existing versioned symbols.
20980         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20981         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
20982         (getcontext): Create weak alias only in non SHARED case.
20983         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20985 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20987         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
20988         (__ASSUME_*_SYSCALL) Define new macros.
20989         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
20990         Remove socketcall syscalls.
20991         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
20992         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
20993         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
20994         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
20995         * sysdeps/unix/sysv/linux/send.c (__libc_send):
20996         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
20998 2015-11-09  Florian Weimer  <fweimer@redhat.com>
21000         [BZ #12926]
21001         Terminate process on invalid netlink response.
21002         * sysdeps/unix/sysv/linux/netlinkaccess.h
21003         (__netlink_assert_response): Declare.
21004         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
21005         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
21006         (sysdep_routines): Add netlink_assert_response.
21007         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
21008         __netlink_assert_response.
21009         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
21010         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
21011         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
21012         __netlink_assert_response.
21014 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
21016         [BZ #19178]
21017         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
21018         (RTYPE_CLASS_PLT): Likewise.
21019         (RTYPE_CLASS_COPY): Likewise.
21020         (RTYPE_CLASS_TLS): Likewise.
21021         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
21022         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
21023         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
21024         DL_DEBUG_PRELINK.
21026 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
21028         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
21029         calls with argument -0.5.
21030         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
21032         * configure.ac (libc_cv_z_nodelete): Remove configure test.
21033         (libc_cv_z_nodlopen): Likewise.
21034         (libc_cv_z_initfirst): Likewise.
21035         * configure: Regenerated.
21037 2015-11-06  Florian Weimer  <fweimer@redhat.com>
21039         Simplify abilist format to be line-based.
21040         * scripts/abilist.awk: Collect descriptors in the descs variable.
21041         (emit): Write descs variable and sort it
21042         externally, with sort.
21043         * sysdeps/**/*.abilist: Convert to new format.
21045 2015-11-06  Mark Wielaard  <mjw@redhat.com>
21047         [BZ #11460]
21048         * io/Makefile (routines): Add fts64.
21049         (tests): Add tst-fts and tst-fts-lfs.
21050         (CFLAGS-fts64.c): New.
21051         * io/Versions (GLIBC_2.23): New.
21052         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
21053         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
21054         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
21055         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
21056         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
21057         (FTSENT64): Likewise.
21058         (fts64_children): Likewise.
21059         (fts64_close): Likewise.
21060         (fts64_open): Likewise.
21061         (fts64_read): Likewise.
21062         (fts64_set): Likewise.
21063         * io/fts64.c: New file.
21064         * io/tst-fts.c: New test.
21065         * io/tst-fts-lfs.c: Likewise.
21066         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
21067         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
21068         fts64_set.
21069         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21070         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21071         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21072         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21073         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21074         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21075         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21076         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21077         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21078         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21079         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21080         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21081         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21083         Likewise.
21084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21085         Likewise.
21086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21088         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21089         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21090         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21091         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21092         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21095         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21096         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21097         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21098         * sysdeps/wordsize-64/fts.c: New file.
21099         * sysdeps/wordsize-64/fts64.c: Likewise.
21100         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
21101         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
21102         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
21103         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
21105 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
21107         * math/libm-test.inc (NON_FINITE): New macro.
21108         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
21109         * math/gen-libm-test.pl (show_exceptions): Add argument
21110         $non_finite.
21111         (parse_args): Update call to show_exceptions.
21112         * math/test-math-finite.h: New file.
21113         * math/test-math-no-finite.h: Likewise.
21114         * math/test-double-finite.c: Likewise.
21115         * math/test-float-finite.c: Likewise.
21116         * math/test-ldouble-finite.c: Likewise.
21117         * math/test-double.c: Include "test-math-no-finite.h".
21118         * math/test-float.c: Include "test-math-no-finite.h".
21119         * math/test-ldouble.c: Include "test-math-no-finite.h".
21120         * math/test-math-inline.h (TEST_FINITE): New macro.
21121         * math/test-math-vector.h (TEST_FINITE): Likewise.
21122         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
21123         (libm-tests): Add test-float-finite and test-double-finite.
21124         ($(objpfx)test-float-finite.o): New dependency on
21125         $(objpfx)libm-test.stmp.
21126         ($(objpfx)test-double-finite.o): Likewise.
21127         ($(objpfx)test-ldouble-finite.o): Likewise.
21128         (libm-test-no-inline-cflags): New variable.
21129         (libm-test-finite-cflags): Likewise.
21130         (CFLAGS-test-float-finite.c): Likewise.
21131         (CFLAGS-test-double-finite.c): Likewise.
21132         (CFLAGS-test-ldouble-finite.c): Likewise.
21133         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
21134         (CFLAGS-test-double.c): Likewise.
21135         (CFLAGS-test-ldouble.c): Likewise.
21137 2015-11-05  Roland McGrath  <roland@hack.frob.com>
21139         * io/fcntl.c (__fcntl): Add ... to prototype.
21140         * misc/ioctl.c (__ioctl): Likewise.
21141         * misc/syscall.c (syscall): Likewise.
21143 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
21145         * scripts/list-fixed-bugs.py: New file.
21147         [BZ #19213]
21148         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
21149         returned for argument 1.
21150         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
21151         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
21152         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
21153         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
21154         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
21155         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
21157         [BZ #19211]
21158         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
21159         __USE_XOPEN], not if [!__USE_ISOC99].
21160         (lgammaf): Likewise.
21161         (lgammal): Likewise.
21162         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
21163         (gammaf): Likewise.
21164         (gammal): Likewise.
21165         * math/test-signgam-finite-c11.c: New file.
21166         * math/test-signgam-finite-c99.c: Likewise.
21167         * math/test-signgam-finite.c: Likewise.
21168         * math/Makefile (tests): Add test-signgam-finite,
21169         test-signgam-finite-c99 and test-signgam-finite-c11.
21170         (CFLAGS-test-signgam-finite.c): New variable.
21171         (CFLAGS-test-signgam-finite-c99.c): Likewise.
21172         (CFLAGS-test-signgam-finite-c11.c): Likewise.
21174         [BZ #19212]
21175         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
21176         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
21177         500].
21178         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
21179         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
21180         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
21181         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
21182         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
21183         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
21184         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
21185         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
21186         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
21187         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
21189         [BZ #19209]
21190         * math/bits/math-finite.h (ldexp): Remove declaration.
21191         (ldexpf): Likewise.
21192         (ldexpl): Likewise.
21194         [BZ #19205]
21195         * math/bits/math-finite.h (acosf): Condition declaration on
21196         [__USE_ISOC99].
21197         (acosl): Likewise.
21198         (acoshf): Likewise.
21199         (acoshl): Likewise.
21200         (asinf): Likewise.
21201         (asinl): Likewise.
21202         (atan2f): Likewise.
21203         (atan2l): Likewise.
21204         (atanhf): Likewise.
21205         (atanhl): Likewise.
21206         (coshf): Likewise.
21207         (coshl): Likewise.
21208         (expf): Likewise.
21209         (expl): Likewise.
21210         (fmodf): Likewise.
21211         (fmodl): Likewise.
21212         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
21213         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
21214         (j0l): Likewise.
21215         (y0f): Likewise.
21216         (y0l): Likewise.
21217         (j1f): Likewise.
21218         (j1l): Likewise.
21219         (y1f): Likewise.
21220         (y1l): Likewise.
21221         (jnf): Likewise.
21222         (jnl): Likewise.
21223         (ynf): Likewise.
21224         (ynl): Likewise.
21225         (lgammaf_r): Condition declaration on [__USE_ISOC99].
21226         (lgammal_r): Likewise.
21227         (__lgamma_r_finite): New declaration.
21228         (__lgammaf_r_finite): Likewise.
21229         (__lgammal_r_finite): Likewise.
21230         (lgamma): Use __lgamma_r_finite.
21231         (lgammaf): Condition definition on [__USE_ISOC99].  Use
21232         __lgammaf_r_finite.
21233         (lgammal): Condition definition on [__USE_ISOC99].  Use
21234         __lgammal_r_finite.
21235         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
21236         __lgamma_r_finite.
21237         (gammaf): Condition definition on [__USE_ISOC99].  Use
21238         __lgammaf_r_finite.
21239         (gammal): Condition definition on [__USE_ISOC99].  Use
21240         __lgammal_r_finite.
21241         (logf): Condition declaration on [__USE_ISOC99].
21242         (logl): Likewise.
21243         (log10f): Likewise.
21244         (log10l): Likewise.
21245         (ldexpf): Likewise.
21246         (ldexpl): Likewise.
21247         (powf): Likewise.
21248         (powl): Likewise.
21249         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
21250         __USE_ISOC99].
21251         (remainderf): Condition declaration on [__USE_ISOC99].
21252         (remainderl): Likewise.
21253         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
21254         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
21255         (scalbl): Likewise.
21256         (sinhf): Condition declaration on [__USE_ISOC99].
21257         (sinhl): Likewise.
21258         (sqrtf): Likewise.
21259         (sqrtl): Likewise.
21261 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
21263         * sysdeps/arm/atomic-machine.h
21264         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
21265         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
21266         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
21267         Remove conditional code.
21268         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
21269         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
21270         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
21271         Change conditional to [__ASSEMBLER__].
21272         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
21273         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
21274         [!__ASSEMBLER__].
21275         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
21276         code.
21277         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
21278         conditional macro definitions.
21279         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
21280         (__arch_compare_and_exchange_val_16_acq): Likewise.
21281         (__arch_compare_and_exchange_val_32_acq): Likewise.
21282         (atomic_exchange_and_add): Likewise.
21283         (atomic_add): Likewise.
21284         (atomic_add_negative): Likewise.
21285         (atomic_add_zero): Likewise.
21286         (atomic_bit_set): Likewise.
21287         (atomic_bit_test_set): Likewise.
21288         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
21289         code unconditional.
21290         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21292         * math/test-math-errno.h: New file.
21293         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
21294         empty.
21295         (TEST_ERRNO): New macro.
21296         (TEST_EXCEPTIONS): Likewise.
21297         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
21298         (TEST_EXCEPTIONS): Likewise.
21299         * math/test-math-vector.h (TEST_ERRNO): Likewise.
21300         * math/test-double.c: Include "test-math-errno.h".
21301         * math/test-float.c: Likewise.
21302         * math/test-ldouble.c: Likewise.
21303         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
21304         code unconditional.
21305         (test_exceptions): Only run code if TEST_EXCEPTIONS.
21306         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
21307         unconditional.
21308         (test_errno): Only run code if TEST_ERRNO.
21309         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
21311 2015-11-04  Florian Weimer  <fweimer@redhat.com>
21313         * nptl/tst-once5.cc: Remove attribution.
21315 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
21317         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
21318         sqrt, tan, tanh, y0, y1 and yn.
21319         * math/auto-libm-test-out: Regenerated.
21320         * math/libm-test.inc (scalb_test_data): Add more tests.
21321         (scalbn_test_data): Likewise.
21322         (scalbln_test_data): Likewise.
21323         (signbit_test_data): Likewise.
21324         (sin_test_data): Likewise.
21325         (sincos_test_data): Likewise.
21326         (sinh_test_data): Likewise.
21327         (sqrt_test_data): Likewise.
21328         (tan_test_data): Likewise.
21329         (tanh_test_data): Likewise.
21330         (tgamma_test_data): Likewise.
21331         (y0_test_data): Likewise.
21332         (y1_test_data): Likewise.
21333         (yn_test_data): Likewise.
21334         (significand_test_data): Likewise.
21335         * sysdeps/i386/fpu/libm-test-ulps: Update.
21337 2015-11-03  David Kastrup  <dak@gnu.org>
21339         [BZ #18604]
21340         * assert/assert.h (assert): Don't macro-expand failed assertion
21341         expression in error message.
21342         * malloc/malloc.c (assert): Likewise.
21344 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
21346         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
21347         test.
21348         * configure: Regenerated.
21350 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
21352         * math/libm-test.inc (modf_test_data): Add more tests.
21353         (nearbyint_test_data): Likewise.
21354         (nextafter_test_data): Likewise.
21355         (nexttoward_test_data): Likewise.
21356         (pow_test_data): Likewise.
21357         (remainder_test_data): Likewise.
21358         (remquo_test_data): Likewise.
21359         (rint_test_data): Likewise.
21361         [BZ #19201]
21362         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21363         Check for zero remainder in case of large exponents and ensure
21364         correct sign of result in that case.
21365         * math/libm-test.inc (remainder_test_data): Add more tests.
21367         [BZ #6799]
21368         * math/s_nextafter.c: Include <errno.h>.
21369         (__nextafter): Set errno on overflow and underflow.
21370         * math/s_nexttowardf.c: Include <errno.h>.
21371         (__nexttowardf): Set errno on overflow and underflow.
21372         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
21373         (__nextafterl): Set errno on overflow and underflow.
21374         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
21375         (__nexttoward): Set errno on overflow and underflow.
21376         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
21377         (__nexttowardf): Set errno on overflow and underflow.
21378         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
21379         (__nextafterf): Set errno on overflow and underflow.
21380         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
21381         (__nextafterl): Set errno on overflow and underflow.
21382         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
21383         (__nexttoward): Set errno on overflow and underflow.
21384         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
21385         (__nexttowardf): Set errno on overflow and underflow.
21386         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
21387         (__nextafterl): Set errno on overflow and underflow.
21388         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
21389         (__nexttoward): Set errno on overflow and underflow.
21390         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
21391         (__nexttowardf): Set errno on overflow and underflow.
21392         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
21393         (__nexttoward): Set errno on overflow and underflow.
21394         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
21395         (__nexttowardf): Set errno on overflow and underflow.
21396         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
21397         (__nldbl_nexttowardf): Set errno on overflow and underflow.
21398         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
21399         (__nextafterl): Set errno on overflow and underflow.
21400         * math/libm-test.inc (nextafter_test_data): Do not allow errno
21401         setting to be missing on overflow.  Add more tests.
21402         (nexttoward_test_data): Likewise.
21404         * configure.ac (libc_cv_initfini_array): Remove configure test.
21405         * configure: Regenerated.
21407 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
21409         [BZ #19189]
21410         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
21411         non-finite argument handle arguments with negative sign.
21413         * math/libm-test.inc (j0_test_data): Do not test sign of zero
21414         result from infinite argument.
21415         (j1_test_data): Likewise.
21416         (jn_test_data): Likewise.
21417         (y0_test_data): Likewise.
21418         (y1_test_data): Likewise.
21419         (yn_test_data): Likewise.
21421         [BZ #16171]
21422         * math/w_remainder.c (drem): Define as weak alias of __remainder.
21423         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
21424         * math/w_remainderf.c (dremf): Define as weak alias of
21425         __remainderf.
21426         * math/w_remainderl.c (dreml): Define as weak alias of
21427         __remainderl.
21428         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
21429         __remainder.
21430         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
21431         __remainderf.
21432         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
21433         __remainderl.
21434         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
21435         weak alias of remainderl.
21436         * sysdeps/ieee754/ldbl-opt/w_remainder.c
21437         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
21438         alias of __remainder.
21439         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
21440         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
21441         strong alias of __remainderl.
21442         (dreml): Use long_double_symbol.
21443         * math/Makefile (libm-calls): Remove w_drem.
21444         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
21445         (CFLAGS-nldbl-drem.c): Remove variable.
21446         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
21447         * math/w_drem.c: Remove file.
21448         * math/w_dremf.c: Likewise.
21449         * math/w_dreml.c: Likewise.
21450         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
21451         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
21452         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
21454         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
21455         * sysdeps/i386/configure: Regenerated.
21456         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
21457         * sysdeps/x86_64/configure: Regenerated.
21459         * configure.ac (libc_cv_asm_protected_directive): Remove configure
21460         test.
21461         (libc_cv_visibility_attribute): Likewise.
21462         (libc_cv_protected_data): Test unconditionally.
21463         (libc_cv_broken_visibility_attribute): Remove configure test.
21464         (libc_cv_have_sdata_section): Test unconditionally.
21465         * configure: Regenerated.
21467         * include/libc-internal.h (libc_max_align_t): Remove typedef.
21468         * include/scratch_buffer.h: Include <stddef.h> instead of
21469         <libc-internal.h>.
21470         (struct scratch_buffer): Use max_align_t instead of
21471         libc_max_align_t.
21473 2015-10-29  Florian Weimer  <fweimer@redhat.com>
21475         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
21476         instead of extend_alloca.  Change control flow to avoid a goto.
21477         Remove assert which is trivially always true.
21479 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21481         [BZ #16068]
21482         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
21483         (FE_ALL_EXCEPT_X86): New macro.
21484         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21485         FE_ALL_EXCEPT.  Ensure precision control is included in
21486         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21487         handle "denormal operand exception" and clear FZ and DAZ bits.
21488         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
21489         (FE_ALL_EXCEPT_X86): New macro.
21490         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21491         FE_ALL_EXCEPT.  Ensure precision control is included in
21492         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21493         handle "denormal operand exception" and clear FZ and DAZ bits.
21494         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
21495         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
21496         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21497         test-fenv-x87 and test-fenv-sse-2.
21498         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
21500         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
21501         * math/test-double.h (BUILD_COMPLEX): New macro.
21502         * math/test-float.h (BUILD_COMPLEX): Likewise.
21503         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
21505         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
21506         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
21507         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
21508         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
21509         instead of DBL_DENORM_MIN in comment.
21510         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
21511         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21512         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
21513         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
21514         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
21515         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21517 2015-10-28  Florian Weimer  <fweimer@redhat.com>
21519         [BZ #19048]
21520         * malloc/malloc.c (struct malloc_state): Update comment.  Add
21521         attached_threads member.
21522         (main_arena): Initialize attached_threads.
21523         * malloc/arena.c (list_lock): Update comment.
21524         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
21525         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
21526         (deattach_arena): New function.
21527         (_int_new_arena): Initialize arena reference count and deattach
21528         replaced arena.
21529         (get_free_list, reused_arena): Update reference count and deattach
21530         replaced arena.
21531         (arena_thread_freeres): Update arena reference count and only put
21532         unreferenced arenas on the free list.
21534 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21536         [BZ #19181]
21537         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
21538         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
21539         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
21540         * math/test-fenv-clear-main.c: New file.
21541         * math/test-fenv-clear.c: Likewise.
21542         * math/Makefile (tests): Add test-fenv-clear.
21543         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
21544         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21545         test-fenv-clear-sse.
21546         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
21548         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
21549         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
21550         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
21552 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21554         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
21555         static libc.
21557 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21559         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
21560         test.
21561         * sysdeps/i386/configure: Regenerated.
21562         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
21563         test.
21564         * sysdeps/x86_64/configure: Regenerated.
21565         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
21566         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21567         memset-avx2 unconditionally instead of conditionally on
21568         [$(config-cflags-avx2) = yes].
21569         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21570         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
21571         unconditional.
21572         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
21573         * sysdeps/x86_64/multiarch/memset_chk.S
21574         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
21575         to [IS_IN (libc) && SHARED].
21577 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21579         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
21580         configure test.
21581         * sysdeps/arm/configure: Regenerated.
21582         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
21583         Define variable if not already defined.
21585         [BZ #17404]
21586         * sysdeps/mips/atomic-machine.h
21587         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
21588         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
21589         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
21591         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
21592         unconditional.
21593         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
21594         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21595         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
21596         unconditional.
21597         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21598         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
21599         unconditional.
21600         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21601         * stdlib/setenv.c
21602         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
21603         code unconditional.
21604         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
21605         Remove conditional code.
21606         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
21607         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
21608         unconditional.
21609         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21610         code.
21611         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
21612         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
21613         unconditional.
21614         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21615         code.
21616         * sysdeps/ieee754/ldbl-128/k_tanl.c
21617         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21618         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21619         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
21620         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21621         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21622         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
21623         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
21624         unconditional.
21625         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21626         code.
21627         * sysdeps/ieee754/ldbl-96/k_tanl.c
21628         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21629         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21631         * nptl/tst-initializers1-c11.c: New file.
21632         * nptl/tst-initializers1-gnu11.c: Likewise.
21633         * nptl/Makefile (tests): Add these new tests.
21634         (CFLAGS-tst-initializers1-c11.c): New variable.
21635         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21637         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
21638         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
21639         instead of -std=gnu99.
21640         * configure.ac (systemtap): Test with -std=gnu11 instead of
21641         -std=gnu99.
21642         * configure: Regenerated.
21643         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
21644         in compilation command in comment.
21646         * sysdeps/nptl/configure.ac: Remove file.
21647         * sysdeps/nptl/configure: Remove generated file.
21648         * configure.ac (libc_cv_forced_unwind): Do not substitute.
21649         * configure: Regenerated.
21650         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
21651         * config.make.in (have-forced-unwind): Remove variable.
21652         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21653         unconditional.
21654         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
21655         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
21656         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
21657         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
21658         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21659         unconditional.
21661 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21663         [BZ #19174]
21664         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
21665         .skip_lock_out_of_tbegin_retries.
21666         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21667         (__lll_lock_elision): Likewise, and respect a value of
21668         try_tbegin <= 0.
21670 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21672         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
21673         statement.
21675 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21677         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
21678         variable.
21679         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21680         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21682         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
21683         of -std=c1x -D_ISOC11_SOURCE.
21685         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
21686         * configure: Regenerated.
21687         * manual/install.texi (Tools for Compilation): Document
21688         requirement for GCC 4.7 or later.
21689         * INSTALL: Regenerated.
21691 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
21693         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
21694         on CNT to a conditional jump to 'puntdata'.
21696 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21698         * configure.ac (libc_cv_gcc___thread): Remove configure test.
21699         (libc_cv_gcc_tls_model_attr): Likewise.
21700         * configure: Regenerated.
21702         * configure.ac (libc_cv_need_minus_P): Remove configure test.
21703         * configure: Regenerated.
21704         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
21706 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
21708         * configure.ac (old_glibc_headers): Remove configure test.
21709         * configure: Regenerated.
21710         * config.make.in (old-glibc-headers): Remove variable.
21711         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
21712         (install): Remove dependency on remove-old-headers.
21713         (headers2_0): Remove variable.
21714         (remove-old-headers): Remove rule.
21716         * configure.ac (libc_cv_dot_text): Remove configure test.
21717         (libc_cv_asm_set_directive): Use .text instead of
21718         ${libc_cv_dot_text} in configure test.
21719         * configure: Regenerated.
21721 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21723         [BZ #19168]
21724         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21726 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21728         * configure.ac (CXX): Clear the variable if the C++ toolchain does
21729         not support static linking.
21730         * configure: Regenerate.
21732 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
21734         * math/libm-test.inc (check_float_internal): Do not special-case
21735         errors up to 0.5 ulp.
21737         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21738         log2.
21739         * math/auto-libm-test-out: Regenerated.
21740         * math/libm-test.inc (MAX_EXP): New macro.
21741         (ilogb_test_data): Add more tests.
21742         (isfinite_test_data): Likewise.
21743         (isgreater_test_data): Likewise.
21744         (isgreaterequal_test_data): Likewise.
21745         (isinf_test_data): Likewise.
21746         (isless_test_data): Likewise.
21747         (islessequal_test_data): Likewise.
21748         (islessgreater_test_data): Likewise.
21749         (isnan_test_data): Likewise.
21750         (isnormal_test_data): Likewise.
21751         (issignaling_test_data): Likewise.
21752         (isunordered_test_data): Likewise.
21753         (j0_test_data): Likewise.
21754         (j1_test_data): Likewise.
21755         (jn_test_data): Likewise.
21756         (lgamma_test_data): Likewise.
21757         (log_test_data): Likewise.
21758         (log10_test_data): Likewise.
21759         (log1p_test_data): Likewise.
21760         (log2_test_data): Likewise.
21761         (logb_test_data): Likewise.
21762         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21764         [BZ #18611]
21765         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
21766         avoid excess range and precision on underflow.
21767         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21768         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
21769         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21770         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
21771         underflow.
21772         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21773         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21774         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21775         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21776         * math/auto-libm-test-in: Do not allow missing errno setting for
21777         tests of j1 and jn.
21778         * math/auto-libm-test-out: Regenerated.
21780 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
21782         [BZ #15491]
21783         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
21784         floating-point environment instead of clearing all exceptions.
21785         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
21786         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
21787         merging in "invalid" exceptions from frndint.
21788         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
21789         * math/test-nearbyint-except.c: New file.
21790         * math/Makefile (tests): Add test-nearbyint-except.
21792 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
21794         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
21796         * sysdeps/tile/libm-test-ulps: Regenerated.
21798 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
21801         (__NR_sync_file_range2): Assume it is always defined.
21802         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21803         (__NR_sync_file_range): Assume it is always defined.
21805 2015-10-22  Andreas Schwab  <schwab@suse.de>
21807         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
21808         INTERNAL_SYSCALL_ERRNO.
21809         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21810         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
21811         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21812         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
21813         Likewise.
21814         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21816 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21818         * io/tst-fcntl.c (fd): New static variable.
21819         (do_prepare): Open temporary file here....
21820         (do_test): ...not here.
21822         * io/ftwtest-sh: Also trap on exit to remove temporary files.
21824 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21826         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
21827         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21828         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21829         Moved before "#ifdef __ASSEMBLER__".
21831 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21833         [BZ #19156]
21834         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
21835         arguments very close to 0.
21837 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
21839         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
21840         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
21842 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21844         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21845         New.  Defined for GCC 5 and above when not compiling for
21846         profiling.
21847         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21849         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
21850         Renamed to ...
21851         (CFLAGS-epoll_pwait.o): This.
21852         (CFLAGS-mmap.c): Renamed to ...
21853         (CFLAGS-mmap.o): This.
21854         (CFLAGS-mmap64.c): Renamed to ...
21855         (CFLAGS-mmap64.o): This.
21856         (CFLAGS-epoll_pwait.os): New.
21857         (CFLAGS-mmap.os): Likewise.
21858         (CFLAGS-mmap64.os): Likewise.
21859         (CFLAGS-semtimedop.os): Likewise.
21860         (CFLAGS-semtimedop.c): Renamed to ...
21861         (CFLAGS-semtimedop.o): This.
21863 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21865         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
21866         warning message.
21868 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21870         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
21871         * Makefile ($(objpfx)c++-types-check.out): Filter out
21872         $(+gccwarn-c) instead of -Wstrict-prototypes.
21874         * io/fts.c (fts_open): Convert to prototype-style function
21875         definition.
21876         * malloc/mcheck.c (mcheck): Likewise.
21877         (mcheck_pedantic): Likewise.
21878         * posix/regexec.c (re_search_2_stub): Likewise.  Use
21879         internal_function.
21880         (re_search_internal): Likewise.
21881         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
21882         prototype-style function definition.
21883         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21884         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
21885         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
21886         (xdr_utmpptr): Likewise.
21887         (xdr_utmparr): Likewise.
21888         (xdr_utmpidle): Likewise.
21889         (xdr_utmpidleptr): Likewise.
21890         (xdr_utmpidlearr): Likewise.
21892         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
21893         log, log10 and log2.
21894         * math/auto-libm-test-out: Regenerated.
21895         * math/libm-test.inc (fmod_test_data): Add more tests.
21896         (fpclassify_test_data): Likewise.
21897         (frexp_test_data): Likewise.
21898         (hypot_test_data): Likewise.
21899         (ilogb_test_data): Likewise.
21901 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
21903         * debug/fortify_fail.c (__fortify_fail): Convert to
21904         prototype-style function definition.  Use internal_function.
21905         * libio/genops.c (save_for_backup): Convert to prototype-style
21906         function definition.
21907         * libio/wgenops.c (save_for_wbackup): Likewise.
21908         * login/grantpt.c (grantpt): Likewise.
21909         * login/ptsname.c (ptsname): Likewise.
21910         (__ptsname_r): Likewise.
21911         * login/unlockpt.c (unlockpt): Likewise.
21912         * mach/msgserver.c (__mach_msg_server): Likewise.
21913         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
21914         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
21915         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
21916         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
21917         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
21918         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
21919         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
21920         Likewise.
21921         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
21922         internal_function.
21923         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
21924         prototype-style function definition.
21925         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
21926         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
21927         (__pthread_create_2_0): Likewise.
21928         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
21929         * nptl/register-atfork.c (__register_atfork): Likewise.
21930         * posix/glob.c (glob): Likewise.
21931         * posix/regcomp.c (re_comp): Likewise.
21932         * posix/regexec.c (re_exec): Likewise.
21933         * stdlib/add_n.c [__STDC__]: Make code unconditional.
21934         [!__STDC__]: Remove conditional code.
21935         * stdlib/cmp.c [__STDC__]: Make code unconditional.
21936         [!__STDC__]: Remove conditional code.
21937         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
21938         [!__STDC__]: Remove conditional code.
21939         * stdlib/divrem.c [__STDC__]: Make code unconditional.
21940         [!__STDC__]: Remove conditional code.
21941         * stdlib/lshift.c [__STDC__]: Make code unconditional.
21942         [!__STDC__]: Remove conditional code.
21943         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
21944         [!__STDC__]: Remove conditional code.
21945         * stdlib/mul.c [__STDC__]: Make code unconditional.
21946         [!__STDC__]: Remove conditional code.
21947         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
21948         [!__STDC__]: Remove conditional code.
21949         * stdlib/rshift.c [__STDC__]: Make code unconditional.
21950         [!__STDC__]: Remove conditional code.
21951         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
21952         function definition.
21953         (STRTOF): Likewise.
21954         * stdlib/strtod_l.c (__STRTOF): Likewise.
21955         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
21956         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
21957         (__strtol_l): Likewise.
21958         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
21959         [!__STDC__]: Remove conditional code.
21960         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
21961         definition.
21962         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
21963         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21964         type.
21965         (__strcasecmp): Convert to prototype-style function definition.
21966         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
21967         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21968         type.
21969         (__strncasecmp): Convert to prototype-style function definition.
21970         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
21971         * sunrpc/xdr.c (xdr_union): Likewise.
21972         * sunrpc/xdr_array.c (xdr_array): Likewise.
21973         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
21974         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
21975         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
21976         Likewise.
21977         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
21978         Likewise.
21979         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
21980         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21981         Likewise.
21982         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
21983         (LOCALE_PARAM_PROTO): Likewise.
21984         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
21985         argument type.
21986         (ut_argument_spec): Remove macro.
21987         (ut_argument_spec_iso): Rename to ut_argument_spec.
21988         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
21989         prototype-style function definition.
21990         (memcpy_uppcase): Likewise.
21991         (__strftime_internal): Likewise.
21992         (my_strftime): Likewise.
21993         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
21994         (LOCALE_PARAM_DECL): Likewise.
21995         [_LIBC] (LOCALE_PARAM): Include argument type.
21996         (__strptime_internal): Convert to prototype-style function
21997         definition.
21998         (strptime): Likewise.
21999         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
22000         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22001         type.
22002         (__wcscasecmp): Convert to prototype-style function definition.
22003         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
22004         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22005         type.
22006         (__wcsncasecmp): Convert to prototype-style function definition.
22008         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
22009         function definition.
22010         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22011         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22012         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
22013         * elf/dl-minimal.c (_itoa): Likewise.
22014         * hurd/hurdmalloc.c (malloc): Likewise.
22015         (free): Likewise.
22016         (realloc): Likewise.
22017         * inet/inet6_option.c (inet6_option_space): Likewise.
22018         (inet6_option_init): Likewise.
22019         (inet6_option_append): Likewise.
22020         (inet6_option_alloc): Likewise.
22021         (inet6_option_next): Likewise.
22022         (inet6_option_find): Likewise.
22023         * io/ftw.c (FTW_NAME): Likewise.
22024         (NFTW_NAME): Likewise.
22025         (NFTW_NEW_NAME): Likewise.
22026         (NFTW_OLD_NAME): Likewise.
22027         * libio/iofwide.c (_IO_fwide): Likewise.
22028         * libio/strops.c (_IO_str_init_static_internal): Likewise.
22029         (_IO_str_init_static): Likewise.
22030         (_IO_str_init_readonly): Likewise.
22031         (_IO_str_overflow): Likewise.
22032         (_IO_str_underflow): Likewise.
22033         (_IO_str_count): Likewise.
22034         (_IO_str_seekoff): Likewise.
22035         (_IO_str_pbackfail): Likewise.
22036         (_IO_str_finish): Likewise.
22037         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
22038         (_IO_wstr_overflow): Likewise.
22039         (_IO_wstr_underflow): Likewise.
22040         (_IO_wstr_count): Likewise.
22041         (_IO_wstr_seekoff): Likewise.
22042         (_IO_wstr_pbackfail): Likewise.
22043         (_IO_wstr_finish): Likewise.
22044         * locale/programs/localedef.c (normalize_codeset): Likewise.
22045         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22046         (add_locales_to_archive): Likewise.
22047         (delete_locales_from_archive): Likewise.
22048         * malloc/malloc.c (__libc_mallinfo): Likewise.
22049         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
22050         * misc/tsearch.c (__tfind): Likewise.
22051         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
22052         * nptl/pthread_attr_getdetachstate.c
22053         (__pthread_attr_getdetachstate): Likewise.
22054         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22055         Likewise.
22056         * nptl/pthread_attr_getinheritsched.c
22057         (__pthread_attr_getinheritsched): Likewise.
22058         * nptl/pthread_attr_getschedparam.c
22059         (__pthread_attr_getschedparam): Likewise.
22060         * nptl/pthread_attr_getschedpolicy.c
22061         (__pthread_attr_getschedpolicy): Likewise.
22062         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
22063         Likewise.
22064         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
22065         Likewise.
22066         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22067         Likewise.
22068         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22069         Likewise.
22070         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
22071         (__pthread_attr_init_2_0): Likewise.
22072         * nptl/pthread_attr_setdetachstate.c
22073         (__pthread_attr_setdetachstate): Likewise.
22074         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22075         Likewise.
22076         * nptl/pthread_attr_setinheritsched.c
22077         (__pthread_attr_setinheritsched): Likewise.
22078         * nptl/pthread_attr_setschedparam.c
22079         (__pthread_attr_setschedparam): Likewise.
22080         * nptl/pthread_attr_setschedpolicy.c
22081         (__pthread_attr_setschedpolicy): Likewise.
22082         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
22083         Likewise.
22084         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
22085         Likewise.
22086         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22087         Likewise.
22088         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22089         Likewise.
22090         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
22091         Likewise.
22092         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
22093         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
22094         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
22095         use internal_function.
22096         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
22097         prototype-style function definition.
22098         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22099         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
22100         internal_function.
22101         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
22102         Convert to prototype-style function definition.
22103         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
22104         Likewise.
22105         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
22106         Likewise.
22107         (__pthread_mutex_unlock): Likewise.
22108         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
22109         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
22110         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
22111         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
22112         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
22113         * nss/makedb.c (process_input): Likewise.
22114         * posix/fnmatch.c (__strchrnul): Likewise.
22115         (__wcschrnul): Likewise.
22116         (fnmatch): Likewise.
22117         * posix/fnmatch_loop.c (FCT): Likewise.
22118         * posix/glob.c (globfree): Likewise.
22119         (__glob_pattern_type): Likewise.
22120         (__glob_pattern_p): Likewise.
22121         * posix/regcomp.c (re_compile_pattern): Likewise.
22122         (re_set_syntax): Likewise.
22123         (re_compile_fastmap): Likewise.
22124         (regcomp): Likewise.
22125         (regerror): Likewise.
22126         (regfree): Likewise.
22127         * posix/regexec.c (regexec): Likewise.
22128         (re_match): Likewise.
22129         (re_search): Likewise.
22130         (re_match_2): Likewise.
22131         (re_search_2): Likewise.
22132         (re_search_stub): Likewise.  Use internal_function
22133         (re_copy_regs): Likewise.
22134         (re_set_registers): Convert to prototype-style function
22135         definition.
22136         (prune_impossible_nodes): Likewise.  Use internal_function.
22137         * resolv/inet_net_pton.c (inet_net_pton): Convert to
22138         prototype-style function definition.
22139         (inet_net_pton_ipv4): Likewise.
22140         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22141         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
22142         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
22143         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
22144         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22145         Make variadic.
22146         * time/strptime_l.c (localtime_r): Convert to prototype-style
22147         function definition.
22148         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
22149         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
22150         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
22151         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
22153         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
22154         definition.
22155         (_ufc_doit_r): Likewise.
22156         * crypt/crypt_util.c (_ufc_copymem): Likewise.
22157         (_ufc_output_conversion_r): Likewise.
22158         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
22159         * inet/rcmd.c (rcmd_af): Likewise.
22160         (rcmd): Likewise.
22161         (ruserok_af): Likewise.
22162         (ruserok): Likewise.
22163         (ruserok2_sa): Likewise.
22164         (ruserok_sa): Likewise.
22165         (iruserok_af): Likewise.
22166         (iruserok): Likewise.
22167         (__ivaliduser): Likewise.
22168         (__validuser2_sa): Likewise.
22169         * inet/rexec.c (rexec_af): Likewise.
22170         (rexec): Likewise.
22171         * inet/ruserpass.c (ruserpass): Likewise.
22172         * locale/programs/xmalloc.c (xcalloc): Likewise.
22173         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
22174         * math/w_drem.c (__drem): Likewise.
22175         * math/w_dremf.c (__dremf): Likewise.
22176         * math/w_dreml.c (__dreml): Likewise.
22177         * misc/daemon.c (daemon): Likewise.
22178         * resolv/res_debug.c (p_fqnname): Likewise.
22179         * stdlib/div.c (div): Likewise.
22180         * string/memcmp.c (memcmp_bytes): Likewise.
22181         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
22182         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
22184         * crypt/cert.c (main): Convert to prototype-style function
22185         definition.
22186         * io/pipe.c (__pipe): Likewise.
22187         * io/pipe2.c (__pipe2): Likewise.
22188         * misc/futimesat.c (futimesat): Likewise.
22189         * misc/utimes.c (__utimes): Likewise.
22190         * posix/execve.c (__execve): Likewise.
22191         * posix/execvp.c (execvp): Likewise.
22192         * posix/execvpe.c (__execvpe): Likewise.
22193         * posix/fexecve.c (fexecve): Likewise.
22194         * socket/socketpair.c (socketpair): Likewise.
22195         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22196         * stdlib/erand48.c (erand48): Likewise.
22197         * stdlib/erand48_r.c (__erand48_r): Likewise.
22198         * stdlib/jrand48.c (jrand48): Likewise.
22199         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
22200         * stdlib/lcong48.c (lcong48): Likewise.
22201         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
22202         * stdlib/nrand48.c (nrand48): Likewise.
22203         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
22204         * stdlib/seed48.c (seed48): Likewise.
22205         * stdlib/seed48_r.c (__seed48_r): Likewise.
22206         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
22207         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
22208         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
22210 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
22212         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
22213         * configure: Regenerated.
22214         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
22215         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
22216         unconditional.
22217         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22218         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22219         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22220         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
22221         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
22222         unconditional.
22223         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22225         * posix/Makefile (CFLAGS-regex.c): Remove variable.
22226         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
22228         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
22229         function definition.
22230         * crypt/crypt_util.c (__encrypt_r): Likewise.
22231         * libio/genops.c (_IO_no_init): Likewise.
22232         * libio/iofopncook.c (_IO_fopencookie): Likewise.
22233         (_IO_old_fopencookie): Likewise.
22234         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22235         * libio/iogetline.c (_IO_getline): Likewise.
22236         (_IO_getline_info): Likewise.
22237         * libio/iogetwline.c (_IO_getwline): Likewise.
22238         (_IO_getwline_info): Likewise.
22239         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
22240         * libio/vswprintf.c (_IO_vswprintf): Likewise.
22241         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
22242         (find_entry): Likewise.
22243         (iterate_table): Likewise.
22244         (lookup): Likewise.
22245         * login/forkpty.c (forkpty): Likewise.
22246         * misc/hsearch_r.c (__hsearch_r): Likewise.
22247         * misc/select.c (__select): Likewise.
22248         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
22249         Likewise.
22250         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
22251         Likewise.
22252         * nptl/old_pthread_cond_timedwait.c
22253         (__pthread_cond_timedwait_2_0): Likewise.
22254         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22255         * nptl/pthread_barrierattr_getpshared.c
22256         (pthread_barrierattr_getpshared): Likewise.
22257         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
22258         Likewise.
22259         * nptl/pthread_mutex_setprioceiling.c
22260         (pthread_mutex_setprioceiling): Likewise.
22261         * nptl/pthread_mutexattr_getprioceiling.c
22262         (pthread_mutexattr_getprioceiling): Likewise.
22263         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22264         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22265         Likewise.
22266         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22267         Likewise.
22268         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
22269         Likewise.
22270         * socket/recvfrom.c (__recvfrom): Likewise.
22271         * socket/sendto.c (__sendto): Likewise.
22272         * socket/setsockopt.c (__setsockopt): Likewise.
22273         * stdio-common/_itoa.c (_itoa): Likewise.
22274         * stdio-common/_itowa.c (_itowa): Likewise.
22275         * stdio-common/reg-printf.c (__register_printf_specifier):
22276         Likewise.
22277         (__register_printf_function): Likewise.
22278         * stdio-common/tempname.c (__path_search): Likewise.
22279         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
22280         * stdlib/mul_1.c (mpn_mul_1): Likewise.
22281         * stdlib/random_r.c (__initstate_r): Likewise.
22282         * stdlib/setenv.c (__add_to_environ): Likewise.
22283         * stdlib/submul_1.c (mpn_submul_1): Likewise.
22284         * streams/getpmsg.c (getpmsg): Likewise.
22285         * streams/putmsg.c (putmsg): Likewise.
22286         * streams/putpmsg.c (putpmsg): Likewise.
22287         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
22288         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
22289         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
22290         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
22291         * sunrpc/pm_getport.c (pmap_getport): Likewise.
22292         * sunrpc/svc_udp.c (cache_get): Likewise.
22293         * sunrpc/xdr_array.c (xdr_vector): Likewise.
22294         * sysdeps/mach/hurd/getcwd.c
22295         (__canonicalize_directory_name_internal): Likewise.
22296         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
22297         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
22298         * sysdeps/mach/hurd/select.c (__select): Likewise.
22299         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
22300         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
22301         * sysdeps/sparc/nptl/pthread_barrier_init.c
22302         (__pthread_barrier_init): Likewise.
22303         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
22304         (__pthread_cond_timedwait): Likewise.
22305         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
22306         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
22307         Likewise.
22308         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
22309         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
22310         Likewise.
22311         * sysvipc/semtimedop.c (semtimedop): Likewise.
22312         * time/setitimer.c (__setitimer): Likewise.
22313         * time/strftime_l.c (emacs_strftime): Likewise.
22315 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
22317         * config.make.in (have-ssp): Delete.
22318         (stack-protector): New variable.
22319         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
22320         cache test for -fstack-protector-strong.  Export stack_protector to
22321         the best ssp flag.
22322         * configure: Regenerated.
22323         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
22324         * nscd/Makefile (CFLAGS-nscd): Likewise.
22325         * resolv/Makefile (CFLAGS-libresolv): Likewise.
22327 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
22329         [BZ #19122]
22330         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
22331         attribute_hidden.
22333 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22335         [BZ #18743]
22336         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
22337         code to...
22338         (ELIDE_LOCK): ...here.
22339         (__get_new_count): New function with part of the code from
22340         __elide_lock that updates the value of adapt_count after a
22341         transaction abort.
22342         (__elided_trylock): Moved this code to...
22343         (ELIDE_TRYLOCK): ...here.
22345 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
22347         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
22348         * configure: Regenerate.
22349         * INSTALL: Regenerate.
22350         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
22351         and tweak grammar.
22353 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
22355         * login/programs/pt_chown.c: Include signal.h
22356         (main): Clear any signal mask from the parent process.
22358 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
22360         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
22361         * configure: Regenerated.
22362         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
22363         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
22364         $(gnu89-inline-CFLAGS).
22366         * configure.ac (libc_cv_asm_weak_directive): Remove configure
22367         test.
22368         (libc_cv_asm_weakext_directive): Likewise.
22369         * configure: Regenerated.
22370         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
22371         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
22372         * include/libc-symbols.h
22373         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
22374         #error.
22375         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
22376         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
22378         * sysdeps/arm/backtrace.c (__backtrace): Convert to
22379         prototype-style function definition.
22380         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
22381         * sysdeps/i386/ffs.c (__ffs): Likewise.
22382         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22383         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
22384         Likewise.
22385         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22386         Likewise.
22387         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
22388         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
22389         Likewise.
22390         * sysdeps/m68k/ffs.c (__ffs): Likewise.
22391         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
22392         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
22393         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
22394         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
22395         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
22396         * sysdeps/mach/hurd/access.c (__access): Likewise.
22397         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
22398         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
22399         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
22400         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
22401         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
22402         (cthread_getspecific): Likewise.
22403         (cthread_setspecific): Likewise.
22404         (__libc_getspecific): Likewise.
22405         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
22406         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
22407         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
22408         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
22409         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
22410         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
22411         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
22412         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
22413         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
22414         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
22415         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
22416         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
22417         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
22418         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
22419         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
22420         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
22421         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
22422         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
22423         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
22424         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
22425         * sysdeps/mach/hurd/link.c (__link): Likewise.
22426         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
22427         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
22428         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
22429         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
22430         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
22431         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
22432         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
22433         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
22434         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
22435         * sysdeps/mach/hurd/rename.c (rename): Likewise.
22436         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
22437         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
22438         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
22439         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
22440         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
22441         * sysdeps/mach/hurd/send.c (__send): Likewise.
22442         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
22443         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
22444         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
22445         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
22446         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
22447         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
22448         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
22449         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
22450         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
22451         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
22452         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
22453         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
22454         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
22455         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
22456         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
22457         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
22458         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
22459         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
22460         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
22461         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22462         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
22463         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
22464         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
22465         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
22466         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
22467         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
22468         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
22469         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
22470         * sysdeps/posix/alarm.c (alarm): Likewise.
22471         * sysdeps/posix/cuserid.c (cuserid): Likewise.
22472         * sysdeps/posix/dirfd.c (dirfd): Likewise.
22473         * sysdeps/posix/dup.c (__dup): Likewise.
22474         * sysdeps/posix/dup2.c (__dup2): Likewise.
22475         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
22476         (main): Likewise.
22477         * sysdeps/posix/flock.c (__flock): Likewise.
22478         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
22479         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
22480         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
22481         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
22482         * sysdeps/posix/isatty.c (__isatty): Likewise.
22483         * sysdeps/posix/killpg.c (killpg): Likewise.
22484         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22485         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
22486         * sysdeps/posix/raise.c (raise): Likewise.
22487         * sysdeps/posix/remove.c (remove): Likewise.
22488         * sysdeps/posix/rename.c (rename): Likewise.
22489         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
22490         * sysdeps/posix/seekdir.c (seekdir): Likewise.
22491         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
22492         * sysdeps/posix/sigignore.c (sigignore): Likewise.
22493         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
22494         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
22495         * sysdeps/posix/sigset.c (sigset): Likewise.
22496         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
22497         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
22498         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
22499         * sysdeps/posix/time.c (time): Likewise.
22500         * sysdeps/posix/ttyname.c (getttyname): Likewise.
22501         (ttyname): Likewise.
22502         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
22503         * sysdeps/posix/utime.c (utime): Likewise.
22504         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
22505         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
22506         Likewise.
22507         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
22508         (pthread_spin_trylock): Likewise.
22509         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
22510         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
22511         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
22512         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
22513         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
22514         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
22515         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
22516         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
22517         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
22518         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
22519         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
22520         * sysdeps/s390/ffs.c (__ffs): Likewise.
22521         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
22522         Likewise.
22523         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22524         Likewise.
22525         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
22526         Likewise.
22527         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
22528         (pthread_barrier_destroy): Likewise.
22529         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22530         (__pthread_barrier_wait): Likewise.
22531         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
22532         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22533         (__pthread_barrier_wait): Likewise.
22534         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
22535         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
22536         (memcmp_not_common_alignment): Likewise.
22537         (MEMCMP): Likewise.
22538         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
22539         (_wordcopy_fwd_dest_aligned): Likewise.
22540         (_wordcopy_bwd_aligned): Likewise.
22541         (_wordcopy_bwd_dest_aligned): Likewise.
22542         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
22543         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
22544         * sysdeps/unix/bsd/stty.c (stty): Likewise.
22545         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
22546         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
22547         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
22548         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
22549         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
22550         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
22551         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
22552         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
22553         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22554         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
22555         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
22556         * sysdeps/unix/stime.c (stime): Likewise.
22557         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
22558         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
22559         Likewise.  Use internal_function.
22560         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
22561         Convert to prototype-style function definition.
22562         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22563         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22564         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
22565         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22566         Likewise.  Use internal_function.
22567         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
22568         prototype-style function definition
22569         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22570         Likewise.
22571         (__getlogin_r): Likewise.
22572         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
22573         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
22574         (__pthread_cond_broadcast): Likewise.
22575         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
22576         (__pthread_cond_destroy): Likewise.
22577         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
22578         (__pthread_cond_init): Likewise.
22579         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
22580         (__pthread_cond_signal): Likewise.
22581         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
22582         (__pthread_cond_wait): Likewise.
22583         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
22584         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22585         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
22586         Likewise.
22587         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
22588         Likewise.
22589         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
22590         Likewise.
22591         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
22592         Likewise.
22593         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
22594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
22595         (__ftruncate64): Likewise.
22596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
22597         (truncate64): Likewise.
22598         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
22599         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
22600         (pthread_getcpuclockid): Likewise.
22601         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
22602         Likewise.
22603         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
22604         Likewise.
22605         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
22606         Likewise.
22607         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
22608         Likewise.
22609         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
22610         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
22611         (__libc_sigaction): Likewise.
22612         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
22613         Likewise.
22614         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
22615         (__sigprocmask): Likewise.
22616         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
22617         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
22618         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
22619         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22620         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22621         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
22622         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22623         Likewise.
22624         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
22625         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
22626         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22627         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
22628         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
22629         Likewise.
22630         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
22631         (__sigprocmask): Likewise.
22632         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
22633         (cfgetispeed): Likewise.
22634         (cfsetospeed): Likewise.
22635         (cfsetispeed): Likewise.
22636         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
22637         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
22638         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22639         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22640         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
22641         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
22642         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
22643         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
22644         Likewise.
22645         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
22646         Likewise.
22647         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
22648         Likewise.
22649         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
22650         Likewise.
22651         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22653 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22655         sunrpc: Rewrite with explicit TLS access using __thread.
22656         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
22657         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
22658         directly.
22659         (__rpc_thread_variables): Access thread_rpc_vars directly.
22660         Eliminate redundant assignment of the tvp variable.
22662 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22664         malloc: Rewrite with explicit TLS access using __thread.
22665         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
22666         (tsd_setspecific, tsd_getspecific): Remove.
22667         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
22668         (tsd_setspecific, tsd_getspecific): Likewise.
22669         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
22670         (tsd_setspecific, tsd_getspecific): Likewise.
22671         * malloc/arena.c (thread_arena): New TLS variable.
22672         (arena_key): Remove variable.
22673         (arena_get): Use thread_arena.
22674         (arena_lookup): Remove macro.
22675         (malloc_atfork, free_atfork, ptmalloc_lock_all)
22676         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
22677         (_int_new_arena, get_free_list, reused_arena)
22678         (arena_thread_freeres): Use thread_arena.
22679         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
22680         tsd_getspecific, tsd_setspecific from safety annotations.
22681         (Allocating Cleared Space): Remove arena_lookup from safety
22682         annotations.
22684 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22686         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
22687         struct scratch_buffer instead of extend_alloca.
22689 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22691         * sysdeps/unix/sysv/linux/kernel-features.h
22692         (__ASSUME_SOCK_CLOEXEC): Remove.
22693         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
22694         (__have_paccept): Remove unused macro.
22695         * include/unistd.h (__have_sock_cloexec): Remove declaration.
22696         * misc/syslog.c (openlog_internal): Remove fallback code for
22697         !__ASSUME_SOCK_CLOEXEC.
22698         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
22699         missing SOCK_CLOEXEC.
22700         * nscd/connections.c (have_sock_cloexec): Remove definition.
22701         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22702         * nscd/nscd_helper.c (open_socket): Remove fallback code for
22703         !__ASSUME_SOCK_CLOEXEC.
22704         * resolv/res_send.c (__have_o_nonblock): Remove definition.
22705         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22706         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
22707         definition.
22708         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
22709         code for !__ASSUME_SOCK_CLOEXEC.
22711 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22713         [BZ #18982]
22714         * manual/stdio.texi (Variable Arguments Output): Add portability
22715         note, explaining that vfprintf clobbers the va_list pointer.
22717 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22719         * math/libm-test.inc (fabs_test_data): Add more tests.
22720         (fdim_test_data): Likewise.
22721         (fma_test_data): Likewise.
22722         (fmax_test_data): Likewise.
22723         (fmin_test_data): Likewise.
22724         (fmod_test_data): Likewise.
22726 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
22728         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
22729         data.
22731 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22733         * math/libm-test.inc (ceil_test_data): Add more tests and more
22734         expectations for "inexact".
22735         (floor_test_data): Add more tests.
22736         (round_test_data): Likewise.
22737         (trunc_test_data): Likewise.
22739         * crypt/cert.c (good_bye): Convert to prototype-style function
22740         definition.
22741         (get8): Likewise.
22742         (put8): Likewise.
22743         * crypt/crypt-entry.c (crypt): Likewise.
22744         (__fcrypt): Likewise.
22745         * crypt/crypt_util.c (_ufc_prbits): Likewise.
22746         (_ufc_set_bits): Likewise.
22747         (_ufc_clearmem): Likewise.
22748         (__init_des_r): Likewise.
22749         (shuffle_sb): Likewise.
22750         (shuffle_sb): Likewise.
22751         (_ufc_setup_salt_r): Likewise.
22752         (_ufc_mk_keytab_r): Likewise.
22753         (_ufc_dofinalperm_r): Likewise.
22754         (encrypt): Likewise.
22755         (__setkey_r): Likewise.
22756         (setkey): Likewise.
22757         * crypt/md5.c (md5_init_ctx): Likewise.
22758         (md5_read_ctx): Likewise.
22759         (md5_finish_ctx): Likewise.
22760         (md5_stream): Likewise.
22761         (md5_buffer): Likewise.
22762         (md5_process_bytes): Likewise.
22763         * crypt/sha256.c (__sha256_init_ctx): Likewise.
22764         (__sha256_finish_ctx): Likewise.
22765         (__sha256_process_bytes): Likewise.
22766         * crypt/sha512.c (__sha512_init_ctx): Likewise.
22767         (__sha512_finish_ctx): Likewise.
22768         (__sha512_process_bytes): Likewise.
22769         * ctype/isctype.c (__isctype): Likewise.
22770         * debug/backtrace.c (__backtrace): Likewise.
22771         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
22772         * debug/fgets_chk.c (__fgets_chk): Likewise.
22773         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
22774         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
22775         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22776         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22777         * debug/memset_chk.c (__memset_chk): Likewise.
22778         * debug/strcat_chk.c (__strcat_chk): Likewise.
22779         * debug/strncat_chk.c (__strncat_chk): Likewise.
22780         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
22781         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
22782         * dirent/dirfd.c (dirfd): Likewise.
22783         * dirent/getdents.c (__getdirentries): Likewise.
22784         * dirent/getdents64.c (getdirentries64): Likewise.
22785         * dirent/rewinddir.c (__rewinddir): Likewise.
22786         * dirent/seekdir.c (seekdir): Likewise.
22787         * dirent/telldir.c (telldir): Likewise.
22788         * elf/sln.c (makesymlinks): Likewise.
22789         (makesymlink): Likewise.
22790         * gmon/gmon.c (__moncontrol): Likewise.
22791         (__monstartup): Likewise.
22792         (write_hist): Likewise.
22793         (write_call_graph): Likewise.
22794         (write_bb_counts): Likewise.
22795         * grp/setgroups.c (setgroups): Likewise.
22796         * inet/inet_lnaof.c (inet_lnaof): Likewise.
22797         * inet/inet_net.c (inet_network): Likewise.
22798         * inet/inet_netof.c (inet_netof): Likewise.
22799         * inet/rcmd.c (rresvport_af): Likewise.
22800         (rresvport): Likewise.
22801         * io/access.c (__access): Likewise.
22802         * io/chdir.c (__chdir): Likewise.
22803         * io/chmod.c (__chmod): Likewise.
22804         * io/chown.c (__chown): Likewise.
22805         * io/close.c (__close): Likewise.
22806         * io/creat.c (creat): Likewise.
22807         * io/creat64.c (creat64): Likewise.
22808         * io/dup.c (__dup): Likewise.
22809         * io/dup2.c (__dup2): Likewise.
22810         * io/dup3.c (__dup3): Likewise.
22811         * io/euidaccess.c (__euidaccess): Likewise.
22812         * io/faccessat.c (faccessat): Likewise.
22813         * io/fchmod.c (__fchmod): Likewise.
22814         * io/fchmodat.c (fchmodat): Likewise.
22815         * io/fchown.c (__fchown): Likewise.
22816         * io/fchownat.c (fchownat): Likewise.
22817         * io/fcntl.c (__fcntl): Likewise.
22818         * io/flock.c (__flock): Likewise.
22819         * io/fts.c (fts_load): Likewise.
22820         (fts_close): Likewise.
22821         (fts_read): Likewise.
22822         (fts_set): Likewise.
22823         (fts_children): Likewise.
22824         (fts_build): Likewise.
22825         (fts_stat): Likewise.
22826         (fts_sort): Likewise.
22827         (fts_alloc): Likewise.
22828         (fts_lfree): Likewise.
22829         (fts_palloc): Likewise.
22830         (fts_padjust): Likewise.
22831         (fts_maxarglen): Likewise.
22832         (fts_safe_changedir): Likewise.
22833         * io/getwd.c (getwd): Likewise.
22834         * io/isatty.c (__isatty): Likewise.
22835         * io/lchown.c (__lchown): Likewise.
22836         * io/link.c (__link): Likewise.
22837         * io/linkat.c (linkat): Likewise.
22838         * io/lseek.c (__libc_lseek): Likewise.
22839         * io/mkdir.c (__mkdir): Likewise.
22840         * io/mkdirat.c (mkdirat): Likewise.
22841         * io/mkfifo.c (mkfifo): Likewise.
22842         * io/mkfifoat.c (mkfifoat): Likewise.
22843         * io/open.c (__libc_open): Likewise.
22844         * io/open64.c (__libc_open64): Likewise.
22845         * io/readlink.c (__readlink): Likewise.
22846         * io/readlinkat.c (readlinkat): Likewise.
22847         * io/rmdir.c (__rmdir): Likewise.
22848         * io/symlink.c (__symlink): Likewise.
22849         * io/symlinkat.c (symlinkat): Likewise.
22850         * io/ttyname.c (ttyname): Likewise.
22851         * io/ttyname_r.c (__ttyname_r): Likewise.
22852         * io/umask.c (__umask): Likewise.
22853         * io/unlink.c (__unlink): Likewise.
22854         * io/unlinkat.c (unlinkat): Likewise.
22855         * io/utime.c (utime): Likewise.
22856         * libio/clearerr.c (clearerr): Likewise.
22857         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
22858         * libio/feof.c (_IO_feof): Likewise.
22859         * libio/feof_u.c (feof_unlocked): Likewise.
22860         * libio/ferror.c (_IO_ferror): Likewise.
22861         * libio/ferror_u.c (ferror_unlocked): Likewise.
22862         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22863         * libio/fileno.c (__fileno): Likewise.
22864         * libio/fputc.c (fputc): Likewise.
22865         * libio/fputc_u.c (fputc_unlocked): Likewise.
22866         * libio/fputwc.c (fputwc): Likewise.
22867         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
22868         * libio/freopen.c (freopen): Likewise.
22869         * libio/freopen64.c (freopen64): Likewise.
22870         * libio/fseek.c (fseek): Likewise.
22871         * libio/fseeko.c (fseeko): Likewise.
22872         * libio/fseeko64.c (fseeko64): Likewise.
22873         * libio/ftello.c (__ftello): Likewise.
22874         * libio/ftello64.c (ftello64): Likewise.
22875         * libio/fwide.c (fwide): Likewise.
22876         * libio/genops.c (_IO_un_link): Likewise.
22877         (_IO_link_in): Likewise.
22878         (_IO_least_marker): Likewise.
22879         (_IO_switch_to_main_get_area): Likewise.
22880         (_IO_switch_to_backup_area): Likewise.
22881         (_IO_switch_to_get_mode): Likewise.
22882         (_IO_free_backup_area): Likewise.
22883         (_IO_switch_to_put_mode): Likewise.
22884         (__overflow): Likewise.
22885         (__underflow): Likewise.
22886         (__uflow): Likewise.
22887         (_IO_setb): Likewise.
22888         (_IO_doallocbuf): Likewise.
22889         (_IO_default_underflow): Likewise.
22890         (_IO_default_uflow): Likewise.
22891         (_IO_default_xsputn): Likewise.
22892         (_IO_sgetn): Likewise.
22893         (_IO_default_xsgetn): Likewise.
22894         (_IO_sync): Likewise.
22895         (_IO_default_setbuf): Likewise.
22896         (_IO_default_seekpos): Likewise.
22897         (_IO_default_doallocate): Likewise.
22898         (_IO_init): Likewise.
22899         (_IO_old_init): Likewise.
22900         (_IO_default_sync): Likewise.
22901         (_IO_default_finish): Likewise.
22902         (_IO_default_seekoff): Likewise.
22903         (_IO_sputbackc): Likewise.
22904         (_IO_sungetc): Likewise.
22905         (_IO_set_column): Likewise.
22906         (_IO_set_column): Likewise.
22907         (_IO_adjust_column): Likewise.
22908         (_IO_get_column): Likewise.
22909         (_IO_init_marker): Likewise.
22910         (_IO_remove_marker): Likewise.
22911         (_IO_marker_difference): Likewise.
22912         (_IO_marker_delta): Likewise.
22913         (_IO_seekmark): Likewise.
22914         (_IO_unsave_markers): Likewise.
22915         (_IO_nobackup_pbackfail): Likewise.
22916         (_IO_default_pbackfail): Likewise.
22917         (_IO_default_seek): Likewise.
22918         (_IO_default_stat): Likewise.
22919         (_IO_default_read): Likewise.
22920         (_IO_default_write): Likewise.
22921         (_IO_default_showmanyc): Likewise.
22922         (_IO_default_imbue): Likewise.
22923         (_IO_iter_next): Likewise.
22924         (_IO_iter_file): Likewise.
22925         * libio/getc.c (_IO_getc): Likewise.
22926         * libio/getwc.c (_IO_getwc): Likewise.
22927         * libio/iofclose.c (_IO_new_fclose): Likewise.
22928         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22929         * libio/iofflush.c (_IO_fflush): Likewise.
22930         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
22931         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
22932         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
22933         * libio/iofgets.c (_IO_fgets): Likewise.
22934         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
22935         * libio/iofgetws.c (fgetws): Likewise.
22936         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22937         * libio/iofopen64.c (_IO_fopen64): Likewise.
22938         * libio/iofopncook.c (_IO_cookie_read): Likewise.
22939         (_IO_cookie_write): Likewise.
22940         (_IO_cookie_seek): Likewise.
22941         (_IO_cookie_close): Likewise.
22942         (_IO_cookie_seekoff): Likewise.
22943         (_IO_old_cookie_seek): Likewise.
22944         * libio/iofputs.c (_IO_fputs): Likewise.
22945         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
22946         * libio/iofputws.c (fputws): Likewise.
22947         * libio/iofputws_u.c (fputws_unlocked): Likewise.
22948         * libio/iofread.c (_IO_fread): Likewise.
22949         * libio/iofread_u.c (__fread_unlocked): Likewise.
22950         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
22951         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
22952         * libio/ioftell.c (_IO_ftell): Likewise.
22953         * libio/iofwrite.c (_IO_fwrite): Likewise.
22954         * libio/iogetdelim.c (_IO_getdelim): Likewise.
22955         * libio/iogets.c (_IO_gets): Likewise.
22956         * libio/iopadn.c (_IO_padn): Likewise.
22957         * libio/iopopen.c (_IO_new_proc_open): Likewise.
22958         (_IO_new_popen): Likewise.
22959         (_IO_new_proc_close): Likewise.
22960         * libio/ioputs.c (_IO_puts): Likewise.
22961         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
22962         (_IO_seekoff): Likewise.
22963         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
22964         (_IO_seekpos): Likewise.
22965         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
22966         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
22967         * libio/ioungetc.c (_IO_ungetc): Likewise.
22968         * libio/ioungetwc.c (ungetwc): Likewise.
22969         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22970         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
22971         * libio/iowpadn.c (_IO_wpadn): Likewise.
22972         * libio/libc_fatal.c (__libc_fatal): Likewise.
22973         * libio/memstream.c (__open_memstream): Likewise.
22974         (_IO_mem_sync): Likewise.
22975         (_IO_mem_finish): Likewise.
22976         * libio/oldfileops.c (_IO_old_file_init): Likewise.
22977         (_IO_old_file_close_it): Likewise.
22978         (_IO_old_file_finish): Likewise.
22979         (_IO_old_file_fopen): Likewise.
22980         (_IO_old_file_attach): Likewise.
22981         (_IO_old_file_setbuf): Likewise.
22982         (_IO_old_do_write): Likewise.
22983         (old_do_write): Likewise.
22984         (_IO_old_file_underflow): Likewise.
22985         (_IO_old_file_overflow): Likewise.
22986         (_IO_old_file_sync): Likewise.
22987         (_IO_old_file_seekoff): Likewise.
22988         (_IO_old_file_write): Likewise.
22989         (_IO_old_file_xsputn): Likewise.
22990         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
22991         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22992         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
22993         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
22994         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22995         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
22996         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
22997         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
22998         (_IO_old_popen): Likewise.
22999         (_IO_old_proc_close): Likewise.
23000         * libio/oldpclose.c (__old_pclose): Likewise.
23001         * libio/pclose.c (__new_pclose): Likewise.
23002         * libio/peekc.c (_IO_peekc_locked): Likewise.
23003         * libio/putc.c (_IO_putc): Likewise.
23004         * libio/putc_u.c (putc_unlocked): Likewise.
23005         * libio/putchar.c (putchar): Likewise.
23006         * libio/putchar_u.c (putchar_unlocked): Likewise.
23007         * libio/putwc.c (putwc): Likewise.
23008         * libio/putwc_u.c (putwc_unlocked): Likewise.
23009         * libio/putwchar.c (putwchar): Likewise.
23010         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
23011         * libio/rewind.c (rewind): Likewise.
23012         * libio/setbuf.c (setbuf): Likewise.
23013         * libio/setlinebuf.c (setlinebuf): Likewise.
23014         * libio/vasprintf.c (_IO_vasprintf): Likewise.
23015         * libio/vscanf.c (_IO_vscanf): Likewise.
23016         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
23017         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
23018         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
23019         * libio/wgenops.c (_IO_least_wmarker): Likewise.
23020         (_IO_switch_to_main_wget_area): Likewise.
23021         (_IO_switch_to_wbackup_area): Likewise.
23022         (_IO_wsetb): Likewise.
23023         (_IO_wdefault_pbackfail): Likewise.
23024         (_IO_wdefault_finish): Likewise.
23025         (_IO_wdefault_uflow): Likewise.
23026         (__woverflow): Likewise.
23027         (__wuflow): Likewise.
23028         (__wunderflow): Likewise.
23029         (_IO_wdefault_xsputn): Likewise.
23030         (_IO_wdefault_xsgetn): Likewise.
23031         (_IO_wdoallocbuf): Likewise.
23032         (_IO_wdefault_doallocate): Likewise.
23033         (_IO_switch_to_wget_mode): Likewise.
23034         (_IO_free_wbackup_area): Likewise.
23035         (_IO_switch_to_wput_mode): Likewise.
23036         (_IO_sputbackwc): Likewise.
23037         (_IO_sungetwc): Likewise.
23038         (_IO_adjust_wcolumn): Likewise.
23039         (_IO_init_wmarker): Likewise.
23040         (_IO_wmarker_delta): Likewise.
23041         (_IO_seekwmark): Likewise.
23042         (_IO_unsave_wmarkers): Likewise.
23043         * libio/wmemstream.c (open_wmemstream): Likewise.
23044         (_IO_wmem_sync): Likewise.
23045         (_IO_wmem_finish): Likewise.
23046         * locale/nl_langinfo.c (nl_langinfo): Likewise.
23047         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
23048         * locale/programs/simple-hash.c (init_hash): Likewise.
23049         (delete_hash): Likewise.
23050         (insert_entry): Likewise.
23051         (set_entry): Likewise.
23052         (next_prime): Likewise.
23053         (is_prime): Likewise.
23054         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
23055         (xmalloc): Likewise.
23056         (xrealloc): Likewise.
23057         * locale/programs/xstrdup.c (xstrdup): Likewise.
23058         * localedata/collate-test.c (xstrcoll): Likewise.
23059         * localedata/xfrm-test.c (xstrcmp): Likewise.
23060         * login/getlogin_r.c (__getlogin_r): Likewise.
23061         * login/getpt.c (__posix_openpt): Likewise.
23062         * login/login_tty.c (login_tty): Likewise.
23063         * login/setlogin.c (setlogin): Likewise.
23064         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
23065         (mach_msg_destroy_port): Likewise.
23066         (mach_msg_destroy_memory): Likewise.
23067         * malloc/mcheck.c (flood): Likewise.
23068         * misc/acct.c (acct): Likewise.
23069         * misc/brk.c (__brk): Likewise.
23070         * misc/chflags.c (chflags): Likewise.
23071         * misc/chroot.c (chroot): Likewise.
23072         * misc/fchflags.c (fchflags): Likewise.
23073         * misc/fstab.c (getfsspec): Likewise.
23074         (getfsfile): Likewise.
23075         * misc/fsync.c (fsync): Likewise.
23076         * misc/ftruncate.c (__ftruncate): Likewise.
23077         * misc/ftruncate64.c (__ftruncate64): Likewise.
23078         * misc/getdomain.c (getdomainname): Likewise.
23079         (getdomainname): Likewise.
23080         * misc/gethostname.c (__gethostname): Likewise.
23081         * misc/getpass.c (getpass): Likewise.
23082         * misc/getttyent.c (skip): Likewise.
23083         (value): Likewise.
23084         * misc/gtty.c (gtty): Likewise.
23085         * misc/hsearch.c (hsearch): Likewise.
23086         (hcreate): Likewise.
23087         * misc/hsearch_r.c (__hcreate_r): Likewise.
23088         (__hdestroy_r): Likewise.
23089         * misc/ioctl.c (__ioctl): Likewise.
23090         * misc/mkdtemp.c (mkdtemp): Likewise.
23091         * misc/mkostemp.c (mkostemp): Likewise.
23092         * misc/mkostemp64.c (mkostemp64): Likewise.
23093         * misc/mkostemps.c (mkostemps): Likewise.
23094         * misc/mkostemps64.c (mkostemps64): Likewise.
23095         * misc/mkstemp.c (mkstemp): Likewise.
23096         * misc/mkstemp64.c (mkstemp64): Likewise.
23097         * misc/mkstemps.c (mkstemps): Likewise.
23098         * misc/mkstemps64.c (mkstemps64): Likewise.
23099         * misc/mktemp.c (__mktemp): Likewise.
23100         * misc/preadv.c (preadv): Likewise.
23101         * misc/preadv64.c (preadv64): Likewise.
23102         * misc/pwritev.c (pwritev): Likewise.
23103         * misc/pwritev64.c (pwritev64): Likewise.
23104         * misc/readv.c (__readv): Likewise.
23105         * misc/revoke.c (revoke): Likewise.
23106         * misc/setdomain.c (setdomainname): Likewise.
23107         * misc/setegid.c (setegid): Likewise.
23108         * misc/seteuid.c (seteuid): Likewise.
23109         * misc/sethostid.c (sethostid): Likewise.
23110         * misc/sethostname.c (sethostname): Likewise.
23111         * misc/setregid.c (__setregid): Likewise.
23112         * misc/setreuid.c (__setreuid): Likewise.
23113         * misc/sstk.c (sstk): Likewise.
23114         * misc/stty.c (stty): Likewise.
23115         * misc/syscall.c (syscall): Likewise.
23116         * misc/syslog.c (setlogmask): Likewise.
23117         * misc/truncate.c (__truncate): Likewise.
23118         * misc/truncate64.c (truncate64): Likewise.
23119         * misc/ualarm.c (ualarm): Likewise.
23120         * misc/usleep.c (usleep): Likewise.
23121         * misc/ustat.c (ustat): Likewise.
23122         * misc/writev.c (__writev): Likewise.
23123         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
23124         * nptl/old_pthread_cond_broadcast.c
23125         (__pthread_cond_broadcast_2_0): Likewise.
23126         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
23127         Likewise.
23128         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
23129         Likewise.
23130         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
23131         Likewise.
23132         * nptl/pt-raise.c (raise): Likewise.
23133         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
23134         Likewise.
23135         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
23136         * nptl/pthread_barrierattr_destroy.c
23137         (pthread_barrierattr_destroy): Likewise.
23138         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23139         Likewise.
23140         * nptl/pthread_barrierattr_setpshared.c
23141         (pthread_barrierattr_setpshared): Likewise.
23142         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
23143         Likewise.
23144         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
23145         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23146         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
23147         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
23148         Likewise.
23149         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
23150         Likewise.
23151         * nptl/pthread_condattr_getpshared.c
23152         (pthread_condattr_getpshared): Likewise.
23153         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
23154         Likewise.
23155         * nptl/pthread_condattr_setpshared.c
23156         (pthread_condattr_setpshared): Likewise.
23157         * nptl/pthread_detach.c (pthread_detach): Likewise.
23158         * nptl/pthread_equal.c (__pthread_equal): Likewise.
23159         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
23160         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
23161         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
23162         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
23163         Likewise.
23164         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
23165         Likewise.
23166         * nptl/pthread_mutex_getprioceiling.c
23167         (pthread_mutex_getprioceiling): Likewise.
23168         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
23169         Likewise.
23170         * nptl/pthread_mutexattr_getprotocol.c
23171         (pthread_mutexattr_getprotocol): Likewise.
23172         * nptl/pthread_mutexattr_getpshared.c
23173         (pthread_mutexattr_getpshared): Likewise.
23174         * nptl/pthread_mutexattr_getrobust.c
23175         (pthread_mutexattr_getrobust): Likewise.
23176         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23177         Likewise.
23178         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
23179         Likewise.
23180         * nptl/pthread_mutexattr_setprioceiling.c
23181         (pthread_mutexattr_setprioceiling): Likewise.
23182         * nptl/pthread_mutexattr_setprotocol.c
23183         (pthread_mutexattr_setprotocol): Likewise.
23184         * nptl/pthread_mutexattr_setpshared.c
23185         (pthread_mutexattr_setpshared): Likewise.
23186         * nptl/pthread_mutexattr_setrobust.c
23187         (pthread_mutexattr_setrobust): Likewise.
23188         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
23189         Likewise.
23190         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
23191         Likewise.
23192         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
23193         Likewise.
23194         * nptl/pthread_rwlockattr_getkind_np.c
23195         (pthread_rwlockattr_getkind_np): Likewise.
23196         * nptl/pthread_rwlockattr_getpshared.c
23197         (pthread_rwlockattr_getpshared): Likewise.
23198         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
23199         Likewise.
23200         * nptl/pthread_rwlockattr_setkind_np.c
23201         (pthread_rwlockattr_setkind_np): Likewise.
23202         * nptl/pthread_rwlockattr_setpshared.c
23203         (pthread_rwlockattr_setpshared): Likewise.
23204         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
23205         Likewise.
23206         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
23207         Likewise.
23208         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
23209         Likewise.
23210         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
23211         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
23212         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
23213         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
23214         * nptl/sem_close.c (sem_close): Likewise.
23215         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
23216         * nptl/sem_init.c (__old_sem_init): Likewise.
23217         * nptl/sigaction.c (__sigaction): Likewise.
23218         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23219         * posix/_exit.c (_exit): Likewise.
23220         * posix/alarm.c (alarm): Likewise.
23221         * posix/confstr.c (confstr): Likewise.
23222         * posix/fpathconf.c (__fpathconf): Likewise.
23223         * posix/getgroups.c (__getgroups): Likewise.
23224         * posix/getpgid.c (__getpgid): Likewise.
23225         * posix/group_member.c (__group_member): Likewise.
23226         * posix/pathconf.c (__pathconf): Likewise.
23227         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
23228         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
23229         * posix/setgid.c (__setgid): Likewise.
23230         * posix/setpgid.c (__setpgid): Likewise.
23231         * posix/setuid.c (__setuid): Likewise.
23232         * posix/sleep.c (__sleep): Likewise.
23233         * posix/sysconf.c (__sysconf): Likewise.
23234         * posix/times.c (__times): Likewise.
23235         * posix/uname.c (__uname): Likewise.
23236         * posix/waitid.c (__waitid): Likewise.
23237         * pwd/getpw.c (__getpw): Likewise.
23238         * resolv/base64.c (b64_pton): Likewise.
23239         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
23240         * resolv/gethnamaddr.c (Dprintf): Likewise.
23241         (gethostbyname): Likewise.
23242         (gethostbyname2): Likewise.
23243         (gethostbyaddr): Likewise.
23244         (_sethtent): Likewise.
23245         (_gethtbyname): Likewise.
23246         (_gethtbyname2): Likewise.
23247         (_gethtbyaddr): Likewise.
23248         (map_v4v6_address): Likewise.
23249         (map_v4v6_hostent): Likewise.
23250         (addrsort): Likewise.
23251         (ht_sethostent): Likewise.
23252         (ht_gethostbyname): Likewise.
23253         (ht_gethostbyaddr): Likewise.
23254         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
23255         (inet_net_ntop_ipv4): Likewise.
23256         * resolv/inet_neta.c (inet_neta): Likewise.
23257         * resolv/inet_ntop.c (inet_ntop): Likewise.
23258         (inet_ntop4): Likewise.
23259         (inet_ntop6): Likewise.
23260         * resolv/inet_pton.c (__inet_pton): Likewise.
23261         (inet_pton4): Likewise.
23262         (inet_pton6): Likewise.
23263         * resolv/res_debug.c (loc_aton): Likewise.
23264         (loc_ntoa): Likewise.
23265         * resource/getpriority.c (__getpriority): Likewise.
23266         * resource/getrusage.c (__getrusage): Likewise.
23267         * resource/nice.c (nice): Likewise.
23268         * resource/setpriority.c (__setpriority): Likewise.
23269         * resource/setrlimit64.c (setrlimit64): Likewise.
23270         * resource/vlimit.c (vlimit): Likewise.
23271         * resource/vtimes.c (vtimes): Likewise.
23272         * rt/aio_error.c (aio_error): Likewise.
23273         * rt/aio_return.c (aio_return): Likewise.
23274         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
23275         * signal/kill.c (__kill): Likewise.
23276         * signal/killpg.c (killpg): Likewise.
23277         * signal/raise.c (raise): Likewise.
23278         * signal/sigaction.c (__sigaction): Likewise.
23279         * signal/sigaddset.c (sigaddset): Likewise.
23280         * signal/sigaltstack.c (sigaltstack): Likewise.
23281         * signal/sigandset.c (sigandset): Likewise.
23282         * signal/sigblock.c (__sigblock): Likewise.
23283         * signal/sigdelset.c (sigdelset): Likewise.
23284         * signal/sigempty.c (sigemptyset): Likewise.
23285         * signal/sigfillset.c (sigfillset): Likewise.
23286         * signal/sighold.c (sighold): Likewise.
23287         * signal/sigignore.c (sigignore): Likewise.
23288         * signal/sigintr.c (siginterrupt): Likewise.
23289         * signal/sigisempty.c (sigisemptyset): Likewise.
23290         * signal/sigismem.c (sigismember): Likewise.
23291         * signal/signal.c (signal): Likewise.
23292         * signal/sigorset.c (sigorset): Likewise.
23293         * signal/sigpause.c (__sigpause): Likewise.
23294         * signal/sigpending.c (sigpending): Likewise.
23295         * signal/sigprocmask.c (__sigprocmask): Likewise.
23296         * signal/sigrelse.c (sigrelse): Likewise.
23297         * signal/sigreturn.c (__sigreturn): Likewise.
23298         * signal/sigset.c (sigset): Likewise.
23299         * signal/sigsetmask.c (__sigsetmask): Likewise.
23300         * signal/sigstack.c (sigstack): Likewise.
23301         * signal/sigsuspend.c (__sigsuspend): Likewise.
23302         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
23303         * signal/sysv_signal.c (__sysv_signal): Likewise.
23304         * socket/accept.c (accept): Likewise.
23305         * socket/accept4.c (__libc_accept4): Likewise.
23306         * socket/bind.c (__bind): Likewise.
23307         * socket/connect.c (__connect): Likewise.
23308         * socket/getpeername.c (getpeername): Likewise.
23309         * socket/getsockname.c (__getsockname): Likewise.
23310         * socket/getsockopt.c (getsockopt): Likewise.
23311         * socket/listen.c (__listen): Likewise.
23312         * socket/recv.c (__recv): Likewise.
23313         * socket/recvmsg.c (__recvmsg): Likewise.
23314         * socket/send.c (__send): Likewise.
23315         * socket/sendmsg.c (__sendmsg): Likewise.
23316         * socket/shutdown.c (shutdown): Likewise.
23317         * socket/sockatmark.c (sockatmark): Likewise.
23318         * socket/socket.c (__socket): Likewise.
23319         * stdio-common/ctermid.c (ctermid): Likewise.
23320         * stdio-common/cuserid.c (cuserid): Likewise.
23321         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
23322         * stdio-common/remove.c (remove): Likewise.
23323         * stdio-common/rename.c (rename): Likewise.
23324         * stdio-common/renameat.c (renameat): Likewise.
23325         * stdio-common/tempname.c (__gen_tempname): Likewise.
23326         * stdio-common/xbug.c (InitBuffer): Likewise.
23327         (AppendToBuffer): Likewise.
23328         (ReadFile): Likewise.
23329         * stdlib/a64l.c (a64l): Likewise.
23330         * stdlib/drand48_r.c (drand48_r): Likewise.
23331         * stdlib/getcontext.c (getcontext): Likewise.
23332         * stdlib/getenv.c (getenv): Likewise.
23333         * stdlib/l64a.c (l64a): Likewise.
23334         * stdlib/llabs.c (llabs): Likewise.
23335         * stdlib/lldiv.c (lldiv): Likewise.
23336         * stdlib/lrand48_r.c (lrand48_r): Likewise.
23337         * stdlib/mrand48_r.c (mrand48_r): Likewise.
23338         * stdlib/putenv.c (putenv): Likewise.
23339         * stdlib/random.c (__srandom): Likewise.
23340         (__initstate): Likewise.
23341         (__setstate): Likewise.
23342         * stdlib/random_r.c (__srandom_r): Likewise.
23343         (__setstate_r): Likewise.
23344         (__random_r): Likewise.
23345         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
23346         * stdlib/setcontext.c (setcontext): Likewise.
23347         * stdlib/setenv.c (setenv): Likewise.
23348         (unsetenv): Likewise.
23349         * stdlib/srand48.c (srand48): Likewise.
23350         * stdlib/srand48_r.c (__srand48_r): Likewise.
23351         * stdlib/swapcontext.c (swapcontext): Likewise.
23352         * stdlib/system.c (__libc_system): Likewise.
23353         * stdlib/tst-strtod.c (expand): Likewise.
23354         * stdlib/tst-strtol.c (expand): Likewise.
23355         * stdlib/tst-strtoll.c (expand): Likewise.
23356         * streams/fattach.c (fattach): Likewise.
23357         * streams/fdetach.c (fdetach): Likewise.
23358         * streams/getmsg.c (getmsg): Likewise.
23359         * streams/isastream.c (isastream): Likewise.
23360         * string/ffs.c (__ffs): Likewise.
23361         * string/ffsll.c (ffsll): Likewise.
23362         * string/memcmp.c (memcmp_common_alignment): Likewise.
23363         (memcmp_not_common_alignment): Likewise.
23364         (MEMCMP): Likewise.
23365         * string/memcpy.c (memcpy): Likewise.
23366         * string/memmove.c (MEMMOVE): Likewise.
23367         * string/memset.c (memset): Likewise.
23368         * string/rawmemchr.c (RAWMEMCHR): Likewise.
23369         * string/strchrnul.c (STRCHRNUL): Likewise.
23370         * string/strerror.c (strerror): Likewise.
23371         * string/strndup.c (__strndup): Likewise.
23372         * string/strverscmp.c (__strverscmp): Likewise.
23373         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
23374         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
23375         (clnttcp_freeres): Likewise.
23376         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
23377         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
23378         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
23379         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
23380         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
23381         (xdr_callhdr): Likewise.
23382         * sunrpc/rpcinfo.c (udpping): Likewise.
23383         (tcpping): Likewise.
23384         (pstatus): Likewise.
23385         (pmapdump): Likewise.
23386         (brdcst): Likewise.
23387         (deletereg): Likewise.
23388         (getprognum): Likewise.
23389         (getvers): Likewise.
23390         (get_inet_address): Likewise.
23391         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
23392         * sunrpc/svc_udp.c (svcudp_create): Likewise.
23393         (svcudp_stat): Likewise.
23394         (svcudp_recv): Likewise.
23395         (svcudp_reply): Likewise.
23396         (svcudp_getargs): Likewise.
23397         (svcudp_freeargs): Likewise.
23398         (svcudp_destroy): Likewise.
23399         * sunrpc/xdr.c (xdr_bytes): Likewise.
23400         (xdr_netobj): Likewise.
23401         (xdr_string): Likewise.
23402         (xdr_wrapstring): Likewise.
23403         * sunrpc/xdr_float.c (xdr_float): Likewise.
23404         (xdr_double): Likewise.
23405         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
23406         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
23407         * sysvipc/ftok.c (ftok): Likewise.
23408         * sysvipc/msgctl.c (msgctl): Likewise.
23409         * sysvipc/msgget.c (msgget): Likewise.
23410         * sysvipc/msgrcv.c (msgrcv): Likewise.
23411         * sysvipc/msgsnd.c (msgsnd): Likewise.
23412         * sysvipc/semget.c (semget): Likewise.
23413         * sysvipc/semop.c (semop): Likewise.
23414         * sysvipc/shmat.c (shmat): Likewise.
23415         * sysvipc/shmctl.c (shmctl): Likewise.
23416         * sysvipc/shmdt.c (shmdt): Likewise.
23417         * sysvipc/shmget.c (shmget): Likewise.
23418         * termios/cfmakeraw.c (cfmakeraw): Likewise.
23419         * termios/speed.c (cfgetospeed): Likewise.
23420         (cfgetispeed): Likewise.
23421         (cfsetospeed): Likewise.
23422         (cfsetispeed): Likewise.
23423         * termios/tcflow.c (tcflow): Likewise.
23424         * termios/tcflush.c (tcflush): Likewise.
23425         * termios/tcgetattr.c (__tcgetattr): Likewise.
23426         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
23427         * termios/tcgetsid.c (tcgetsid): Likewise.
23428         * termios/tcsendbrk.c (tcsendbreak): Likewise.
23429         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
23430         * time/adjtime.c (__adjtime): Likewise.
23431         * time/dysize.c (dysize): Likewise.
23432         * time/ftime.c (ftime): Likewise.
23433         * time/getitimer.c (__getitimer): Likewise.
23434         * time/gettimeofday.c (__gettimeofday): Likewise.
23435         * time/gmtime.c (__gmtime_r): Likewise.
23436         (gmtime): Likewise.
23437         * time/localtime.c (__localtime_r): Likewise.
23438         (localtime): Likewise.
23439         * time/offtime.c (__offtime): Likewise.
23440         * time/settimeofday.c (__settimeofday): Likewise.
23441         * time/stime.c (stime): Likewise.
23442         * time/strftime_l.c (tm_diff): Likewise.
23443         (iso_week_days): Likewise.
23444         * time/strptime.c (strptime): Likewise.
23445         * time/time.c (time): Likewise.
23446         * time/timespec_get.c (timespec_get): Likewise.
23447         * time/tzset.c (tzset_internal): Likewise.
23448         (compute_change): Likewise.
23449         (__tz_compute): Likewise.
23450         * wcsmbs/btowc.c (__btowc): Likewise.
23451         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
23452         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
23453         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
23454         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
23455         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
23456         * wcsmbs/wcscat.c (__wcscat): Likewise.
23457         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23458         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
23459         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
23460         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23461         * wcsmbs/wcsdup.c (wcsdup): Likewise.
23462         * wcsmbs/wcslen.c (__wcslen): Likewise.
23463         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
23464         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
23465         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
23466         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
23467         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23468         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
23469         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23470         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23471         * wcsmbs/wcstok.c (wcstok): Likewise.
23472         * wcsmbs/wctob.c (wctob): Likewise.
23473         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
23474         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23475         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
23476         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
23477         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
23478         * wcsmbs/wmemset.c (__wmemset): Likewise.
23479         * wctype/wcfuncs.c (__towlower): Likewise.
23480         (__towupper): Likewise.
23482         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
23483         (lll_unlock_elision): Add adapt_count parameter.
23485 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23487         * sysdeps/nptl/configure.ac: Do not give errors based on the
23488         results of top-level configure tests.
23489         * sysdeps/nptl/configure: Regenerated.
23491         * configure.ac (libc_cv_Bgroup): Remove configure test.
23492         * configure: Regenerated.
23493         * config.make.in (have-Bgroup): Remove variable.
23495         * configure.ac (sizeof_long_double): Remove configure test.
23496         * configure: Regenerated.
23497         * config.make.in (sizeof-long-double): Remove variable.
23499         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
23500         * configure: Regenerated.
23501         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
23502         variable.
23503         (exceptions): Likewise.
23504         * sysdeps/arm/configure: Regenerated.
23505         * config.make.in (exceptions): Remove variable.
23506         * Makeconfig (uses-callbacks): Use -fexceptions instead of
23507         $(exceptions).
23508         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
23509         (CFLAGS-vdprintf_chk.c): Likewise.
23510         (CFLAGS-printf_chk.c): Likewise.
23511         (CFLAGS-fprintf_chk.c): Likewise.
23512         (CFLAGS-vprintf_chk.c): Likewise.
23513         (CFLAGS-vfprintf_chk.c): Likewise.
23514         (CFLAGS-gets_chk.c): Likewise.
23515         (CFLAGS-fgets_chk.c): Likewise.
23516         (CFLAGS-fgets_u_chk.c): Likewise.
23517         (CFLAGS-fread_chk.c): Likewise.
23518         (CFLAGS-fread_u_chk.c): Likewise.
23519         (CFLAGS-wprintf_chk.c): Likewise.
23520         (CFLAGS-fwprintf_chk.c): Likewise.
23521         (CFLAGS-vwprintf_chk.c): Likewise.
23522         (CFLAGS-vfwprintf_chk.c): Likewise.
23523         (CFLAGS-fgetws_chk.c): Likewise.
23524         (CFLAGS-fgetws_u_chk.c): Likewise.
23525         * libio/Makefile (CFLAGS-fileops.c): Likewise.
23526         (CFLAGS-fputc.c): Likewise.
23527         (CFLAGS-fputwc.c): Likewise.
23528         (CFLAGS-freopen64.c): Likewise.
23529         (CFLAGS-freopen.c): Likewise.
23530         (CFLAGS-fseek.c): Likewise.
23531         (CFLAGS-fseeko64.c): Likewise.
23532         (CFLAGS-fseeko.c): Likewise.
23533         (CFLAGS-ftello64.c): Likewise.
23534         (CFLAGS-ftello.c): Likewise.
23535         (CFLAGS-fwide.c): Likewise.
23536         (CFLAGS-genops.c): Likewise.
23537         (CFLAGS-getc.c): Likewise.
23538         (CFLAGS-getchar.c): Likewise.
23539         (CFLAGS-getwc.c): Likewise.
23540         (CFLAGS-getwchar.c): Likewise.
23541         (CFLAGS-iofclose.c): Likewise.
23542         (CFLAGS-iofflush.c): Likewise.
23543         (CFLAGS-iofgetpos64.c): Likewise.
23544         (CFLAGS-iofgetpos.c): Likewise.
23545         (CFLAGS-iofgets.c): Likewise.
23546         (CFLAGS-iofgetws.c): Likewise.
23547         (CFLAGS-iofputs.c): Likewise.
23548         (CFLAGS-iofputws.c): Likewise.
23549         (CFLAGS-iofread.c): Likewise.
23550         (CFLAGS-iofsetpos64.c): Likewise.
23551         (CFLAGS-iofsetpos.c): Likewise.
23552         (CFLAGS-ioftell.c): Likewise.
23553         (CFLAGS-iofwrite.c): Likewise.
23554         (CFLAGS-iogetdelim.c): Likewise.
23555         (CFLAGS-iogetline.c): Likewise.
23556         (CFLAGS-iogets.c): Likewise.
23557         (CFLAGS-iogetwline.c): Likewise.
23558         (CFLAGS-ioputs.c): Likewise.
23559         (CFLAGS-ioseekoff.c): Likewise.
23560         (CFLAGS-ioseekpos.c): Likewise.
23561         (CFLAGS-iosetbuffer.c): Likewise.
23562         (CFLAGS-iosetvbuf.c): Likewise.
23563         (CFLAGS-ioungetc.c): Likewise.
23564         (CFLAGS-ioungetwc.c): Likewise.
23565         (CFLAGS-oldfileops.c): Likewise.
23566         (CFLAGS-oldiofclose.c): Likewise.
23567         (CFLAGS-oldiofgetpos64.c): Likewise.
23568         (CFLAGS-oldiofgetpos.c): Likewise.
23569         (CFLAGS-oldiofsetpos64.c): Likewise.
23570         (CFLAGS-oldiofsetpos.c): Likewise.
23571         (CFLAGS-peekc.c): Likewise.
23572         (CFLAGS-putc.c): Likewise.
23573         (CFLAGS-putchar.c): Likewise.
23574         (CFLAGS-putwc.c): Likewise.
23575         (CFLAGS-putwchar.c): Likewise.
23576         (CFLAGS-rewind.c): Likewise.
23577         (CFLAGS-wfileops.c): Likewise.
23578         (CFLAGS-wgenops.c): Likewise.
23579         (CFLAGS-oldiofopen.c): Likewise.
23580         (CFLAGS-iofopen.c): Likewise.
23581         (CFLAGS-iofopen64.c): Likewise.
23582         (CFLAGS-oldtmpfile.c): Likewise.
23583         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
23584         (CFLAGS-fprintf.c): Likewise.
23585         (CFLAGS-printf.c): Likewise.
23586         (CFLAGS-vfwprintf.c): Likewise.
23587         (CFLAGS-vfscanf.c): Likewise.
23588         (CFLAGS-vfwscanf.c): Likewise.
23589         (CFLAGS-fscanf.c): Likewise.
23590         (CFLAGS-scanf.c): Likewise.
23591         (CFLAGS-isoc99_vfscanf.c): Likewise.
23592         (CFLAGS-isoc99_vscanf.c): Likewise.
23593         (CFLAGS-isoc99_fscanf.c): Likewise.
23594         (CFLAGS-isoc99_scanf.c): Likewise.
23595         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
23596         (CFLAGS-isoc99_fwscanf.c): Likewise.
23597         (CFLAGS-isoc99_vwscanf.c): Likewise.
23598         (CFLAGS-isoc99_vfwscanf.c): Likewise.
23600         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
23601         after mkstemp64.
23602         * login/tst-utmp.c (do_prepare): Likewise.
23603         * rt/tst-aio.c (do_prepare): Likewise.
23604         * rt/tst-aio64.c (do_prepare): Likewise.
23606 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23608         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23609         (__lll_lock_elision): Remove adapt_count decrement...
23610         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
23611         (__lll_trylock_elision): Likewise.
23612         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
23613         (__lll_unlock_elision): ... to here. And utilize
23614         new adapt_count parameter.
23615         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23616         (__lll_unlock_elision): Update to include adapt_count
23617         parameter.
23618         (lll_unlock_elision): Pass pointer to adapt_count
23619         variable.
23621 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23623         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
23624         Add elision adapt_count parameter to list of arguments.
23625         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23626         (lll_unlock_elision): Update with new parameter list
23627         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
23628         (lll_unlock_elision): Likewise.
23629         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
23630         (lll_unlock_elision): Likewise.
23632 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23634         [BZ #19122]
23635         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
23636         attribute_hidden.
23638         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
23639         attribute_hidden.
23640         [IS_IN (rtld)] (__strdup): Likewise.
23641         [IS_IN (rtld)] (__strerror_r): Likewise.
23642         [IS_IN (rtld)] (__strsep_g): Likewise.
23643         [IS_IN (rtld)] (memchr): Likewise.
23644         [IS_IN (rtld)] (memcmp): Likewise.
23645         [IS_IN (rtld)] (memcpy): Likewise.
23646         [IS_IN (rtld)] (memmove): Likewise.
23647         [IS_IN (rtld)] (memset): Likewise.
23648         [IS_IN (rtld)] (rawmemchr): Likewise.
23649         [IS_IN (rtld)] (stpcpy): Likewise.
23650         [IS_IN (rtld)] (strchr): Likewise.
23651         [IS_IN (rtld)] (strcmp): Likewise.
23652         [IS_IN (rtld)] (strlen): Likewise.
23653         [IS_IN (rtld)] (strnlen): Likewise.
23654         [IS_IN (rtld)] (strsep): Likewise.
23656         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
23657         attribute_hidden.
23658         [IS_IN (rtld)] (__strtoul_internal): Likewise.
23660         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
23661         attribute_hidden.
23662         [IS_IN (rtld)] (__libc_sigaction): Likewise.
23664         * include/setjmp.h (__longjmp): Add attribute_hidden.
23665         [IS_IN (rtld)] (__sigsetjmp): Likewise.
23667         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
23668         Add attribute_hidden.
23670         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
23671         [IS_IN (rtld)] (__open): Likewise.
23672         [IS_IN (rtld)] (__fcntl): Likewise.
23674         * include/dirent.h (__opendirat): Add attribute_hidden.
23675         (__getdents): Likewise.
23676         (__getdents64): Likewise.
23677         (__alloc_dir): Likewise.
23678         [IS_IN (rtld)] (__closedir): Likewise.
23679         [IS_IN (rtld)] (__fdopendir): Likewise.
23680         [IS_IN (rtld)] (__readdir): Likewise.
23681         [IS_IN (rtld)] (__readdir64): Likewise.
23682         [IS_IN (rtld)] (__rewinddir): Likewise.
23684         * include/dlfcn.h (_dl_catch_error): Moved to ...
23685         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
23686         attribute_hidden.
23688         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
23689         (_itoa_word): Likewise.
23691         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
23692         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
23693         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
23694         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
23695         (_dl_higher_prime_number): Likewise.
23696         (_dl_debug_printf_c): Likewise.
23697         (_dl_signal_cerror): Likewise.
23698         (_dl_receive_error): Likewise.
23699         (_dl_reloc_bad_type): Likewise.
23700         (_dl_resolve_conflicts): Likewise.
23701         (_dl_check_all_versions): Likewise.
23702         (_dl_check_map_versions): Likewise.
23703         (_dl_sort_fini): Likewise.
23704         (_dl_debug_initialize): Likewise.
23705         (_dl_init_paths): Likewise.
23706         (_dl_show_auxv): Likewise.
23707         (_dl_next_ld_env_entry): Likewise.
23708         (_dl_important_hwcaps): Likewise.
23709         (_dl_load_cache_lookup): Likewise.
23710         (_dl_update_slotinfo): Likewise.
23711         (_dl_show_scope): Likewise.
23713         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
23714         attribute_hidden.
23715         (_wordcopy_fwd_dest_aligned): Likewise.
23716         (_wordcopy_bwd_aligned): Likewise.
23717         (_wordcopy_bwd_dest_aligned): Likewise.
23719         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23720         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23721         Likewise.
23722         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23723         Likewise.
23724         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
23726 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23728         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
23729         GCC 5 requirement.
23731 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23733         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
23734         test.
23735         * sysdeps/i386/configure: Regenerated.
23736         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
23737         code unconditional.
23739         * configure.ac (libc_cv_asm_previous_directive): Remove configure
23740         test.
23741         (libc_cv_asm_popsection_directive): Likewise.
23742         * configure: Regenerated.
23743         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
23744         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
23745         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
23746         (__make_section_unallocated): Make definition unconditional.
23747         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
23748         Remove conditional definition.
23749         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
23750         (__make_section_unallocated): Likewise.
23752         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
23753         * configure: Regenerated.
23754         * config.make.in (static-libgcc): Remove variable.
23755         * Makerules (build-shlib-helper): Use -static-libgcc instead of
23756         $(static-libgcc).
23757         (build-module-helper): Likewise.
23759         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
23760         * configure: Regenerated.
23762 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23764         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
23765         (struct char_buffer): New type.
23766         (char_buffer_start, char_buffer_size, char_buffer_error)
23767         (char_buffer_rewind, char_buffer_add): New functions.
23768         (ADDW): Remove macro, replaced by the char_buffer_add function.
23769         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
23770         of extend_alloca.  Make control flow more explicit.
23772 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23774         [BZ #19137]
23775         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
23776         Add -fomit-frame-pointer.
23777         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
23779 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23781         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
23782         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
23783         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
23784         only if !__GNUC_PREREQ (5,0).
23785         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
23786         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
23787         (INTERNAL_SYSCALL_NCS): Likewise.
23788         (LOADREGS_0): New macro for GCC 5.
23789         (ASMARGS_0): Likewise.
23790         (LOADREGS_1): Likewise.
23791         (ASMARGS_1): Likewise.
23792         (LOADREGS_2): Likewise.
23793         (ASMARGS_2): Likewise.
23794         (LOADREGS_3): Likewise.
23795         (ASMARGS_3): Likewise.
23796         (LOADREGS_4): Likewise.
23797         (ASMARGS_4): Likewise.
23798         (LOADREGS_5): Likewise.
23799         (ASMARGS_5): Likewise.
23800         (LOADREGS_6): Likewise.
23801         (ASMARGS_6): Likewise.
23803 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23805         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
23806         -fomit-frame-pointer.
23807         (CFLAGS-mmap64.c): Likewise.
23808         (CFLAGS-semtimedop.c): Likewise.
23809         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
23810         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
23811         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23812         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23814 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23816         [BZ #18928]
23817         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
23818         _dl_pointer_guard member.
23819         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
23820         initializer.
23821         (security_init): Always set up pointer guard.
23822         (process_envvars): Do not process LD_POINTER_GUARD.
23824 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
23826         [BZ #19134]
23827         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
23828         (.LC2): Likewise.
23829         (.LC3): Likewise.
23830         (__lround): Do not add 0.5 to integer or out-of-range arguments.
23832 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23834         [BZ #19129]
23835         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
23836         r0 and r1.
23838 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
23840         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
23842 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
23844         * include/stap-probe.h: Fix macro definition formatting.
23846 2015-10-14  Florian Weimer  <fweimer@redhat.com>
23848         [BZ #19074]
23849         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
23850         load and store num_ifs.
23852 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23854         [BZ #18822]
23855         * sysdeps/unix/sysv/linux/sched_getaffinity.c
23856         (__sched_getaffinity_new): Add libc_hidden_proto and
23857         libc_hidden_def.
23859 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23861         [BZ #19007]
23862         * scripts/localplt.awk: Also allow GOT references.
23863         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
23864         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
23865         with "+ REL R_386_GLOB_DAT".
23866         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
23867         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
23869 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23871         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
23872         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23873         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
23874         Likewise.
23875         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
23876         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
23877         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
23878         INTERNAL_SYSCALLINTERNAL_SYSCALL and
23879         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23880         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
23881         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23882         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
23883         Likewise.
23884         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23886 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23888         [BZ #19125]
23889         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
23890         <math_private.h> and <stdint.h>.
23891         (__llround): Avoid conversions to and from long long int, and
23892         subtractions, where those might raise spurious exceptions.
23893         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23894         <math_private.h> and <stdint.h>.
23895         (__llroundf): Avoid conversions to and from long long int, and
23896         subtractions, where those might raise spurious exceptions.
23898 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23900         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
23901         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23902         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23903         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
23904         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23905         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23906         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
23907         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
23908         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
23909         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23910         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23911         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23912         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
23913         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23914         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23915         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
23916         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
23917         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23918         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
23919         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
23920         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
23921         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
23922         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
23923         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
23924         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
23925         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23926         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
23927         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23928         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23929         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
23930         (__xstat64_conv): Likewise.
23931         (__xstat32_conv): Likewise.
23933 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23935         * sysdeps/unix/sysv/linux/sysdep.h: New file.
23936         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
23937         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
23938         <sysdeps/unix/sysv/linux/sysdep.h>.
23939         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
23940         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
23941         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
23942         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23943         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
23944         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
23945         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
23946         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
23947         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
23948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23950         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23951         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23952         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23953         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23954         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23955         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
23956         (sysdep-dl-routines): Add sysdep.
23957         [$(subdir) == nptl] (libpthread-routines): Likewise.
23958         [$(subdir) == rt] (librt-routines): Likewise.
23959         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
23960         PIC when branching to SYSCALL_ERROR_LABEL.
23961         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
23962         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
23963         <sysdeps/unix/sysv/linux/sysdep.h>.
23964         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
23965         (SYSCALL_ERROR_ERRNO): Removed.
23966         (SYSCALL_ERROR_HANDLER): Changed to empty.
23967         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
23968         (__syscall_error): New prototype.
23969         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
23970         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
23972 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23974         [BZ #19124]
23975         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
23976         (_dl_runtime_resolve_avx512): Make it a hidden alias of
23977         _dl_runtime_resolve_avx.
23978         (_dl_runtime_profile_avx512): Make it a hidden alias of
23979         _dl_runtime_profile_avx.
23981 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23983         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
23984         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
23985         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
23986         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
23988         [BZ #16422]
23989         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
23990         New configure test.
23991         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
23992         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
23993         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
23994         <math_private.h> and <stdint.h>.
23995         (__llrint): Avoid conversions to long long int where those might
23996         raise spurious exceptions.
23997         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23998         <math_private.h> and <stdint.h>.
23999         (__llrintf): Avoid conversions to long long int where those might
24000         raise spurious exceptions.
24002 2015-10-12  Andreas Schwab  <schwab@suse.de>
24004         [BZ #18969]
24005         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
24006         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
24007         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
24008         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
24009         $(gen-locales).
24010         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
24011         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
24012         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
24013         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
24014         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
24015         $(gen-locales).
24016         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
24017         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
24018         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
24019         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
24020         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
24021         ($(objpfx)tst-ftell-active-handler.out)
24022         ($(objpfx)tst-ftell-append.out)
24023         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
24024         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
24025         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
24026         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
24027         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
24028         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
24029         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
24030         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
24031         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
24032         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
24033         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
24034         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
24035         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
24036         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
24037         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
24038         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
24039         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
24040         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
24041         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
24042         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
24043         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
24044         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
24045         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
24046         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
24047         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
24048         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
24049         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
24050         $(gen-locales).
24051         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
24052         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
24053         $(gen-locales).
24054         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
24055         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
24056         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
24057         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
24058         $(gen-locales).
24059         * libio/tst_wprintf2.c (main): Use explicit locale.
24060         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
24062 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24064         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
24065         __msg_sig_post.
24066         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
24068 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
24070         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24071         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24073         * sysdeps/arm/libm-test-ulps: Regenerated.
24075         [BZ #15470]
24076         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
24078         [BZ #16399]
24079         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
24080         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
24081         and <fix-fp-int-convert-overflow.h>.
24082         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
24083         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24084         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
24085         and <fix-fp-int-convert-overflow.h>.
24086         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
24087         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24088         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
24089         <fix-fp-int-convert-overflow.h>.
24090         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
24091         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24092         * sysdeps/ieee754/dbl-64/s_lround.c: Include
24093         <fix-fp-int-convert-overflow.h>.
24094         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
24095         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24096         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
24097         and <fix-fp-int-convert-overflow.h>.
24098         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
24099         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24100         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
24101         <limits.h> and <fix-fp-int-convert-overflow.h>.
24102         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
24103         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24104         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
24105         and <fix-fp-int-convert-overflow.h>.
24106         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
24107         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24108         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
24109         and <fix-fp-int-convert-overflow.h>.
24110         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
24111         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24112         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
24114 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
24116         [BZ #18589]
24117         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
24118         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
24119         $(gen-locales).
24121 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24122             Phil Blundell <pb@pbcl.net>
24124         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
24125         * nptl/tst-cancel26.c: New file.
24126         * nptl/tst-cancel27.c: Likewise.
24128 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
24130         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
24131         __ILP32__ isn't defined.
24132         (lrint): Likewise.
24133         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
24134         (lrintf): Likewise.
24135         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
24136         (lrintl): Likewise.
24137         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
24138         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
24139         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
24141 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24143         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
24144         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
24146         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
24147         file.
24148         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
24149         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
24151 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
24153         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
24154         configure test.
24155         * sysdeps/i386/configure: Regenerated.
24156         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
24157         configure test.
24158         * sysdeps/x86_64/configure: Regenerated.
24159         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
24160         Make code unconditional.
24162         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
24163         test.
24164         * sysdeps/i386/configure: Regenerated.
24165         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
24166         test.
24167         * sysdeps/x86_64/configure: Regenerated.
24168         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
24169         Make code unconditional.
24170         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
24171         Likewise.
24172         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
24173         Likewise.
24174         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24175         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
24176         code unconditional.
24177         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24178         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
24179         code unconditional.
24180         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24181         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
24182         code unconditional.
24183         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
24184         code unconditional.
24185         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24186         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
24187         code unconditional.
24188         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24189         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
24190         code unconditional.
24191         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24192         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
24193         code unconditional.
24194         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24195         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
24196         code unconditional.
24197         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24198         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
24200         [BZ #19095]
24201         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
24202         mantissa to long int before shifting left.
24204 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
24206         [BZ #19094]
24207         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
24208         <limits.h>.
24209         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24210         when result overflows but exception would not result from cast.
24211         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
24212         <limits.h>.
24213         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24214         when result overflows but exception would not result from cast.
24215         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
24216         <limits.h>.
24217         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24218         when result overflows but exception would not result from cast.
24219         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
24220         <limits.h>.
24221         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24222         when result overflows but exception would not result from cast.
24223         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
24224         <limits.h>.
24225         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24226         when result overflows but exception would not result from cast.
24227         * math/libm-test.inc (lrint_test_data): Add more tests.
24228         (llrint_test_data): Likewise.
24230 2015-10-08  Roland McGrath  <roland@hack.frob.com>
24232         [BZ #18872]
24233         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
24234         Move out from under [$(run-built-tests) = yes] conditional.
24235         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
24236         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
24238 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
24240         [BZ #18589]
24241         * string/Makefile (tests): Add bug-strcoll2.
24242         (LOCALES): Add cs_CZ.UTF-8.
24243         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
24245         [BZ #18589]
24246         * string/bug-strcoll2.c: New file.
24247         * locale/categories.def: Revert commit
24248         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
24249         * locale/langinfo.h: Likewise.
24250         * locale/localeinfo.h: Likewise.
24251         * locale/C-collate.c: Likewise.
24252         * locale/programs/ld-collate.c (collate_output): Likewise.
24253         * string/strcoll_l.c (STRDIFF): Likewise.
24254         (STRCOLL): Likewise.
24255         * wcsmbs/wcscoll_l.c: Likewise.
24257 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
24259         * math/libm-test.inc (lround_test_data): Do not expect the absence
24260         of "inexact" for some tests with non-integer arguments.
24261         (llround_test_data): Likewise.
24263         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
24264         test.
24265         (libc_cv_cc_sse2avx): Likewise.
24266         * sysdeps/i386/configure: Regenerated.
24267         * sysdeps/i386/i686/multiarch/Makefile
24268         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
24269         [$(subdir) = math].
24270         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
24271         code unconditional.
24272         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
24273         Likewise.
24274         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
24275         Likewise.
24276         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
24277         Likewise.
24278         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
24279         test.
24280         (libc_cv_cc_sse2avx): Likewise.
24281         * sysdeps/x86_64/configure: Regenerated.
24282         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
24283         unconditional.
24284         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
24285         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
24286         unconditional.
24287         (_dl_runtime_profile)
24288         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
24289         conditional code.
24290         * sysdeps/x86_64/fpu/multiarch/Makefile
24291         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
24292         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
24293         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24294         * sysdeps/x86_64/fpu/multiarch/e_exp.c
24295         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24296         * sysdeps/x86_64/fpu/multiarch/e_log.c
24297         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24298         * sysdeps/x86_64/fpu/multiarch/s_atan.c
24299         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24300         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
24301         Likewise.
24302         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
24303         Likewise.
24304         * sysdeps/x86_64/fpu/multiarch/s_sin.c
24305         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24306         * sysdeps/x86_64/fpu/multiarch/s_tan.c
24307         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24308         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
24309         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
24310         (HAVE_SSE2AVX_SUPPORT): Likewise.
24312 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
24314         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
24315         instead of #pragma optimize.
24317 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
24319         [BZ #17195]
24320         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
24321         as is similarly done in systrim and _int_free already.
24323 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24325         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
24327 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
24329         [BZ #19088]
24330         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
24331         <limits.h>.
24332         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
24333         overflows but exception would not result from cast.
24334         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
24335         and <limits.h>.
24336         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
24337         overflows but exception would not result from cast.
24338         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
24339         <limits.h>.
24340         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
24341         overflows but exception would not result from cast.
24342         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
24343         <limits.h>.
24344         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
24345         overflows but exception would not result from cast.
24346         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
24347         <limits.h>.
24348         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
24349         overflows but exception would not result from cast.
24350         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
24351         <limits.h>.
24352         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
24353         overflows but exception would not result from cast.
24354         * math/libm-test.inc (lround_test_data): Add more tests.
24355         (llround_test_data): Likewise.
24357 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
24359         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
24360         (CFLAGS-ialloc.c): Ditto.
24361         (CFLAGS-scheck.c): Ditto.
24363 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
24365         [BZ #19086]
24366         * manual/filesys.texi (Storage Allocation): Fix argument order for
24367         posix_fallocate64.
24369 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
24371         [BZ #19085]
24372         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
24373         exponent below 48 inside case for non-overflowing exponent.
24374         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
24376 2015-10-07  Florian Weimer  <fweimer@redhat.com>
24378         * iconvdata/cp737.h (from_idx): Add const.
24379         * iconvdata/cp775.h (from_idx): Likewise.
24381 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
24383         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
24384         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
24385         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
24387         [BZ #19079]
24388         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
24389         file, conditioned on [!_LP64].
24390         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
24391         [!_LP64] (__lround): Do not define as function or alias.
24392         [!_LP64] (lround): Likewise.
24393         [!_LP64] (__lroundl): Likewise.
24394         [!_LP64] (lroundl): Likewise.
24395         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
24396         macro.
24397         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
24398         Likewise.
24400 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
24402         * math/libm-test.inc (lrint_test_data): Add more tests.
24403         (llrint_test_data): Likewise.
24404         (lround_test_data): Likewise.
24405         (llround_test_data): Likewise.
24407         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
24408         (llrint_test_data): Add tests used for lrint.
24410         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
24411         test.
24412         * sysdeps/i386/configure: Regenerated.
24413         * sysdeps/i386/i686/multiarch/Makefile
24414         [$(config-cflags-sse4) = yes]: Make code unconditional.
24415         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
24416         Likewise.
24417         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
24418         Likewise.
24419         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
24420         test.
24421         * sysdeps/x86_64/configure: Regenerated.
24422         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
24423         Make code unconditional.
24424         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
24425         Likewise.
24426         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
24427         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
24429         * scripts/rpm2dynsym.sh: Remove file.
24431 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24433         * configure.ac (libc_cv_cxx_thread_local): Define.
24434         * configure: Regenerate.
24435         * config.make.in (have-cxx-thread_local): Define.
24436         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
24437         (LDLIBS-tst-thread_local1): Define.
24438         (tests): Add tst-thread_local1.
24439         [have-cxx-thread_local != yes] (tests-unsupported): Add
24440         tst-thread_local1.
24441         * nptl/tst-thread_local1.cc: New file.
24443 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
24445         [BZ #19078]
24446         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
24447         (u_thres): Likewise.
24448         (__expl): Determine whether to call __kernel_standard_l based on
24449         value of result, not argument.
24451         * math/libm-test.inc (scalb_test_data): Add more expectations for
24452         the "inexact" exception.
24454         [BZ #19077]
24455         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
24456         0.0L for argument 1.0L.
24458         [BZ #19076]
24459         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
24460         constant 0.0L when computing infinite result.
24462 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24464         [BZ #10432]
24465         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
24466         malloc_usable_size.
24468 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24470         [BZ #19018]
24471         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24472         Mangle function pointer before storing it.
24473         (__call_tls_dtors): Demangle function pointer before calling it.
24475 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24477         [BZ #19012]
24478         * iconv/gconv_db.c (gen_steps): Check for additional errors.
24479         Clean up on failure.
24481 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
24483         [BZ #19071]
24484         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
24485         long int variable to store possibly incremented high part of
24486         mantissa.
24487         * math/libm-test.inc (lround_test_data): Add tests used for
24488         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
24489         for tests requiring 64-bit long.  Do not condition tests on
24490         [TEST_FLOAT] unnecessarily.
24491         (llround_test_data): Add tests used for lround.  Add another
24492         expectation for the "inexact" exception.  Do not condition tests
24493         on [TEST_FLOAT] unnecessarily.
24495         [BZ #887]
24496         [BZ #19049]
24497         [BZ #19050]
24498         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
24499         * sysdeps/ieee754/dbl-64/e_log10.c: Include
24500         <fix-int-fp-convert-zero.h>.
24501         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24502         * sysdeps/ieee754/dbl-64/e_log2.c: Include
24503         <fix-int-fp-convert-zero.h>.
24504         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24505         * sysdeps/ieee754/dbl-64/s_erf.c: Include
24506         <fix-int-fp-convert-zero.h>.
24507         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24508         * sysdeps/ieee754/dbl-64/s_logb.c: Include
24509         <fix-int-fp-convert-zero.h>.
24510         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24511         * sysdeps/ieee754/flt-32/e_log10f.c: Include
24512         <fix-int-fp-convert-zero.h>.
24513         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24514         * sysdeps/ieee754/flt-32/e_log2f.c: Include
24515         <fix-int-fp-convert-zero.h>.
24516         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24517         * sysdeps/ieee754/flt-32/s_erff.c: Include
24518         <fix-int-fp-convert-zero.h>.
24519         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24520         * sysdeps/ieee754/flt-32/s_logbf.c: Include
24521         <fix-int-fp-convert-zero.h>.
24522         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24523         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
24524         <fix-int-fp-convert-zero.h>.
24525         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24526         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
24527         <fix-int-fp-convert-zero.h>.
24528         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24529         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
24530         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
24531         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
24532         file.
24533         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
24535 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
24537         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24539 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
24541         [BZ #19059]
24542         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
24543         overflowing computation.
24544         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24545         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24546         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24547         Likewise.
24548         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24549         Likewise.
24550         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24551         Likewise.
24552         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24553         Likewise.
24554         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24555         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24556         Likewise.
24557         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24558         Likewise.
24559         * math/libm-test.inc (nexttoward_test_data): Add more tests.
24561         * nss/rewrite_field.c (__nss_rewrite_field): Use
24562         internal_function.
24563         * nss/valid_field.c (__nss_valid_field): Likewise.
24564         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
24566 2015-10-02  Florian Weimer  <fweimer@redhat.com>
24568         [BZ #18724]
24569         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
24570         (__nss_invalid_field_characters, __nss_valid_field)
24571         (__nss_valid_list_field, __nss_rewrite_field): Declare.
24572         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
24573         tst-field.c: New file.
24574         * nss/Makefile (routines): Add valid_field, rewrite_field.
24575         (tests-static): Define unconditionally.
24576         (tests): Include tests-static.
24577         [build-static-nss] (tests-static): Use append.
24578         [build-static-nss] (tests): Remove modification.
24579         * nss/getent.c (print_group): Call putgrent.  Report error.
24580         (print_gshadow): Call putsgent.  Report error.
24581         (print_passwd): Call putpwent.  Report error.
24582         (print_shadow): Call putspent.  Report error.
24583         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
24584         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
24585         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
24586         name, password, directory, shell fields for valid syntax.  Rewrite
24587         GECOS field to match syntax.
24588         * pwd/Makefile (tests): Add tst-putpwent.
24589         * pwd/tst-putpwent.c: New file.
24590         * grp/putgrent.c (putgrent): Convert to ISO function definition.
24591         Check grName, grpasswd, gr_mem fields for valid syntax.
24592         Change loop variable i to size_t.
24593         * grp/Makefile (tests): Add tst-putgrent.
24594         * grp/tst-putgrent.c: New file.
24595         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
24596         valid syntax.
24597         * shadow/Makefile (tests): Add tst-putspent.
24598         * shadow/tst-putspent.c: New file.
24599         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
24600         sg_mem fields for valid syntax.
24601         * gshadow/Makefile (tests): Add tst-putsgent.
24602         * gshadow/tst-putsgent.c: New file.
24604 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24606         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
24607         assembly instructions.
24609 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24611         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
24612         prefix from operands.
24614 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
24616         [BZ #16347]
24617         [BZ #19046]
24618         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
24619         <libc-internal.h>.
24620         (MAXLGM): Do not use diagnostic control macros.
24621         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
24622         threshold for ldbl-128ibm.
24623         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
24624         instead of multiplying by log then subtracting.
24625         * math/auto-libm-test-in: Add more tests of lgamma.
24626         * math/auto-libm-test-out: Regenerated.
24628         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
24629         (TYPE_HEX_DIG): Likewise.
24630         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
24631         precisions when printing floating-point numbers.
24632         (check_float_internal): Likewise.
24634 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24636         [BZ #16620]
24637         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
24638         of log (10) rounded downward to 48 bits.
24639         (log10_low): Use corresponding low part of log (10).
24641         [BZ #19032]
24642         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
24643         compute result as (x - x) / (x - x) not as 0 / 0.
24644         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
24645         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
24647         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24648         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
24649         and expm1.
24650         * math/auto-libm-test-out: Regenerated.
24651         * math/libm-test.inc (acos_test_data): Add more tests.
24652         (asin_test_data): Likewise.
24653         (asinh_test_data): Likewise.
24654         (atan_test_data): Likewise.
24655         (atanh_test_data): Likewise.
24656         (atan2_test_data): Likewise.
24657         (cbrt_test_data): Likewise.
24658         (ceil_test_data): Likewise.
24659         (copysign_test_data): Likewise.
24660         (cos_test_data): Likewise.
24661         (cosh_test_data): Likewise.
24662         (erf_test_data): Likewise.
24663         (erfc_test_data): Likewise.
24664         (exp_test_data): Likewise.
24665         (exp10_test_data): Likewise.
24666         (exp2_test_data): Likewise.
24667         (expm1_test_data): Likewise.
24668         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24670 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
24672         [BZ #19006]
24673         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
24674         to ...
24675         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
24676         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
24677         to ...
24678         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
24679         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
24680         to ...
24681         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
24682         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
24683         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
24684         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
24685         to ...
24686         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
24687         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
24688         Moved to ...
24689         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
24690         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
24691         Moved to ...
24692         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
24693         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
24694         to ...
24695         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
24696         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
24697         Moved to ...
24698         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
24699         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
24700         to ...
24701         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
24702         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
24703         Removed.
24704         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
24705         Likewise.
24706         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
24707         Likewise.
24708         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
24709         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
24710         Likewise.
24711         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
24712         Likewise.
24713         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
24714         Likewise.
24715         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
24716         Likewise.
24717         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
24718         Likewise.
24719         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
24720         Likewise.
24721         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
24722         Likewise.
24723         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
24724         Likewise.
24725         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
24726         Likewise.
24727         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
24728         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
24729         Likewise.
24730         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
24731         Likewise.
24732         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
24733         Likewise.
24734         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
24735         Likewise.
24736         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
24737         Likewise.
24738         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
24739         Replace ../i486/pthread_cond_timedwait.S with
24740         ../pthread_cond_timedwait.S.
24742 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24744         * math/libm-test.inc (acos_test_data): Refine expectations for
24745         errno and "inexact" exceptions.
24746         (acosh_test_data): Likewise.
24747         (asin_test_data): Likewise.
24748         (asinh_test_data): Likewise.
24749         (atan_test_data): Likewise.
24750         (atanh_test_data): Likewise.
24751         (atan2_test_data): Likewise.
24752         (cbrt_test_data): Likewise.
24753         (ceil_test_data): Likewise.
24754         (copysign_test_data): Likewise.
24755         (cosh_test_data): Likewise.
24756         (erf_test_data): Likewise.
24757         (erfc_test_data): Likewise.
24758         (exp_test_data): Likewise.
24759         (exp10_test_data): Likewise.
24760         (exp2_test_data): Likewise.
24761         (expm1_test_data): Likewise.
24762         (fabs_test_data): Likewise.
24763         (floor_test_data): Likewise.
24764         (fma_test_data): Likewise.
24765         (fmax_test_data): Likewise.
24766         (fmin_test_data): Likewise.
24767         (fmod_test_data): Likewise.
24768         (fpclassify_test_data): Likewise.
24769         (frexp_test_data): Likewise.
24770         (hypot_test_data): Likewise.
24771         (ilogb_test_data): Likewise.
24772         (isgreater_test_data): Likewise.
24773         (isgreaterequal_test_data): Likewise.
24774         (isinf_test_data): Likewise.
24775         (isless_test_data): Likewise.
24776         (islessequal_test_data): Likewise.
24777         (islessgreater_test_data): Likewise.
24778         (isnan_test_data): Likewise.
24779         (isnormal_test_data): Likewise.
24780         (issignaling_test_data): Likewise.
24781         (isunordered_test_data): Likewise.
24782         (j0_test_data): Likewise.
24783         (j1_test_data): Likewise.
24784         (jn_test_data): Likewise.
24785         (lgamma_test_data): Likewise.
24786         (lrint_test_data): Likewise.
24787         (llrint_test_data): Likewise.
24788         (log_test_data): Likewise.
24789         (log10_test_data): Likewise.
24790         (log1p_test_data): Likewise.
24791         (log2_test_data): Likewise.
24792         (logb_test_data): Likewise.
24793         (lround_test_data): Likewise.
24794         (llround_test_data): Likewise.
24795         (modf_test_data): Likewise.
24796         (nearbyint_test_data): Likewise.
24797         (nextafter_test_data): Likewise.
24798         (nexttoward_test_data): Likewise.
24799         (pow_test_data): Likewise.
24800         (remainder_test_data): Likewise.
24801         (remquo_test_data): Likewise.
24802         (rint_test_data): Likewise.
24803         (round_test_data): Likewise.
24804         (signbit_test_data): Likewise.
24805         (sinh_test_data): Likewise.
24806         (sqrt_test_data): Likewise.
24807         (tanh_test_data): Likewise.
24808         (tgamma_test_data): Likewise.
24809         (trunc_test_data): Likewise.
24810         (y0_test_data): Likewise.
24811         (y1_test_data): Likewise.
24812         (yn_test_data): Likewise.
24813         (significand_test_data): Likewise.
24815 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
24817         * manual/filesys.texi (Storage Allocation): Document that
24818         posix_fallocate emulation fails when fd is open with O_WRONLY.
24820 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
24822         [BZ #19016]
24823         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
24824         allow more cases with X^2 + Y^2 >= 0.5.
24825         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
24826         normal element in sum instead of special-casing based on values of
24827         arguments.
24828         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
24829         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
24830         -1 as normal element in sum instead of special-casing based on
24831         values of arguments.
24832         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
24833         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
24834         (__x2y2m1): Update comment.
24835         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
24836         as normal element in sum instead of special-casing based on values
24837         of arguments.
24838         * math/s_clog.c (__clog): Handle more cases using log1p without
24839         hypot.
24840         * math/s_clog10.c (__clog10): Likewise.
24841         * math/s_clog10f.c (__clog10f): Likewise.
24842         * math/s_clog10l.c (__clog10l): Likewise.
24843         * math/s_clogf.c (__clogf): Likewise.
24844         * math/s_clogl.c (__clogl): Likewise.
24845         * math/auto-libm-test-in: Add more tests of clog and clog10.
24846         * math/auto-libm-test-out: Regenerated.
24847         * sysdeps/i386/fpu/libm-test-ulps: Update.
24848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24850 2015-09-28  Martin Sebor  <msebor@redhat.com>
24852         [BZ #18969]
24853         * string/Makefile (LOCALES): Define.
24854         (gen-locales.mk): Include.
24855         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
24856         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
24857         * string/tst-strxfrm2.c (do_test): Print the name of the locale
24858         on setlocale failure.
24860 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
24862         [BZ #18985]
24863         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
24864         (__strftime_internal): Likewise.
24865         * time/tst-strftime.c (do_bz18985): New test.
24866         (do_test): Call it.
24868 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
24870         [BZ #18956]
24871         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
24872         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
24873         extracting high part.
24874         * math/auto-libm-test-in: Add another test of pow.
24875         * math/auto-libm-test-out: Regenerated.
24876         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24878 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
24880         [BZ #18825]
24881         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
24882         New macro.
24883         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
24884         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24885         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
24886         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
24887         DBL_NARROW_EVAL, reloading the PIC register as needed.
24888         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
24889         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
24890         FLT_NARROW_EVAL.  Use separate return path for case when first
24891         argument is NaN.
24892         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
24893         DEFINE_LDBL_MIN.
24894         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
24895         PIC register.
24896         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
24897         math_check_force_underflow_nonneg.
24898         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
24899         underflow for subnormal result.
24900         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
24901         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
24902         math_check_force_underflow_nonneg.
24903         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
24904         math_check_force_underflow.
24905         * sysdeps/x86_64/fpu/x86_64-math-asm.h
24906         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
24907         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
24908         DEFINE_LDBL_MIN.
24909         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
24910         * math/auto-libm-test-in: Add more tests of pow.
24911         * math/auto-libm-test-out: Regenerated.
24913 2015-09-25  Florian Weimer  <fweimer@redhat.com>
24915         * nss/bug17079.c (init_test_items): Add diagnostic for
24916         inconsistent entries.
24917         (test_buffer_size): Skip inconsistent entries.
24919 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
24921         [BZ #13304]
24922         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
24923         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24924         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
24926         [BZ #13304]
24927         * sysdeps/microblaze/s_fma.c: New file.
24928         * sysdeps/microblaze/s_fmaf.c: Likewise.
24929         * sysdeps/microblaze/sfp-machine.h: Likewise.
24931 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
24933         [BZ #17250]
24934         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
24935         member.
24937 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
24939         [BZ #18803]
24940         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
24941         (MO): New macro.
24942         (__ieee754_hypot) [PIC]: Load PIC register.
24943         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
24944         DBL_NARROW_EVAL.
24945         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
24946         math_check_force_underflow_nonneg in case where result might be
24947         tiny.
24948         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24949         Likewise.
24950         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24951         Likewise.
24952         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
24953         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
24954         * math/auto-libm-test-in: Add more tests of hypot.
24955         * math/auto-libm-test-out: Regenerated.
24957 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
24959         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
24961 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
24963         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
24964         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
24965         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
24966         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
24967         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
24968         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
24969         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24971         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
24972         LOAD_PIC_REG.
24974         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
24975         (FLT_CHECK_FORCE_UFLOW): Likewise.
24976         (DBL_CHECK_FORCE_UFLOW): Likewise.
24977         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
24978         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
24979         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
24980         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24981         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24982         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24983         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24984         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24985         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
24986         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24987         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
24988         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
24989         (flt_min): Replace with use of DEFINE_FLT_MIN.
24990         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
24991         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
24992         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24993         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
24994         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
24995         (flt_min): Replace with use of DEFINE_FLT_MIN.
24996         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
24997         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
24998         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24999         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
25000         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
25001         (flt_min): Replace with use of DEFINE_FLT_MIN.
25002         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
25003         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
25004         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
25005         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
25006         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
25007         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
25008         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
25009         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
25010         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25011         (__atan): Use DBL_CHECK_FORCE_UFLOW.
25012         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
25013         (flt_min): Replace with use of DEFINE_FLT_MIN.
25014         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
25015         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
25016         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25017         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
25018         main computation.
25019         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
25020         (flt_min): Replace with use of DEFINE_FLT_MIN.
25021         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
25022         main computation.
25023         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
25024         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25025         (MO): New macro.
25026         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
25027         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
25028         (flt_min): Replace with use of DEFINE_FLT_MIN.
25029         (MO): New macro.
25030         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
25031         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
25032         (__log1pl): Use MO.
25034         [BZ #19003]
25035         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
25036         $(config-cflags-nofma).
25038 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25040         * sysdeps/aarch64/libm-test-ulps: Regenerated.
25042 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
25044         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
25045         (TWO127): Likewise.
25047         * sysdeps/generic/math_private.h (fabs_tg): New macro.
25048         (min_of_type): Likewise.
25049         (math_check_force_underflow): Likewise.
25050         (math_check_force_underflow_nonneg): Likewise.
25051         (math_check_force_underflow_complex): Likewise.
25052         * math/e_exp2l.c (__ieee754_exp2l): Use
25053         math_check_force_underflow_nonneg.
25054         * math/k_casinh.c (__kernel_casinh): Likewise.
25055         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25056         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25057         * math/s_catan.c (__catan): Use
25058         math_check_force_underflow_complex.
25059         * math/s_catanf.c (__catanf): Likewise.
25060         * math/s_catanh.c (__catanh): Likewise.
25061         * math/s_catanhf.c (__catanhf): Likewise.
25062         * math/s_catanhl.c (__catanhl): Likewise.
25063         * math/s_catanl.c (__catanl): Likewise.
25064         * math/s_ccosh.c (__ccosh): Likewise.
25065         * math/s_ccoshf.c (__ccoshf): Likewise.
25066         * math/s_ccoshl.c (__ccoshl): Likewise.
25067         * math/s_cexp.c (__cexp): Likewise.
25068         * math/s_cexpf.c (__cexpf): Likewise.
25069         * math/s_cexpl.c (__cexpl): Likewise.
25070         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
25071         * math/s_clog10.c (__clog10): Likewise.
25072         * math/s_clog10f.c (__clog10f): Likewise.
25073         * math/s_clog10l.c (__clog10l): Likewise.
25074         * math/s_clogf.c (__clogf): Likewise.
25075         * math/s_clogl.c (__clogl): Likewise.
25076         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
25077         * math/s_csinf.c (__csinf): Likewise.
25078         * math/s_csinh.c (__csinh): Likewise.
25079         * math/s_csinhf.c (__csinhf): Likewise.
25080         * math/s_csinhl.c (__csinhl): Likewise.
25081         * math/s_csinl.c (__csinl): Likewise.
25082         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
25083         * math/s_csqrtf.c (__csqrtf): Likewise.
25084         * math/s_csqrtl.c (__csqrtl): Likewise.
25085         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
25086         * math/s_ctanf.c (__ctanf): Likewise.
25087         * math/s_ctanh.c (__ctanh): Likewise.
25088         * math/s_ctanhf.c (__ctanhf): Likewise.
25089         * math/s_ctanhl.c (__ctanhl): Likewise.
25090         * math/s_ctanl.c (__ctanl): Likewise.
25091         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
25092         instead of volatile.
25093         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
25094         math_check_force_underflow.
25095         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25096         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
25097         volatile when forcing underflow.
25098         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25099         math_check_force_underflow_nonneg.
25100         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
25101         Likewise.
25102         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
25103         math_check_force_underflow.
25104         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25105         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25106         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25107         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
25108         math_check_force_underflow_nonneg.
25109         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
25110         math_check_force_underflow.
25111         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
25112         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
25113         instead of volatile.
25114         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
25115         math_check_force_underflow.
25116         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25117         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25118         math_check_force_underflow_nonneg.
25119         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
25120         math_check_force_underflow.
25121         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
25122         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25123         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
25124         math_check_force_underflow_nonneg.
25125         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
25126         Likewise.
25127         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
25128         math_check_force_underflow.
25129         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25130         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
25131         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
25132         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
25133         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
25134         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
25135         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
25136         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
25137         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
25138         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
25139         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
25140         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
25141         Likewise.
25142         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
25143         math_check_force_underflow_nonneg.
25144         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
25145         Likewise.
25146         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
25147         math_check_force_underflow.
25148         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25149         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
25150         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25151         Likewise.
25152         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
25153         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
25154         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
25155         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
25156         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
25157         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
25158         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
25159         instead of volatile.
25160         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
25161         math_check_force_underflow.
25162         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
25163         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
25164         math_check_force_underflow.
25165         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
25166         Likewise.
25167         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25168         Use math_check_force_underflow_nonneg.
25169         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
25170         math_check_force_underflow.
25171         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25172         Likewise.
25173         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25174         Likewise.
25175         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25176         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
25177         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
25178         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
25179         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
25180         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
25181         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
25182         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
25183         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
25184         math_check_force_underflow_nonneg.
25185         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
25186         math_check_force_underflow.
25187         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25188         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
25189         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
25190         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
25191         math_check_force_underflow_nonneg.
25192         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
25193         math_check_force_underflow.
25194         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
25195         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
25196         instead of volatile.
25197         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
25198         math_check_force_underflow.
25200         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
25201         * stdlib/strtod_l.c: Include <math_private.h>.
25202         (overflow_value): Use math_narrow_eval.
25203         (underflow_value): Likewise.
25204         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25205         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
25206         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
25207         (__ieee754_gamma_r): Likewise.
25208         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
25209         Likewise.
25210         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
25211         Likewise.
25212         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
25213         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
25214         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
25215         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
25216         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
25217         (__ieee754_gammaf_r): Likewise.
25218         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25219         Likewise.
25220         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
25221         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
25222         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
25223         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
25224         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
25225         volatile.
25226         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
25227         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
25228         math_narrow_eval.
25229         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
25230         Likewise.
25231         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25232         Likewise.
25233         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
25234         Likewise.
25235         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
25236         volatile.
25237         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
25238         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
25239         math_narrow_eval.
25240         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25241         Likewise.
25242         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25243         Likewise.
25245 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
25247         * nptl/Versions: Remove ignored symbols.
25249 2015-09-22  Florian Weimer  <fweimer@redhat.com>
25251         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
25252         * nss/Makefile (tests): Update.
25254 2015-09-22  Florian Weimer  <fweimer@redhat.com>
25256         * nss/bug18287.c: New file.
25257         * nss/Makefile (tests): Add bug18287.
25259 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25261         * mach/Versions (__mach_host_self_): Add symbol.
25263 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25265         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
25266         vm_page_size.
25268 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25270         Really fix sysdeps/i386/fpu/s_scalbn.S build
25272         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
25273         (libc: GLIBC_2_22): Remove unused version set.
25275 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
25277         * config.make.in (enable-timezone-tools): New variable.
25278         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
25279         (enable_timezone_tools): Export to generated files.
25280         * configure: Regenerate.
25281         * INSTALL: Regenerate.
25282         * manual/install.texi (--disable-timezone-tools): Document new flag.
25283         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
25284         ifeq ($(enable-timezone-tools),yes) check.
25286 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
25288         * timezone/Makefile: Revert previous change.
25290         [BZ #18980]
25291         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
25292         (DEFINE_DBL_MIN): Likewise.
25293         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
25294         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
25295         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
25296         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
25297         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
25298         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25299         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
25300         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
25301         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
25302         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25303         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
25304         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
25305         (flt_min): Replace with use of DEFINE_FLT_MIN.
25306         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
25307         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
25308         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25309         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
25310         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
25311         (flt_min): Replace with use of DEFINE_FLT_MIN.
25312         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
25313         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
25314         (flt_min): Replace with use of DEFINE_FLT_MIN.
25315         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
25316         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
25317         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
25318         (__ieee754_hypot): Use DBL_NARROW_EVAL.
25319         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
25320         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
25321         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
25322         (__ieee754_pow): Use DBL_NARROW_EVAL.
25323         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
25324         (__ieee754_powf): Use FLT_NARROW_EVAL.
25325         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
25326         (__ieee754_expf_sse2): Convert double-precision result to single
25327         precision.
25328         * sysdeps/i386/fpu/libm-test-ulps: Update.
25330 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25332         * timezone/Makefile: Ignore unused variable errors due to private.h
25333         (time_t_min) and (time_t_max).
25334         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
25335         Likewise.
25337 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
25339         [BZ #18981]
25340         * sysdeps/i386/fpu/i386-math-asm.h: New file.
25341         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
25342         (__ieee754_scalb): Use DBL_NARROW_EVAL.
25343         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
25344         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
25345         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
25346         (__scalbn): Use DBL_NARROW_EVAL.
25347         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
25348         (__scalbnf): Use FLT_NARROW_EVAL.
25350 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25352         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
25353         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
25354         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
25355         * stdio-common/printf_fp.c (___printf_fp):
25356         Use signbit to get the sign. Use isinf macro to allow inlining.
25357         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
25358         * stdio-common/printf_size.c (__printf_size): Likewise.
25360 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
25362         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
25364 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
25366         [BZ #18980]
25367         * sysdeps/generic/math_private.h: Include <float.h>.
25368         (math_narrow_eval): New macro.
25369         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
25370         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
25371         math_narrow_eval on overflowing return value.
25372         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
25373         Likewise.
25374         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25375         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
25376         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
25377         Likewise.
25378         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
25380 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25382         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
25383         * math/Makefile: Remove isinf_ns.c.
25384         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
25385         * math/multc3.c (__multc3): Likewise.
25386         * math/s_casin.c (__casin): Likewise.
25387         * math/s_casinf.c (__casinf): Likewise.
25388         * math/s_casinl.c (__casinl): Likewise.
25389         * math/s_cproj.c (__cproj): Likewise.
25390         * math/s_cprojf.c (__cprojf): Likewise.
25391         * math/s_cprojl.c (__cprofl): Likewise.
25392         * math/s_ctan.c (__ctan): Likewise.
25393         * math/s_ctanf.c (__ctanf): Likewise.
25394         * math/s_ctanh.c (__ctanh): Likewise.
25395         * math/s_ctanhf.c (__ctanhf): Likewise.
25396         * math/s_ctanhl.c (__ctanhl): Likewise.
25397         * math/s_ctanl.c (__ctanl): Likewise.
25398         * math/w_fmod.c (__fmod): Likewise.
25399         * math/w_fmodf.c (__fmodf): Likewise.
25400         * math/w_fmodl.c (_fmodl): Likewise.
25401         * math/w_remainder.c (__remainder): Likewise.
25402         * math/w_remainderf.c (__remainderf): Likewise.
25403         * math/w_remainderl.c (__remainderl): Likewise.
25404         * math/w_scalb.c (__scalb): Likewise.
25405         * math/w_scalbf.c (__scalbf): Likewise.
25406         * math/w_scalbl.c (__scalbl): Likewise.
25407         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
25408         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
25409         with isinf.
25410         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
25411         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
25412         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
25413         __isinf_nsf with isinf.
25414         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
25415         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
25416         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
25417         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
25418         with isinf.
25419         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
25420         __isinf_nsl with isinf.
25421         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
25422         with isinf.
25423         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
25424         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
25425         __isinf_nsl with isinf.
25426         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
25427         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
25428         with isinf.
25430 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25432         * resolv/base64.c (rcsid): Remove unused static.
25433         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
25434         static.  (tqpi1): Likewise.
25435         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
25436         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
25437         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
25438         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
25439         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
25440         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
25441         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
25442         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
25443         Likewise.
25445 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
25447         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
25448         <nptl/pthreadP.h>.
25449         (_longjmp_unwind): Use __libc_ptf_call.
25450         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
25452 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
25454         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
25455         * sysdeps/arm/__longjmp.S: Likewise.
25457 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25459         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
25460         Use __builtin_signbit.
25461         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
25462         Use __builtin_signbitf.
25463         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
25464         Use __builtin_signbitl.
25465         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25466         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
25468 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25470         [BZ #15367]
25471         [BZ #17441]
25473         * math/Makefile: Build test-snan.c with -fsignaling-nans.
25474         * math/math.h (fpclassify): Use __builtin_fpclassify when
25475         available.  (signbit): Use __builtin_signbit(f/l).
25476         (isfinite): Use__builtin_isfinite.  (isnormal): Use
25477         __builtin_isnormal.  (isnan): Use __builtin_isnan.
25478         (isinf): Use __builtin_isinf_sign.
25480 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25482         * benchtests/Makefile: Add bench-math-inlines, link with libm.
25483         * benchtests/bench-math-inlines.c: New benchmark.
25484         * benchtests/bench-util.h: New file.
25485         * benchtests/bench-util.c: New file.
25486         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
25488 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
25490         * elf/tst-dlmopen1.c: Define TEST_SO.
25491         (do_test): Use TEST_SO.
25493         * elf/dl-load.c: Include libc-internal.h.
25494         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
25496 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25498         [BZ #17887]
25499         * time/strptime_l.c (__strptime_internal): Make %z accept
25500         [+-]HH:MM time zones.
25502 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25504         [BZ #17886]
25505         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
25506         valid time zone.
25508 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
25510         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
25511         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
25512         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25513         (__ASSUME_FDATASYNC): Delete.
25515 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25517         * conform/linknamespace.pl: Require weak undefined symbols to be
25518         in the standard namespace.
25519         (%strong_syms): Rename to %seen_syms.
25520         (%strong_seen): Rename to %seen_where.
25522 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
25524         [BZ #18970]
25525         * misc/error.c (error): Replace pthread_setcancelstate with
25526         __pthread_setcancelstate.
25527         (error_at_line): Likewise.
25528         * posix/wordexp.c (parse_comm): Likewise.
25529         * stdlib/fmtmsg.c (fmtmsg): Likewise.
25530         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
25531         (__pthread_setcancelstate): This.
25532         (pthread_setcancelstate): Add an alias.
25533         * nptl/nptl-init.c (pthread_functions): Replace
25534         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
25535         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
25536         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
25537         hidden_proto.
25538         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
25539         it with hidden_def.
25540         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
25541         (pthread_setcancelstate): Renamed to ...
25542         (__pthread_setcancelstate): This.
25543         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
25544         __libc_ptf_call with __pthread_setcancelstate.
25546 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25547             Andreas Schwab  <schwab@suse.de>
25549         [BZ #17118]
25550         * math/s_ctan.c (__ctan): Determine sign of zero real part of
25551         result when imaginary part of argument is infinite using sine and
25552         cosine.
25553         * math/s_ctanf.c (__ctanf): Likewise.
25554         * math/s_ctanl.c (__ctanl): Likewise.
25555         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
25556         of result when real part of argument is infinite using sine and
25557         cosine.
25558         * math/s_ctanhf.c (__ctanhf): Likewise.
25559         * math/s_ctanhl.c (__ctanhl): Likewise.
25560         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
25561         (ctanh_test_data): Add more tests of ctanh.
25563 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25565         [BZ #15384]
25566         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
25567         bit-mask as in subtraction.
25568         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
25569         Likewise.
25570         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
25571         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
25572         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
25574         [BZ #18951]
25575         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
25576         underflow exception for small results.
25577         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
25578         Likewise.
25579         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
25580         Likewise.
25581         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25582         Likewise.
25583         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25584         Likewise.
25585         * math/auto-libm-test-in: Add more tests of tgamma.
25586         * math/auto-libm-test-out: Regenerated.
25588 2015-09-17  Andreas Schwab  <schwab@suse.de>
25590         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
25592 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25594         [BZ #18977]
25595         * math/bits/mathcalls.h
25596         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
25597         not declare.
25598         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
25599         Likewise.
25600         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
25601         Likewise.
25602         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
25603         Likewise.
25604         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
25605         Likewise.
25606         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
25607         Likewise.
25608         * conform/data/math.h-data
25609         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
25610         function.
25611         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
25612         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
25613         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
25614         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
25615         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
25616         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
25617         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
25618         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
25619         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
25620         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
25621         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
25623         [BZ #6803]
25624         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
25625         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
25626         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
25627         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
25628         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
25629         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
25630         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
25631         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
25632         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25633         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
25634         Likewise.
25635         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25636         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
25637         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
25638         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
25639         long_double_symbol calls.
25640         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
25641         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
25642         strong alias of __ldexpl.
25643         (scalbnl): Define using long_double_symbol.
25644         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
25645         Remove alias.
25646         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
25647         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
25648         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
25649         (scalbln_test_data): Add more errno expectations.
25651 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
25653         Cache the host port like we cache the task port.  This way we do not
25654         need to call the kernel just to get the port.  Furthermore, we no
25655         longer increase the reference count on every invocation of
25656         `mach_host_self'.
25658         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
25659         Protect declarations against the macro expansion.
25660         * mach/mach_init.c (__mach_host_self_): New variable.
25661         (mach_init): Initialize `__mach_host_self_'.
25662         * mach/mach_init.h (__mach_host_self_): New declaration.
25663         (__mach_host_self, mach_host_self): New macros.
25664         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
25665         Release reference.
25667 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25669         [BZ #4404]
25670         * po/de.po: Update from Translation Project.
25672         [BZ #16415]
25673         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
25674         (__expm1l): Remove code to handle positive infinity and overflow.
25675         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
25676         variable.
25677         (__expm1l): Remove code to handle positive infinity and overflow.
25679 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
25680             Paul Pluzhnikov  <ppluzhnikov@google.com>
25682         [BZ #18872]
25683         * stdio-common/Makefile (tst-printf-bz18872): New test.
25684         (tst-printf-bz18872-mem.out): Likewise.
25685         * stdio-common/tst-printf-bz18872.sh: Generate new test.
25686         * stdio-common/vfprintf.c: Fix memory leaks.
25688 2015-09-16  Andreas Schwab  <schwab@suse.de>
25690         [BZ #17244]
25691         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
25692         Remove extra va_start/va_end calls.
25694         [BZ #17243]
25695         * posix/execl.c (execl): Add missing va_end.
25696         * posix/execle.c (execle): Likewise.
25697         * posix/execlp.c (execlp): Likewise.
25699 2015-09-15  Roland McGrath  <roland@hack.frob.com>
25701         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
25702         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
25704 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
25706         [BZ #18967]
25707         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
25708         undefine around includes of <bits/mathcalls.h>.
25709         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
25710         not declare function.
25711         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
25712         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
25713         (scalb): Likewise.
25714         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
25715         not define macro.
25716         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
25717         variable.
25718         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25719         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25720         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25722         [BZ #18857]
25723         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
25724         return non-finite argument without doing ordered comparisons on
25725         it.
25727         [BZ #16296]
25728         * math/fenv.h (fegetround): Use __attribute_pure__.
25729         * include/fenv.h (__fegetround): Likewise.
25731         [BZ #18595]
25732         * math/s_ctan.c (__ctan): Force underflow exception for results
25733         whose real or imaginary part has small absolute value.
25734         * math/s_ctanf.c (__ctanf): Likewise.
25735         * math/s_ctanh.c (__ctanh): Likewise.
25736         * math/s_ctanhf.c (__ctanhf): Likewise.
25737         * math/s_ctanhl.c (__ctanhl): Likewise.
25738         * math/s_ctanl.c (__ctanl): Likewise.
25739         * math/auto-libm-test-in: Do not allow missing underflow for ctan
25740         and ctanh.  Add more tests of ctan and ctanh.
25742         [BZ #15918]
25743         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
25744         handling of cases where one argument is an infinity.
25746         [BZ #18875]
25747         [BZ #18966]
25748         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
25749         (MO): New macro.
25750         (__ieee754_exp10): For small results, force underflow exception
25751         and remove excess range and precision from return value.
25752         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
25753         (MO): New macro.
25754         (__ieee754_exp10f): For small results, force underflow exception
25755         and remove excess range and precision from return value.
25756         * math/auto-libm-test-in: Add more tests of exp10.
25757         * math/auto-libm-test-out: Regenerated.
25759 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
25761         [BZ #18875]
25762         [BZ #18961]
25763         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
25764         (MO): New macro.
25765         (__ieee754_exp): For small results, force underflow exception and
25766         remove excess range and precision from return value.
25767         (__exp_finite): Likewise.
25768         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
25769         (MO): New macro.
25770         (__ieee754_expf): For small results, force underflow exception and
25771         remove excess range and precision from return value.
25772         (__expf_finite): Likewise.
25773         * math/auto-libm-test-in: Add more tests of exp.
25774         * math/auto-libm-test-out: Regenerated.
25776         [BZ #16521]
25777         [BZ #18875]
25778         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
25779         small results.
25780         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
25781         (MO): New macro.
25782         (__ieee754_exp2): For small results, force underflow exception and
25783         remove excess range and precision from return value.
25784         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
25785         (MO): New macro.
25786         (__ieee754_exp2f): For small results, force underflow exception
25787         and remove excess range and precision from return value.
25788         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
25789         (MO): New macro.
25790         (__ieee754_exp2l): Force underflow exception for small results.
25791         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25792         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25793         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
25794         (MO): New macro.
25795         (__ieee754_exp2l): Force underflow exception for small results.
25796         * math/auto-libm-test-in: Add more tests or exp2.
25797         * math/auto-libm-test-out: Regenerated.
25799 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
25801         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
25803         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
25804         /dev/null.
25806 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25808         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25809         io fs process)): Drop spurious backslash.
25811 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25813         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
25814         Use sysinfo system call instead of parsing /proc/meminfo.
25815         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
25816         Likewise.
25818 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
25820         [BZ #16985]
25821         * programs/localedef.c (main): Display argv[remaining] when
25822         output_path is NULL.
25824 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25826         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25827         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
25828         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
25829         tanh.
25830         * math/auto-libm-test-out: Regenerated.
25831         * sysdeps/i386/fpu/libm-test-ulps: Update.
25832         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25833         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25836 2015-09-11  Roland McGrath  <roland@hack.frob.com>
25838         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
25839         Use 'override' keyword to freeze the value here, preventing
25840         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
25842 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25844         [BZ #14912]
25845         * sysdeps/aarch64/bits/atomic.h: Move to ...
25846         * sysdeps/aarch64/atomic-machine.h: ...here.
25847         (_AARCH64_BITS_ATOMIC_H): Rename macro to
25848         _AARCH64_ATOMIC_MACHINE_H.
25849         * sysdeps/alpha/bits/atomic.h: Move to ...
25850         * sysdeps/alpha/atomic-machine.h: ...here.
25851         * sysdeps/arm/bits/atomic.h: Move to ...
25852         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
25853         * bits/atomic.h: Move to ...
25854         * sysdeps/generic/atomic-machine.h: ...here.
25855         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25856         * sysdeps/i386/bits/atomic.h: Move to ...
25857         * sysdeps/i386/atomic-machine.h: ...here.
25858         * sysdeps/ia64/bits/atomic.h: Move to ...
25859         * sysdeps/ia64/atomic-machine.h: ...here.
25860         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
25861         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
25862         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25863         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
25864         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
25865         * sysdeps/microblaze/bits/atomic.h: Move to ...
25866         * sysdeps/microblaze/atomic-machine.h: ...here.
25867         * sysdeps/mips/bits/atomic.h: Move to ...
25868         * sysdeps/mips/atomic-machine.h: ...here.
25869         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
25870         * sysdeps/powerpc/bits/atomic.h: Move to ...
25871         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
25872         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
25873         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
25874         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
25875         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
25876         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
25877         <atomic-machine.h> instead of <bits/atomic.h>.
25878         * sysdeps/s390/bits/atomic.h: Move to ...
25879         * sysdeps/s390/atomic-machine.h: ...here.
25880         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
25881         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
25882         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25883         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
25884         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
25885         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
25886         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
25887         * sysdeps/tile/bits/atomic.h: Move to ...
25888         * sysdeps/tile/atomic-machine.h: ...here.
25889         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
25890         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
25891         <sysdeps/tile/atomic-machine.h> instead of
25892         <sysdeps/tile/bits/atomic.h>.
25893         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25894         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
25895         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
25896         <sysdeps/tile/atomic-machine.h> instead of
25897         <sysdeps/tile/bits/atomic.h>.
25898         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25899         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
25900         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
25901         <sysdeps/arm/atomic-machine.h> instead of
25902         <sysdeps/arm/bits/atomic.h>.
25903         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
25904         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
25905         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25906         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
25907         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
25908         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25909         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
25910         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
25911         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
25912         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
25913         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
25914         * sysdeps/x86_64/bits/atomic.h: Move to ...
25915         * sysdeps/x86_64/atomic-machine.h: ...here.
25916         * include/atomic.h: Include <atomic-machine.h> instead of
25917         <bits/atomic.h>.
25919         * sysdeps/mips/mips32/libm-test-ulps: Update.
25920         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25922         [BZ #18952]
25923         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
25924         not convert non-integer negative arguments to int to determine the
25925         value of signgam.
25926         * math/auto-libm-test-in: Add more tests of lgamma.
25927         * math/auto-libm-test-out: Regenerated.
25929         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
25930         cosh, csqrt, erfc, expm1 and lgamma.
25931         * math/auto-libm-test-out: Regenerated.
25932         * sysdeps/i386/fpu/libm-test-ulps: Update.
25933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25935 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
25937         [BZ #2542]
25938         [BZ #2543]
25939         [BZ #2558]
25940         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
25941         __lgamma_neg for arguments from -28.0 to -2.0.
25942         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
25943         __lgamma_negf for arguments from -15.0 to -2.0.
25944         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25945         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
25946         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
25947         Call __lgamma_negl for arguments from -33.0 to -2.0.
25948         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
25949         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
25950         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
25951         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
25952         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
25953         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
25954         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
25955         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
25956         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
25957         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
25958         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
25959         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
25960         (__lgamma_neg): Likewise.
25961         (__lgamma_negl): Likewise.
25962         (__lgamma_product): Likewise.
25963         (__lgamma_productl): Likewise.
25964         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
25965         * math/auto-libm-test-in: Add more tests of lgamma.
25966         * math/auto-libm-test-out: Regenerated.
25967         * sysdeps/i386/fpu/libm-test-ulps: Update.
25968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25970 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
25972         [BZ #18675]
25973         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
25975 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
25977         [BZ #14912]
25978         * bits/libc-lock.h: Move to ...
25979         * sysdeps/generic/libc-lock.h: ...here.
25980         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25981         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
25982         * sysdeps/mach/hurd/libc-lock.h: ...here.
25983         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25984         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
25985         * sysdeps/mach/bits/libc-lock.h: Move to ...
25986         * sysdeps/mach/libc-lock.h: ...here.
25987         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25988         * sysdeps/nptl/bits/libc-lock.h: Move to ...
25989         * sysdeps/nptl/libc-lock.h: ...here.
25990         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25991         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
25992         * sysdeps/nptl/libc-lockP.h: ...here.
25993         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
25994         * crypt/crypt_util.c: Include <libc-lock.h> instead of
25995         <bits/libc-lock.h>.
25996         * dirent/scandir-tail.c: Likewise.
25997         * dlfcn/dlerror.c: Likewise.
25998         * elf/dl-close.c: Likewise.
25999         * elf/dl-iteratephdr.c: Likewise.
26000         * elf/dl-lookup.c: Likewise.
26001         * elf/dl-open.c: Likewise.
26002         * elf/dl-support.c: Likewise.
26003         * elf/dl-writev.h: Likewise.
26004         * elf/rtld.c: Likewise.
26005         * grp/fgetgrent.c: Likewise.
26006         * gshadow/fgetsgent.c: Likewise.
26007         * gshadow/sgetsgent.c: Likewise.
26008         * iconv/gconv_conf.c: Likewise.
26009         * iconv/gconv_db.c: Likewise.
26010         * iconv/gconv_dl.c: Likewise.
26011         * iconv/gconv_int.h: Likewise.
26012         * iconv/gconv_trans.c: Likewise.
26013         * include/link.h: Likewise.
26014         * inet/getnameinfo.c: Likewise.
26015         * inet/getnetgrent.c: Likewise.
26016         * inet/getnetgrent_r.c: Likewise.
26017         * intl/bindtextdom.c: Likewise.
26018         * intl/dcigettext.c: Likewise.
26019         * intl/finddomain.c: Likewise.
26020         * intl/gettextP.h: Likewise.
26021         * intl/loadmsgcat.c: Likewise.
26022         * intl/localealias.c: Likewise.
26023         * intl/textdomain.c: Likewise.
26024         * libidn/idn-stub.c: Likewise.
26025         * libio/libioP.h: Likewise.
26026         * locale/duplocale.c: Likewise.
26027         * locale/freelocale.c: Likewise.
26028         * locale/newlocale.c: Likewise.
26029         * locale/setlocale.c: Likewise.
26030         * login/getutent_r.c: Likewise.
26031         * login/getutid_r.c: Likewise.
26032         * login/getutline_r.c: Likewise.
26033         * login/utmp-private.h: Likewise.
26034         * login/utmpname.c: Likewise.
26035         * malloc/mtrace.c: Likewise.
26036         * misc/efgcvt.c: Likewise.
26037         * misc/error.c: Likewise.
26038         * misc/fstab.c: Likewise.
26039         * misc/getpass.c: Likewise.
26040         * misc/mntent.c: Likewise.
26041         * misc/syslog.c: Likewise.
26042         * nis/nis_call.c: Likewise.
26043         * nis/nis_callback.c: Likewise.
26044         * nis/nss-default.c: Likewise.
26045         * nis/nss_compat/compat-grp.c: Likewise.
26046         * nis/nss_compat/compat-initgroups.c: Likewise.
26047         * nis/nss_compat/compat-pwd.c: Likewise.
26048         * nis/nss_compat/compat-spwd.c: Likewise.
26049         * nis/nss_nis/nis-alias.c: Likewise.
26050         * nis/nss_nis/nis-ethers.c: Likewise.
26051         * nis/nss_nis/nis-grp.c: Likewise.
26052         * nis/nss_nis/nis-hosts.c: Likewise.
26053         * nis/nss_nis/nis-network.c: Likewise.
26054         * nis/nss_nis/nis-proto.c: Likewise.
26055         * nis/nss_nis/nis-pwd.c: Likewise.
26056         * nis/nss_nis/nis-rpc.c: Likewise.
26057         * nis/nss_nis/nis-service.c: Likewise.
26058         * nis/nss_nis/nis-spwd.c: Likewise.
26059         * nis/nss_nisplus/nisplus-alias.c: Likewise.
26060         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
26061         * nis/nss_nisplus/nisplus-grp.c: Likewise.
26062         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
26063         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
26064         * nis/nss_nisplus/nisplus-network.c: Likewise.
26065         * nis/nss_nisplus/nisplus-proto.c: Likewise.
26066         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
26067         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
26068         * nis/nss_nisplus/nisplus-service.c: Likewise.
26069         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
26070         * nis/ypclnt.c: Likewise.
26071         * nptl/libc_pthread_init.c: Likewise.
26072         * nss/getXXbyYY.c: Likewise.
26073         * nss/getXXent.c: Likewise.
26074         * nss/getXXent_r.c: Likewise.
26075         * nss/nss_db/db-XXX.c: Likewise.
26076         * nss/nss_db/db-netgrp.c: Likewise.
26077         * nss/nss_db/nss_db.h: Likewise.
26078         * nss/nss_files/files-XXX.c: Likewise.
26079         * nss/nss_files/files-alias.c: Likewise.
26080         * nss/nsswitch.c: Likewise.
26081         * posix/regex_internal.h: Likewise.
26082         * posix/wordexp.c: Likewise.
26083         * pwd/fgetpwent.c: Likewise.
26084         * resolv/res_hconf.c: Likewise.
26085         * resolv/res_libc.c: Likewise.
26086         * shadow/fgetspent.c: Likewise.
26087         * shadow/lckpwdf.c: Likewise.
26088         * shadow/sgetspent.c: Likewise.
26089         * socket/opensock.c: Likewise.
26090         * stdio-common/reg-modifier.c: Likewise.
26091         * stdio-common/reg-printf.c: Likewise.
26092         * stdio-common/reg-type.c: Likewise.
26093         * stdio-common/vfprintf.c: Likewise.
26094         * stdio-common/vfscanf.c: Likewise.
26095         * stdlib/abort.c: Likewise.
26096         * stdlib/cxa_atexit.c: Likewise.
26097         * stdlib/fmtmsg.c: Likewise.
26098         * stdlib/random.c: Likewise.
26099         * stdlib/setenv.c: Likewise.
26100         * string/strsignal.c: Likewise.
26101         * sunrpc/auth_none.c: Likewise.
26102         * sunrpc/bindrsvprt.c: Likewise.
26103         * sunrpc/create_xid.c: Likewise.
26104         * sunrpc/key_call.c: Likewise.
26105         * sunrpc/rpc_thread.c: Likewise.
26106         * sysdeps/arm/backtrace.c: Likewise.
26107         * sysdeps/generic/ldsodefs.h: Likewise.
26108         * sysdeps/generic/stdio-lock.h: Likewise.
26109         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
26110         * sysdeps/i386/backtrace.c: Likewise.
26111         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26112         * sysdeps/m68k/backtrace.c: Likewise.
26113         * sysdeps/mach/hurd/cthreads.c: Likewise.
26114         * sysdeps/mach/hurd/dirstream.h: Likewise.
26115         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
26116         * sysdeps/nptl/malloc-machine.h: Likewise.
26117         * sysdeps/nptl/stdio-lock.h: Likewise.
26118         * sysdeps/posix/dirstream.h: Likewise.
26119         * sysdeps/posix/getaddrinfo.c: Likewise.
26120         * sysdeps/posix/system.c: Likewise.
26121         * sysdeps/pthread/aio_suspend.c: Likewise.
26122         * sysdeps/s390/s390-32/backtrace.c: Likewise.
26123         * sysdeps/s390/s390-64/backtrace.c: Likewise.
26124         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26125         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
26126         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
26127         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
26128         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
26129         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26130         * sysdeps/unix/sysv/linux/system.c: Likewise.
26131         * sysdeps/x86_64/backtrace.c: Likewise.
26132         * time/alt_digit.c: Likewise.
26133         * time/era.c: Likewise.
26134         * time/tzset.c: Likewise.
26135         * wcsmbs/wcsmbsload.c: Likewise.
26136         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
26137         instead of <bits/libc-lock.h> in comment.
26139 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
26141         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
26142         Only use .set mips2 if the current ISA is below mips2.
26143         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
26144         Likewise.
26145         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
26146         mips32r2 if the current ISA is below mips32r2.
26147         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
26148         (TLS_IE): Updated to use the TLD_RDHWR macro.
26149         (TLS_LE): Likewise.
26150         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
26151         __ASSEMBLER__ condition.
26153 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26155         Fix parallel build of before-compile targets.
26157         * sysdeps/mach/Makefile ($(patsubst
26158         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
26159         mach-before-compile target.
26160         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
26161         io fs process)): Move rule to dedicated hurd-before-compile target.
26163 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26165         Fix rules generating headers in hurd/ and mach/ when initial make call
26166         has subdir= explicitly set.
26168         * sysdeps/mach/Makefile ($(patsubst
26169         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
26170         calling $(MAKE).
26171         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
26172         io fs process)): Force subdir to hurd when calling $(MAKE).
26173         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
26174         subdir to mach when calling $(MAKE).
26176 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
26178         Check sysheaders when looking for Mach and Hurd headers
26180         * sysdeps/mach/configure.ac: Add sysheaders check.
26181         * sysdeps/mach/configure: Regenerate.
26182         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
26183         * sysdeps/mach/hurd/configure: Regenerate.
26185 2015-09-04  Roland McGrath  <roland@hack.frob.com>
26187         [BZ #18921]
26188         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
26189         Fix inverted sense of test of 'o_directory_works' value.
26190         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
26191         Bernhard Voelker <mail@bernhard-voelker.de>.
26193 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
26195         [BZ #14912]
26196         * bits/linkmap.h: Move to ...
26197         * sysdeps/generic/linkmap.h: ...here.
26198         * sysdeps/aarch64/bits/linkmap.h: Move to ...
26199         * sysdeps/aarch64/linkmap.h: ...here.
26200         * sysdeps/arm/bits/linkmap.h: Move to ...
26201         * sysdeps/arm/linkmap.h: ...here.
26202         * sysdeps/hppa/bits/linkmap.h: Move to ...
26203         * sysdeps/hppa/linkmap.h: ...here.
26204         * sysdeps/ia64/bits/linkmap.h: Move to ...
26205         * sysdeps/ia64/linkmap.h: ...here.
26206         * sysdeps/mips/bits/linkmap.h: Move to ...
26207         * sysdeps/mips/linkmap.h: ...here.
26208         * sysdeps/s390/bits/linkmap.h: Move to ...
26209         * sysdeps/s390/linkmap.h: ...here.
26210         * sysdeps/sh/bits/linkmap.h: Move to ...
26211         * sysdeps/sh/linkmap.h: ...here.
26212         * sysdeps/x86/bits/linkmap.h: Move to ...
26213         * sysdeps/x86/linkmap.h: ...here.
26214         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
26216 2015-09-04  Andreas Schwab  <schwab@suse.de>
26218         [BZ #18635]
26219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
26220         (__makecontext): Terminate FDE before return label.
26221         (__novec_makecontext): Likewise.
26223 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26225         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
26226         first member of struct sv in syscall macro.
26228 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
26230         [BZ #14912]
26231         * bits/stdio-lock.h: Move to ...
26232         * sysdeps/generic/stdio-lock.h: ...here.
26233         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
26234         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
26235         * sysdeps/nptl/stdio-lock.h: ...here.
26236         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
26237         * include/libio.h: Include <stdio-lock.h> instead of
26238         <bits/stdio-lock.h>.
26239         * sysdeps/nptl/fork.c: Likewise.
26240         * sysdeps/pthread/flockfile.c: Likewise.
26241         * sysdeps/pthread/ftrylockfile.c: Likewise.
26242         * sysdeps/pthread/funlockfile.c: Likewise.
26244         [BZ #14912]
26245         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
26246         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
26247         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
26248         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
26249         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
26250         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
26251         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
26253 2015-09-03  Roland McGrath  <roland@hack.frob.com>
26255         * elf/Makefile (test-xfail-tst-protected1a): New variable.
26256         (test-xfail-tst-protected1b): New variable.
26258 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
26260         [BZ #14912]
26261         * bits/libc-tsd.h: Move to ...
26262         * sysdeps/generic/libc-tsd.h: ...here.
26263         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
26264         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
26265         * sysdeps/mach/hurd/libc-tsd.h: ...here.
26266         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
26267         * include/ctype.h: Include <libc-tsd.h> instead of
26268         <bits/libc-tsd.h>.
26269         * include/rpc/rpc.h: Likewise.
26270         * locale/localeinfo.h: Likewise.
26271         * sunrpc/rpc_thread.c: Likewise.
26272         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
26273         * sysdeps/nptl/malloc-machine.h: Likewise.
26275         * Makefile (headers): Remove bits/libc-lock.h.
26276         * libio/Makefile (headers): Remove bits/stdio-lock.h.
26278         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
26279         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
26280         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
26281         <bits/stdio-lock.h>.
26282         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
26283         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
26285 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
26287         [BZ #18757]
26288         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
26289         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
26290         BZ #18757.
26292 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
26294         * malloc/mtrace.pl: Filter out NULL entries.
26296 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
26298         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
26299         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
26300         macro.
26302         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
26303         (TCP_CC_INFO): Likewise.
26304         (TCP_SAVE_SYN): Likewise.
26305         (TCP_SAVED_SYN): Likewise.
26307 2015-08-31  Brett Neumeier <brett@neumeier.us>
26309         [BZ #18870]
26310         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
26312 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
26314         [BZ #18873]
26315         Fix broken overflow check in posix_fallocate
26316         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
26317         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
26318         Fix parenthesization typo.
26320 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
26322         [BZ #18887]
26323         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
26324         tst-mntent-blank-passno.
26325         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
26326         * misc/tst-mntent-blank-corrupt.c: New test.
26327         * misc/tst-mntent-blank-passno.c: New test ripped from ...
26328         * misc/tst-mntent.c (do_test): ... here.
26330 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
26332         [BZ #4404]
26333         * po/de.po: Fix SIGALRM typo.
26335 2015-08-28  James Perkins  <james@loowit.net>
26337         * time/tst-strptime2.c (tests): Replace short list of test
26338         strings for strptime %z specifier with code which exhaustively
26339         tests every combination of sign and 0 to 5 digits. Tests for
26340         rejection of invalid strings.
26342 2015-08-28  James Perkins  <james@loowit.net>
26344         [BZ #16141]
26345         * time/strptime_l.c (__strptime_internal): Fix %z minutes
26346         calculation, removing incorrect decimal time rounding, so that
26347         all minute values result in a valid seconds value.
26348         * time/strptime_l.c (__strptime_internal): Extend %z time zone
26349         offset range limits to UTC-99:59 through UTC+99:59 to parse
26350         current and historical use cases.
26351         * time/tst-strptime2.c (tests): Modify and add tests for the
26352         strptime %z input field descriptor, specifically conversion of
26353         minutes to seconds and validating an offset range of -9959 to
26354         +9959.
26356 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26357             Dmitry V. Levin  <ldv@altlinux.org>
26359         [BZ #18877]
26360         * posix/Makefile (tests): Add tst-mmap-offset.
26361         * posix/tst-mmap.c: New file.
26362         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
26363         offset calculation for negative values.
26365 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26367         * sysdeps/i386/init-arch.h: New file.
26368         * sysdeps/i386/i586/init-arch.h: Likewise.
26369         * sysdeps/i386/i686/init-arch.h: Likewise.
26370         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
26371         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
26372         * sysdeps/x86/cpu-features.h (bit_I586): New.
26373         (bit_I686): Likewise.
26374         (bit_CX8): Likewise.
26375         (bit_CMOV): Likewise.
26376         (index_CX8): Likewise.
26377         (index_CMOV): Likewise.
26378         (index_I586): Likewise.
26379         (index_I686): Likewise.
26380         (reg_CX8): Likewise.
26381         (reg_CMOV): Likewise.
26382         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
26383         available at compile-time.
26384         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
26385         available at compile-time.
26386         * sysdeps/x86/init-arch.h (USE_I586): New macro.
26387         (USE_I686): Likewise.
26389 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26391         * sysdeps/i386/bcopy.S: New file.
26392         * sysdeps/i386/bzero.S: Likewise.
26393         * sysdeps/i386/memcpy.S: Likewise.
26394         * sysdeps/i386/memmove.S: Likewise.
26395         * sysdeps/i386/mempcpy.S: Likewise.
26396         * sysdeps/i386/memset.S: Likewise.
26397         * sysdeps/i386/bzero.c: Removed.
26398         * sysdeps/i386/memset.c: Likewise.
26399         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
26400         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
26401         * sysdeps/i386/i586/memset_chk.S: Likewise.
26402         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
26403         * sysdeps/i386/memcpy_chk.S: Here.
26404         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
26405         * sysdeps/i386/memmove_chk.S: Here.
26406         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
26407         * sysdeps/i386/mempcpy_chk.S: Likewise.
26408         * sysdeps/i386/i686/memset_chk.S: Moved to ...
26409         * sysdeps/i386/memset_chk.S: Likewise.
26411 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
26413         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
26414         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
26415         file, move DIAG_POP_NEEDS_COMMENT to end of file.
26416         * soft-fp/fmadf4.c: Ditto.
26417         * soft-fp/fmatf4.c: Ditto.
26419 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26421         * sysdeps/i386/i586/Implies: Removed.
26422         * sysdeps/i386/i686/Implies: Likewise.
26424 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26426         * sysdeps/i386/i486/strlen.S: Moved to ...
26427         * sysdeps/i386/strlen.S: Here.
26429 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26431         * sysdeps/i386/i486/strcat.S: Moved to ...
26432         * sysdeps/i386/strcat.S: Here.
26434 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26436         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
26437         * sysdeps/i386/pthread_spin_trylock.S: Here.
26438         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
26439         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
26441 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26443         * sysdeps/i386/i486/string-inlines.c: Moved to ...
26444         * sysdeps/i386/string-inlines.c: Here.
26446 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26448         * sysdeps/i386/i486/htonl.S: Moved ...
26449         * sysdeps/i386/htonl.S: here.
26451 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26453         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
26454         * sysdeps/i386/bits/atomic.h: Here.
26456 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26458         * sysdeps/i386/i486/Versions: Removed.
26460 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
26462         [BZ #2898]
26463         * misc/mktemp.c: Add mkdtemp to the link_warning message.
26464         Based on patch by Aurelien Jarno.
26466 2015-08-26  Stan Shebs  <stanshebs@google.com>
26468         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
26469         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26471 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26473         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
26474         * sysdeps/powerpc/dl-procinfo.c:
26475         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
26476         feature so it shows when LD_SHOW_AUXV=1.
26478 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26480         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26481         (__arch_compare_and_exchange_val_32_acq): Remove and use common
26482         definition.  ISA 2.07B no longer requires full sync.
26484 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
26486         [BZ #18863]
26487         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
26488         (si_call_addr): Define.
26489         (si_syscall): Define.
26490         (si_arch): Define.
26492 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
26494         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
26495         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
26496         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
26497         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26498         (__memset_zero_constant_len_parameter): New.
26499         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
26500         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26501         (__memset_zero_constant_len_parameter): Don't define if
26502         __memset_chk or USE_AS_BZERO are defined.
26504         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
26505         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
26506         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
26508         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
26509         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
26510         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
26511         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
26512         comments.
26513         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
26514         -mno-mmx for $(all-rtld-routines).
26515         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
26516         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
26517         i386.
26519 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26521         * sysdeps/generic/unwind.h
26522         (_Unwind_Word): Use __mode__(__unwind_word__)
26523         instead of __mode__(__word__).
26524         (_Unwind_Sword): Likewise.
26526         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26527         (MAX_NEEDED_INPUT): New define.
26528         (MAX_NEEDED_OUTPUT): New define.
26530         * NEWS: New item for IBM z13 string optimizations.
26532         * sysdeps/s390/multiarch/memrchr-c.c: New File.
26533         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
26534         * sysdeps/s390/multiarch/memrchr.c: Likewise.
26535         * sysdeps/s390/multiarch/Makefile
26536         (sysdep_routines): Add memrchr functions.
26537         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26538         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
26540         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
26541         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
26542         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
26543         * sysdeps/s390/multiarch/Makefile
26544         (sysdep_routines): Add wmemcmp functions.
26545         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26546         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
26547         * benchtests/bench-wmemcmp.c: New File.
26548         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
26550         * sysdeps/s390/multiarch/wmemset-c.c: New File.
26551         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
26552         * sysdeps/s390/multiarch/wmemset.c: Likewise.
26553         * sysdeps/s390/multiarch/Makefile
26554         (sysdep_routines): Add wmemset functions.
26555         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26556         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
26557         * wcsmbs/wmemset.c: Use WMEMSET if defined.
26558         * string/test-memset.c: Add wmemset support.
26559         * wcsmbs/test-wmemset.c: New File.
26560         * wcsmbs/Makefile (strop-tests): Add wmemset.
26561         * benchtests/bench-memset.c: Add wmemset support.
26562         * benchtests/bench-wmemset.c: New File.
26563         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
26565         * sysdeps/s390/multiarch/memccpy-c.c: New File.
26566         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
26567         * sysdeps/s390/multiarch/memccpy.c: Likewise.
26568         * sysdeps/s390/multiarch/Makefile
26569         (sysdep_routines): Add memccpy functions.
26570         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26571         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
26572         * string/memccpy.c: Use MEMCCPY if defined.
26574         * sysdeps/s390/multiarch/memchr-vx.S: New File.
26575         * sysdeps/s390/multiarch/memchr.c: Likewise.
26576         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
26577         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
26578         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
26579         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
26580         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
26581         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
26582         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
26583         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
26584         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
26585         and rawmemchr functions.
26586         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26587         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
26588         and wmemchr.
26589         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
26590         * string/test-memchr.c: Add wmemchr support.
26591         * wcsmbs/test-wmemchr.c: New File.
26592         * wcsmbs/Makefile (strop-tests): Add wmemchr.
26593         * benchtests/bench-memchr.c: Add wmemchr support.
26594         * benchtests/bench-wmemchr.c: New File.
26595         * benchtests/Makefile (wcsmbs-bench): wmemchr.
26597         * sysdeps/s390/multiarch/strcspn-c.c: New File.
26598         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
26599         * sysdeps/s390/multiarch/strcspn.c: Likewise.
26600         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
26601         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
26602         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
26603         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
26604         wcscspn functions.
26605         * sysdeps/s390/multiarch/ifunc-impl-list.c
26606         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
26607         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
26608         * string/test-strcspn.c: Add wcscspn support.
26609         * wcsmbs/test-wcscspn.c: New File.
26610         * wcsmbs/Makefile (strop-tests): Add wcscspn.
26611         * benchtests/bench-strcspn.c: Add wcscspn support.
26612         * benchtests/bench-wcscspn.c: New File.
26613         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
26615         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
26616         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
26617         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
26618         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
26619         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
26620         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
26621         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
26622         wcspbrk functions.
26623         * sysdeps/s390/multiarch/ifunc-impl-list.c
26624         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
26625         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
26626         * string/test-strpbrk.c: Add wcspbrk support.
26627         * wcsmbs/test-wcspbrk.c: New File.
26628         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
26629         * benchtests/bench-strpbrk.c: Add wcspbrk support.
26630         * benchtests/bench-wcspbrk.c: New File.
26631         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
26633         * sysdeps/s390/multiarch/strspn-c.c: New File.
26634         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
26635         * sysdeps/s390/multiarch/strspn.c: Likewise.
26636         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
26637         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
26638         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
26639         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
26640         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
26641         wcsspn functions.
26642         * sysdeps/s390/multiarch/ifunc-impl-list.c
26643         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
26644         * string/test-strspn.c: Add wcsspn support.
26645         * wcsmbs/test-wcsspn.c: New File.
26646         * wcsmbs/Makefile (strop-tests): Add wcsspn.
26647         * benchtests/bench-strspn.c: Add wcsspn support.
26648         * benchtests/bench-wcsspn.c: New File.
26649         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
26651         * sysdeps/s390/multiarch/strrchr-c.c: New File.
26652         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
26653         * sysdeps/s390/multiarch/strrchr.c: Likewise.
26654         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
26655         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
26656         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
26657         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
26658         wcsrchr functions.
26659         * sysdeps/s390/multiarch/ifunc-impl-list.c
26660         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
26661         * benchtests/bench-wcsrchr.c: New File.
26662         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
26664         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
26665         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
26666         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
26667         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
26668         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
26669         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
26670         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
26671         wcschrnul functions.
26672         * sysdeps/s390/multiarch/ifunc-impl-list.c
26673         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
26674         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
26675         * string/test-strchr.c: Add wcschrnul support.
26676         * wcsmbs/test-wcschrnul.c: New File.
26677         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
26678         * benchtests/bench-strchr.c: Add wcschrnul support.
26679         * benchtests/bench-wcschrnul.c: New File.
26680         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
26682         * sysdeps/s390/multiarch/strchr-c.c: New File.
26683         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
26684         * sysdeps/s390/multiarch/strchr.c: Likewise.
26685         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
26686         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
26687         * sysdeps/s390/multiarch/wcschr.c: Likewise.
26688         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
26689         wcschr functions.
26690         * sysdeps/s390/multiarch/ifunc-impl-list.c
26691         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
26692         * string/strchr.c (STRCHR): Define and use macro.
26693         * benchtests/bench-wcschr.c: New File.
26694         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
26696         * sysdeps/s390/multiarch/strncmp-c.c: New File.
26697         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
26698         * sysdeps/s390/multiarch/strncmp.c: Likewise.
26699         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
26700         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
26701         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
26702         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
26703         wcsncmp functions.
26704         * sysdeps/s390/multiarch/ifunc-impl-list.c
26705         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
26706         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
26707         * benchtests/bench-strncmp.c: Add wcsncmp support.
26708         * benchtests/bench-wcsncmp.c: New File.
26709         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
26711         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
26712         * sysdeps/s390/multiarch/strcmp.c: Likewise.
26713         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
26714         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
26715         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
26716         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
26717         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
26718         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
26719         wcscmp functions.
26720         * sysdeps/s390/multiarch/ifunc-impl-list.c
26721         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
26722         * string/strcmp.c (STRCMP): Define and use macro.
26723         * benchtests/bench-wcscmp.c: New File.
26724         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
26725         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
26726         instead of _HAVE_STRING_ARCH_memchr.
26728         * sysdeps/s390/multiarch/strncat-c.c: New File.
26729         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
26730         * sysdeps/s390/multiarch/strncat.c: Likewise.
26731         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
26732         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
26733         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
26734         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
26735         wcsncat functions.
26736         * sysdeps/s390/multiarch/ifunc-impl-list.c
26737         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
26738         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
26739         * string/test-strncat.c: Add wcsncat support.
26740         * wcsmbs/test-wcsncat.c: New File.
26741         * wcsmbs/Makefile (strop-tests): Add wcsncat.
26742         * benchtests/bench-strncat.c: Add wcsncat support.
26743         * benchtests/bench-wcsncat.c: New File.
26744         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
26746         * sysdeps/s390/multiarch/strcat-c.c: New File.
26747         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
26748         * sysdeps/s390/multiarch/strcat.c: Likewise.
26749         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
26750         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
26751         * sysdeps/s390/multiarch/wcscat.c: Likewise.
26752         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
26753         wcscat functions.
26754         * sysdeps/s390/multiarch/ifunc-impl-list.c
26755         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
26756         * string/strcat.c (STRCAT): Define and use macro.
26757         * wcsmbs/wcscat.c: Use WCSCAT if defined.
26758         * string/test-strcat.c: Add wcscat support.
26759         * wcsmbs/test-wcscat.c: New File.
26760         * wcsmbs/Makefile (strop-tests): Add wcscat.
26761         * benchtests/bench-strcat.c: Add wcscat support.
26762         * benchtests/bench-wcscat.c: New File.
26763         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
26765         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
26766         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
26767         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
26768         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
26769         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
26770         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
26771         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
26772         wcpncpy functions.
26773         * sysdeps/s390/multiarch/ifunc-impl-list.c
26774         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
26775         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
26776         * string/test-stpncpy.c: Add wcpncpy support.
26777         * wcsmbs/test-wcpncpy.c: New File.
26778         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
26779         * benchtests/bench-stpncpy.c: Add wcpncpy support.
26780         * benchtests/bench-wcpncpy.c: New File.
26781         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
26783         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
26784         * sysdeps/s390/multiarch/strncpy.c: Likewise.
26785         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
26786         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
26787         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
26788         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
26789         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
26790         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
26791         wcsncpy functions.
26792         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
26793         * sysdeps/s390/multiarch/ifunc-impl-list.c
26794         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
26795         * string/test-strncpy.c: Add wcsncpy support.
26796         * wcsmbs/test-wcsncpy.c: New File.
26797         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
26798         * benchtests/bench-strncpy.c: Add wcsncpy support.
26799         * benchtests/bench-wcsncpy.c: New File.
26800         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
26802         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
26803         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
26804         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
26805         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
26806         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
26807         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
26808         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
26809         wcpcpy functions.
26810         * string/stpcpy.c: Use STPCPY if defined.
26811         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
26812         * sysdeps/s390/multiarch/ifunc-impl-list.c
26813         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
26814         * string/test-stpcpy.c: Add wcpcpy support.
26815         * wcsmbs/test-wcpcpy.c: New File.
26816         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
26817         * benchtests/bench-stpcpy.c: Add wcpcpy support.
26818         * benchtests/bench-wcpcpy.c: New File.
26819         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
26821         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
26822         * sysdeps/s390/multiarch/strcpy.c: Likewise.
26823         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
26824         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
26825         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
26826         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
26827         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
26828         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
26829         wcscpy functions.
26830         * sysdeps/s390/multiarch/ifunc-impl-list.c
26831         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
26832         * benchtests/bench-wcscpy.c: New File.
26833         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
26835         * sysdeps/s390/multiarch/strnlen-c.c: New File.
26836         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
26837         * sysdeps/s390/multiarch/strnlen.c: Likewise.
26838         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
26839         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
26840         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
26841         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
26842         wcsnlen functions.
26843         * sysdeps/s390/multiarch/ifunc-impl-list.c
26844         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
26845         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
26846         * string/test-strnlen.c: Add wcsnlen support.
26847         * wcsmbs/test-wcsnlen.c: New File.
26848         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
26849         * benchtests/bench-strnlen.c: Add wcsnlen support.
26850         * benchtests/bench-wcsnlen.c: New File.
26851         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
26853         * sysdeps/s390/multiarch/Makefile: New File.
26854         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
26855         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
26856         * sysdeps/s390/multiarch/strlen.c: Likewise.
26857         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
26858         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
26859         * sysdeps/s390/multiarch/wcslen.c: Likewise.
26860         * string/strlen.c (STRLEN): Define and use macro.
26861         * sysdeps/s390/multiarch/ifunc-impl-list.c
26862         (IFUNC_VX_IMPL): New macro function.
26863         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
26864         * benchtests/Makefile (wcsmbs-bench): New variable.
26865         (string-bench-all): Added wcsmbs-bench.
26866         * benchtests/bench-wcslen.c: New File.
26868         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
26869         s390_vx_libc_ifunc2): New macro function.
26871         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
26872         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
26873         assembler support.
26874         * sysdeps/s390/configure: Regenerated.
26876         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
26877         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
26879         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
26880         * sysdeps/s390/dl-procinfo.h: Add vector capability.
26881         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
26883         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
26884         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
26885         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
26886         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
26887         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
26888         (memcmp, bcmp): Use __memcmp_default as alias source.
26889         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
26890         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
26891         Rename to __memcmp_default.
26892         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
26893         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
26894         (memcpy): Use __memcpy_default as alias source.
26895         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
26896         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
26897         Rename to __memcpy_default.
26898         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
26899         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
26900         (memset): Use __memset_default as alias source.
26901         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
26902         * sysdeps/s390/s390-32/memset.S (__memset_g5):
26903         Rename to __memset_default.
26904         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
26905         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
26906         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
26907         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
26908         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
26909         (memcmp, bcmp): Use __memcmp_default as alias source.
26910         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
26911         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
26912         Rename to __memcmp_default.
26913         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
26914         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
26915         (memcpy): Use __memcpy_default as alias source.
26916         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
26917         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
26918         Rename to __memcpy_default.
26919         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
26920         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
26921         (memset): Use __memset_default as alias source.
26922         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
26923         * sysdeps/s390/s390-64/memset.S (__memset_z900):
26924         Rename to __memset_default.
26925         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
26926         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
26928         [BZ #18610]
26929         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
26930         __ieee_instruction_pointer to __unused.
26931         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
26932         __ieee_instruction_pointer.
26933         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
26934         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
26935         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26936         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26937         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
26938         Mark dxc-field as reserved.
26940 2015-08-25  Roland McGrath  <roland@hack.frob.com>
26942         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
26943         if the weak reference is not null.
26945 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26947         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
26949         [BZ #11214]
26950         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
26952 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26954         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
26955         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
26956         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
26957         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
26958         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
26959         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
26960         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
26961         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
26962         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
26963         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
26964         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
26965         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
26966         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
26967         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
26968         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
26969         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
26970         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
26971         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
26973 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26975         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
26976         register other than r0 for tabort, it has special meaning.
26977         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
26978         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
26979         transaction before starting syscall.
26981 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26983         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
26985 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26987         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
26989         * sysdeps/x86_64/rtld-memcmp.c: Removed.
26990         * sysdeps/x86_64/rtld-memset.S: Likewise.
26991         * sysdeps/x86_64/rtld-strchr.S: Likewise.
26992         * sysdeps/x86_64/rtld-strlen.S: Likewise.
26993         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
26994         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26996         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
26998 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
27000         * debug/strcpy_chk.c: Improve performance.
27001         * debug/stpcpy_chk.c: Likewise.
27002         * sysdeps/x86_64/strcpy_chk.S: Remove.
27003         * sysdeps/x86_64/stpcpy_chk.S: Remove.
27005         [BZ #18240]
27006         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
27008 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27010         [BZ #15128]
27011         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
27012         ifuncmain8.
27013         (modules-names): Add ifuncmod8.
27014         ($(objpfx)ifuncmain8): New rule.
27015         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
27016         <cpuid.h>.
27017         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
27018         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
27019         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
27020         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
27021         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
27022         * sysdeps/x86_64/dl-trampoline.h: Likewise.
27023         * sysdeps/x86_64/ifuncmain8.c: New file.
27024         * sysdeps/x86_64/ifuncmod8.c: Likewise.
27025         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
27026         Removed.
27027         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
27028         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
27029         Change rtld_savespace_sse to __glibc_unused2.
27030         (RTLD_CHECK_FOREIGN_CALL): Removed.
27031         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
27032         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
27033         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
27035 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
27037         * sysdeps/aarch64/bzero.S (__bzero): Remove.
27039 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
27041         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
27042         Unconditionally set __fpcr to avoid uninialized warning.
27043         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
27045 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27047         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
27048         is corrupt.
27050         * malloc/arena.c (arena_get2): Drop unused argument.
27051         (arena_lock): Adjust.
27052         (arena_get_retry): Likewise.
27054 2015-08-24  Andreas Schwab  <schwab@suse.de>
27056         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
27057         Don't define.
27058         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
27059         (__ASSUME_IPC64): Don't undef.
27060         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
27061         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27062         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27063         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
27064         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
27065         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
27066         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
27067         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
27068         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
27069         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
27070         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
27071         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
27072         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
27073         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
27074         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
27075         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
27076         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
27077         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
27078         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
27079         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
27080         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
27082 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
27084         * manual/Makefile (install): Only build manual when perl is available.
27086 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27088         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
27089         '#undef memcpy' by '#undef memchr'.
27091 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27093         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
27094         memchr not point to the internal __GI_memchr implementation.
27096 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
27098         * timezone/Makefile (CFLAGS-zdump.c): Remove
27099         -Wno-strict-prototypes.
27100         (CFLAGS-zic.c): Likewise.
27101         (CFLAGS-ialloc.c): Likewise.
27102         (CFLAGS-scheck.c): Likewise.
27104         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
27105         -Wno-error=undef.
27107 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27109         * i386/i686/multiarch/strcasestr-c.c: Removed.
27110         * x86_64/multiarch/strcasestr.c: Likewise.
27111         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27112         Remove strcasestr.
27114 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
27116         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
27118         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
27119         variables for high and low parts before possibly modifying them.
27121 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27123         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
27124         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
27125         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
27126         of "multiarch/init-arch.h".
27127         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
27128         * sysdeps/x86/init-arch.h: This.
27130 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27132         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
27133         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
27135 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
27137         [BZ #17787]
27138         * manual/macros.texi: Add twoexp macro.
27139         * manual/filesys.texi: Fix exponents.
27140         * manual/llio.texi: Likewise.
27141         * manual/stdio.texi: Likewise.
27143 2015-08-20  Florian Weimer  <fweimer@redhat.com>
27145         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
27146         incorrect use.
27148 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
27150         [BZ #18370]
27151         * math/s_csqrt.c (__csqrt): Force underflow exception for results
27152         whose real or imaginary part has small absolute value.
27153         * math/s_csqrtf.c (__csqrtf): Likewise.
27154         * math/s_csqrtl.c (__csqrtl): Likewise.
27155         * math/auto-libm-test-in: Add more tests of csqrt.
27156         * math/auto-libm-test-out: Regenerated.
27157         * sysdeps/i386/fpu/libm-test-ulps: Update.
27159 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
27161         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
27162         __ppc_set_ppr_very_low): New functions.
27163         * manual/platform.texi: Add documentation about
27164         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
27166 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
27168         * string/stpncpy.c (stpncpy): Improve performance using
27169         __strnlen/memcpy/memset.
27171 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
27173         [BZ #18796]
27174         * scripts/test-installation.pl: Don't add -lmvec to build options if
27175         libmvec wasn't built.
27177 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
27179         [BZ #14341]
27180         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
27181         case when there is a gap between DT_REL and DT_JMPREL sections.
27182         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
27183         (LDFLAGS-tst-split-dynreloc): New.
27184         (tst-split-dynreloc-ENV): Likewise.
27185         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
27186         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
27188 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27190         [BZ #18822]
27191         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
27192         attribute_hidden.
27193         (__xstat64_conv): Likewise.
27194         (__xstat32_conv): Likewise.
27196 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27198         [BZ #18822]
27199         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
27200         Don't load %ebx when calling __setcontext.  Call __setcontext
27201         with HIDDEN_JUMPTARGET.
27202         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
27203         libc_hidden_def.
27205 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27207         * sysdeps/i386/i686/Makefile
27208         [$(subdir) == string] (sysdep_routines): Moved to ...
27209         * sysdeps/i386/Makefile: Here.
27210         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
27211         * sysdeps/i386/cacheinfo.c: Here.
27212         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
27213         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
27214         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
27215         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
27217 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27219         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
27220         __i586__ is defined.
27221         (HAS_I686): Defined to 1 if __i686__ is defined.
27223 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
27225         * elf/Makefile [$(have-z-execstack) = yes]
27226         (CPPFLAGS-tst-execstack.c): New variable.
27228         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
27229         conditional to [defined UTMPX || _HAVE_UT_TYPE].
27230         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
27231         UTMPX || _HAVE_UT_TV].
27232         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
27233         UTMPX || _HAVE_UT_TV - 0].
27235 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
27237         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
27238         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
27239         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
27241 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27243         * sysdeps/powerpc/dl-procinfo.c:
27244         (_dl_powerpc_cap_flags): Added missing strings for some
27245         hwcap features.
27246         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
27248 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
27250         Port the 0x7efe...feff pattern to GCC 6.
27251         See Steve Ellcey's bug report in:
27252         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
27253         * string/memrchr.c (MEMRCHR):
27254         * string/rawmemchr.c (RAWMEMCHR):
27255         * string/strchr.c (strchr):
27256         * string/strchrnul.c (STRCHRNUL):
27257         Rewrite code to avoid issues with signed shift overflow.
27259 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
27261         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
27262         whether cpuid is available only if HAS_CPUID is 0.
27263         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
27264         (HAS_I586): Likewise.
27265         (HAS_I686): Likewise.
27267 2015-08-18  Zack Weinberg  <zackw@panix.com>
27269         * misc/Versions (libc): Add GLIBC_2.23.
27271 2015-08-18  Alan Modra  <amodra@gmail.com>
27273         [BZ #18421]
27274         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
27275         .Lp__global.
27276         (_start): Load %dp via .Lp__global.
27277         [!SHARED]: Use .section .rodata.
27279 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27281         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
27282         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
27284 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27286         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
27287         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
27289 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27291         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
27292         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
27294 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27296         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
27297         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
27299 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27301         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
27302         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
27304 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27306         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
27307         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
27309 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27311         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
27313 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27315         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
27316         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
27317         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27318         (__ASSUME_LWS_CAS): Delete.
27320 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27322         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
27323         * sysdeps/hppa/configure: Regenerated.
27324         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
27325         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
27326         * sysdeps/hppa/nptl/tls.h: Likewise.
27328 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
27330         [BZ #18823]
27331         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
27332         for scaling up small arguments.
27333         * math/s_csqrtf.c (__csqrtf): Likewise.
27334         * math/s_csqrtl.c (__csqrtl): Likewise.
27335         * math/auto-libm-test-in: Add more tests of csqrt.
27336         * math/auto-libm-test-out: Regenerated.
27338 2015-08-17  Andreas Schwab  <schwab@suse.de>
27340         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
27341         version set GLIBC_2.19.
27343 2015-08-16  Zack Weinberg  <zackw@panix.com>
27345         [BZ #18681]
27346         * misc/regexp.h: This interface is no longer supported.
27347         Remove all contents, leaving only an #error directive.
27348         * misc/regexp.c (loc1, loc2, locs, step, advance):
27349         Demote to compatibility symbols.
27351 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
27353         [BZ #18084]
27354         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
27355         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
27356         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
27357         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
27358         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
27359         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
27360         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
27361         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
27362         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
27364 2015-08-15  Zack Weinberg  <zackw@panix.com>
27366         [BZ #18795]
27367         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
27368         buffer length is known to be too large, not if it's known to be
27369         small enough.
27370         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
27371         overflow at runtime, involving a length parameter, twice: once
27372         with a compile-time constant length parameter, once without.
27374 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
27376         [BZ #18824]
27377         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
27378         scaling x * y up instead of down.
27379         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27380         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27381         * math/auto-libm-test-in: Add more tests of fma.
27382         * math/auto-libm-test-out: Regenerated.
27384 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
27386         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27388 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27390         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
27391         unnecessary movq.
27392         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
27393         Likewise.
27395 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
27397         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27398         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
27399         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
27400         and tgamma.
27401         * math/auto-libm-test-out: Regenerated.
27402         * sysdeps/i386/fpu/libm-test-ulps: Update.
27403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27405         [BZ #16520]
27406         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
27407         (__tanh): Force underflow exception for arguments with small
27408         absolute value.
27409         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
27410         (__tanhf): Force underflow exception for arguments with small
27411         absolute value.
27412         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
27413         (__tanhl): Force underflow exception for arguments with small
27414         absolute value.
27415         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
27416         (__tanhl): Force underflow exception for arguments with small
27417         absolute value.
27418         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
27419         (__tanhl): Force underflow exception for arguments with small
27420         absolute value.
27421         * math/auto-libm-test-in: Add more tests of tanh.
27422         * math/auto-libm-test-out: Regenerated.
27423         * sysdeps/i386/fpu/libm-test-ulps: Update.
27425 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27427         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
27428         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
27430 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27432         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
27433         <cpuid.h>.
27435 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27437         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
27438         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
27440 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27442         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
27443         Remove $(objpfx)init-arch.o.
27444         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
27445         init-arch.
27446         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
27447         (INIT_ARCH_EXT): Defined as empty.
27448         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
27449         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
27450         __init_cpu_features call.  Replace HAS_XXX with
27451         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27452         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
27453         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
27454         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
27455         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
27456         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
27457         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
27458         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
27459         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
27460         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
27461         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
27462         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
27463         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
27464         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
27465         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
27466         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
27467         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
27468         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
27469         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27470         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
27471         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
27472         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27473         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
27474         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
27475         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27476         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
27477         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
27478         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27479         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
27480         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
27481         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27482         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
27483         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
27484         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27485         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
27486         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
27488 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27490         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
27491         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27492         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27493         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27494         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
27495         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
27496         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
27497         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
27498         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
27499         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
27500         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
27501         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
27502         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27503         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27504         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27505         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27506         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27507         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27508         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27509         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27510         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27511         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27512         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27513         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27514         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27515         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27516         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27517         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27518         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27519         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27520         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27521         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27522         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27523         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27524         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27525         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27526         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27527         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27528         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27529         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27530         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27531         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27532         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27534 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27536         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
27537         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27538         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27539         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27540         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27541         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
27542         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27543         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
27544         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27545         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27546         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27547         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
27548         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
27549         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
27550         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
27551         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
27552         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
27553         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
27554         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
27555         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
27556         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
27557         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
27558         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
27559         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27560         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27561         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
27562         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
27563         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
27564         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27565         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27566         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27567         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27568         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27569         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27570         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27571         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27572         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27573         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27574         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27575         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27576         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27577         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27578         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27580 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27582         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
27583         (dl_platform_init): Call init_cpu_features.
27584         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
27585         * sysdeps/i386/i686/cacheinfo.c
27586         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
27587         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
27588         * sysdeps/i386/i686/multiarch/Versions: Removed.
27589         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
27590         Removed.
27591         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
27592         * sysdeps/unix/sysv/linux/x86/Makefile
27593         (libpthread-sysdep_routines): Remove init-arch.
27594         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
27595         <sysdeps/x86_64/dl-procinfo.c> instead of
27596         sysdeps/generic/dl-procinfo.c>.
27597         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
27598         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
27599         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
27600         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
27601         [$(subdir) == elf] (tests-static): Add
27602         tst-get-cpu-features-static.
27603         * sysdeps/x86/Versions: New file.
27604         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
27605         * sysdeps/x86/cpu-features.c: Likewise.
27606         * sysdeps/x86/cpu-features.h: Likewise.
27607         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
27608         * sysdeps/x86/libc-start.c: Likewise.
27609         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
27610         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
27611         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
27612         * sysdeps/x86_64/dl-procinfo.c: Likewise.
27613         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
27614         Assume USE_MULTIARCH is defined and don't check it.
27615         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
27616         (is_amd): Likewise.
27617         (max_cpuid): Likewise.
27618         (intel_check_word): Likewise.
27619         (__cache_sysconf): Don't call __init_cpu_features.
27620         (__x86_preferred_memory_instruction): Removed.
27621         (init_cacheinfo): Don't call __init_cpu_features. Replace
27622         __cpu_features with GLRO(dl_x86_cpu_features).
27623         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
27624         (dl_platform_init): Call init_cpu_features.
27625         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
27626         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
27627         * sysdeps/x86_64/multiarch/Versions: Removed.
27628         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
27629         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
27630         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
27631         Removed.
27632         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
27634 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27636         [BZ #18820]
27637         * libio/Makefile (test-fmemopen-mem): New test.
27638         * libio/test-fmemopen.c (do_bz18820): New test.
27639         * libio/fmemopen.c (__fmemopen): Fix memory leak.
27640         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
27642 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27644         [BZ #16734]
27645         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
27646         (FREE_BUF): Delete.
27647         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
27648         * libio/genops.c (_IO_setb): Use malloc and free directly.
27649         (_IO_default_doallocate, _IO_default_finish): Likewise.
27650         ( _IO_unbuffer_all): Likewise.
27651         ( libc_freeres_fn): Likewise.
27652         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27653         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
27654         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
27655         (_IO_wdefault_doallocate): Likewise.
27657 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27659         [BZ #18086]
27660         * sysdeps/posix/nice.c (nice): Restore old errno.
27661         * posix/tst-nice.c (do_test): Add test for BZ #18086.
27663 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
27665         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
27667 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27669         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
27670         __bcopy and add a weak_alias to bcopy.
27671         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
27672         for static build.
27674         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
27675         cleanup macro usage.
27676         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
27677         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
27678         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27679         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
27680         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27681         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
27682         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
27683         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27684         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27685         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
27686         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27687         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
27688         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27689         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
27690         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27691         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
27692         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
27693         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
27694         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27696         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
27697         libc_hidden_def.
27698         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
27700         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
27701         (sysdep_routines): Add strstr-ppc64.
27702         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
27704 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
27706         [BZ #18778]
27707         * elf/Makefile (tests): Add Add tst-nodelete2.
27708         (modules-names): Add tst-nodelete2mod.
27709         (tst-nodelete2mod.so-no-z-defs): New.
27710         ($(objpfx)tst-nodelete2): Likewise.
27711         ($(objpfx)tst-nodelete2.out): Likewise.
27712         (LDFLAGS-tst-nodelete2): Likewise.
27713         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
27714         out of loop through all loaded libraries.
27715         * elf/tst-nodelete2.c: New file.
27716         * elf/tst-nodelete2mod.c: Likewise.
27717         * elf/tst-znodelete-zlib.cc: Delete.
27719 2015-08-11  Andreas Schwab  <schwab@suse.de>
27721         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
27722         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
27723         (__openat64_nocancel): Likewise.
27725 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
27727         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
27728         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
27729         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
27730         * math/auto-libm-test-out: Regenerated.
27731         * sysdeps/i386/fpu/libm-test-ulps: Update.
27732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27734 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27736         [BZ #18790]
27737         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
27738         threshold for returning +/- 1.
27739         * math/auto-libm-test-in: Add more tests of tanh.
27740         * math/auto-libm-test-out: Regenerated.
27741         * sysdeps/i386/fpu/libm-test-ulps: Update.
27743 2015-08-10  Andreas Schwab  <schwab@suse.de>
27745         [BZ #18781]
27746         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
27747         MORE_OFLAGS to oflag.
27748         * io/test-lfs.c (do_test): Test openat64.
27750 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27752         [BZ #18789]
27753         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
27754         smaller threshold for returning the argument.
27755         * math/auto-libm-test-in: Add more tests of sinh.
27756         * math/auto-libm-test-out: Regenerated.
27757         * sysdeps/i386/fpu/libm-test-ulps: Update.
27759 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
27761         [BZ #18674]
27762         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
27763         break.
27765 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
27767         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
27768         (generated): Don't add $(addprefix z.,$(tzfiles)).
27770 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27772         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
27773         * scripts/sysd-rules.awk: Likewise.
27775 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27777         * iconvdata/tst-tables.sh: Change echo -n to printf.
27778         * nss/db-Makefile: Likewise.
27779         * posix/tst-getconf.sh: Likewise.
27780         * stdio-common/tst-unbputc.sh: Likewise.
27782 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27784         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
27785         MADV_*_PAGES defines behind this feature check.
27787 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
27789         [BZ #18480]
27790         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
27791         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
27792         Define.
27793         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
27794         LOAD_REGS_5, LOAD_REGS_6): Update.
27795         (INTERNAL_SYSCALL): Update using new LOAD defines.
27796         (INTERNAL_SYSCALL_NCS): Likewise.
27797         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
27799 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27801         [BZ #16734]
27802         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
27804 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27806         [BZ #17905]
27807         * catgets/Makefile (tst-catgets-mem): New test.
27808         * catgets/catgets.c (catopen): Don't use unbounded alloca.
27809         * catgets/open_catalog.c (__open_catalog): Likewise.
27810         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
27812 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
27814         [BZ #18787]
27815         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
27816         clobber registers.
27817         (atomic_compare_and_exchange_val_acq): Use register asms to assign
27818         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
27819         Cast return to __typeof (oldval).
27821 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
27823         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
27824         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
27825         and delete sys/syscall.h include.
27827 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
27829         [BZ #16517]
27830         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
27831         (tan): Force underflow exception for arguments with small absolute
27832         value.
27833         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
27834         (__kernel_tanf): Force underflow exception for arguments with
27835         small absolute value.
27836         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
27837         (__kernel_tanl): Force underflow exception for arguments with
27838         small absolute value.
27839         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
27840         (__kernel_tanl): Force underflow exception for arguments with
27841         small absolute value.
27842         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
27843         (__kernel_tanl): Force underflow exception for arguments with
27844         small absolute value.
27845         * math/auto-libm-test-in: Add more tests of tan.
27846         * math/auto-libm-test-out: Regenerated.
27848 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27850         Fix sysdeps/i386/fpu/s_scalbn.S build
27852         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
27854 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
27856         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
27858 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27860         Fix gcrt0.o compilation
27862         When static-start-installed-name is different from
27863         start-installed-name, we must not use the shared objects.
27865         * csu/Makefile
27866         (extra-objs): Add gmon-start.o when building shared library and
27867         $(static-start-installed-name) is different from
27868         $(start-installed-name).
27869         $(objpfx)g$(static-start-installed-name): When building shared
27870         library and $(static-start-installed-name) is different from
27871         $(static-start-installed-name), revert to non-shared rule,
27872         i.e. using $(objpfx)% and gmon-start.o.
27874 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
27876         [BZ #16519]
27877         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
27878         (__ieee754_sinh): Force underflow exception for arguments with
27879         small absolute value.
27880         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
27881         (__ieee754_sinhf): Force underflow exception for arguments with
27882         small absolute value.
27883         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
27884         (__ieee754_sinhl): Force underflow exception for arguments with
27885         small absolute value.
27886         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
27887         (__ieee754_sinhl): Force underflow exception for arguments with
27888         small absolute value.
27889         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
27890         (__ieee754_sinhl): Force underflow exception for arguments with
27891         small absolute value.
27892         * math/auto-libm-test-in: Add more tests of sinh.
27893         * math/auto-libm-test-out: Regenerated.
27894         * sysdeps/i386/fpu/libm-test-ulps: Update.
27896 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27898         * libio/oldfileops.c: Include unistd.h.
27900 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
27902         * stdlib/isomac.c: Include ctype.h.
27904 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
27906         * dirent/tst-seekdir.c (main): Converted to ...
27907         (do_test): ... this.
27908         (TEST_FUNCTION): New macro.
27909         Include test-skeleton.c.
27910         * elf/tst-dlmodcount.c (main): Converted to ...
27911         (do_test): ... this.
27912         (TEST_FUNCTION): New macro.
27913         Include test-skeleton.c.
27914         * elf/tst-order-main.c (main): Converted to ...
27915         (do_test): ... this.
27916         (TEST_FUNCTION): New macro.
27917         Include test-skeleton.c.
27918         * elf/tst-pie2.c (main): Converted to ...
27919         (do_test): ... this.
27920         (TEST_FUNCTION): New macro.
27921         Include test-skeleton.c.
27922         * inet/tst-ether_aton.c (main): Converted to ...
27923         (do_test): ... this.
27924         (TEST_FUNCTION): New macro.
27925         Include test-skeleton.c.
27926         * misc/tst-mntent.c (main): Converted to ...
27927         (do_test): ... this.
27928         (TEST_FUNCTION): New macro.
27929         Include test-skeleton.c.
27930         * misc/tst-tsearch.c (main): Converted to ...
27931         (do_test): ... this.
27932         (TEST_FUNCTION): New macro.
27933         Include test-skeleton.c.
27934         * posix/tst-regexloc.c (main): Converted to ...
27935         (do_test): ... this.
27936         (TEST_FUNCTION): New macro.
27937         Include test-skeleton.c.
27938         * resolv/tst-aton.c (main): Converted to ...
27939         (do_test): ... this.
27940         (TEST_FUNCTION): New macro.
27941         Include test-skeleton.c.
27942         * stdio-common/test-fwrite.c (main): Converted to ...
27943         (do_test): ... this.
27944         (TEST_FUNCTION): New macro.
27945         Include test-skeleton.c.
27946         * stdio-common/tst-ferror.c (main): Converted to ...
27947         (do_test): ... this.
27948         (TEST_FUNCTION): New macro.
27949         Include test-skeleton.c.
27950         * stdio-common/tst-printf.c (main): Converted to ...
27951         (do_test): ... this.
27952         (TEST_FUNCTION): New macro.
27953         Include test-skeleton.c.
27954         * stdio-common/tst-printfsz.c (main): Converted to ...
27955         (do_test): ... this.
27956         (TEST_FUNCTION): New macro.
27957         Include test-skeleton.c.
27958         * stdlib/tst-strtod.c (main): Converted to ...
27959         (do_test): ... this.
27960         (TEST_FUNCTION): New macro.
27961         Include test-skeleton.c.
27962         * string/tst-strlen.c (main): Converted to ...
27963         (do_test): ... this.
27964         (TEST_FUNCTION): New macro.
27965         Include test-skeleton.c.
27966         * string/tst-svc.c (main): Converted to ...
27967         (do_test): ... this.
27968         (TEST_FUNCTION): New macro.
27969         Include test-skeleton.c.
27970         * time/tst-strptime.c (main): Converted to ...
27971         (do_test): ... this.
27972         (TEST_FUNCTION): New macro.
27973         Include test-skeleton.c.
27974         * timezone/tst-timezone.c (main): Converted to ...
27975         (do_test): ... this.
27976         (TEST_FUNCTION): New macro.
27977         Include test-skeleton.c.
27979 2015-08-05  Zack Weinberg  <zackw@panix.com>
27981         * misc/regexp.h: Update comments.
27983 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
27985         [BZ #18635]
27986         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
27987         before return label.
27989 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27991         [BZ #18661]
27992         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
27993         when calling __errno_location.
27994         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
27995         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
27997 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27999         [BZ #18661]
28000         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
28001         (__lll_timedwait_tid): Align stack to 16 bytes when calling
28002         __gettimeofday.
28004 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28006         [BZ #18661]
28007         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28008         (__start_context): Don't use pop to restore %rdi so that stack
28009         is aligned to 16 bytes when calling __setcontext.
28011 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28013         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
28014         only for libc.
28015         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28017 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28019         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
28020         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
28021         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
28023 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28025         * string/memccpy.c (memccpy):
28026         Improve performance by using memchr/memcpy/__mempcpy.
28028 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28030         * string/strncpy.c (strncpy):
28031         Improve performance by using __strnlen/memcpy.
28033 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28035         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28036         Optimize to avoid an unnecessary FPCR read.
28038 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28040         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
28041         Optimize to reduce FPCR/FPSR accesses.
28043 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28045         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
28046         dead->data[category] != NULL.
28048 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
28050         [BZ #18647]
28051         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
28052         and |x| close to 1, use absolute value of x when computing log.
28053         * math/auto-libm-test-in: Add more tests of pow.
28054         * math/auto-libm-test-out: Regenerated.
28056 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28058         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
28059         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
28060         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
28062 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
28064         [BZ #18525]
28065         * locales/km_KH: Remove timezone definition.
28066         * locales/lo_LA: Likewise.
28067         * locales/my_MM: Likewise.
28068         * locales/nan_TW@latin: Likewise.
28069         * locales/th_TH: Likewise.
28070         * locales/uk_UA: Likewise.
28072 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
28074         [BZ #18265]
28075         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
28076         (wcsncat): Likewise.
28077         (wcscmp): Likewise.
28078         (wcsncmp): Likewise.
28080 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28082         * test-skeleton.c (usage): New function.
28083         (main): Call usage when opt is '?'.
28085 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28087         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
28088         before first use.
28090 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28092         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
28093         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
28094         in there too.
28096 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
28098         * version.h (RELEASE): Set to "development".
28099         (VERSION): Set to "2.22.90"
28101         * version.h (RELEASE): Set to "stable".
28102         (VERSION): Set to "2.22"
28103         * include/features.h (__GLIBC_MINOR__): Set to 22.
28105 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
28107         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
28108         Restructure macro to avoid "value computed is not used" warning.
28109         (atomic_compare_and_exchange_val_acq): Likewise.
28111 2015-08-04  Andreas Schwab  <schwab@suse.de>
28113         [BZ #18635]
28114         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
28115         ret.
28116         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
28118 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
28120         * po/pl.po: Updated translation.
28121         * po/uk.po: Likewise.
28122         * po/fi.po: Likewise.
28123         * po/ko.po: Likewise.
28124         * po/ru.po: Likewise.
28125         * po/vi.po: Likewise.
28127 2015-07-31  Zack Weinberg  <zackw@panix.com>
28129         [BZ #18681]
28130         * regexp.h: Add unconditional #warning stating that this header
28131         will be removed soon.  Revise banner comment to match.
28132         (compile): Consistently use ERROR instead of RETURN to report
28133         errors (partial fix for BZ #18681).
28134         * regexp.c: Don't include regexp.h. Remove some unnecessary
28135         declarations.
28137 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
28139         * po/libc.pot: Regenerated.
28141 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28143         [BZ #18740]
28144         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
28145         float-vlen4-arch-ext-cflags): Removed.
28146         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
28147         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
28149 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28151         [BZ #14113]
28152         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
28153         aligned to __aligned__.
28154         (pthread_cond_t, pthread_rwlock_t): Likewise.
28156 2015-07-30  Torvald Riegel  <triegel@redhat.com>
28158         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
28160 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28162         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
28163         (struct sigaction): Change sa_flags from a long to an int, and add
28164         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
28166 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28168         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
28169         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
28170         sysdeps/generic/sysdep.h include.
28171         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
28172         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
28173         sysdeps/hppa/sysdep.h.
28174         (ENTRY, PSEUDO): Undefine before defining.
28176 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28178         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
28179         from scratch to use INTERNAL_SYSCALL.
28181 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
28183         [BZ #18078]
28184         * scripts/check-localplt.awk: Support alternate relocations.
28185         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
28186         sections.
28187         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
28188         malloc entries with + REL R_386_GLOB_DAT.
28189         * sysdeps/x86_64/localplt.data: New file.
28191 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
28193         [BZ #18731]
28194         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
28195         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28196         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28198 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28200         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
28202 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28204         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
28205         directly in terms of __sync_fetch_and_add and delete (int) cast.
28207 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28209         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
28210         the -D_ASM_IA64_CURRENT_H flag.
28212 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28214         [BZ #18641]
28215         * pwd/pwd.h (putpwent): Delete __nonnull markings.
28217 2015-07-27  Andreas Schwab  <schwab@suse.de>
28219         * conform/conformtest.pl (checknamespace): Filter out string
28220         literals while tokenizing.
28222 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
28224         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
28225         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
28226         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
28228 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
28230         * nptl/tst-join7mod.c: Add #include <string.h>.
28232 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
28234         * sysdeps/nios2/libm-test-ulps: Update.
28236 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
28238         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
28239         Fix order of arguments to the rt_sigprocmask syscall.
28240         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
28241         Likewise.
28243 2015-07-24  Roland McGrath  <roland@hack.frob.com>
28245         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
28247 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28249         [BZ #18457]
28250         * nptl/Makefile (tests): New test case tst-join7.
28251         (modules-names): New test case module tst-join7mod.
28252         * nptl/tst-join7.c: New file.
28253         * nptl/tst-join7mod.c: New file.
28254         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
28255         all translation units in libc.so, libpthread.so and rtld.
28257 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28261 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
28263         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
28264         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
28265         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
28266         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
28267         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
28268         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
28269         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
28270         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
28271         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
28272         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
28273         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
28274         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
28275         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
28276         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
28277         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
28278         implementation.
28280 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28282         [BZ #17711]
28283         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
28284         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
28285         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
28286         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
28287         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
28288         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
28290 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28292         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
28293         instead of just saying load lock in the comments.
28295 2015-07-23  Roland McGrath  <roland@hack.frob.com>
28297         * sysdeps/unix/Subdirs: Moved ...
28298         * sysdeps/posix/Subdirs: ... here.
28299         * login/pty.h (struct termios, struct winsize): Add forward decls.
28300         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
28301         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
28302         * sysdeps/arm/nacl/libc.abilist: Updated.
28303         * sysdeps/nacl/libutil.abilist: New file.
28305         * bits/signum.h: Update comments to mention 1003.1-2013 too.
28306         (SIGWINCH): New macro.
28308         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
28309         * sysdeps/arm/nacl/libc.abilist: Add it.
28311 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
28313         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
28315 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
28317         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
28318         Swap __glibc_reserved0 and sa_flags order.
28320 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28322         [BZ #18657]
28323         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
28324         are pending TLS destructor calls.
28325         * include/link.h (struct link_map): Add concurrency note for
28326         L_TLS_DTOR_COUNT.
28327         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
28328         Don't touch the link map flag.  Atomically increment
28329         l_tls_dtor_count.
28330         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
28331         Avoid taking the load lock and don't touch the link map flag.
28332         * stdlib/tst-tls-atexit-nodelete.c: New test case.
28333         * stdlib/Makefile (tests): Use it.
28334         * stdlib/tst-tls-atexit.c (do_test): dlopen
28335         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
28336         to allow tst-tls-atexit-nodelete test case to use it.
28338 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28340         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
28341         to bits/types.h.
28342         (msgqnum_t): New typedef.
28343         (msglen_t): Likewise.
28344         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
28345         and msg_qbytes type to msglen_t.
28347 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28349         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
28350         pad0 to __glibc_reserved0.
28351         (struct stat64): Likewise.
28353 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28355         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
28356         Change sa_flags from a long to an int and add __glibc_reserved0 before
28357         it for padding.
28359 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28361         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
28362         anonymous by deleting "siginfo" name.
28364 2015-07-21  Roland McGrath  <roland@hack.frob.com>
28366         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
28367         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
28368         rather than __nacl_irt_filename.
28369         * sysdeps/nacl/xstat.c (__xstat): Likewise.
28371         * NEWS: New item for arm-nacl port.
28372         * sysdeps/arm/nacl/libc.abilist: New file.
28373         * sysdeps/nacl/ld.abilist: New file.
28374         * sysdeps/nacl/libBrokenLocale.abilist: New file.
28375         * sysdeps/nacl/libanl.abilist: New file.
28376         * sysdeps/nacl/libcrypt.abilist: New file.
28377         * sysdeps/nacl/libdl.abilist: New file.
28378         * sysdeps/nacl/libm.abilist: New file.
28379         * sysdeps/nacl/libpthread.abilist: New file.
28380         * sysdeps/nacl/libresolv.abilist: New file.
28381         * sysdeps/nacl/librt.abilist: New file.
28383 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
28385         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
28386         __startcontext to initialize the new context.
28387         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
28388         up CFI directive to forbid further backtracing.
28390 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
28392         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
28393         reference.
28394         * charmaps/ANSI_X3.4-1968: Likewise.
28395         * charmaps/BS_4730: Likewise.
28396         * charmaps/BS_VIEWDATA: Likewise.
28397         * charmaps/CP1250: Likewise.
28398         * charmaps/CP1251: Likewise.
28399         * charmaps/CP1252: Likewise.
28400         * charmaps/CP1253: Likewise.
28401         * charmaps/CP1254: Likewise.
28402         * charmaps/CP1255: Likewise.
28403         * charmaps/CP1256: Likewise.
28404         * charmaps/CSN_369103: Likewise.
28405         * charmaps/EBCDIC-DK-NO: Likewise.
28406         * charmaps/GB_1988-80: Likewise.
28407         * charmaps/GREEK-CCITT: Likewise.
28408         * charmaps/GREEK7: Likewise.
28409         * charmaps/INIS-8: Likewise.
28410         * charmaps/ISIRI-3342: Likewise.
28411         * charmaps/ISO_2033-1983: Likewise.
28412         * charmaps/ISO_5427-EXT: Likewise.
28413         * locales/POSIX: Likewise.
28414         * locales/ar_SA: Likewise.
28415         * locales/be_BY: Likewise.
28416         * locales/be_BY@latin: Likewise.
28417         * locales/ca_ES: Likewise.
28418         * locales/cs_CZ: Likewise.
28419         * locales/da_DK: Likewise.
28420         * locales/de_BE: Likewise.
28421         * locales/de_CH: Likewise.
28422         * locales/de_LU: Likewise.
28423         * locales/en_AU: Likewise.
28424         * locales/en_BW: Likewise.
28425         * locales/en_CA: Likewise.
28426         * locales/en_DK: Likewise.
28427         * locales/en_GB: Likewise.
28428         * locales/en_IE: Likewise.
28429         * locales/en_NZ: Likewise.
28430         * locales/en_ZA: Likewise.
28431         * locales/en_ZW: Likewise.
28432         * locales/es_AR: Likewise.
28433         * locales/es_BO: Likewise.
28434         * locales/es_CL: Likewise.
28435         * locales/es_CO: Likewise.
28436         * locales/es_DO: Likewise.
28437         * locales/es_EC: Likewise.
28438         * locales/es_ES: Likewise.
28439         * locales/es_HN: Likewise.
28440         * locales/es_MX: Likewise.
28441         * locales/es_PA: Likewise.
28442         * locales/es_PE: Likewise.
28443         * locales/es_PY: Likewise.
28444         * locales/es_SV: Likewise.
28445         * locales/es_US: Likewise.
28446         * locales/es_UY: Likewise.
28447         * locales/es_VE: Likewise.
28448         * locales/et_EE: Likewise.
28449         * locales/fa_IR: Likewise.
28450         * locales/fo_FO: Likewise.
28451         * locales/fr_CA: Likewise.
28452         * locales/fr_CH: Likewise.
28453         * locales/gv_GB: Likewise.
28454         * locales/he_IL: Likewise.
28455         * locales/hr_HR: Likewise.
28456         * locales/id_ID: Likewise.
28457         * locales/is_IS: Likewise.
28458         * locales/it_CH: Likewise.
28459         * locales/iw_IL: Likewise.
28460         * locales/kl_GL: Likewise.
28461         * locales/ko_KR: Likewise.
28462         * locales/kw_GB: Likewise.
28463         * locales/lg_UG: Likewise.
28464         * locales/lt_LT: Likewise.
28465         * locales/lv_LV: Likewise.
28466         * locales/mi_NZ: Likewise.
28467         * locales/nhn_MX: Likewise.
28468         * locales/nl_BE: Likewise.
28469         * locales/pl_PL: Likewise.
28470         * locales/sk_SK: Likewise.
28471         * locales/sl_SI: Likewise.
28472         * locales/sv_FI: Likewise.
28473         * locales/tl_PH: Likewise.
28474         * locales/tr_TR: Likewise.
28475         * locales/vi_VN: Likewise.
28477 2015-07-21  Khem Raj  <raj.khem@gmail.com>
28479         [BZ #17475]
28480         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
28481         of tu_IN and bh_IN.
28483 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
28485         [BZ #18694]
28486         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
28487         bits/wordsize.h.
28488         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
28490 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28492         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
28493         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
28494         (spawn_thread): New function.
28495         (load): Rename to reg_dtor_and_close.  Move dlopen to...
28496         (do_test): ... here.  Use IS_LOADED to test for its
28497         availability.
28499 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
28501         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28503 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
28505         [BZ #18696]
28506         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
28507         si_addr_bnd.
28508         (si_lower): New.
28509         (si_upper): Likewise.
28511 2015-07-16  David S. Miller  <davem@davemloft.net>
28513         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
28515 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28517         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
28518         buffer.
28519         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
28520         fail output information.
28522 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28524         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
28525         and strstr-ppc64..
28526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28527         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
28528         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
28529         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
28530         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
28532 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28534         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28535         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28536         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28537         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28539 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28541         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
28542         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
28543         rtld_hidden_proto.
28544         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
28546 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28548         * tst-nodelete-opened.c (do_test): Add comment to clarify how
28549         the test can fail.
28551         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
28553         [BZ #18676]
28554         * elf/tst-nodelete-opened.c: New test case.
28555         * elf/tst-nodelete-opened-lib.c: New test case module.
28556         * elf/Makefile (tests, modules-names): Use them.
28557         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
28558         early.
28560 2015-07-15  David S. Miller  <davem@davemloft.net>
28562         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
28563         futex-intenal.h
28564         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
28565         * sysdeps/sparc/sparc64/Makefile: Likewise.
28566         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28567         Remove space from macro define.
28568         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
28570 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
28572         [BZ #17475]
28573         * locale/iso-639.def: Update Bhili and Tulu language codes as
28574         per iso639-3.
28576 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
28578         * elf/tst-leaks1.c (main): Converted to ...
28579         (do_test): ... this.
28580         (TEST_FUNCTION): New macro.
28581         Include test-skeleton.c.
28582         * localedata/tst-langinfo.c (main): Converted to ...
28583         (do_test): ... this.
28584         (TEST_FUNCTION): New macro.
28585         Include test-skeleton.c.
28586         * math/test-fpucw.c (main): Converted to ...
28587         (do_test): ... this.
28588         (TEST_FUNCTION): New macro.
28589         Include test-skeleton.c.
28590         * math/test-tgmath.c (main): Converted to ...
28591         (do_test): ... this.
28592         (TEST_FUNCTION): New macro.
28593         Include test-skeleton.c.
28594         * math/test-tgmath2.c (main): Converted to ...
28595         (do_test): ... this.
28596         (TEST_FUNCTION): New macro.
28597         Include test-skeleton.c.
28598         * setjmp/tst-setjmp.c (main): Converted to ...
28599         (do_test): ... this.
28600         (TEST_FUNCTION): New macro.
28601         Include test-skeleton.c.
28602         * stdio-common/tst-sscanf.c (main): Converted to ...
28603         (do_test): ... this.
28604         (TEST_FUNCTION): New macro.
28605         Include test-skeleton.c.
28606         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
28607         (do_test): ... this.
28608         (TEST_FUNCTION): New macro.
28609         Include test-skeleton.c.
28611         * elf/tst-audit9.c (main): Converted to ...
28612         (do_test): ... this.
28613         (TEST_FUNCTION): New macro.
28614         Include test-skeleton.c.
28616 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
28618         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
28620 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28622         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
28623         New variable.
28625 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28627         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28629 2015-07-14  Roland McGrath  <roland@hack.frob.com>
28631         * sysdeps/generic/dl-fileid.h: New file.
28632         * sysdeps/posix/dl-fileid.h: New file.
28633         * sysdeps/nacl/dl-fileid.h: New file.
28634         * include/link.h: Include <dl-fileid.h>.
28635         (struct link_map): Replace l_dev and l_ino with l_file_id.
28636         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
28637         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
28638         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
28640 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28642         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
28644 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28646         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
28647         Add iff $CXX is set.
28648         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
28649         Likewise.
28650         (tst-nodelete-zmodiff): Likewise.
28651         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
28653 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28655         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
28657 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28659         * sysdeps/aarch64/fpu/math_private.h
28660         (define math_opt_barrier): Add AArch64 version.
28661         (math_force_eval): Likewise.
28663 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28665         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
28667 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
28669         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
28670         %ld with %jd and cast to intmax_t.
28671         (do_test_length_zero): Likewise.
28673 2015-07-10  Roland McGrath  <roland@hack.frob.com>
28675         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
28677 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
28679         * sysdeps/tile/libm-test-ulps: Regenerated.
28681         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
28682         Comment out the whole function, not just its body.
28684 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28686         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
28687         locks.
28689         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
28691 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28693         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
28694         (sem_assume_only_signals_cause_futex_EINTR): Remove.
28696 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28698         * sysdeps/nptl/futex-internal.h: New file.
28699         * sysdeps/nacl/futex-internal.h: New file.
28700         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
28701         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
28702         error checking.
28703         (setxid_unmark_thread): Likewise.
28704         (__nptl_setxid): Likewise.
28705         (__wait_lookup_done): Likewise.
28706         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28707         * nptl/nptl-init.c (sighandler_setxid): Likewise.
28708         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28709         * nptl/pthread_once.c (clear_once_control): Likewise.
28710         (__pthread_once_slow): Likewise.
28711         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28712         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
28713         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
28714         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28715         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
28716         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
28717         Likewise.
28718         (__pthread_rwlock_rdlock): Likewise.
28719         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28720         Likewise.
28721         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28722         Likewise.
28723         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
28724         Likewise.
28725         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
28726         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
28727         Likewise.
28728         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
28729         __ASSUME_PRIVATE_FUTEX check.
28730         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
28731         Check that shared futexes are supported.
28732         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
28733         wrappers with error checking.
28734         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
28735         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
28736         * nptl/pthread_barrierattr_setpshared.c
28737         (pthread_barrierattr_setpshared): Check that shared futexes are
28738         supported.
28739         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
28740         Likewise.
28741         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
28742         Likewise.
28743         * nptl/sem_init.c (futex_private_if_supported): Remove.
28744         (__new_sem_init): Adapt and check that shared futexes are supported.
28745         * nptl/sem_open.c (sem_open): Likewise.
28746         * nptl/sem_post.c (futex_wake): Remove.
28747         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
28748         (do_futex_wait): Use futex wrappers with error checking.
28749         * nptl/sem_wait.c: Include lowlevellock.h.
28750         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
28751         Use futex_supports_pshared.
28752         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
28753         Use futex wrappers with error checking.
28754         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
28755         Likewise.
28756         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
28757         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
28758         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
28759         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
28760         (futex_wake): Likewise.
28761         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
28762         (do_futex_wait): Use futex wrappers with error checking.
28763         (__new_sem_wait_slow): Update EINTR handling.
28764         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
28766 2015-07-09  Martin Sebor  <msebor@redhat.com>
28768         [BZ #18435]
28769         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28770         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
28771         * nptl/Makefile (test-xfail-tst-once5): Define.
28773 2015-07-09  Roland McGrath  <roland@hack.frob.com>
28775         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
28776         * elf/dl-minimal.c: For readability, reorder some definitions and
28777         introduce more page breaks.  Include <stdio.h>.
28778         (__libc_fatal): New function.
28780         * include/unistd.h: Add rtld_hidden_proto for _exit.
28781         * posix/_exit.c: Add rtld_hidden_def.
28782         * sysdeps/mach/hurd/_exit.c: Likewise.
28783         * sysdeps/nacl/_exit.c: Likewise.
28784         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
28785         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
28787 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
28789         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
28790         bndmov encoding with zero displacement.
28792 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
28793             H.J. Lu  <hongjiu.lu@intel.com>
28795         [BZ #18134]
28796         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
28797         * sysdeps/i386/configure: Regenerated.
28798         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28799         (_dl_runtime_profile): Save and restore Intel MPX return bound
28800         registers when calling _dl_call_pltexit.  Add
28801         PRESERVE_BND_REGS_PREFIX before return.
28802         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
28803         (LRV_BND1_OFFSET): Likewise.
28804         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
28805         lrv_bnd1.
28806         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
28807         typo in bndmov encoding.
28808         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
28809         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
28810         branch instructions to preserve bounds.
28812 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
28815         [GLIBC_2.22]: Add fmemopen.
28817 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28819         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
28820         returns an error, also try to use host port from __mach_host_self for
28821         the __vm_wire call.
28822         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
28824 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28826         [BZ #18400]
28827         [BZ #18648]
28828         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
28829         Fix pr_uid and pr_gid members.
28830         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
28831         definition to elf_greg_t.
28833 2015-07-08  Roland McGrath  <roland@hack.frob.com>
28835         [BZ #18383]
28836         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
28837         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
28838         * sysdeps/arm/configure: Regenerated.
28839         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
28840         (test-xfail-tst-tlsalign-static): Variable removed.
28842         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
28843         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
28844         rather than explicit 'ln -s'.
28846         * resolv/rpc/netdb.h: New file.
28847         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
28849 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28851         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
28852         length buffers.
28853         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28854         test-skeleton.c.
28856         [BZ #6544]
28857         [BZ #11216]
28858         [BZ #12836]
28859         [BZ #13151]
28860         [BZ #13152]
28861         [BZ #14292]
28862         * include/stdio.h (fmemopen): Remove hidden prototype.
28863         (__fmemopen): Add new hidden prototype.
28864         * libio/Makefile: Add oldfmemopen object.
28865         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
28866         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
28867         compliance.
28868         * libio/oldfmemopen.c: New file: old fmemopen implementation for
28869         symbol compatibility.
28870         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
28871         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
28872         fmemopen.
28873         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
28874         on append and read mode.
28875         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
28876         fmemopen.
28877         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
28878         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
28879         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
28880         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
28881         Likewise.
28882         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
28883         [GLIBC_2.22]: Likewise.
28884         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
28885         Likewise.
28886         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
28887         Likewise.
28888         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
28889         [GLIBC_2.22]: Likewise.
28890         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
28891         [GLIBC_2.22]: Likewise.
28892         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
28893         [GLIBC_2.22]: Likewise.
28894         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
28895         [GLIBC_2.22]: Likewise.
28896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
28897         [GLIBC_2.22]: Likewise.
28898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
28899         [GLIBC_2.22]: Likewise.
28900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
28901         [GLIBC_2.22]: Likewise.
28902         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
28903         Likewise.
28904         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
28905         Likewise.
28906         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
28907         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
28908         [GLIBC_2.22]: Likewise.
28909         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
28910         [GLIBC_2.22]: Likewise.
28911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
28912         [GLIBC_2.22]: Likewise.
28913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
28914         [GLIBC_2.22]: Likewise.
28915         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
28916         Likewise.
28917         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
28918         Likewise.
28919         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
28920         Likewise.
28921         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
28922         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
28924 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
28926         [BZ #18643]
28927         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
28928         IPV6_PATHMTU, and IPV6_DONTFRAG.
28930 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
28932         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
28933         and _IO_UNBUFFERED.
28934         * libio/oldfileops.c: Likewise.
28935         * libio/wfileops.c: Likewise.
28937 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
28939         * nscd/selinux.c: Delete selinux/flask.h include.
28941 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
28943         [BZ #18641]
28944         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
28945         (putpwent): Likewise.
28946         (getpwnam): Likewise.
28947         (getpwent_r): Likewise.
28948         (getpwuid_r): Likewise.
28949         (getpwnam_r): Likewise.
28950         (fgetpwent_r): Likewise.
28952 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
28954         [BZ #18557]
28955         * inet/rcmd.c (__validuser2_sa): Check user first to
28956         short-circuit host check.
28958 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
28959             Mikhail Ilin  <m.ilin@samsung.com>
28961         [BZ #17833]
28962         * elf/Makefile (tests): Add tst-nodelete.
28963         (modules-names): Add tst-nodelete-uniquemod.
28964         (tst-nodelete-uniquemod.so-no-z-defs): New.
28965         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
28966         (tst-nodelete-zmod.so-no-z-defs): Likewise.
28967         ($(objpfx)tst-nodelete): Likewise.
28968         ($(objpfx)tst-nodelete.out): Likewise.
28969         (LDFLAGS-tst-nodelete): Likewise.
28970         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
28971         * elf/dl-close.c (_dl_close_worker): Add a parameter to
28972         implement forced object deletion.
28973         (_dl_close): Pass false to _dl_close_worker.
28974         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
28975         * elf/tst-nodelete.cc: New file.
28976         * elf/tst-nodeletelib.cc: Likewise.
28977         * elf/tst-znodeletelib.cc: Likewise.
28978         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
28980 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28982         [BZ #18508]
28983         * stdlib/Makefile ($(objpfx)tst-makecontext3):
28984         Depend on $(libdl).
28985         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
28986         is not called infinitely times.
28987         (backtrace_helper): New function.
28988         (trace_arg): New struct.
28989         (st1): Enlarge stack size.
28990         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28991         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
28992         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28993         Likewise.
28995 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28997         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28999 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
29001         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
29002         Include sys/types.h instead of bits/types.h.
29003         Remove inclusion of bits/wordsize.h.
29005 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
29007         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
29008         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
29009         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
29010         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
29011         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
29012         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
29014 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
29016         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
29017         link-defines.sym.
29018         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
29019         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
29020         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
29021         and LR_SIZE.
29022         * sysdeps/i386/link-defines.sym: New file.
29024 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
29026         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
29027         (modules-names): Add tst-auditmod3a tst-auditmod3b.
29028         ($(objpfx)tst-audit3): New rule.
29029         ($(objpfx)tst-audit3.out): Likewise.
29030         * sysdeps/i386/tst-audit3.c: New file.
29031         * sysdeps/i386/tst-audit3.h: Likewise.
29032         * sysdeps/i386/tst-auditmod3a.c: Likewise.
29033         * sysdeps/i386/tst-auditmod3b.c: Likewise.
29035 2015-07-07  Torvald Riegel  <triegel@redhat.com>
29037         [BZ #18633]
29038         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
29039         pointer in C code.
29040         (__strcat_c): Likewise.
29041         (__strcat_g): Likewise.
29043 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
29045         [BZ #18592]
29046         * misc/sbrk.c: Set errno to ENOMEM on overflow.
29048 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
29050         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
29051         New function.  (__ieee754_sqrtf): New function.
29052         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
29053         New function.
29054         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
29055         New function.
29057 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
29059         * sysdeps/ieee754/support.c: Remove unused file.
29061 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29063         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
29064         registers instead of d ones so the layout is kernel abi compatible.
29065         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
29066         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
29067         Likewise.
29069 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29071         * sysdeps/aarch64/libm-test-ulps: Regenerated.
29073 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
29075         [BZ #18619]
29076         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
29077         and return argument in case of subnormal argument.
29079 2015-07-01  Martin Sebor  <msebor@redhat.com>
29081         [BZ #18435]
29082         * nptl/Makefile: Add tst-once5.cc.
29083         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
29084         Remove macro redefinitions.
29085         * nptl/tst-once5.cc: New test.
29087 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
29089         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29091         * sysdeps/arm/libm-test-ulps: Regenerated.
29093         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29094         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29096 2015-06-30  Torvald Riegel  <triegel@redhat.com>
29098         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
29099         lll_lock_wait_private and lll_futex_wake probes.
29101         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
29102         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
29103         Likewise.
29104         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
29105         atomic_spin_nop.
29106         * sysdeps/x86_64/bits/atomic.h: Likewise.
29107         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
29108         to atomic_spin_nop and move ...
29109         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
29110         ... here and ...
29111         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
29112         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
29113         atomic_spin_nop instead of BUSY_WAIT_NOP.
29114         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
29115         Likewise.
29116         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
29117         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
29118         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
29119         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
29120         instead of atomic_delay.
29122 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
29124         [BZ #18613]
29125         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
29126         X_ADJ not X when adjusting exponent.
29127         (__ieee754_gamma_r): Do intermediate computations in
29128         round-to-nearest then adjust overflowing and underflowing results
29129         as needed.
29130         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
29131         of X_ADJ not X when adjusting exponent.
29132         (__ieee754_gammaf_r): Do intermediate computations in
29133         round-to-nearest then adjust overflowing and underflowing results
29134         as needed.
29135         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
29136         log of X_ADJ not X when adjusting exponent.
29137         (__ieee754_gammal_r): Do intermediate computations in
29138         round-to-nearest then adjust overflowing and underflowing results
29139         as needed.  Use 1.0L not 1.0f as numerator of division.
29140         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
29141         log of X_ADJ not X when adjusting exponent.
29142         (__ieee754_gammal_r): Do intermediate computations in
29143         round-to-nearest then adjust overflowing and underflowing results
29144         as needed.  Use 1.0L not 1.0f as numerator of division.
29145         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
29146         of X_ADJ not X when adjusting exponent.
29147         (__ieee754_gammal_r): Do intermediate computations in
29148         round-to-nearest then adjust overflowing and underflowing results
29149         as needed.  Use 1.0L not 1.0f as numerator of division.
29150         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
29151         to auto-libm-test-in.
29152         (tgamma_test): Use ALL_RM_TEST.
29153         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
29154         tests of tgamma with spurious-overflow.
29155         * math/auto-libm-test-out: Regenerated.
29156         * math/gen-libm-have-vector-test.sh: Do not check for START.
29157         * sysdeps/i386/fpu/libm-test-ulps: Update.
29158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29160         [BZ #18612]
29161         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
29162         arguments, just return 0.5 times the argument, with underflow
29163         forced as needed.
29164         * math/auto-libm-test-in: Add more tests of j1.
29165         * math/auto-libm-test-out: Regenerated.
29167         [BZ #16559]
29168         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
29169         (__ieee754_j1): Force underflow exception for small results.
29170         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
29171         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
29172         (__ieee754_j1f): Force underflow exception for small results.
29173         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
29174         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29175         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29176         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
29177         (__ieee754_j1l): Force underflow exception for small results.
29178         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29179         * math/auto-libm-test-in: Add more tests of j1 and jn.
29180         * math/auto-libm-test-out: Regenerated.
29182         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
29183         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
29184         (PF_MPLS): Likewise.
29185         (AF_IB): Likewise.
29186         (AF_MPLS): Likewise.
29187         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
29188         value and macro.
29189         (MS_RMT_MASK): Include MS_LAZYTIME.
29191 2015-06-26  Mel Gorman  <mgorman@suse.de>
29193         [BZ #18502]
29194         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
29195         already minimal.
29197 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
29199         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
29200         (DT_MIPS_NUM): Update.
29201         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
29202         DT_MIPS_RLD_MAP_REL.
29204 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
29206         [BZ #16559]
29207         [BZ #18602]
29208         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
29209         round-to-nearest internally then recompute results that
29210         underflowed to zero in the original rounding mode.
29211         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
29212         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29213         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29214         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29215         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
29216         * sysdeps/i386/fpu/libm-test-ulps: Update.
29217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29219 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
29221         * NEWS: Fixed description of link with vector math library.
29223 2015-06-25  Andreas Schwab  <schwab@suse.de>
29225         [BZ #18549]
29226         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
29227         * libio/test-fmemopen.c (do_test): Add test for it.
29229 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
29231         [BZ #17841]
29232         * Makeconfig (no-pie-ldflag): New.
29233         (+link): Set to $(+link-pie) if default to PIE.
29234         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
29235         * config.make.in (build-pie-default): New.
29236         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
29237         is default.  AC_SUBST.
29238         * configure: Regenerated.
29239         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
29241 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29243         * nptl/descr.h (struct pthread): Change type of field setxid_futex
29244         to 'unsigned int'.
29246         * resolv/gai_misc.h (struct waitlist): Change type of field
29247         counterp to 'volatile unsigned int *'.
29248         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
29249         FUTEXADDR and OLDVAL.
29250         * resolv/getaddrinfo_a.c (getaddrinfo_a):
29251         Give local variable TOTAL type 'volatile unsigned int'.
29252         (struct async_waitlist): Change type of field counter to 'unsigned int'.
29253         * resolv/gai_suspend.c (gai_suspend):
29254         Give local variable CNTR type 'unsigned int'.
29256         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
29257         counterp to 'volatile unsigned int *'.
29258         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
29259         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
29260         (aio_suspend): Give local variable CNTR type 'unsigned int'.
29261         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
29262         Give local variable TOTAL type 'volatile unsigned int'.
29263         (struct async_waitlist): Change type of field counter to 'unsigned int'.
29265 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29267         [BZ #18383]
29268         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
29269         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
29270         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
29271         comment for i386/x86-64.
29272         (test-xfail-tst-tlsalign-extern-static): Removed.
29274 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29276         * math/test-double.h: New file.
29277         * math/test-float.h: Likewise.
29278         * math/test-ldouble.h: Likewise.
29279         * math/test-math-inline.h: Likewise.
29280         * math/test-math-no-inline.h: Likewise.
29281         * math/test-math-scalar.h: Likewise.
29282         * math/test-math-vector.h: Likewise.
29283         * math/test-vec-loop.h: Remove file.  Contents moved into
29284         test-math-vector.h.
29285         * math/libm-test.inc (MATHCONST): Do not document macro.
29286         * math/test-double.c: Include test-double.h, test-math-no-inline.h
29287         and test-math-scalar.h.
29288         (FUNC): Remove macro.
29289         (FUNC_TEST): Likewise.
29290         (FLOAT): Likewise.
29291         (MATHCONST): Likewise.
29292         (PRINTF_EXPR): Likewise.
29293         (PRINTF_XEXPR): Likewise.
29294         (PRINTF_NEXPR): Likewise.
29295         (TEST_DOUBLE): Likewise.
29296         (TEST_MATHVEC): Likewise.
29297         (__NO_MATH_INLINES): Likewise.
29298         * math/test-float.c: Include test-float.h, test-math-no-inline.h
29299         and test-math-scalar.h.
29300         (FUNC): Remove macro.
29301         (FUNC_TEST): Likewise.
29302         (FLOAT): Likewise.
29303         (MATHCONST): Likewise.
29304         (PRINTF_EXPR): Likewise.
29305         (PRINTF_XEXPR): Likewise.
29306         (PRINTF_NEXPR): Likewise.
29307         (TEST_FLOAT): Likewise.
29308         (TEST_MATHVEC): Likewise.
29309         (__NO_MATH_INLINES): Likewise.
29310         * math/test-idouble.c: Include test-double.h, test-math-inline.h
29311         and test-math-scalar.h.
29312         (FUNC): Remove macro.
29313         (FUNC_TEST): Likewise.
29314         (FLOAT): Likewise.
29315         (MATHCONST): Likewise.
29316         (PRINTF_EXPR): Likewise.
29317         (PRINTF_XEXPR): Likewise.
29318         (PRINTF_NEXPR): Likewise.
29319         (TEST_DOUBLE): Likewise.
29320         (TEST_MATHVEC): Likewise.
29321         (TEST_INLINE): Likewise.
29322         (__NO_MATH_INLINES): Likewise.
29323         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
29324         test-math-scalar.h.
29325         (FUNC): Remove macro.
29326         (FUNC_TEST): Likewise.
29327         (FLOAT): Likewise.
29328         (MATHCONST): Likewise.
29329         (PRINTF_EXPR): Likewise.
29330         (PRINTF_XEXPR): Likewise.
29331         (PRINTF_NEXPR): Likewise.
29332         (TEST_FLOAT): Likewise.
29333         (TEST_MATHVEC): Likewise.
29334         (TEST_INLINE): Likewise.
29335         (__NO_MATH_INLINES): Likewise.
29336         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
29337         and test-math-scalar.h.
29338         (FUNC): Remove macro.
29339         (FUNC_TEST): Likewise.
29340         (FLOAT): Likewise.
29341         (MATHCONST): Likewise.
29342         (PRINTF_EXPR): Likewise.
29343         (PRINTF_XEXPR): Likewise.
29344         (PRINTF_NEXPR): Likewise.
29345         (TEST_LDOUBLE): Likewise.
29346         (TEST_MATHVEC): Likewise.
29347         (TEST_INLINE): Likewise.
29348         (__NO_MATH_INLINES): Likewise.
29349         * math/test-ldouble.c: Include test-ldouble.h,
29350         test-math-no-inline.h and test-math-scalar.h.
29351         (FUNC): Remove macro.
29352         (FUNC_TEST): Likewise.
29353         (FLOAT): Likewise.
29354         (MATHCONST): Likewise.
29355         (PRINTF_EXPR): Likewise.
29356         (PRINTF_XEXPR): Likewise.
29357         (PRINTF_NEXPR): Likewise.
29358         (TEST_LDOUBLE): Likewise.
29359         (TEST_MATHVEC): Likewise.
29360         (__NO_MATH_INLINES): Likewise.
29361         * math/test-double-vlen2.h: Include test-double.h,
29362         test-math-no-inline.h and test-math-vector.h.
29363         (FLOAT): Remove macro.
29364         (FUNC): Likewise.
29365         (MATHCONST): Likewise.
29366         (PRINTF_EXPR): Likewise.
29367         (PRINTF_XEXPR): Likewise.
29368         (PRINTF_NEXPR): Likewise.
29369         (TEST_DOUBLE): Likewise.
29370         (TEST_MATHVEC): Likewise.
29371         (__NO_MATH_INLINES): Likewise.
29372         (CNCT): Likewise.
29373         (CONCAT): Likewise.
29374         (WRAPPER_NAME): Likewise.
29375         (WRAPPER_DECL): Likewise.
29376         (WRAPPER_DECL_ff): Likewise.
29377         (WRAPPER_DECL_fFF): Likewise.
29378         (VECTOR_WRAPPER): Likewise.
29379         (VECTOR_WRAPPER_ff): Likewise.
29380         (VECTOR_WRAPPER_fFF): Likewise.
29381         (VEC_LEN): New macro.
29382         * math/test-double-vlen4.h: Include test-double.h,
29383         test-math-no-inline.h and test-math-vector.h.
29384         (FLOAT): Remove macro.
29385         (FUNC): Likewise.
29386         (MATHCONST): Likewise.
29387         (PRINTF_EXPR): Likewise.
29388         (PRINTF_XEXPR): Likewise.
29389         (PRINTF_NEXPR): Likewise.
29390         (TEST_DOUBLE): Likewise.
29391         (TEST_MATHVEC): Likewise.
29392         (__NO_MATH_INLINES): Likewise.
29393         (CNCT): Likewise.
29394         (CONCAT): Likewise.
29395         (WRAPPER_NAME): Likewise.
29396         (WRAPPER_DECL): Likewise.
29397         (WRAPPER_DECL_ff): Likewise.
29398         (WRAPPER_DECL_fFF): Likewise.
29399         (VECTOR_WRAPPER): Likewise.
29400         (VECTOR_WRAPPER_ff): Likewise.
29401         (VECTOR_WRAPPER_fFF): Likewise.
29402         (VEC_LEN): New macro.
29403         * math/test-double-vlen8.h: Include test-double.h,
29404         test-math-no-inline.h and test-math-vector.h.
29405         (FLOAT): Remove macro.
29406         (FUNC): Likewise.
29407         (MATHCONST): Likewise.
29408         (PRINTF_EXPR): Likewise.
29409         (PRINTF_XEXPR): Likewise.
29410         (PRINTF_NEXPR): Likewise.
29411         (TEST_DOUBLE): Likewise.
29412         (TEST_MATHVEC): Likewise.
29413         (__NO_MATH_INLINES): Likewise.
29414         (CNCT): Likewise.
29415         (CONCAT): Likewise.
29416         (WRAPPER_NAME): Likewise.
29417         (WRAPPER_DECL): Likewise.
29418         (WRAPPER_DECL_ff): Likewise.
29419         (WRAPPER_DECL_fFF): Likewise.
29420         (VECTOR_WRAPPER): Likewise.
29421         (VECTOR_WRAPPER_ff): Likewise.
29422         (VECTOR_WRAPPER_fFF): Likewise.
29423         (VEC_LEN): New macro.
29424         * math/test-float-vlen4.h: Include test-float.h,
29425         test-math-no-inline.h and test-math-vector.h.
29426         (FLOAT): Remove macro.
29427         (FUNC): Likewise.
29428         (MATHCONST): Likewise.
29429         (PRINTF_EXPR): Likewise.
29430         (PRINTF_XEXPR): Likewise.
29431         (PRINTF_NEXPR): Likewise.
29432         (TEST_FLOAT): Likewise.
29433         (TEST_MATHVEC): Likewise.
29434         (__NO_MATH_INLINES): Likewise.
29435         (CNCT): Likewise.
29436         (CONCAT): Likewise.
29437         (WRAPPER_NAME): Likewise.
29438         (WRAPPER_DECL): Likewise.
29439         (WRAPPER_DECL_ff): Likewise.
29440         (WRAPPER_DECL_fFF): Likewise.
29441         (VECTOR_WRAPPER): Likewise.
29442         (VECTOR_WRAPPER_ff): Likewise.
29443         (VECTOR_WRAPPER_fFF): Likewise.
29444         (VEC_LEN): New macro.
29445         * math/test-float-vlen8.h: Include test-float.h,
29446         test-math-no-inline.h and test-math-vector.h.
29447         (FLOAT): Remove macro.
29448         (FUNC): Likewise.
29449         (MATHCONST): Likewise.
29450         (PRINTF_EXPR): Likewise.
29451         (PRINTF_XEXPR): Likewise.
29452         (PRINTF_NEXPR): Likewise.
29453         (TEST_FLOAT): Likewise.
29454         (TEST_MATHVEC): Likewise.
29455         (__NO_MATH_INLINES): Likewise.
29456         (CNCT): Likewise.
29457         (CONCAT): Likewise.
29458         (WRAPPER_NAME): Likewise.
29459         (WRAPPER_DECL): Likewise.
29460         (WRAPPER_DECL_ff): Likewise.
29461         (WRAPPER_DECL_fFF): Likewise.
29462         (VECTOR_WRAPPER): Likewise.
29463         (VECTOR_WRAPPER_ff): Likewise.
29464         (VECTOR_WRAPPER_fFF): Likewise.
29465         (VEC_LEN): New macro.
29466         * math/test-float-vlen16.h: Include test-float.h,
29467         test-math-no-inline.h and test-math-vector.h.
29468         (FLOAT): Remove macro.
29469         (FUNC): Likewise.
29470         (MATHCONST): Likewise.
29471         (PRINTF_EXPR): Likewise.
29472         (PRINTF_XEXPR): Likewise.
29473         (PRINTF_NEXPR): Likewise.
29474         (TEST_FLOAT): Likewise.
29475         (TEST_MATHVEC): Likewise.
29476         (__NO_MATH_INLINES): Likewise.
29477         (CNCT): Likewise.
29478         (CONCAT): Likewise.
29479         (WRAPPER_NAME): Likewise.
29480         (WRAPPER_DECL): Likewise.
29481         (WRAPPER_DECL_ff): Likewise.
29482         (WRAPPER_DECL_fFF): Likewise.
29483         (VECTOR_WRAPPER): Likewise.
29484         (VECTOR_WRAPPER_ff): Likewise.
29485         (VECTOR_WRAPPER_fFF): Likewise.
29486         (VEC_LEN): New macro.
29487         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
29488         test-vec-loop.h.
29489         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29490         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29491         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29492         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29493         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29494         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29495         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
29497 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29499         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
29500         (__getlogin_r): ... this.
29502 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29504         [BZ #18594]
29505         * math/s_ccosh.c (__ccosh): Compare with least normal value
29506         instead of comparing class with FP_SUBNORMAL.
29507         * math/s_ccoshf.c (__ccoshf): Likewise.
29508         * math/s_ccoshl.c (__ccoshl): Likewise.
29509         * math/s_cexp.c (__cexp): Likewise.
29510         * math/s_cexpf.c (__cexpf): Likewise.
29511         * math/s_cexpl.c (__cexpl): Likewise.
29512         * math/s_csin.c (__csin): Likewise.
29513         * math/s_csinf.c (__csinf): Likewise.
29514         * math/s_csinh.c (__csinh): Likewise.
29515         * math/s_csinhf.c (__csinhf): Likewise.
29516         * math/s_csinhl.c (__csinhl): Likewise.
29517         * math/s_csinl.c (__csinl): Likewise.
29518         * math/s_ctan.c (__ctan): Likewise.
29519         * math/s_ctanf.c (__ctanf): Likewise.
29520         * math/s_ctanh.c (__ctanh): Likewise.
29521         * math/s_ctanhf.c (__ctanhf): Likewise.
29522         * math/s_ctanhl.c (__ctanhl): Likewise.
29523         * math/s_ctanl.c (__ctanl): Likewise.
29524         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
29525         csin, csinh, ctan and ctanh.
29526         * math/auto-libm-test-out: Regenerated.
29527         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
29528         * sysdeps/i386/fpu/libm-test-ulps: Update.
29529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29531 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29533         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
29534         return value is wrong, print the expected value too.
29536 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29538         [BZ #18585]
29539         * elf/readlib.c (is_gdb_python_file): New.
29540         (process_file): Don't issue errors on filenames with -gdb.py
29541         suffix.
29543 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29545         * math/auto-libm-test-in: Add more tests of csin and csinh.
29546         * math/auto-libm-test-out: Regenerated.
29547         * math/libm-test.inc (csin_test_data): Remove tests moved to
29548         auto-libm-test-in.
29549         (csinh_test_data): Likewise.
29551         [BZ #18593]
29552         * math/s_csin.c (__csin): Negate before rather than after possibly
29553         overflowing multiplication.
29554         * math/s_csinf.c (__csinf): Likewise.
29555         * math/s_csinh.c (__csinh): Likewise.
29556         * math/s_csinhf.c (__csinhf): Likewise.
29557         * math/s_csinhl.c (__csinhl): Likewise.
29558         * math/s_csinl.c (__csinl): Likewise.
29559         * math/auto-libm-test-in: Add some tests of csin and csinh.
29560         * math/auto-libm-test-out: Regenerated.
29561         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
29562         (csinh_test_data): Likewise.
29563         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29565         [BZ #18586]
29566         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
29567         underflow exception for small results.
29569 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
29571         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29572         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
29573         variable and included header.
29574         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
29575         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
29576         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
29577         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
29578         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
29579         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
29580         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
29581         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
29582         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
29583         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
29584         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
29585         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
29586         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
29587         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
29588         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
29589         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
29591 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29593         [BZ #16526]
29594         [BZ #16538]
29595         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
29596         (__sin): Force underflow exception for arguments with small
29597         absolute value.
29598         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
29599         (__kernel_sinf): Force underflow exception for arguments with
29600         small absolute value.
29601         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
29602         (__kernel_sincosl): Force underflow exception for arguments with
29603         small absolute value.
29604         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
29605         (__kernel_sinl): Force underflow exception for arguments with
29606         small absolute value.
29607         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
29608         (__kernel_sincosl): Force underflow exception for arguments with
29609         small absolute value.
29610         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
29611         (__kernel_sinl): Force underflow exception for arguments with
29612         small absolute value.
29613         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
29614         (__kernel_sinl): Force underflow exception for arguments with
29615         small absolute value.
29616         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
29617         (__kernel_sinf): Force underflow exception for arguments with
29618         small absolute value.
29619         * math/auto-libm-test-in: Add more tests of sin and sincos.
29620         * math/auto-libm-test-out: Regenerated.
29622         [BZ #18245]
29623         [BZ #18583]
29624         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
29625         (__kernel_standard_l): Use feholdexcept and fesetenv around
29626         conversion to double instead of special-casing overflow and
29627         underflow.
29628         * math/libm-test.inc (fmod_test_data): Add more tests.
29629         (remainder_test_data): Likewise.
29630         (sqrt_test_data): Likewise.
29632 2015-06-23  Torvald Riegel  <triegel@redhat.com>
29634         [BZ #17403]
29635         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
29636         atomic_read_barrier, atomic_write_barrier): Define.
29637         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
29638         atomic_read_barrier, atomic_write_barrier): Define.
29640 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29642         * math/Makefile [$(PERL) != no]
29643         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
29644         dependency on libm-test.stmp below the inclusion of Rules.
29646 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
29648         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29649         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
29650         and included header.
29651         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
29652         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
29653         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
29654         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
29655         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
29656         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
29657         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
29658         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
29659         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
29660         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
29661         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
29662         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
29663         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
29664         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
29665         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
29666         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
29667         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
29668         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
29669         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
29671 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29673         [BZ #18371]
29674         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
29675         intermediate but not final result might underflow.
29676         * math/s_csqrtf.c (__csqrtf): Likewise.
29677         * math/s_csqrtl.c (__csqrtl): Likewise.
29678         * math/auto-libm-test-in: Add more tests of csqrt.
29679         * math/auto-libm-test-out: Regenerated.
29680         * sysdeps/i386/fpu/libm-test-ulps: Update.
29682         [BZ #18219]
29683         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
29684         threshold on absolute value of exponent for which scaling is used.
29685         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29686         * math/auto-libm-test-in: Add more tests of exp2.
29687         * math/auto-libm-test-out: Regenerated.
29689 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
29691         [BZ #17977]
29692         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
29693         when initializing interface list, based on the bug analysis
29694         and the patch proposed by Eric Newton.
29695         * resolv/tst-res_hconf_reorder.c: New test.
29696         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
29697         tst-res_hconf_reorder.
29698         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
29699         and $(shared-thread-library).
29700         (tst-res_hconf_reorder-ENV): New variable.
29702         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
29703         in comment.
29705 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
29707         [BZ #16353]
29708         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
29709         (__expm1): Force underflow exception for arguments with small
29710         absolute value.
29711         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
29712         (__expm1f): Force underflow exception for arguments with small
29713         absolute value.
29714         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
29715         (__expm1): Force underflow exception for arguments with small
29716         absolute value.
29717         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
29718         (__expm1f): Force underflow exception for arguments with small
29719         absolute value.
29720         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29721         Check for small arguments before calling __expm1.
29722         * math/auto-libm-test-in: Do not mark underflow exceptions as
29723         possibly missing for bug 16353.
29724         * math/auto-libm-test-out: Regenerated.
29726 2015-06-22  Andreas Schwab  <schwab@suse.de>
29728         [BZ #18513]
29729         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
29730         PTR queries.
29732 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
29734         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
29736         * string/strcoll_l.c: Remove unused struct element idxnow.
29738 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
29740         [BZ #18569]
29741         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
29742         underflow and return argument in case of subnormal argument.
29743         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29744         Likewise.
29745         * math/auto-libm-test-in: Add more tests of expm1.
29746         * math/auto-libm-test-out: Regenerated.
29748         [BZ #16361]
29749         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29750         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29751         tiny results.
29752         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29753         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29754         tiny results.
29755         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
29756         mark underflow exceptions as possibly missing for bug 16361.
29757         * math/auto-libm-test-out: Regenerated.
29759 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
29761         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
29762         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
29763         Remove variable.
29764         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
29765         (test-xfail-XOPEN2K8/utmpx.h/conform).
29767         * conform/conformtest.pl ($xerrors): New variable.
29768         (note_error): New function.
29769         (compiletest): New argument $xfail.  Use not_error.
29770         (runtest): Likewise.
29771         (top level): Handle xfail- lines.  Update calls to compiletest and
29772         runtest.  Handle xfail- and optional- in headers listed with
29773         allow-header.
29774         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
29775         (O_EXEC): Likewise.
29776         (O_SEARCH): Likewise.
29777         * conform/data/stropts.h-data (ioctl): Likewise.
29778         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
29779         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
29780         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
29781         (msghdr.msg_controllen): Likewise.
29782         (cmsghdr.cmsg_len): Likewise.
29783         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
29784         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
29785         variable.
29786         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
29787         (test-xfail-XPG4/stropts.h/conform): Likewise.
29788         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
29789         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
29790         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
29791         (test-xfail-UNIX98/stropts.h/conform): Likewise.
29792         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
29793         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
29794         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
29795         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
29796         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
29797         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
29798         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
29799         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
29800         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
29801         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
29802         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
29803         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
29804         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
29805         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
29806         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
29808 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
29810         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
29811         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
29812         definitions for proper unfolding of __MATHDECL_VEC.
29814 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29816         * benchtests/bench-strcoll.c:
29817         Include string.h.
29818         (main): Remove unused variable res.
29820 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29822         * timezone/Makefile (%/UTC %/Universal):
29823         Generate test-result files for UTC and Universal.
29825 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29827         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29829 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
29831         [BZ #16350]
29832         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
29833         for arguments with small absolute value.
29834         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
29835         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
29836         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
29837         (__asinh): Force underflow exception for arguments with small
29838         absolute value.
29839         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
29840         (__asinhf): Force underflow exception for arguments with small
29841         absolute value.
29842         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
29843         (__asinhl): Force underflow exception for arguments with small
29844         absolute value.
29845         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
29846         (__asinhl): Force underflow exception for arguments with small
29847         absolute value.
29848         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
29849         (__asinhl): Force underflow exception for arguments with small
29850         absolute value.
29851         * math/auto-libm-test-in: Do not mark underflow exceptions as
29852         possibly missing for bug 16350.
29853         * math/auto-libm-test-out: Regenerated.
29855         * include/bits/ipc.h: Remove file.
29856         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
29857         variable.
29858         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
29859         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
29860         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
29861         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
29862         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
29863         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
29864         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
29865         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
29866         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
29868         * math/auto-libm-test-in: Remove spurious underflow allowance for
29869         tests of cexp.
29870         * math/auto-libm-test-out: Regenerated.
29872         [BZ #18558]
29873         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
29874         unconditional definition.
29875         (MCAST_BLOCK_SOURCE): Likewise.
29876         (MCAST_UNBLOCK_SOURCE): Likewise.
29877         (MCAST_LEAVE_GROUP): Likewise.
29878         (MCAST_JOIN_SOURCE_GROUP): Likewise.
29879         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
29880         (MCAST_MSFILTER): Likewise.
29881         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
29882         Remove variable.
29883         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
29884         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
29885         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
29886         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
29887         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
29889 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
29891         * NEWS: Mention addition of x86_64 vector sincosf.
29892         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
29893         * math/test-float-vlen4.h: Likewise.
29894         * math/test-float-vlen8.h: Likewise.
29895         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29896         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
29897         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29898         * sysdeps/x86_64/fpu/Versions: New versions added.
29899         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29900         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29901         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29902         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
29903         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
29904         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
29905         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
29906         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
29907         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
29908         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
29909         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
29910         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
29911         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
29912         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
29913         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
29914         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
29915         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
29916         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
29917         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29918         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29919         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29920         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29921         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29922         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29924         * NEWS: Mention addition of x86_64 vector sincos.
29925         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
29926         * math/math.h (__MATHDECL_VEC): New macro.
29927         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
29928         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
29929         declaration under condition.
29930         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
29931         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
29932         TEST_VEC_LOOP change.
29933         * math/test-double-vlen4.h: Likewise.
29934         * math/test-double-vlen8.h: Likewise.
29935         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
29936         * math/test-float-vlen4.h: Likewise.
29937         * math/test-float-vlen8.h: Likewise.
29938         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29939         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
29940         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29941         * sysdeps/x86_64/fpu/Versions: New versions added.
29942         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29943         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29944         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29945         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
29946         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
29947         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
29948         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
29949         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
29950         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
29951         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
29952         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
29953         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
29954         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
29955         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
29956         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
29957         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
29958         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
29959         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29960         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29961         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29962         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29963         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29964         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29965         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29967         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29968         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29969         redirections for powf.
29970         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29971         * sysdeps/x86_64/fpu/Versions: New versions added.
29972         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29973         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29974         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29975         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
29976         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
29977         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
29978         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
29979         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
29980         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
29981         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
29982         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
29983         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
29984         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
29985         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
29986         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
29987         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
29988         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
29989         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29990         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29991         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29992         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29993         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29994         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29995         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29996         * math/test-float-vlen16.h: Fixed 2 argument macro.
29997         * math/test-float-vlen4.h: Likewise.
29998         * math/test-float-vlen8.h: Likewise.
29999         * NEWS: Mention addition of x86_64 vector powf.
30001 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
30003         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30004         and redefine.
30005         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30006         and redefine.
30007         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
30008         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30009         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30011         [BZ #18553]
30012         * resource/getpriority.c (getpriority): Rename to __getpriority
30013         and define as weak alias of __getpriority.
30014         * resource/setpriority.c (setpriority): Rename to __setpriority
30015         and define as weak alias of __setpriority.
30016         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
30017         __getpriority and define as weak alias of __getpriority.
30018         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
30019         __setpriority and define as weak alias of __setpriority.
30020         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
30021         strong name.
30022         (setpriority): Use __setpriority as strong name.
30023         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
30024         __getpriority and define as weak alias of __getpriority.
30025         * include/sys/resource.h (__getpriority): Declare.  Use
30026         libc_hidden_proto.
30027         (__setpriority): Likewise.
30028         (getpriority): Don't use libc_hidden_proto.
30029         (setpriority): Likewise.
30030         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
30031         getpriority.  Call __setpriority instead of setpriority.
30032         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
30033         Remove variable.
30035         [BZ #18547]
30036         * misc/getttyent.c (getttynam): Rename to __getttynam and define
30037         as weak alias of __getttynam.  Use prototype function definition.
30038         Call __setttyent, __getttyent and __endttyent instead of
30039         setttyent, getttyent and endttyent.
30040         (getttyent): Rename to __getttyent and define as weak alias of
30041         __getttyent.  Call __setttyent instead of setttyent.  Call
30042         __fgets_unlocked instead of fgets_unlocked.
30043         (setttyent): Rename to __setttyent and define as weak alias of
30044         __setttyent.
30045         (endttyent): Rename to __endttyent and define as weak alias of
30046         __endttyent.
30047         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
30048         (__setttyent): Likewise.
30049         (__endttyent): Likewise.
30050         (getttyent): Don't use libc_hidden_proto.
30051         (setttyent): Likewise.
30052         (endttyent): Likewise.
30053         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
30054         __endttyent instead of setttyent, getttyent and endttyent.
30055         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
30056         Remove variable.
30058         [BZ #18546]
30059         * socket/recv.c (__recv): Use libc_hidden_def.
30060         * socket/socket.c (__socket): Likewise.
30061         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
30062         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
30063         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
30064         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
30065         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
30066         libc_hidden_def.
30067         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
30068         libc_hidden_weak.
30069         * include/sys/socket.h (__socket): Do not use attribute_hidden.
30070         Use libc_hidden_proto.
30071         (__recv): Likewise.
30072         * socket/Versions (libc): Export __recv and __socket at version
30073         GLIBC_PRIVATE.
30074         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
30075         instead of recv.
30076         (init_mq_netlink): Call __socket instead of socket.
30077         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
30078         Remove variable.
30080         [BZ #18545]
30081         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
30082         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
30083         hidden_weak.
30084         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
30085         define as alias of __mq_timedsend.  Use hidden_weak.
30086         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
30087         __mq_timedsend as strong name.
30088         (mq_timedreceive): Use __mq_timedreceive as strong name.
30089         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
30090         (__mq_timedreceive): Likewise.
30091         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
30092         __mq_timedreceive instead of mq_timedreceive.
30093         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
30094         instead of mq_timedsend.
30095         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
30096         Remove variable.
30098         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
30099         hidden_def and hidden_weak instead of libc_hidden_def and
30100         libc_hidden_weak.
30101         (top level): Refer to hidden_def in comment.
30102         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
30103         macro.  Use it instead of libc_hidden_def.
30104         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
30105         specify __GI_* name explicitly.
30106         (mq_timedreceive): Likewise.
30107         (mq_setattr): Likewise.
30109         [BZ #18544]
30110         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
30111         __pthread_barrier_init and define as weak alias of
30112         __pthread_barrier_init.
30113         * sysdeps/sparc/nptl/pthread_barrier_init.c
30114         (pthread_barrier_init): Likewise.
30115         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
30116         __pthread_barrier_wait and define as weak alias of
30117         __pthread_barrier_wait.
30118         * sysdeps/sparc/nptl/pthread_barrier_wait.c
30119         (pthread_barrier_wait): Likewise.
30120         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
30121         (pthread_barrier_wait): Likewise.
30122         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
30123         (pthread_barrier_wait): Likewise.
30124         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
30125         (pthread_barrier_wait): Likewise.
30126         * nptl/Versions (libpthread): Export __pthread_barrier_init and
30127         __pthread_barrier_wait at version GLIBC_PRIVATE.
30128         * include/pthread.h (__pthread_barrier_init): Declare.
30129         (__pthread_barrier_wait): Likewise.
30130         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
30131         Call __pthread_barrier_wait instead of pthread_barrier_wait.
30132         (helper_thread): Likewise.
30133         (init_mq_netlink): Call __pthread_barrier_init instead of
30134         pthread_barrier_init.
30136         [BZ #18542]
30137         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
30138         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
30139         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
30140         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
30141         vswscanf.
30142         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
30143         Remove variable.
30145         [BZ #18540]
30146         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
30147         strong alias of _IO_fflush.  Use libc_hidden_def.
30148         * libio/iofflush_u.c (fflush_unlocked): Rename to
30149         __fflush_unlocked and define as weak alias of __fflush_unlocked.
30150         Use libc_hidden_weak.
30151         * include/stdio.h (__fflush_unlocked): Declare.  Use
30152         libc_hidden_proto.
30153         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
30154         fflush_unlocked.
30155         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
30156         Remove variable.
30158         [BZ #18539]
30159         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
30160         define as weak alias of __addseverity.
30161         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
30162         Remove variable.
30163         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
30164         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
30165         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
30167         [BZ #18536]
30168         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
30169         (__tfind): Likewise.
30170         (__tdelete): Likewise.
30171         (__twalk): Likewise.
30172         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
30173         __twalk to GLIBC_PRIVATE.
30174         * include/search.h (__tsearch): Use libc_hidden_proto.
30175         (__tfind): Likewise.
30176         (__tdelete): Likewise.
30177         (__twalk): Likewise.
30178         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
30179         Call __tdelete instead of tdelete.
30180         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
30181         tfind.  Call __tsearch instead of tsearch.
30182         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
30183         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
30184         Remove variable.
30185         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
30187         [BZ #18534]
30188         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
30189         (dprintf): Define as a weak alias of __dprintf, not a strong
30190         alias.
30191         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
30192         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
30193         dprintf.
30194         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
30195         Remove variable.
30196         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
30197         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
30199         [BZ #18533]
30200         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
30201         not a strong alias.
30202         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
30203         Remove variable.
30205         [BZ #18532]
30206         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
30207         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
30208         (in6addr_loopback): Rename to __in6addr_loopback and define as
30209         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
30210         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
30211         libc_hidden_proto.
30212         (__in6addr_any): Likewise.
30213         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
30214         in6addr_any.
30215         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
30216         variable.
30217         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
30219 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
30221         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
30222         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
30223         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30224         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30225         redirections for pow.
30226         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30227         * sysdeps/x86_64/fpu/Versions: New versions added.
30228         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30229         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30230         build of SSE, AVX2 and AVX512 IFUNC versions.
30231         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
30232         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
30233         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
30234         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
30235         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
30236         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
30237         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
30238         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
30239         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
30240         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
30241         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
30242         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
30243         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
30244         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
30245         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30246         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30247         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30248         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30249         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30250         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30251         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30252         * NEWS: Mention addition of x86_64 vector pow.
30254         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30255         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30256         redirections for expf.
30257         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30258         * sysdeps/x86_64/fpu/Versions: New versions added.
30259         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30260         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30261         build of SSE, AVX2 and AVX512 IFUNC versions.
30262         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
30263         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
30264         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
30265         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
30266         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
30267         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
30268         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
30269         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
30270         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
30271         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
30272         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
30273         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
30274         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
30275         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30276         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30277         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30278         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30279         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30280         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30281         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30282         * NEWS: Mention addition of x86_64 vector expf.
30284         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
30285         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
30286         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30287         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30288         redirections for exp.
30289         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30290         * sysdeps/x86_64/fpu/Versions: New versions added.
30291         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30292         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30293         build of SSE, AVX2 and AVX512 IFUNC versions.
30294         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
30295         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
30296         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
30297         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
30298         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
30299         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
30300         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
30301         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
30302         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
30303         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
30304         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
30305         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
30306         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
30307         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30308         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30309         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30310         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30311         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30312         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30313         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30314         * NEWS: Mention addition of x86_64 vector exp.
30316         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30317         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30318         redirections for logf.
30319         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30320         * sysdeps/x86_64/fpu/Versions: New versions added.
30321         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30322         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30323         build of SSE, AVX2 and AVX512 IFUNC versions.
30324         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
30325         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
30326         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
30327         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
30328         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
30329         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
30330         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
30331         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
30332         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
30333         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
30334         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
30335         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
30336         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
30337         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30338         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30339         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30340         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30341         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30342         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30343         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30344         * NEWS: Mention addition of x86_64 vector logf.
30346         * bits/libm-simd-decl-stubs.h: Added stubs for log.
30347         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
30348         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30349         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30350         redirections for log.
30351         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30352         * sysdeps/x86_64/fpu/Versions: New versions added.
30353         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30354         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30355         build of SSE, AVX2 and AVX512 IFUNC versions.
30356         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
30357         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
30358         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
30359         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
30360         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
30361         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
30362         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
30363         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
30364         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
30365         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
30366         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
30367         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
30368         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
30369         test.
30370         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30371         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30372         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30373         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30374         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30375         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30376         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30377         * NEWS: Mention addition of x86_64 vector log.
30379 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30381         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
30382         cfi_adjust_cfa_offset argument.
30383         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
30384         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
30386         [BZ #18034]
30387         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
30388         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
30389         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
30390         ordering using ldar.
30391         (_dl_tlsdesc_dynamic): Likewise.
30392         (_dl_tlsdesc_return_lazy): Likewise.
30393         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
30394         relaxed atomics instead of volatile and synchronize with release store.
30395         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
30396         volatile.
30397         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30399 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
30401         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30402         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
30403         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30404         * sysdeps/x86_64/fpu/Versions: New versions added.
30405         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30406         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30407         build of SSE, AVX2 and AVX512 IFUNC versions.
30408         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
30409         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
30410         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
30411         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
30412         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
30413         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
30414         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
30415         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
30416         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
30417         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
30418         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
30419         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
30420         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
30421         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30422         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30423         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30424         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30425         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30426         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30427         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30428         * NEWS: Mention addition of x86_64 vector sinf.
30430 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
30432         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
30433         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
30434         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
30435         Remove variable.
30436         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
30437         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
30439 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
30441         [BZ #18530]
30442         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
30443         strong alias of _IO_fputs.  Use libc_hidden_def.
30444         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
30445         and define as weak alias of __fputs_unlocked.  Use
30446         libc_hidden_weak.
30447         * include/stdio.h (__fputs_unlocked): Declare.  Use
30448         libc_hidden_proto.
30449         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
30450         fputs_unlocked.
30452         [BZ #18529]
30453         * resolv/netdb.h [__USE_POSIX]: Change condition to
30454         [__USE_XOPEN2K].
30455         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
30456         not expect.
30457         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
30458         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
30459         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
30460         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
30461         [XPG4 || UNIX98] (AI_ALL): Likewise.
30462         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
30463         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
30464         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
30465         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
30466         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
30467         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
30468         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
30469         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
30470         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
30471         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
30472         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
30473         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
30474         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
30475         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
30476         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
30477         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30478         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30479         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
30480         [XPG4 || UNIX98] (gai_strerror): Likewise.
30481         [XPG4 || UNIX98] (getaddrinfo): Likewise.
30482         [XPG4 || UNIX98] (getnameinfo): Likewise.
30484         [BZ #18528]
30485         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
30486         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
30487         __USE_XOPEN2K8].
30488         (getgrent): Likewise.
30489         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
30490         expect.
30491         [XPG3 || POSIX2008] (endgrent): Likewise.
30492         [XPG3] (setgrent): Likewise.
30493         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
30494         variable.
30495         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
30497         [BZ #18527]
30498         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
30499         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
30500         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
30501         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
30502         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
30503         * include/unistd.h (__getlogin_r): Declare.  Use
30504         libc_hidden_proto.
30505         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
30506         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
30507         variable.
30508         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
30509         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
30510         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
30512 2015-06-12  Martin Sebor  <msebor@redhat.com>
30514         [BZ #18512]
30515         * Makerules (check-install-supported): New target.
30516         (install): Add check-install-supported as a dependency.
30517         * manual/install.texi (Installing the C Library): Document
30518         that overriding prefix and exec_prefix is not supported.
30519         Mention DESTDIR.
30520         * INSTALL: Regenerate from the above.
30522 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
30524         [BZ #18519]
30525         * posix/Versions (libc): Export __libc_pread at version
30526         GLIBC_PRIVATE.
30527         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
30528         instead of pread.
30529         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
30530         variable.
30532         [BZ #18522]
30533         * misc/efgcvt_r.c
30534         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
30535         (cvt_symbol): Use weak_alias instead of strong_alias.
30536         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
30537         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
30538         Remove variable.
30539         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
30540         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
30542         [BZ #18520]
30543         * inet/herrno.c (h_errno): Rename to __h_errno.
30544         (__libc_h_errno): Define as alias of __h_errno not h_errno.
30545         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
30546         to __h_errno instead of h_errno.
30547         * nptl/herrno.c (h_errno): Rename to __h_errno.
30548         (__h_errno_location): Refer to __h_errno not h_errno.
30549         * resolv/Versions (h_errno): Rename to __h_errno.
30550         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
30551         Remove variable.
30552         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
30554 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
30556         * configure.ac: More strict check for AVX512 assembler support.
30557         * configure: Regenerated.
30559         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
30560         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
30561         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30562         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
30563         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30564         * sysdeps/x86_64/fpu/Versions: New versions added.
30565         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30566         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30567         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30568         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
30569         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
30570         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
30571         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
30572         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
30573         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
30574         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
30575         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
30576         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
30577         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
30578         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
30579         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
30580         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
30581         test.
30582         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30583         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30584         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30585         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30586         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30587         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30588         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30589         * NEWS: Mention addition of x86_64 vector sin.
30591 2015-06-11  Florian Weimer  <fweimer@redhat.com>
30593         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
30594         comment.
30596 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
30598         [BZ #18479]
30599         * nptl/pt-interp.c: New file.
30600         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
30601         Add pt-interp.
30602         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
30603         $(common-objpfx)runtime-linker.h.
30605 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
30607         * Makeconfig (+interp): Remove unused variable.
30608         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
30609         only.  Depend on $(common-objpfx)runtime-linker.h instead of
30610         $(elf-objpfx)runtime-linker.h.
30611         ($(elf-objpfx)runtime-linker.h): Rename to
30612         $(common-objpfx)runtime-linker.h and move ...
30613         * Makerules [$(build-shared) = yes]: ... here.
30614         * elf/interp.c: Include <runtime-linker.h> instead of
30615         <elf/runtime-linker.h>.
30617 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30619         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
30620         (__gettimeofday_syscall): Remove vsyscall fallback.
30621         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
30622         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
30623         Add syscall fallback function.
30624         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
30625         if vDSO is not present.
30626         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
30627         fallback function.
30628         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
30629         present.
30630         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
30631         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30633 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
30635         [BZ #18497]
30636         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
30637         of wcscmp.
30638         (wcscmp): Define as weak alias of WCSCMP.
30639         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
30640         wcscoll.
30641         (USE_HIDDEN_DEF): Define.
30642         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
30643         __wcscoll.  Don't use libc_hidden_weak.
30644         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
30645         wcscmp.
30646         * sysdeps/i386/i686/multiarch/wcscmp-c.c
30647         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
30648         __GI_wcscmp.
30649         (weak_alias): Undefine and redefine.
30650         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
30651         __wcscmp and define as weak alias of __wcscmp.
30652         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
30653         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
30654         (__wcscoll): Likewise.
30655         (wcscmp): Don't use libc_hidden_proto.
30656         (wcscoll): Likewise.
30657         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
30658         wcscoll.
30659         * posix/regexec.c (check_node_accept_bytes): Likewise.
30660         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
30661         variable.
30662         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
30663         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
30665         [BZ #18507]
30666         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
30667         __fstatvfs and define as weak alias of __fstatvfs.  Use
30668         libc_hidden_weak.
30669         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
30670         and define as weak alias of __statvfs.  Use libc_hidden_weak.
30671         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
30672         Define as alias of __fstatvfs, not fstatvfs.
30673         (fstatvfs64): Likewise.
30674         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
30675         Define as alias of __statvfs, not statvfs.
30676         (statvfs64): Likewise.
30677         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
30678         Remove variable.
30680 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30683         (HAVE_GETCPU_VSYSCALL): Define.
30684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30685         (HAVE_GETCPU_VSYSCALL): Likewise.
30686         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
30687         * sysdeps/unix/sysv/linux/sched_getcpu.c
30688         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
30689         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
30690         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
30691         prototype.
30692         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30693         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
30694         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
30695         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
30696         Define.
30697         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
30698         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30699         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
30700         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30702 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
30704         * sysdeps/x86_64/fpu/Makefile: New file.
30705         * sysdeps/x86_64/fpu/Versions: New file.
30706         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
30707         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
30708         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
30709         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
30710         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
30711         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
30712         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
30713         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
30714         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
30715         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
30716         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
30717         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
30718         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
30719         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30720         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30721         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
30722         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
30723         * sysdeps/x86_64/configure.ac: Options for libmvec build.
30724         * sysdeps/x86_64/configure: Regenerated.
30725         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
30726         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
30727         * manual/install.texi (Configuring and compiling): Document
30728         --disable-mathvec.
30729         * INSTALL: Regenerated.
30730         * NEWS: Mention addition of libmvec and x86_64 vector cos.
30732         * math/Makefile: Added rules for vector tests.
30733         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
30734         declaration under condition.
30735         * math/test-double-vlen2.h: New file.
30736         * math/test-double-vlen4.h: New file.
30737         * math/test-double-vlen8.h: New file.
30738         * math/test-vec-loop.h: Added initialization macro.
30739         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
30740         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
30741         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
30742         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
30743         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
30744         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
30745         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
30746         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
30747         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
30748         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
30749         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
30751         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30752         * sysdeps/x86_64/fpu/Versions: New versions added.
30753         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
30754         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
30755         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
30756         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
30757         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
30758         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
30759         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
30760         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
30761         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
30762         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
30763         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
30764         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
30765         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
30766         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30767         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30768         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30769         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
30770         * NEWS: Mention addition of x86_64 vector cosf.
30772         * math/Makefile: Added CFLAGS for new tests.
30773         * math/test-float-vlen16.h: New file.
30774         * math/test-float-vlen4.h: New file.
30775         * math/test-float-vlen8.h: New file.
30776         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
30777         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
30778         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30779         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
30780         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
30781         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
30782         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
30783         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
30784         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
30785         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
30786         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
30788 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
30790         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
30791         * locale/programs/ld-ctype.c: Likewise.
30793 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
30795         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
30796         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
30797         bit_ZMM16_31_state): New macro.
30798         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30799         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
30801 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
30803         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
30805 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
30807         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
30809 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
30811         [BZ #18498]
30812         * libio/memstream.c (open_memstream): Rename to __open_memstream
30813         and define as weak alias of __open_memstream.
30814         * include/stdio.h (__open_memstream): Declare.  Use
30815         libc_hidden_proto.
30816         (open_memstream): Don't use libc_hidden_proto.
30817         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
30818         open_memstream.
30819         * posix/getopt.c (_getopt_internal_r): Likewise.
30820         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
30821         variable.
30822         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
30823         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
30824         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
30826         [BZ #18496]
30827         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
30828         instead of wcrtomb.
30830         [BZ #18483]
30831         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
30832         [__USE_XOPEN2K8].  Remove redundant #endif.
30833         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
30834         Remove redundant #if.
30835         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
30836         Remove variable.
30837         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
30838         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
30840         [BZ #18495]
30841         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
30842         (__iswlower): Likewise.
30843         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
30844         (__iswlower): Likewise.
30845         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
30846         instead of towlower.
30847         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
30848         instead of iswlower.  Call __towupper instead of towupper.
30849         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
30850         instead of iswalnum.
30852 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30854         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
30855         errors to stderr.
30857 2015-06-05  Florian Weimer  <fweimer@redhat.com>
30859         [BZ #15661]
30860         [BZ #17322]
30861         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
30862         Check for overflow properly.  Check for O_APPEND.  Ignore large
30863         file system block sizes.  Add comments about problems.
30864         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
30865         * manual/filesys.texi (Storage Allocation): New node.
30867 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30869         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
30870         cancellable syscalls.
30871         (SYS_ify): Add guard to no redefine it.
30872         (INLINE_SYSCALL): Likewise.
30873         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
30874         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
30875         SYSCALL_CANCEL instead.
30876         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
30877         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30878         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30879         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30880         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30881         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
30882         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
30883         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
30884         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
30885         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
30886         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
30887         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
30888         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
30889         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
30890         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
30891         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30892         Likewise.
30893         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30894         (__libc_pread64): Likewise.
30895         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
30896         (__libc_preadv): Likewise.
30897         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
30898         (__libc_readv64): Likewise.
30899         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30900         (__libc_pwrite): Likewise.
30901         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30902         (__libc_pwrite64): Likewise.
30903         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
30904         (__libc_pwritev): Likewise.
30905         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
30906         (__libc_pwritev64): Likewise.
30907         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
30908         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
30909         (sync_file_range): Likewise.
30910         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
30911         Likewise.
30912         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
30913         Likewise.
30914         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30915         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30916         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30917         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30918         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30919         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30920         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
30921         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
30922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30923         Likewise.
30924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30925         (__libc_read64): Likewise.
30926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
30927         Likewise.
30928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
30929         Likewise.
30930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
30931         Likewise.
30932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
30933         Likewise.
30934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30935         (__libc_pread64): Likewise.
30936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
30937         Likewise.
30938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30939         (__libc_pwrite64): Likewise.
30940         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
30941         (sync_file_range): Likewise.
30942         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
30943         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30944         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30945         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
30946         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
30947         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30948         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30949         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
30950         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
30951         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
30952         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30953         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30954         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30955         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30956         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
30957         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30958         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30959         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30960         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30961         Likewise.
30962         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
30963         Likewise.
30964         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
30965         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
30966         Likewise.
30967         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
30968         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
30969         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
30970         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
30971         Likewise.
30972         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
30973         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
30974         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
30975         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
30976         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
30978 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
30980         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
30981         Include dl-vdso.
30982         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
30983         Use VDSO routines for gettimeofday, clock_gettime if
30984         available.
30985         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
30986         Declare VDSO symbols.
30987         * sysdeps/unix/sysv/linux/arm/sysdep.h:
30988         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
30989         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30990         * sysdeps/unix/sysv/linux/arm/Versions: Add
30991         __vdso_clock_gettime.
30993 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30995         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
30996         be an inline implementation regardless of library is built within.
30997         (open_not_cancel_2): Likewise.
30998         (__read_nocancel): Likewise.
30999         (__write_nocancel): Likewise.
31000         (openat_not_cancel): Likewise.
31001         (openat_not_cancel_3): Likewise.
31002         (openat64_not_cancel): Likewise.
31003         (openat64_not_cancel_3): Likewise.
31004         (__close_nocancel): Likewise.
31005         (pause_not_cancel): Likewise.
31006         (nanosleep_not_cancel): Likewise.
31007         (sigsuspend_not_cancel): Likewise.
31009 2015-06-04  Torvald Riegel  <triegel@redhat.com>
31011         [BZ #14958]
31012         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
31013         wake-up.
31014         (__pthread_rwlock_rdlock_slow): Likewise.
31015         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31016         Likewise.
31017         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
31018         Likewise.
31019         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
31020         * nptl/tst-rwlock16.c: New file.
31021         * nptl/Makefile (tests): Add new test.
31023 2015-06-04  Torvald Riegel  <triegel@redhat.com>
31025         [BZ #18324]
31026         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
31027         missing wake-up of readers.
31028         * nptl/tst-rwlock15.c: New file.
31029         * nptl/Makefile (tests): Add new test.
31031 2015-06-03  Roland McGrath  <roland@hack.frob.com>
31033         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
31034         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
31035         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
31036         and __nacl_supply_interface_rtld.
31037         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
31038         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
31039         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
31040         Add __nacl_supply_interface_rtld.
31041         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
31043 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
31045         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
31046         isfinite.
31047         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31048         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
31050 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
31052         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
31053         __signbit* with standard C99 macros.
31054         * math/e_exp10l.c: Likewise.
31055         * math/e_exp2l.c: Likewise.
31056         * math/e_scalb.c: Likewise.
31057         * math/e_scalbf.c: Likewise.
31058         * math/e_scalbl.c: Likewise.
31059         * math/s_ldexp.c: Likewise.
31060         * math/s_ldexpf.c: Likewise.
31061         * math/s_ldexpl.c: Likewise.
31062         * math/w_atan2.c: Likewise.
31063         * math/w_atan2f.c: Likewise.
31064         * math/w_atan2l.c: Likewise.
31065         * math/w_cosh.c: Likewise.
31066         * math/w_coshf.c: Likewise.
31067         * math/w_coshl.c: Likewise.
31068         * math/w_exp10.c: Likewise.
31069         * math/w_exp10f.c: Likewise.
31070         * math/w_exp10l.c: Likewise.
31071         * math/w_exp2.c: Likewise.
31072         * math/w_exp2f.c: Likewise.
31073         * math/w_exp2l.c: Likewise.
31074         * math/w_fmod.c: Likewise.
31075         * math/w_fmodf.c: Likewise.
31076         * math/w_fmodl.c: Likewise.
31077         * math/w_hypot.c: Likewise.
31078         * math/w_hypotf.c: Likewise.
31079         * math/w_hypotl.c: Likewise.
31080         * math/w_jnl.c: Likewise.
31081         * math/w_lgamma.c: Likewise.
31082         * math/w_lgamma_r.c: Likewise.
31083         * math/w_lgammaf.c: Likewise.
31084         * math/w_lgammaf_r.c: Likewise.
31085         * math/w_lgammal.c: Likewise.
31086         * math/w_lgammal_r.c: Likewise.
31087         * math/w_pow.c: Likewise.
31088         * math/w_powf.c: Likewise.
31089         * math/w_powl.c: Likewise.
31090         * math/w_remainder.c: Likewise.
31091         * math/w_remainderf.c: Likewise.
31092         * math/w_remainderl.c: Likewise.
31093         * math/w_scalb.c: Likewise.
31094         * math/w_scalbf.c: Likewise.
31095         * math/w_scalbl.c: Likewise.
31096         * math/w_scalbln.c: Likewise.
31097         * math/w_scalblnf.c: Likewise.
31098         * math/w_scalblnl.c: Likewise.
31099         * math/w_sinh.c: Likewise.
31100         * math/w_sinhf.c: Likewise.
31101         * math/w_sinhl.c: Likewise.
31102         * math/w_tgamma.c: Likewise.
31103         * math/w_tgammaf.c: Likewise.
31104         * math/w_tgammal.c: Likewise.
31105         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31106         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
31107         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31108         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31109         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31110         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31111         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31112         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31113         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31114         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31115         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31116         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31117         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31118         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31119         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31120         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31121         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31122         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
31123         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31124         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31125         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31126         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31127         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31128         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31129         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31130         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31131         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
31132         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31133         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31134         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31135         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
31136         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
31137         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
31138         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
31139         * stdio-common/printf_fp.c: Likewise.
31140         * stdio-common/printf_fphex.c: Likewise.
31141         * stdio-common/printf_size.c: Likewise.
31143 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
31145         [BZ #18470]
31146         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
31147         strnlen.
31148         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
31149         Remove variable.
31150         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
31151         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
31152         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
31153         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
31154         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
31155         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
31156         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
31157         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
31158         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
31159         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
31161         [BZ #18468]
31162         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
31163         weak alias of __wmemchr.  Use libc_hidden_weak.
31164         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
31165         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
31166         instead of wmemchr.
31168 2015-06-02  Roland McGrath  <roland@hack.frob.com>
31170         [BZ #18383]
31171         * elf/tst-tlsalign-extern.c: New file.
31172         * elf/tst-tlsalign-extern-static.c: New file.
31173         * elf/tst-tlsalign-vars.c: New file.
31174         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
31175         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
31176         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
31177         ($(objpfx)tst-tlsalign-extern-static): Likewise.
31178         (test-xfail-tst-tlsalign-extern-static): New variable.
31180 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
31182         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
31183         Use variable name _sc_err instead of err.
31184         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
31185         instead of ret.
31186         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
31187         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
31188         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
31189         (INLINE_SYSCALL): Likewise.
31191         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
31192         * include/string.h (__strnlen): Use libc_hidden_proto.
31193         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
31194         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
31195         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
31196         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
31197         (libc_hidden_def): Undefine and redefine.
31198         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
31199         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
31200         __GI_strnlen.
31201         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
31202         libc_hidden_def.
31203         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
31205         [BZ #18469]
31206         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
31207         weak alias of __towlower.  Use libc_hidden_weak.
31208         (towupper): Rename to __towupper and define as weak alias of
31209         __towupper.  Use libc_hidden_weak.
31210         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
31211         (__towupper): Likewise.
31212         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
31213         __towlower instead of towlower.
31215 2015-06-02  Roland McGrath  <roland@hack.frob.com>
31217         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
31218         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
31220 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31222         * sysdeps/aarch64/libm-test-ulps: Update.
31224 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31226         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
31227         Define.
31228         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31229         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31230         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
31231         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31232         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
31233         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
31234         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
31236 2015-06-01  Martin Sebor  <msebor@redhat.com>
31238         [BZ #18116]
31239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31240         (__setcontext): Use extended four-operand version of mtsf whenever
31241         possible.
31242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31243         (__novec_swapcontext): Likewise.
31245 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31247         * benchtests/scripts/compare_bench.py: New file.
31248         * benchtests/scripts/import_bench.py (mean): New function.
31249         (split_list): Likewise.
31250         (do_for_all_timings): Likewise.
31251         (compress_timings): Likewise.
31253         * benchtests/scripts/import_bench.py: New file.
31254         * benchtests/scripts/validate_benchout.py: Import import_bench
31255         instead of jsonschema.
31256         (validate_bench): Remove function.
31257         (main): Use import_bench.
31259 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
31261         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
31262         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
31264 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31268 2015-05-28  Roland McGrath  <roland@hack.frob.com>
31270         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
31271         set THREAD_SELF->tid to a magic value and futex-wake it.
31272         Pass its address to the thread_exit system call.
31273         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
31274         bit is clear.
31275         * sysdeps/nacl/lowlevellock.h: New file.
31276         * sysdeps/nacl/lll_timedwait_tid.c: New file.
31278         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
31279         Add TIMEOUT to current time, don't subtract it.
31281 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
31283         [BZ #2981]
31284         [BZ #18422]
31285         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
31286         ($(objpfx)tst-audit2.out): Also depend on
31287         $(objpfx)tst-auditmod9b.so.
31288         * elf/tst-audit2.c: Include <dlfcn.h>.
31289         (calloc_called): New.
31290         (calloc): Allow to be called more than once.
31291         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
31293 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
31295         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
31296         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
31298 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
31300         * stdlib/monetary.h: Fix comment.
31302 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
31304         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
31305         Avoid using variables in #defines that might cause shadowing.
31306         (INTERNAL_VSYSCALL_CALL): Likewise.
31308 2015-05-26  Roland McGrath  <roland@hack.frob.com>
31310         * sysdeps/nacl/lll_timedlock_wait.c: New file.
31312         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
31313         * nptl/lll_timedlock_wait.c: ... to this new file.
31314         * nptl/Makefile (libpthread-routines): Add it.
31315         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
31316         * nptl/lll_timedwait_tid.c: ... to this new file.
31317         * nptl/Makefile (libpthread-routines): Add it.
31318         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
31319         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
31320         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
31321         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
31322         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
31323         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
31324         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
31325         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
31326         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
31327         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
31329 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31331         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
31332         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31333         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
31334         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
31335         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
31336         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31337         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31338         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31339         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31340         * sysdeps/unix/sysv/linux/tile/sysdep.h
31341         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31342         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
31343         using vDSO syscall macro.
31345 2015-05-26  Andriy Rysin  <arysin@gmail.com>
31347         [BZ #17293]
31348         * uk_UA: Fix sorting order for Ukrainian locale
31350 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
31352         * stdlib/monetary.h: Fix comment.
31354 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31356         [BZ #18234]
31357         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
31358         st_mtim and st_ctim members.
31359         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
31360         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
31361         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
31362         (struct stat64): Likewise.
31363         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
31364         (struct stat64): Likewise.
31365         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
31366         (struct stat64): Likewise.
31368 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31370         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
31371         Define and include sysdep-vdso.h.
31372         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
31373         Likewise.
31374         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
31375         Likewise.
31376         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
31377         Define with VDSO_SYMBOL and use PTR_MANGLE.
31378         (__vdso_clock_gettime): Likewise.
31379         (__vdso_clock_getres): Likewise.
31380         (_libc_vdso_platform_setup): Likewise.
31381         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
31382         Likewise.
31383         (_libc_vdso_platform_setup): Likewise.
31384         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
31385         Likewise.
31386         (__vdso_clock_gettime): Likewise.
31387         (__vdso_clock_getres): Likewise.
31388         (__vdso_get_tbfreq): Likewise.
31389         (__vdso_getcpu): Likewise.
31390         (__vdso_time): Likewise.
31391         (__vdso_sigtramp_rt64): Likewise.
31392         (__vdso_signtramp32): Likewise.
31393         (__vdso_sigtramp_rt32): Likewise.
31394         (_libc_vdso_platform_setup): Likewise.
31395         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
31396         Likewise.
31397         (__vdso_clock_gettime): Likewise.
31398         (__vdso_clock_getres): Likewise.
31399         (_libc_vdso_platform_setup): Likewise.
31400         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
31401         Likewise.
31402         (__vdso_clock_gettime): Likewise.
31403         (_libc_vdso_platform_setup): Likewise.
31404         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
31405         Likewise.
31406         (__vdso_getcpu): Likewise.
31407         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
31408         Use VDSO_SYMBOL macro to define.
31409         (__vdso_clock_gettime): Likewise.
31410         (__vdso_clock_getres): Likewise.
31411         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
31412         Likewise.
31413         (__vdso_clock_gettime): Likewise.
31414         (__vdso_clock_getres): Likewise.
31415         (__vdso_get_tbfreq): Likewise.
31416         (__vdso_getcpu): Likewise.
31417         (__vdso_time): Likewise.
31418         (__vdso_sigtramp_rt64): Likewise.
31419         (__vdso_signtramp32): Likewise.
31420         (__vdso_sigtramp_rt32): Likewise.
31421         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
31422         Likewise.
31423         (__vdso_clock_gettime): Likewise.
31424         (__vdso_clock_getres): Likewise.
31425         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
31426         Likewise.
31427         (__vdso_clock_gettime): Likewise.
31428         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
31429         Likewise.
31430         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
31431         macro.
31432         (INTERNAL_VSYSCALL): Likewise.
31433         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
31434         Remove macro.
31435         (INTERNAL_VSYSCALL): Likewise.
31436         (INTERNAL_VSYSCALL_NCS): Likewise.
31437         (INTERNAL_VSYSCALL_CALL): New macro.
31438         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
31439         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
31440         Likewise.
31441         (INTERNAL_VSYSCALL): Likewise.
31442         (INTERNAL_VSYSCALL_NCS): Likewise.
31443         (INTERNAL_VSYSCALL_CALL): New macro.
31444         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
31445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31446         (INLINE_VSYSCALL): Remove macro.
31447         (INTERNAL_VSYSCALL): Remove macro.
31448         (INTERNAL_VSYSCALL_NCS): Remove macro.
31449         (INTERNAL_VSYSCALL_CALL): New macro.
31450         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
31451         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
31452         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
31453         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
31454         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
31455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31456         (INLINE_VSYSCALL): Remove macro.
31457         (INTERNAL_VSYSCALL): Likewise.
31458         (INTERNAL_VSYSCALL_NCS): Likewise.
31459         (INTERNAL_VSYSCALL_CALL): New macro.
31460         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
31461         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
31462         PTR_DEMANGLE on vDSO pointer.
31463         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
31464         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
31465         macro.
31466         (INTERNAL_SYSCALL): Likewise.
31467         (INTERNAL_VSYSCALL_NCS): Remove macro.
31468         (INTERNAL_VSYSCALL_CALL): New macro.
31469         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
31470         Remove macro.
31471         (INTERNAL_VSYSCALL): Likewise.
31472         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
31473         sysdep-vdso.h instead of libc-vdso.h.
31474         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
31475         definition.
31476         (INLINE_VSYSCALL): Likewise.
31477         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
31478         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
31479         definition.
31480         (INLINE_VSYSCALL): Likewise.
31481         (INTERNAL_VSYSCALL): Likewise.
31482         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31483         * sysdeps/unix/sysv/linux/timespec_get.c
31484         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31485         (timespec_get): Use ANSI prototype.
31486         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
31487         and definition for Linux.
31489 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
31491         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
31492         * include/libc-symbols.h: libmvec_hidden_* macro series added.
31494 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31496         [BZ #2981]
31497         [BZ #18410]
31498         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
31499         for missing DT_PLTRELSZ.
31501 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31503         Remove obsolete aliases that broke 'locale -a'
31504         [BZ #18412]
31505         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
31506         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
31507         breaking some applications that use 'locale -a' output.
31508         Change the encoding of this file from Latin-1 to ASCII to avoid
31509         other potential problems with people grepping this file.
31511 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31513         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
31514         -fasynchronous-unwind-tables.
31515         (CFLAGS-sendto.c): Likewise.
31516         (CFLAGS-sendmsg.c): Likewise.
31517         (CFLAGS-connect.c): Likewise.
31518         (CFLAGS-recvmsg.c): Likewise.
31519         (CFLAGS-recvfrom.c): Likewise.
31520         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
31521         (SOCKETCALL): New macro: non-cancellable socketcall.
31522         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
31523         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
31524         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
31525         * sysdeps/unix/sysv/linux/accept.c: New file.
31526         * sysdeps/unix/sysv/linux/bind.c: Likewise.
31527         * sysdeps/unix/sysv/linux/connect.c: Likewise.
31528         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
31529         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
31530         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
31531         * sysdeps/unix/sysv/linux/listen.c: Likewise.
31532         * sysdeps/unix/sysv/linux/recv.c: Likewise.
31533         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
31534         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
31535         * sysdeps/unix/sysv/linux/send.c: Likewise.
31536         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
31537         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
31538         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
31539         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
31540         * sysdeps/unix/sysv/linux/socket.c: Likewise.
31541         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
31542         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
31543         prototype.
31544         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
31545         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31546         instead of __internal_xxx function.
31547         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
31548         prototype.
31549         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
31550         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31551         instead of __internal_xxx function.
31552         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
31553         prototype.
31554         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
31555         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31556         instead of __internal_xxx function.
31557         * sysdeps/unix/sysv/linux/accept.S: Remove file.
31558         * sysdeps/unix/sysv/linux/bind.S: Likewise.
31559         * sysdeps/unix/sysv/linux/connect.S: Likewise.
31560         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
31561         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
31562         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
31563         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
31564         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
31565         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
31566         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
31567         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
31568         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31569         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
31570         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
31571         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
31572         * sysdeps/unix/sysv/linux/listen.S: Likewise.
31573         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
31574         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
31575         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
31576         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
31577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
31578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
31579         * sysdeps/unix/sysv/linux/recv.S: Likewise.
31580         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
31581         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
31582         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
31583         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31584         * sysdeps/unix/sysv/linux/send.S: Likewise.
31585         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
31586         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
31587         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
31588         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
31589         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
31590         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
31591         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
31592         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
31593         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
31594         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
31595         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
31596         socketcall is implemented in GLIBC.
31598 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31600         * soft-fp/fmadf4.c: Include <libc-internal.h>.
31601         (__fma): Ignore uninitialized warnings around packing.
31602         * soft-fp/fmasf4.c: Include <libc-internal.h>.
31603         (__fmaf): Ignore uninitialized warnings around packing.
31604         * soft-fp/fmatf4.c: Include <libc-internal.h>.
31605         (__fmal): Ignore uninitialized warnings around packing.
31607         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
31608         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31609         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
31610         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31612         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
31613         switch statement into default case.
31614         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
31616         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
31617         a conditional in forcing "inexact".
31618         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31619         Likewise.
31621 2015-05-22  Roland McGrath  <roland@hack.frob.com>
31623         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
31624         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
31625         for each INTERNAL_SYSCALL use.
31627 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31629         [BZ #438]
31630         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
31631         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
31632         variable.
31634         [BZ #18444]
31635         * string/basename.c (basename): Rename to __basename and define as
31636         weak alias of __basename.  Use libc_hidden_weak.
31637         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
31638         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
31639         __basename instead of basename.
31640         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
31641         Remove variable.
31642         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31644 2015-05-18  Florian Weimer  <fweimer@redhat.com>
31646         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
31647         (_IO_JUMPS_FILE_plus): New.
31648         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
31649         _IO_CAST_FIELD_ACCESS.
31650         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
31651         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
31652         * libio/freopen.c (freopen): Likewise.
31653         * libio/freopen64.c (freopen64): Likewise.
31654         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
31655         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
31656         * libio/iofwide.c (_IO_fwide): Likewise.
31657         * libio/memstream.c (open_memstream): Likewise.
31658         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31659         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
31660         * libio/oldiopopen.c (_IO_old_popen): Likewise.
31662 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
31664         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
31665         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
31666         NADJ.
31667         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
31668         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
31669         NADJ.
31670         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
31671         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
31672         NADJ.
31674         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
31675         (p == 4) case.
31677         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
31678         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
31679         Remove variable.
31680         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31681         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31682         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31684 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31686         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
31687         Adjust jump table label generation macros.
31689 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31691         * stdio-common/vfprintf.c (vfprintf): Move local variables
31692         args_malloced, specs, specs_malloced, and the code after
31693         do_positional to the printf_positional function.
31694         (printf_positional): New function.
31696 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31698         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
31699         function.
31700         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
31701         STEP4_TABLE, process_arg): Move macro definitions
31702         out of the vfprintf function.  (Cosmetic change only.)
31704 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
31706         * benchtests/Makefile (stdio-common-bench): Define.
31707         (benchset): Add stdio-common-bench.
31708         * sprintf-inputs: New file.
31709         * sprintf-source.c: New file.
31711 2015-05-21  Andreas Schwab  <schwab@suse.de>
31713         [BZ #13028]
31714         [BZ #17053]
31715         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
31716         of struct __res_state.
31717         * resolv/res_send.c (__libc_res_nsend): Likewise.
31718         (get_nsaddr): New function.
31719         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
31720         statp directly.
31722 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
31724         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
31725         -D_POSIX_C_SOURCE=199506L.
31727         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
31729         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
31730         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
31731         Do not mention otherwise.
31732         [POSIX] (_XOPEN_VERSION): Do not expect.
31733         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
31734         [POSIX] (_POSIX2_C_BIND): Likewise.
31735         [POSIX] (_POSIX2_VERSION): Likewise.
31736         [POSIX] (_XOPEN_XPG2): Likewise.
31737         [POSIX] (_XOPEN_XPG3): Likewise.
31738         [POSIX] (_XOPEN_XPG4): Likewise.
31739         [POSIX] (_XOPEN_UNIX): Likewise.
31740         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
31741         [POSIX] (_POSIX_BARRIERS): Likewise.
31742         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
31743         [POSIX] (_POSIX_CPUTIME): Likewise.
31744         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
31745         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
31746         [POSIX] (_POSIX_SHELL): Likewise.
31747         [POSIX] (_POSIX_SPAWN): Likewise.
31748         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
31749         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
31750         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
31751         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
31752         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
31753         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
31754         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
31755         [POSIX] (_XBS5_LP64_OFF64): Likewise.
31756         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
31757         [POSIX] (_POSIX_TIMEOUTS): Likewise.
31758         [POSIX] (_POSIX2_PBS): Likewise.
31759         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
31760         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
31761         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
31762         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
31763         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
31764         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
31765         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
31766         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
31767         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
31768         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
31769         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
31770         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
31771         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
31772         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
31773         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
31774         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
31775         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
31776         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
31777         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
31778         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
31779         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
31780         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
31781         [POSIX] (_SC_2_C_BIND): Likewise.
31782         [POSIX] (_SC_2_C_VERSION): Likewise.
31783         [POSIX] (_SC_2_PBS): Likewise.
31784         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
31785         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
31786         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
31787         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
31788         [POSIX] (_SC_2_PBS_TRACK): Likewise.
31789         [POSIX] (_SC_ATEXIT_MAX): Likewise.
31790         [POSIX] (_SC_BARRIERS): Likewise.
31791         [POSIX] (_SC_BASE): Likewise.
31792         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
31793         [POSIX] (_SC_DEVICE_IO): Likewise.
31794         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
31795         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
31796         [POSIX] (_SC_FD_MGMT): Likewise.
31797         [POSIX] (_SC_FIFO): Likewise.
31798         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
31799         [POSIX] (_SC_FILE_LOCKING): Likewise.
31800         [POSIX] (_SC_FILE_SYSTEM): Likewise.
31801         [POSIX] (_SC_IOV_MAX): Likewise.
31802         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
31803         [POSIX] (_SC_NETWORKING): Likewise.
31804         [POSIX] (_SC_PAGE_SIZE): Likewise.
31805         [POSIX] (_SC_PASS_MAX): Likewise.
31806         [POSIX] (_SC_PIPE): Likewise.
31807         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
31808         [POSIX] (_SC_REGEXP): Likewise.
31809         [POSIX] (_SC_SHELL): Likewise.
31810         [POSIX] (_SC_SIGNALS): Likewise.
31811         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
31812         [POSIX] (_SC_SPIN_LOCKS): Likewise.
31813         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
31814         [POSIX] (_SC_USER_GROUPS): Likewise.
31815         [POSIX] (_SC_USER_GROUPS_R): Likewise.
31816         [POSIX] (_SC_STREAMS): Likewise.
31817         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
31818         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
31819         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
31820         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
31821         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
31822         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
31823         [POSIX] (_PC_FILESIZEBITS): Likewise.
31824         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
31825         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
31826         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
31827         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
31828         [POSIX] (uid_t): Likewise.
31829         [POSIX] (gid_t): Likewise.
31830         [POSIX] (off_t): Likewise.
31831         [POSIX] (pid_t): Likewise.
31832         [POSIX] (cuserid): Allow.
31833         (_SC_2_CHAR_TERM): Require constant.
31834         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
31835         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
31836         variable.
31838 2015-05-20  Roland McGrath  <roland@hack.frob.com>
31840         * sysdeps/nacl/pthread-pids.h: New file.
31841         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
31842         (create_thread): Use __nacl_get_tid to initialize PD->tid.
31844         * nptl/pthread-pids.h: New file.
31845         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
31846         * nptl/nptl-init.c: Include <pthread-pids.h>.
31847         (__pthread_initialize_minimal_internal):
31848         Call __pthread_initialize_pids instead of set_tid_address syscall.
31850         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
31851         * sysdeps/posix/usleep.c: ... here.
31853 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31855         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
31856         call_pselect6 object.
31857         [$(subdir) = io]: Remove call_sync_file_range object.
31858         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
31859         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
31860         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
31861         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
31863 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
31865         * math/s_cproj.c: Add include "math_private.h".
31866         * math/s_cprojf.c: Likewise.
31867         * math/s_cprojl.c: Likewise.
31869 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
31871         [BZ #18244]
31872         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
31873         high mantissa bit when testing whether P is a NaN.
31874         * math/libm-test.inc (remainder_test_data): Add more tests.
31875         (remquo_test_data): Likewise.
31877         [BZ #18049]
31878         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
31879         below -32, return the argument, with underflow if subnormal.
31880         * math/auto-libm-test-in: Add more tests of atanh.
31881         * math/auto-libm-test-out: Regenerated.
31883 2015-05-19  Roland McGrath  <roland@hack.frob.com>
31885         [BZ #18434]
31886         * nptl/tst-sem15.c: New file.
31887         * nptl/Makefile (tests): Add it.
31888         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
31889         s/<</>>/ to fix typo in EOVERFLOW check.
31890         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
31892 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31894         * manual/strings.texi (envz_remove): Fix typo in safety
31895         annotations.
31897 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
31898             Steve Ellcey  <sellcey@imgtec.com>
31900         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
31901         in order to avoid strict alias warnings.
31902         (iruserok_af): Ditto for ra.
31904 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
31906         [BZ #17581]
31907         * malloc/hooks.c
31908         (magicbyte): Convert to a function and avoid returning 0x01.
31909         (mem2mem_check): Avoid using a length byte equal to the magic byte.
31910         (mem2chunk_check): Fix unsigned comparisons to zero.
31911         Hoist defs of sz and magic.
31913 2015-05-19  Richard Henderson  <rth@redhat.com>
31915         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
31917         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31919 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31921         [BZ #16159]
31922         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
31923         * malloc/arena.c (arena_lock): Check if arena is corrupt.
31924         (reused_arena): Find a non-corrupt arena.
31925         (heap_trim): Pass arena to unlink.
31926         * malloc/hooks.c (malloc_check_get_size): Pass arena to
31927         malloc_printerr.
31928         (top_check): Likewise.
31929         (free_check): Likewise.
31930         (realloc_check): Likewise.
31931         * malloc/malloc.c (malloc_printerr): Add arena argument.
31932         (unlink): Likewise.
31933         (munmap_chunk): Adjust.
31934         (ARENA_CORRUPTION_BIT): New macro.
31935         (arena_is_corrupt): Likewise.
31936         (set_arena_corrupt): Likewise.
31937         (sysmalloc): Use mmap if there are no usable arenas.
31938         (_int_malloc): Likewise.
31939         (__libc_malloc): Don't fail if arena_get returns NULL.
31940         (_mid_memalign): Likewise.
31941         (__libc_calloc): Likewise.
31942         (__libc_realloc): Adjust for additional argument to
31943         malloc_printerr.
31944         (_int_free): Likewise.
31945         (malloc_consolidate): Likewise.
31946         (_int_realloc): Likewise.
31947         (_int_memalign): Don't touch corrupt arenas.
31948         * malloc/tst-malloc-backtrace.c: New test case.
31950         * Makefile (summarize-tests): Fix return value on success.
31952         * manual/string.texi (Envz Functions): Add envz_remove.
31954 2015-05-18  Roland McGrath  <roland@hack.frob.com>
31956         * sysdeps/posix/opendir.c: Include <stdbool.h>.
31957         (invalid_name): New function, broken out of ...
31958         (__opendirat): ... here.  Call it.
31959         (need_isdir_precheck): New function, broken out of ...
31960         (__opendirat): ... here.  Call it.
31961         Use __fxstatat64, not __xstatat64.
31962         (opendir_oflags): New function, broken out of ...
31963         (__opendirat): ... here.  Call it.
31964         (opendir_tail): New function, broken out of ...
31965         (__opendirat): ... here.  Call it.
31966         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
31967         opendir_tail, rather than punting to __opendirat.
31968         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
31970 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31972         * .gitignore: Ignore generated *.pyc.
31974 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
31976         * include/stdio.h: Define __need_wint_t.
31977         * test-skeleton.c: Avoid `for' loop initial declaration.
31978         * nptl/tst-initializers1.c: Use test-skeleton.c.
31980 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31982         [BZ #18418]
31983         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
31985 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
31987         [BZ #16352]
31988         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
31989         (__ieee754_atanh): Force underflow exception for results with
31990         small absolute value.
31991         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
31992         (__ieee754_atanhf): Force underflow exception for results with
31993         small absolute value.
31994         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
31995         (__ieee754_atanh): Force underflow exception for results with
31996         small absolute value.
31997         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
31998         (__ieee754_atanhf): Force underflow exception for results with
31999         small absolute value.
32000         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
32001         (__ieee754_atanhl): Force underflow exception for results with
32002         small absolute value.
32003         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
32004         (__ieee754_atanhl): Force underflow exception for results with
32005         small absolute value.
32006         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
32007         (__ieee754_atanhl): Force underflow exception for results with
32008         small absolute value.
32009         * math/auto-libm-test-in: Do not allow missing underflow
32010         exceptions from atanh.
32011         * math/auto-libm-test-out: Regenerated.
32013         [BZ #18221]
32014         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
32015         2**-28 as threshold for returning x or +/- 1/x.
32016         * math/auto-libm-test-in: Add more tests of tan.
32017         * math/auto-libm-test-out: Regenerated.
32019         [BZ #18220]
32020         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32021         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
32022         * math/auto-libm-test-in: Add another test of lgamma.
32023         * math/auto-libm-test-out: Regenerated.
32025 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
32027         * stdio-common/printf_fp.c (___printf_fp): Use abs.
32028         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
32029         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
32030         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
32031         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
32032         (ADD2A): Use fabs.  (SUB2A): Use fabs.
32033         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
32034         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
32035         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
32036         (log1): Use fabs.  (my_log2): Use fabs.
32037         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
32038         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
32039         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
32040         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
32041         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
32042         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
32043         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
32044         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
32045         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
32046         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
32047         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
32049 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
32051         [BZ #18217]
32052         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
32053         as threshold for returning 1 - x.
32054         * math/auto-libm-test-in: Add more tests of erfc.
32055         * math/auto-libm-test-out: Regenerated.
32057 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
32059         [BZ #18196]
32060         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
32061         threshold for large arguments.
32062         * math/auto-libm-test-in: Add another test of atan.
32063         * math/auto-libm-test-out: Regenerated.
32065         [BZ #16339]
32066         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
32067         (__log1p): Force underflow exception for results with small
32068         absolute value.
32069         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
32070         (__log1pf): Force underflow exception for results with small
32071         absolute value.
32072         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
32073         (__log1p): Force underflow exception for results with small
32074         absolute value.
32075         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
32076         (__log1pf): Force underflow exception for results with small
32077         absolute value.
32078         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
32079         (__log1pl): Force underflow exception for results with small
32080         absolute value.
32081         * math/auto-libm-test-in: Do not allow missing underflow
32082         exceptions from log1p.
32083         * math/auto-libm-test-out: Regenerated.
32085 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
32086             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32088         [BZ #16704]
32089         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
32091 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
32093         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
32094         (libmvec): New variable.
32095         * configure.ac: Added option for mathvec build.
32096         * configure: Regenerated.
32097         * mathvec/Depend: New file.
32098         * mathvec/Makefile: New file.
32099         * shlib-versions: Added libmvec.
32100         * math/Makefile: Added rule for libm.so installation.
32102         * bits/math-vector.h: New file.
32103         * bits/libm-simd-decl-stubs.h: New header.
32104         * math/Makefile (headers): Added new header
32105         libm-simd-decl-stubs.h.
32106         * math/math.h (__MATHCALL_VEC): New macro.
32108         * math/gen-libm-have-vector-test.sh: Script generates series of macros
32109         for conditions in testing functions.
32110         * math/Makefile: Added call of libm-have-vector-test.sh.
32111         * math/libm-test.inc (HAVE_VECTOR): New macros.
32113         * math/libm-test.inc: START refactored.
32114         * math/test-double.c (TEST_MATHVEC): Add define.
32115         * math/test-float.c: Likewise.
32116         * math/test-idouble.c: Likewise.
32117         * math/test-ifloat.c: Likewise.
32118         * math/test-ildoubl.c: Likewise.
32119         * math/test-ldouble.c: Likewise.
32120         * sysdeps/generic/math-tests-arch.h
32121         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
32122         architecture check.
32124         * math/test-double.c (FUNC_TEST): New macro.
32125         * math/test-float.c: Likewise.
32126         * math/test-idouble.c: Likewise.
32127         * math/test-ifloat.c: Likewise.
32128         * math/test-ildoubl.c: Likewise.
32129         * math/test-ldouble.c: Likewise.
32130         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
32132 2015-05-13  Roland McGrath  <roland@hack.frob.com>
32134         * sysdeps/nacl/fdopendir.c: New file.
32136         * dirent/scandir-tail.c: New file.
32137         * dirent/scandir64-tail.c: New file.
32138         * dirent/Makefile (routines): Add them.
32139         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
32140         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
32141         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
32142         [!SCANDIR] (SCANDIR_TAIL): New macro.
32143         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
32144         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
32145         (SCANDIRAT): Macro removed.
32146         (SCANDIR_TAIL): New macro.
32147         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
32148         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
32149         (SCANDIRAT): Just call __opendirat and __scandir_tail.
32150         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
32151         (READDIR): Macro removed.
32152         (SCANDIR_TAIL): New macro.
32153         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
32154         (SCANDIR_TAIL): New macro.
32156         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
32157         * dirent/scandir-cancel.c: ... to this new file.
32158         * dirent/Makefile (routines): Add it.
32159         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
32160         * sysdeps/unix/sysv/linux/i386/scandir64.c
32161         (SKIP_SCANDIR_CANCEL): Macro removed.
32162         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
32164         * dirent/tst-scandir.c: New file.
32165         * dirent/tst-scandir64.c: New file.
32166         * dirent/Makefile (tests): Add them.
32168 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
32170         [BZ #18409]
32171         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
32173 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32175         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
32176         list.
32178 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
32180         * benchtests/bench-strcoll.c: New benchmark.
32181         * benchtests/Makefile: Generate locales and run benchmark.
32182         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
32183         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
32184         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
32185         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
32186         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
32187         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
32188         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
32189         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
32190         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
32191         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
32192         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
32193         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
32194         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
32195         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
32196         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
32197         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
32198         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
32199         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
32200         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
32201         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
32202         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
32203         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
32204         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
32205         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
32207 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
32209         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
32210         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32212 2015-05-12  Roland McGrath  <roland@hack.frob.com>
32214         * posix/uname-values.h: New file.
32215         * posix/uname.c: Include that instead of <config-name.h>.
32216         * sysdeps/nacl/uname-values.h: New file.
32217         * sysdeps/arm/nacl/uname-values.h: New file.
32219 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
32221         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
32222         splitting into fields.
32224 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
32226         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
32227         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
32228         * locale/localeinfo.h: Add enum collation_encoding_type.
32229         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
32230         * programs/ld-collate.c (collate_output): Add encoding type info.
32231         * string/strcoll_l.c (STRDIFF): New function.
32232         * (STRCOLL): Use STRDIFF to skip over equal prefix.
32233         * wcsmbs/wcscoll_l.c: Define STRDIFF.
32235 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
32237         [BZ #18397]
32238         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
32239         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
32240         <fpu_control.h> instead of <math/fpu_control.c>.
32241         * sysdeps/mips/mips32/fpu/Makefile: New file.
32243 2015-05-11  Andreas Schwab  <schwab@suse.de>
32245         [BZ #18007]
32246         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
32247         nss_endgrent.
32248         (_nss_compat_endgrent): Call nss_endgrent.
32249         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
32250         nss_endpwent.
32251         (_nss_compat_endpwent): Call nss_endpwent.
32252         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
32253         needent, call nss_setspent only if non-zero.
32254         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
32255         (internal_endspent): Don't call nss_endspent.
32256         (_nss_compat_endspent): Call nss_endspent.
32257         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
32258         Remove.  All uses removed.
32259         (internal_setent): Remove parameter stayopen, add parameter
32260         stream.  Use it instead of global variable.
32261         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
32262         (internal_endent, internal_getent): Add parameter stream.  Use it
32263         instead of global variable.
32264         (CONCAT(_nss_files_end,ENTNAME))
32265         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
32266         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
32267         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
32268         uses removed.
32269         (internal_setent, internal_endent): Add parameter stream.  Use it
32270         instead of global variable.
32271         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
32272         stream.
32273         (get_next_alias): Add parameter stream.
32274         (_nss_files_getaliasent_r): Pass global stream.
32275         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
32276         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
32277         (_nss_files_gethostbyname4_r): Pass local stream to
32278         internal_setent, internal_getent and internal_endent.  Remove
32279         locking.
32281 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32283         * tst-strfmon1.c (tests): Update expected currency symbol.
32285 2015-05-08  Roland McGrath  <roland@hack.frob.com>
32287         * sysdeps/nacl/gethostname.c: New file.
32289 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
32291         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
32292         and sinh.
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-08  Carlos O'Donell  <carlos@redhat.com>
32299         [BZ #18125]
32300         * stdlib/tst-setcontext3.c: New file.
32301         * stdlib/tst-setcontext3.sh: New file.
32302         * stdlib/Makefile (tests): Add tst-setcontext3.
32303         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
32304         to verify test program created output file.
32305         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
32306         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
32307         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
32308         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
32310 2015-05-06  Roland McGrath  <roland@hack.frob.com>
32312         [BZ #18383]
32313         * elf/tst-tlsalign.c: New file.
32314         * elf/tst-tlsalign-static.c: New file.
32315         * elf/tst-tlsalign-lib.c: New file.
32316         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
32317         (tests-static): Add tst-tlsalign-static.
32318         (modules-names): Add tst-tlsalign-lib.
32319         (test-xfail-tst-tlsalign): New variable.
32320         (test-xfail-tst-tlsalign-static): New variable.
32322         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
32323         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
32325 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
32327         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
32328         csqrt, erfc, sin and sincos.
32329         * math/auto-libm-test-out: Regenerated.
32330         * sysdeps/i386/fpu/libm-test-ulps: Update.
32331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32333 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32335         * sysdeps/aarch64/libm-test-ulps: Update.
32337 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
32339         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
32340         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
32341         * math/auto-libm-test-out: Regenerated.
32342         * sysdeps/i386/fpu/libm-test-ulps: Update.
32343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32345 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
32347         [BZ #18265]
32348         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
32349         (wcsncpy): Likewise.
32351 2015-05-05  Florian Weimer  <fweimer@redhat.com>
32353         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
32354         Assume __ASSUME_FALLOCATE is always true.
32355         * sysdeps/unix/sysv/linux/posix_fallocate64.c
32356         (__posix_fallocate64_l64): Likewise.
32357         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
32358         (posix_fallocate): Likewise.
32359         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
32360         (__posix_fallocate64_l64): Likewise.
32361         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32362         [!__ASSUME_FALLOCATE]: Add comment.
32364 2015-05-05  Florian Weimer  <fweimer@redhat.com>
32366         * sysdeps/unix/sysv/linux/i386/Makefile
32367         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
32368         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
32369         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
32370         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32371         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32372         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
32373         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
32375 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
32377         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
32378         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
32379         tgamma.
32380         * math/auto-libm-test-out: Regenerated.
32381         * sysdeps/i386/fpu/libm-test-ulps: Update.
32382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32384 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
32386         * math/auto-libm-test-in: Add more tests of tgamma.
32387         * math/auto-libm-test-out: Regenerated.
32388         * sysdeps/i386/fpu/libm-test-ulps: Update.
32389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32391         * math/auto-libm-test-in: Add more tests of tanh.
32392         * math/auto-libm-test-out: Regenerated.
32393         * sysdeps/i386/fpu/libm-test-ulps: Update.
32394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32396         * math/auto-libm-test-in: Add more tests of tan.
32397         * math/auto-libm-test-out: Regenerated.
32398         * sysdeps/i386/fpu/libm-test-ulps: Update.
32399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32401         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
32402         * math/auto-libm-test-out: Regenerated.
32403         * sysdeps/i386/fpu/libm-test-ulps: Update.
32404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32406         * math/auto-libm-test-in: Add another test of pow.
32407         * math/auto-libm-test-out: Regenerated.
32408         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32410         * math/auto-libm-test-in: Add more tests of lgamma.
32411         * math/auto-libm-test-out: Regenerated.
32412         * sysdeps/i386/fpu/libm-test-ulps: Update.
32413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32415         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
32416         log1p.
32417         * math/auto-libm-test-out: Regenerated.
32418         * sysdeps/i386/fpu/libm-test-ulps: Update.
32419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32421 2015-05-01  Mark Wielaard  <mjw@redhat.com>
32423         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
32424         Elf64_Chdr structs and ELFCOMPRESS constants.
32426 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
32428         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
32429         expm1.
32430         * math/auto-libm-test-out: Regenerated.
32431         * sysdeps/i386/fpu/libm-test-ulps: Update.
32432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32434         * math/auto-libm-test-in: Add more tests of erf and erfc.
32435         * math/auto-libm-test-out: Regenerated.
32436         * sysdeps/i386/fpu/libm-test-ulps: Update.
32437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32439 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32441         * config.h.in (HAVE_AARCH64_BE): Add.
32443 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
32445         * math/auto-libm-test-in: Add more tests of csqrt.
32446         * math/auto-libm-test-out: Regenerated.
32447         * sysdeps/i386/fpu/libm-test-ulps: Update.
32448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32450         * math/auto-libm-test-in: Add more tests of cosh and sinh.
32451         * math/auto-libm-test-out: Regenerated.
32452         * sysdeps/i386/fpu/libm-test-ulps: Update.
32453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32455         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
32457 2015-04-29  Roland McGrath  <roland@hack.frob.com>
32459         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
32460         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
32462         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
32463         (euidaccess, eaccess): Define as weak aliases.
32465         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
32466         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
32467         but __suseconds_t is often 'long int' so some sources assume that
32468         type is being used (e.g. they use %ld to print tv_usec).
32470 2015-04-29  Florian Weimer  <fweimer@redhat.com>
32472         [BZ #18007]
32473         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
32474         (CVE-2014-8121)
32475         * nss/tst-nss-getpwent.c: New file.
32476         * nss/Makefile (tests): Add new test.
32478 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
32480         [BZ #18346]
32481         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
32482         exponents less than 48 as cases where high part of mantissa needs
32483         examining to determine whether argument is integral.
32484         * math/libm-test.inc (round_test_data): Add more tests.
32486 2015-04-28  Mark Wielaard  <mjw@redhat.com>
32488         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
32490 2015-04-27  David S. Miller  <davem@davemloft.net>
32492         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
32493         __tls_get_addr.
32494         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
32496 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
32498         [BZ #18333]
32499         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
32501 2015-04-27  Florian Weimer  <fweimer@redhat.com>
32503         [BZ #18333]
32504         * time/tzset.c (parse_tzname): Return error on memory allocation
32505         failure.
32506         * test-skeleton.c (struct temp_name_list): Change type of name
32507         member to non-const.
32508         (add_temp_file): Create a copy of the file name.
32509         (delete_temp_files): Deallocate memory.
32510         (create_temp_file): Add comment.
32512 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32514         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
32515         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
32517 2015-04-24  Roland McGrath  <roland@hack.frob.com>
32519         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
32520         * sysdeps/arm/configure: Regenerated.
32522 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32524         [BZ #17715]
32525         * time/tzfile.c (__tzfile_read): Check for large values of
32526         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
32527         * time/tzset.c (__tzstring_len): New function, based on the old
32528         __tzstring function.
32529         (__tzstring): Call __tzstring_len.
32530         (parse_tzname): New helper function extracted from
32531         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
32532         the input string.
32533         (parse_offset): New helper function extracted from
32534         __tzset_parse_tz.  Replace switch with fallthrough with
32535         initialization before sscanf.
32536         (parse_rule): Likewise.
32537         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
32538         new-style function definition.
32539         * timezone/Makefile (tests): Add tst-tzset.
32540         (tst-tzset.out): Dependencies on time zone files.
32541         (tst-tzset-ENV): Set TZDIR.
32542         (testdata/XT%): Copy crafted time zone files.
32543         * timezone/README: Mention crafted time zone files.
32544         * timezone/testdata/XT1, timezone/testdata/XT2,
32545         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
32546         files.
32547         * timezone/tst-tzset.c: New test.
32549 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32551         * Makeconfig (+gccwarn): Remove -Winline.
32553 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32555         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
32557 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32559         * NEWS: Mention sysconf() cache information support for s390.
32560         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
32562 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
32564         * math/k_casinh.c (__kernel_casinh): Use __copysign.
32565         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
32566         (__nearbyint): Likewise.
32567         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
32568         (copysignl): Likewise.
32570 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
32572         [BZ #18287]
32573         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
32574         based on padding.  (CVE-2015-1781)
32576 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32578         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
32579         libc-vdso.h.
32580         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
32581         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
32582         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
32583         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32584         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32585         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
32586         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
32587         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32588         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32589         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
32590         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
32591         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32592         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
32593         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
32594         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32595         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
32596         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
32597         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
32598         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
32599         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
32600         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
32601         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
32602         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
32604 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
32606         * stdlib/setenv.c (__add_to_environ):
32607         Dump core quickly if setenv (..., NULL, ...) is called.
32608         This time, do it the right way, and pacify GCC with a pragma.
32610 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32612         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
32613         IMAP->l_prev cannot be null, and #if out the code for the contrary
32614         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
32615         believe that NS (&_dl_ns[NSID]) could point outside the array.
32617         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
32618         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
32619         before using NSID as an index.
32621 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
32623         [BZ #17825]
32624         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
32625         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
32626         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32628 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32630         Add preliminary port to Google Native Client on ARM.
32631         * abi-tags (.*-.*-nacl.*): New entry.
32632         * sysdeps/arm/nacl: New directory.
32633         * sysdeps/nacl: New directory.
32635 2015-04-16  David S. Miller  <davem@davemloft.net>
32637         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
32638         lowlevellock-futex.h
32640 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
32642         * sysdeps/tile/configure.ac: New file.
32643         * sysdeps/tile/configure: Regenerated.
32645 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32647         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
32648         conditionals for weak_alias and libc_hidden_weak.
32649         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
32650         libc_hidden_weak and weak_alias.
32651         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
32652         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
32653         and weak_alias for static one.
32655 2015-04-15  David S. Miller  <davem@davemloft.net>
32657         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32659 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32661         [BZ #18206]
32662         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
32663           Use signed comparision instead of substraction to avoid
32664           overflow bug.
32665         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
32666           Take the sign of ret.
32667         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
32668           Do not expect precise return values. Only the sign matters.
32669         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
32670         * wcsmbs/test-wcsncmp.c: New File.
32671         * string/test-strncmp.c: Add wcsncmp support.
32673 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32675         [BZ #6792]
32676         * math/w_log1p.c: New file.
32677         * math/w_log1pf.c: Likewise.
32678         * math/w_log1pl.c: Likewise.
32679         * math/Makefile (libm-calls): Add w_log1p.
32680         * math/s_log1pl.c (log1pl): Remove weak_alias.
32681         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
32682         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
32683         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
32684         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
32685         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
32686         [NO_LONG_DOUBLE] (log1pl): Likewise.
32687         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
32688         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
32689         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
32690         (log1p): Remove long_double_symbol.
32691         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
32692         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
32693         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
32694         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
32695         remove weak_alias for corresponding log1p function.
32696         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
32697         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
32698         * sysdeps/ia64/fpu/w_log1p.c: New file.
32699         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
32700         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
32701         * math/libm-test.inc (log1p_test_data): Add errno expectations.
32703 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
32705         [BZ #18247]
32706         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
32707         decimal exponent by 1.
32708         * stdlib/tst-strtod-round-data: Add more tests.
32709         * stdlib/tst-strtod-round.c (tests): Regenerated.
32711 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
32713         * math/auto-libm-test-in: Add more tests of clog and clog10.
32714         * math/auto-libm-test-out: Regenerated.
32715         * sysdeps/i386/fpu/libm-test-ulps: Update.
32716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32718 2015-04-09  Roland McGrath  <roland@hack.frob.com>
32720         * Makeconfig (module-cppflags): Exclude all .v.i files.
32721         (skip-module-cppflags): Variable removed.
32723         * configure.ac (libc_config_ok): Initialize before reading
32724         preconfigure scripts, not after.
32725         * configure: Regenerated.
32727         * test-skeleton.c (TIMEOUT): Move #define to top level.
32728         (main): Grok environment variable TEST_DIRECT.  If set, print
32729         test expectation details into that file and then behave as if
32730         given --direct.
32732 2015-04-09  Florian Weimer  <fweimer@redhat.com>
32734         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
32735         warning on 32-bit.
32737 2015-04-08  David S. Miller  <davem@davemloft.net>
32739         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32741 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32743         * math/auto-libm-test-in: Add more tests of atanh.
32744         * math/auto-libm-test-out: Regenerated.
32745         * sysdeps/i386/fpu/libm-test-ulps: Update.
32746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32748         * math/auto-libm-test-in: Add more tests of atan.
32749         * math/auto-libm-test-out: Regenerated.
32750         * sysdeps/i386/fpu/libm-test-ulps: Update.
32751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32753 2015-04-08  Florian Weimer  <fweimer@redhat.com>
32755         * elf/pldd.c (main): Rewrite to use struct
32756         scratch_buffer instead of extend_alloca.
32757         * elf/pldd-xx.c (find_maps): Likewise.
32758         * grp/initgroups.c: Include <scratch_buffer.h> instead of
32759         <alloca.h>.
32760         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
32761         scratch_buffer instead of extend_alloca.
32762         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
32763         grp/compat-initgroups.c.
32764         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
32765         Rewrite to use struct scratch_buffer instead of extend_alloca.
32766         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
32767         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32769 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32771         * math/auto-libm-test-in: Add more tests of cbrt.
32772         * math/auto-libm-test-out: Regenerated.
32773         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32775         * math/auto-libm-test-in: Add more tests of cabs.
32776         * math/auto-libm-test-out: Regenerated.
32777         * sysdeps/i386/fpu/libm-test-ulps: Update.
32778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32780         [BZ #18210]
32781         [BZ #18211]
32782         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
32783         (__ieee754_atan2): Set FE_TONEAREST mode for internal
32784         computations.
32785         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
32786         clog10.
32787         * math/auto-libm-test-out: Regenerated.
32788         * sysdeps/i386/fpu/libm-test-ulps: Update.
32789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32791         [BZ #18197]
32792         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
32793         (atan): Set FE_TONEAREST mode for internal computations.
32794         * math/auto-libm-test-in: Add more tests of atan.
32795         * math/auto-libm-test-out: Regenerated.
32797 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
32799         [BZ #17930]
32800         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
32802 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32804         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
32806 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32808         * include/scratch_buffer.h: New file.
32809         * malloc/scratch_buffer_grow.c: Likewise.
32810         * malloc/scratch_buffer_grow_preserve.c: Likewise.
32811         * malloc/scratch_buffer_set_array_size.c: Likewise.
32812         * malloc/tst-scratch_buffer.c: Likewise.
32813         * malloc/Makefile (routines): Add scratch_buffer_grow.
32814         (tests): Add test case.
32815         * malloc/Versions (GLIBC_PRIVATE): Export
32816         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
32817         __libc_scratch_buffer_set_array_size.
32819 2015-04-06  Richard Henderson  <rth@redhat.com>
32821         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
32822         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32824         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
32825         unsigned int before printing.
32827 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32829         [BZ #17596]
32830         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
32831         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32833 2015-04-02  Florian Weimer  <fweimer@redhat.com>
32835         * include/libc-internal.h (libc_max_align_t): Define.
32837 2015-04-02  Andreas Schwab  <schwab@suse.de>
32839         [BZ #16850]
32840         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
32842 2015-04-02  Mel Gorman  <mgorman@suse.de>
32844         [BZ #17195]
32845         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
32846         as well as the main arena.
32848 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32850         [BZ #18185]
32851         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
32852         sharing L2 cache to 2 for Silvermont/Knights Landing.
32854 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32856         [BZ #17711]
32857         * config.make.in (have-protected-data): New.
32858         * configure.ac: Check linker support for protected data symbol.
32859         * configure: Regenerated.
32860         * elf/Makefile (modules-names): Add tst-protected1moda and
32861         tst-protected1modb if $(have-protected-data) is yes.
32862         (tests): Add tst-protected1a and tst-protected1b if
32863         $(have-protected-data) is yes.
32864         ($(objpfx)tst-protected1a): New.
32865         ($(objpfx)tst-protected1b): Likewise.
32866         (tst-protected1modb.so-no-z-defs): Likewise.
32867         * elf/tst-protected1a.c: New file.
32868         * elf/tst-protected1b.c: Likewise.
32869         * elf/tst-protected1mod.h: Likewise.
32870         * elf/tst-protected1moda.c: Likewise.
32871         * elf/tst-protected1modb.c: Likewise.
32873 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32875         [BZ #17711]
32876         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
32877         indicates it is called from do_lookup_x on relocation against
32878         protected data, skip the data definion in the executable from
32879         copy reloc.
32880         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
32881         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
32882         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
32883         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
32884         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
32885         otherwise to 0.
32886         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32887         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
32888         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
32889         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32890         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
32891         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
32893 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
32895         * sysdeps/nptl/pthread.h: Remove duplicate definition of
32896         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
32898 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
32900         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
32901         THREAD_SETMEM_NC.
32902         * sysdeps/x86_64/nptl/tls.h: Ditto.
32904 2015-03-27  Roland McGrath  <roland@hack.frob.com>
32906         * dlfcn/tststatic.c (main): Converted to ...
32907         (do_test): ... this.
32908         (TEST_FUNCTION): New macro.
32909         Include test-skeleton.c.
32911 2015-03-26  Alan Modra  <amodra@gmail.com>
32913         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
32914         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
32915         zero for undefined weak.
32916         (elf_machine_plt_conflict): Similarly.
32918 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
32920         * math/auto-libm-test-in: Add more tests of acosh, asinh and
32921         atanh.
32922         * math/auto-libm-test-out: Regenerated.
32923         * sysdeps/i386/fpu/libm-test-ulps: Update.
32924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32926         * math/auto-libm-test-in: Add another test of asin.
32927         * math/auto-libm-test-out: Regenerated.
32928         * sysdeps/i386/fpu/libm-test-ulps: Update.
32929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32931         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
32932         Remove macro.
32933         (LLL_EBX_REG): Likewise.
32934         (LLL_ENTER_KERNEL): Likewise.
32936         * math/auto-libm-test-in: Add more tests of asin.
32937         * math/auto-libm-test-out: Regenerated.
32938         * sysdeps/i386/fpu/libm-test-ulps: Update.
32939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32941         [BZ #18138]
32942         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
32943         libc_do_syscall_args): New structure.
32944         (INTERNAL_SYSCALL_MAIN_0): New macro.
32945         (INTERNAL_SYSCALL_MAIN_1): Likewise.
32946         (INTERNAL_SYSCALL_MAIN_2): Likewise.
32947         (INTERNAL_SYSCALL_MAIN_3): Likewise.
32948         (INTERNAL_SYSCALL_MAIN_4): Likewise.
32949         (INTERNAL_SYSCALL_MAIN_5): Likewise.
32950         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
32951         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
32952         Replace conditional definitions by conditional definitions of ....
32953         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
32954         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
32955         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
32956         (libpthread-sysdep_routines): Add libc-do-syscall.
32957         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
32958         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
32959         to __NR_futex not 240.
32961 2015-03-25  Alan Modra  <amodra@gmail.com>
32963         * NEWS: Advertise TLS optimization.
32964         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
32965         (DT_PPC_NUM): Increment.
32966         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
32967         (CHECK_STATIC_TLS): Use here.
32968         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
32969         TLS descriptors.
32970         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32971         * sysdeps/powerpc/dl-tls.c: New file.
32972         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
32973         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
32974         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
32975         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
32976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
32977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
32978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
32980 2015-03-25  Alan Modra  <amodra@gmail.com>
32982         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
32983         for overlapping .opd entries" to "support...".
32984         * sysdeps/powerpc/powerpc64/configure: Regenerate
32986 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
32988         * math/auto-libm-test-in: Add more tests of acos.
32989         * math/auto-libm-test-out: Regenerated.
32990         * sysdeps/i386/fpu/libm-test-ulps: Update.
32991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32993         * math/auto-libm-test-in: Add more tests of expm1.
32994         * math/auto-libm-test-out: Regenerated.
32995         * sysdeps/i386/fpu/libm-test-ulps: Update.
32996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32998 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
33000         * math/auto-libm-test-in: Add more tests of cosh and sinh.
33001         * math/auto-libm-test-out: Regenerated.
33002         * sysdeps/i386/fpu/libm-test-ulps: Update.
33003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33005         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33008         * math/auto-libm-test-in: Add more tests of log2.
33009         * math/auto-libm-test-out: Regenerated.
33010         * sysdeps/i386/fpu/libm-test-ulps: Update.
33011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33013 2015-03-23  Roland McGrath  <roland@hack.frob.com>
33015         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
33016         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
33017         _IO_IS_APPENDING bit in READ_WRITE instead.
33019 2015-03-23  Florian Weimer  <fweimer@redhat.com>
33021         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
33022         (__determine_cpumask_size): Replace extend_alloca with a
33023         variable-length array.  Do not treat res == 0 as an error.
33025 2015-03-23  Florian Weimer  <fweimer@redhat.com>
33027         [BZ #18100]
33028         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
33029         and integer overflow.
33030         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
33031         (main): Add integer overflow tests.
33032         * manual/pattern.texi (Calling Wordexp): Document additional use
33033         for WRDE_SYNTAX.
33035 2015-03-23  Alan Modra  <amodra@gmail.com>
33037         * config.h.in: Remove HAVE_ASM_PPC_REL16.
33038         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
33039         and false branch of conditional.
33040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
33041         Likewise.
33043 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
33045         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
33046         libc-modules.h
33047         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
33048         unused declaration of _hurd_intr_rpc_msg_in_trap.
33049         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
33050         defined instead of whether it is non-zero.
33051         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
33052         input constraint instead of both input and output constraint.  Use ecx
33053         clobber instead of %ecx.
33054         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
33055         mutex_unlock): Use a statement expression instead of an expression list.
33056         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
33057         type to vm_size_t instead of vm_address_t.
33058         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
33059         defined instead of whether it is non-zero.
33060         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
33061         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
33062         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
33063         comparisons with mapaddr.
33064         * nscd/nscd-client.h: Include <time.h>.
33065         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
33066         9th parameter to __vm_region instead of int.
33067         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
33068         * scripts/check-local-headers.sh (exclude): Add device/,
33069         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
33070         cthreads.h.
33072 2015-03-19  Roland McGrath  <roland@hack.frob.com>
33074         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
33075         to account for alignment padding.
33076         * sysdeps/arm/memmove.S: Likewise.
33078 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
33080         * sysdeps/unix/sysv/linux/generic/README: New file.
33082 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
33084         [BZ #18138]
33085         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
33086         (futex_abstimed_wait)
33087         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
33088         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
33089         of lll_futex_timed_wait.
33091 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
33093         [BZ #17542]
33094         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
33096 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
33098         [BZ #17090]
33099         [BZ #17620]
33100         [BZ #17621]
33101         [BZ #17628]
33102         * NEWS: Update.
33103         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
33104         entries with Static TLS too.  Skip entries past the end of the
33105         allocated DTV, from Alan Modra.
33106         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
33107         Static TLS DTV entry set up from...
33108         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
33109         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
33110         * nptl/allocatestack.c (init_one_static_tls): ... and here...
33111         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
33112         for Static TLS.
33113         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
33114         that the slot we find is associated with the given map before
33115         using its generation count.
33116         * nptl_db/db_info.c: Include ldsodefs.h.
33117         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
33118         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
33119         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
33120         (link_map::l_tls_offset): New struct field.
33121         (dtv_t::counter): Likewise.
33122         (rtld_global): New struct.
33123         (_rtld_global): New rtld variable.
33124         (dl_tls_dtv_slotinfo_list): New rtld global field.
33125         (dtv_slotinfo_list): New struct.
33126         (dtv_slotinfo): Likewise.
33127         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
33128         (td_lookup): Rename to...
33129         (td_mod_lookup): ... this.  Use new mod parameter instead of
33130         LIBPTHREAD_SO.
33131         * nptl_db/td_thr_tlsbase.c: Include link.h.
33132         (dtv_slotinfo_list, dtv_slotinfo): New functions.
33133         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
33134         addresses even if the DTV is out of date or missing them.
33135         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
33136         index zero-length arrays.
33137         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
33138         (td_lookup): Make it a macro implemented in terms of...
33139         (td_mod_lookup): ... this declaration.
33140         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
33141         (DB_MAIN_VARIABLE): Likewise.
33143 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33145         [BZ #18134]
33146         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
33148 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
33150         * stdlib/setenv.c (__add_to_environ): Revert previous change.
33152 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
33154         [BZ #18128]
33155         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
33156         (atomic_add, atomic_increment_and_test)
33157         (atomic_decrement_and_test): Fix 64-bit arithmetic.
33159 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
33161         * stdlib/setenv.c (__add_to_environ):
33162         Dump core quickly if setenv (..., NULL, ...) is called.
33164 2015-03-13  Roland McGrath  <roland@hack.frob.com>
33166         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
33167         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
33168         all the necessary asm magic in one place.
33169         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
33170         using those.
33172 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
33174         [BZ #14906]
33175         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
33176         traced file mtime. Use consistent log message.
33177         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
33178         (register_traced_file): Call install_watches. Always set mtime.
33179         (invalidate_cache): Iterate over all trace files. Call install_watches.
33180         (inotify_check_files): Don't inline. Handle watching parent
33181         directories and configuration file movement in and out.
33182         (handle_inotify_events): New function.
33183         (main_loop_poll): Call handle_inotify_events.
33184         (main_loop_epoll): Likewise.
33185         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
33186         (struct traced_file): Use array of inotify fds. Add parent directory,
33187         and basename.
33188         (struct database_dyn): Remove unused file_mtime.
33189         (init_traced_file): New inline function.
33190         (define_traced_file): New macro.
33191         * nss/nss_db/db-init.c: Use define_traced_file.
33192         (_nss_db_init): Use init_traced_file.
33193         * nss/nss_files/files-init.c: Use define_traced_file.
33194         (_nss_files_init): Use init_traced_file.
33196 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
33198         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
33199         [_LIBC]: Do not include <stdlib.h>.
33200         [!_LIBC] (abort): Remove declaration.
33201         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
33202         _FP_STATIC_ASSERT instead of conditionally calling abort.
33203         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
33204         (_FP_EXTEND_CNAN): Likewise.
33205         (FP_TRUNC): Likewise.
33206         (__FP_CLZ): Likewise.
33207         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
33209 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
33211         * manual/string.texi (XPG basename): Fix prototype.
33213 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33215         [BZ #18080]
33216         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
33217         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
33218         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
33219         (__setcontext): Likewise.
33220         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
33221         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
33222         Call rt_sigprocmask syscall one time to set new signal mask
33223         and retrieve the current signal mask instead of two calls.
33224         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
33225         (__swapcontext): Likewise.
33226         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
33227         * stdlib/tst-setcontext2.c: New file.
33229 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33231         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33233 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
33235         [BZ #18093]
33236         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
33237         the wrong size.
33239 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33241         [BZ #18043]
33242         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
33244 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33246         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
33247         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
33248         Remove define.
33249         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
33250         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
33251         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
33252         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
33253         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
33254         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
33255         define.
33256         * nptl_db/td_symbol_list.c (td_lookup): Remove
33257         HAVE_ASM_GLOBAL_DOT_NAME code.
33258         * sysdeps/powerpc/powerpc64/configure.ac: Remove
33259         HAVE_ASM_GLOBAL_DOT_NAME check.
33260         * sysdeps/powerpc/powerpc64/configure: Regenerate.
33261         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
33262         (DOT_LABEL): Remove define.
33263         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
33264         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
33265         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
33266         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
33267         (__TLS_GET_ADDR): Likewise.
33268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
33269         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
33271 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
33273         [BZ #18111]
33274         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
33275         (_FPU_SETCW): Initialize cw from fpsr before storing.
33276         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
33277         (fesetexceptflag): Rewrite using fpu_control.h.
33278         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
33280 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
33282         [BZ #18110]
33283         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
33284         asms.
33285         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
33287 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
33289         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
33290         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
33291         abort.
33292         (_FP_FMA): Likewise.
33293         (_FP_DIV): Likewise.
33295 2015-03-10  Roland McGrath  <roland@hack.frob.com>
33297         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
33298         with 0 in that case.
33299         * Makefile (summarize-tests): New canned sequence, factored out of
33300         commands for targets tests and xtests.  Display summary lines that
33301         don't start with PASS: or XFAIL: rather than ones that do start with
33302         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
33303         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
33304         do start with ERROR: or FAIL:.
33305         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
33306         (except for [$(build-shared) = yes]).
33307         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
33308         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
33309         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
33310         * nptl/Makefile: Revert 2015-03-04 changes.
33311         [$(CXX) empty] (tests-unsupported): New variable.
33312         * debug/Makefile: Likewise.
33314         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
33315         gnulib file.  Replace __attribute with __attribute__ throughout.
33317 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
33319         * sysdeps/hppa/fpu/libm-test-ulps: Update.
33321 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
33323         [BZ #18104]
33324         * math/auto-libm-test-in: Add another test of pow.
33325         * math/auto-libm-test-out: Regenerated.
33327 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33329         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
33330         $(config-cflags-nofma).
33332 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
33334         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
33335         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
33336         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
33337         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
33338         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
33339         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
33340         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
33341         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
33342         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
33343         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
33344         Add comment on closing #endif.
33346 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33348         * posix/wordexp.c (CHAR_IN_SET): New macro.
33349         (parse_param): Use it.
33351 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33353         * sysdeps/powerpc/fpu/libm-test-ulps: update.
33355 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33357         [BZ #18043]
33358         * posix/wordexp.c (parse_param): Fix buffer overflow.
33359         * posix/wordexp-test.c (test_case): Add test case.
33361 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33363         [BZ #18042]
33364         * posix/wordexp.c (parse_backtick): Fix off-by-one.
33365         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
33367 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33369         [BZ #18043]
33370         * posix/wordexp-test.c (test_case): Add test for BZ #18043
33371         (do_bz18043): Delete.
33372         (at_page_end): New.
33373         (testit): Refactor to have words at the edge of unreadable page.
33375 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33377         [BZ #16734]
33378         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
33379         Cleanup read-only streams as well.
33380         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
33382 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33384         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
33385         <bits/libc-lockP.h>
33387 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
33389         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
33390         on [__KERNEL__].
33391         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
33392         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
33393         * soft-fp/op-common.h (_FP_DECL): Likewise.
33395 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
33397         * elf/ifuncdep2.c (global): Replace
33398         __attribute__((visibility("protected"))) with
33399         asm (".protected global").
33400         * elf/ifuncmod1.c (global): Likewise.
33401         * elf/ifuncmod5.c (global): Likewise.
33403 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
33405         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
33406         <asm/sfp-machine.h> instead of <sfp-machine.h>.
33408 2015-03-06  Roland McGrath  <roland@hack.frob.com>
33410         * manual/install.texi (Configuring and compiling):
33411         Document test-wrapper-env-only.
33412         * INSTALL: Regenerated.
33414 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33416         [BZ #18043]
33417         * posix/wordexp.c (parse_param): Fix buffer overflow.
33418         * posix/wordexp-test.c (do_bz18043): Add test case.
33420 2015-03-06  Vincent Bernat  <vincent@bernat.im>
33422         * time/tst-strptime2.c (do_test): Ensure failing tests are
33423         reported correctly.
33424         * time/tst-strptime3.c (do_test): Likewise.
33426 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
33428         Fix aio_error thread-safety.
33429         * sysdeps/pthread/aio_error.c: New file
33430         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
33431         synchronization.
33433 2015-03-06  Florian Weimer  <fweimer@redhat.com>
33435         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
33436         (group_number, vfprintf): Use it.
33437         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
33438         (JUMP, REF): Use it.
33439         (WORK_BUFFER_SIZE): New enum constant.
33440         (process_arg, vfprintf): Use it.
33442 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
33444         * manual/errno.texi (Error Messages): Complete example function
33445         by adding missing #define.
33446         (program_invocation_name): Add statement indicating GNU
33447         extension and reference which header file declares the variable.
33448         (program_invocation_short_name): Likewise.
33450 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
33452         * manual/errno.texi (Error Messages): Delete strerror ISO C89
33453         compatibility note.
33455 2015-03-05  Roland McGrath  <roland@hack.frob.com>
33457         * Makeconfig (test-wrapper-env-only): New variable.
33458         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
33459         then use that with $(test-wrapper-env-only) rather than using
33460         $(test-wrapper-env) $(run-program-env) $($*-ENV).
33462 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
33464         [BZ #18082]
33465         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
33466         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
33467         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
33468         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
33469         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
33470         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
33471         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
33472         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
33473         Likewise.
33474         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
33475         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
33476         Likewise.
33477         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
33478         Likewise.
33479         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
33480         Likewise.
33481         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
33482         Likewise.
33483         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
33484         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
33485         Likewise.
33486         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
33487         Likewise.
33488         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
33489         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
33491 2015-03-04  Roland McGrath  <roland@hack.frob.com>
33493         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
33494         (ETH_ALEN): New macro.
33495         (struct ether_addr): Use it for length of ether_addr_octet.
33497         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
33498         (setdb): Don't call __nss_configure_lookup for "rpc".
33499         (do_test): Don't call test_rpc.
33500         (output_rpcent, test_rpc): Functions moved ...
33501         * sunrpc/test-rpcent.c: ... to this new file.
33502         * sunrpc/Makefile (tests): Add it.
33504         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
33505         __xpg_sigpause.
33506         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
33507         * nptl/tst-signal6.c: Likewise.
33508         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
33509         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
33511         * configure.ac (libc_cv_cxx_link_ok): New check.
33512         Reset CXX to empty if it fails to link.
33513         * configure: Regenerated.
33514         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
33515         bug-atexit3-lib only if $(CXX) is nonempty.
33516         * nptl/Makefile (tests): Likewise for tst-cancel24.
33517         (tests, tests-static): Likewise for tst-cancel24-static.
33518         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
33519         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
33520         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
33521         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
33523 2015-03-04  Andreas Schwab  <schwab@suse.de>
33525         [BZ #17631]
33526         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
33527         for non-GCC compilers.
33528         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
33529         Likewise.
33531 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33533         [BZ #17776]
33534         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
33535         integer before bitwise and assembly operations.
33536         (feclearexcept): Likewise.
33537         * math/test-fenvinline.c: New file.
33538         * math/Makefile: Add test-fenvinline test.
33540 2015-03-03  Alan Modra  <amodra@gmail.com>
33542         [BZ #16512]
33543         * scripts/localplt.awk: Strip off symbol version.
33544         * NEWS: Mention bug fix.
33546 2015-03-02  Roland McGrath  <roland@hack.frob.com>
33548         * sysdeps/pthread/timer_routines.c
33549         (timer_free_list, thread_free_list, thread_active_list): Make static.
33551 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
33553         [BZ #17779]
33554         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33555         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33556         Undefine.
33557         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33558         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33559         Likewise.
33560         * sysdeps/unix/sysv/linux/sh/kernel-features.h
33561         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33562         Likewise.
33564 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33566         [BZ #18036]
33567         * posix/fnmatch_loop.c (END): Detect invalid pattern.
33568         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
33570 2015-03-02  Andreas Schwab  <schwab@suse.de>
33572         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
33573         variable name.
33575 2015-03-02  Florian Weimer  <fweimer@redhat.com>
33577         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
33578         Return error status.
33580 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
33582         [BZ #15969]
33583         * locale/findlocale.c (_nl_find_locale): Introduce const
33584         version of loc_name and drop unsafe type casts.
33586 2015-02-27  Roland McGrath  <roland@hack.frob.com>
33588         * dlfcn/tststatic2.c (main): Converted to ...
33589         (do_test): ... this.
33590         (TEST_FUNCTION): New macro.
33591         Include test-skeleton.c.
33593 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
33595         [BZ #17711]
33596         * elf/Makefile (tests): Add vismain only if PIE is enabled.
33597         (tests-pie): Add vismain.
33598         (CFLAGS-vismain.c): New.
33599         * elf/vismain.c: Add comments for PIE requirement.
33601 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33603         [BZ #18046]
33604         [BZ #18047]
33605         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
33606         0x1p-56L as threshold for just returning the argument.
33607         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
33608         0x1p-32L as threshold for just returning the argument.
33609         * math/auto-libm-test-in: Add more tests of atanh.
33610         * math/auto-libm-test-out: Regenerated.
33611         * sysdeps/i386/fpu/libm-test-ulps: Update.
33612         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
33614 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33616         * string/bcopy.c (bcopy): Call memmove for performance.
33618 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33620         * string/bzero.c (__bzero): Call memset for performance.
33622 2015-02-27  John David Anglin  <dave.anglin@bell.net>
33624         [BZ #18068]
33625         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
33626         to 00100000.
33628 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33630         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
33632 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33634         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
33635         (__kernel_standard): Use CSTR macro when setting exc.name.
33636         * sysdeps/ieee754/Makefile [$(subdir) = math]
33637         (CFLAGS-k_standard.c): Remove variable.
33639         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
33640         setting p and q from "else if" to "else".
33641         (qzero): Likewise.
33642         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
33643         (qone): Likewise.
33644         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
33645         (qzerof): Likewise.
33646         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
33647         (qonef): Likewise.
33648         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
33649         (qzero): Likewise.
33650         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
33651         (qone): Likewise.
33653         [BZ #18038]
33654         [BZ #18039]
33655         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
33656         return pi/2 for arguments below 0x1p-113L.
33657         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
33658         return pi/2 for arguments below 0x1p-106L.
33659         * math/auto-libm-test-in: Add more tests of acos.
33660         * math/auto-libm-test-out: Regenerated.
33662         [BZ #16351]
33663         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
33664         (MO): New macro.
33665         (__ieee754_asin): Force underflow exception for results with small
33666         absolute value.
33667         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
33668         (MO): New macro.
33669         (__ieee754_asinf): Force underflow exception for results with
33670         small absolute value.
33671         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
33672         (__ieee754_asin): Force underflow exception for results with small
33673         absolute value.
33674         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
33675         (__ieee754_asinf): Force underflow exception for results with
33676         small absolute value.
33677         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
33678         (__ieee754_asinl): Force underflow exception for results with
33679         small absolute value.
33680         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
33681         (__ieee754_asinl): Force underflow exception for results with
33682         small absolute value.
33683         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
33684         (__ieee754_asinl): Force underflow exception for results with
33685         small absolute value.
33686         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
33687         Include <math.h>.
33688         * math/auto-libm-test-in: Do not mark underflow exceptions as
33689         possibly missing for bug 16351.
33690         * math/auto-libm-test-out: Regenerated.
33692         [BZ #18030]
33693         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
33694         of power of 2 down when low part has opposite sign.
33695         * math/libm-test.inc (logb_test_data): Add more tests.
33697 2015-02-26  Andreas Schwab  <schwab@suse.de>
33699         [BZ #18032]
33700         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
33701         over collating symbol inside a bracket expression.  Minor cleanup.
33702         * posix/tst-fnmatch3.c (do_test): Add test case.
33704 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33706         [BZ #18029]
33707         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
33708         Adjust exponent of power of 2 down when low part has opposite
33709         sign.
33710         * math/libm-test.inc (ilogb_test_data): Add more tests.
33712 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
33714         [BZ #15969]
33715         * locale/findlocale.c (_nl_find_locale): Fix constness error in
33716         the previous change.
33718         [BZ #15969]
33719         * locale/findlocale.c (_nl_find_locale): Retry archive search
33720         after alias expansion.
33722 2015-02-25  Roland McGrath  <roland@hack.frob.com>
33724         * iconv/tst-iconv3.c (main): Converted to ...
33725         (do_test): ... this.
33726         (TEST_FUNCTION): New macro.
33727         Include test-skeleton.c.
33729         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
33730         (convert): Make function static.
33731         (test_unalign): Likewise.  Add const to argument pointee types.
33732         (main): Replace with static function do_test.
33733         Print "Succeeded." only if RET is zero.
33734         (TEST_FUNCTION): New macro.
33735         Include test-skeleton.c.
33737         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
33738         returns a null pointer.
33740 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33742         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
33743         to __memcpy_ppc only for static builds.
33745 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
33747         [BZ #18020]
33748         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
33749         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
33750         * math/auto-libm-test-in: Add more tests of asinh.
33751         * math/auto-libm-test-out: Regenerated.
33752         * sysdeps/i386/fpu/libm-test-ulps: Update.
33753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33755 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
33757         [BZ #15850]
33758         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
33759         and ip6_mtuinfo definitions here.
33760         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
33761         in this define too.  Update comment.
33763 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
33765         * elf/sprof.c (load_shobj): Tweak error message to match others.
33767 2015-02-24  Kevin Easton  <kevin@guarana.org>
33769         [BZ #16145] (partial fix)
33770         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
33771         to reduce lock contention.
33773 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
33775         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
33776         (struct timex): Update time comment.
33777         (ADJ_SETOFFSET): Define.
33779 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33781         [BZ #18019]
33782         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33783         2**56 not 2**28 as threshold for log (2x) formula.
33784         * math/auto-libm-test-in: Add more tests of acosh.
33785         * math/auto-libm-test-out: Regenerated.
33786         * sysdeps/i386/fpu/libm-test-ulps: Update.
33787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33789 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33791         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
33792         parenthesis around the buf assignment.
33793         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
33795 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33797         [BZ #16783]
33798         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
33799         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
33800         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
33801         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33802         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33803         * math/libm-test.inc (scalb_test_data): Add more tests.
33805 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33807         [BZ #17916]
33808         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
33809         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
33811 2015-02-24  Eric Rannaud  <e@nanocritical.com>
33813         [BZ #17523]
33814         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
33815         * io/bits/fcntl2.h (open): Use it.
33816         (openat): Likewise.
33817         * io/open.c (__libc_open): Likewise.
33818         * io/open64.c (__libc_open64): Likewise.
33819         * io/open64_2.c (__open64_2): Likewise.
33820         * io/open_2.c (__open_2): Likewise.
33821         * io/openat.c (__openat): Likewise.
33822         * io/openat64.c (__openat64): Likewise.
33823         * io/openat64_2.c (__openat64_2): Likewise.
33824         * io/openat_2.c (__openat_2): Likewise.
33825         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
33826         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
33827         * sysdeps/posix/open64.c (__libc_open64): Likewise.
33828         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
33829         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
33830         (__open_nocancel): Likewise.
33831         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
33832         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
33833         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
33835 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33837         [BZ #14841]
33838         * resolv/gethnamaddr.c (getanswer): Skip logging if
33839         RES_USE_DNSSEC is set.
33840         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33842 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33844         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
33846 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
33848         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
33849         201304L, for Unicode 7.
33851 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
33853         [BZ #17836]
33854         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
33855         shared library.  Add gmon-start.os otherwise.
33856         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
33857         $(objpfx)gmon-start.os if builing shared library.
33858         ($(objpfx)g$(static-start-installed-name)): Likewise.
33860 2015-02-23  Andreas Schwab  <schwab@suse.de>
33862         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
33864 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33866         [BZ #17269]
33867         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
33868         (enlarge_userbuf): Likewise.
33870 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
33872         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
33873         * math/atest-exp.c (TIMEOUT): Adjust to 200.
33874         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
33875         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
33877 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
33879         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
33880         expression inside statement expression.
33882 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33884         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
33885         <sysdeps/nptl/lowlevellock.h> and remove macros and
33886         functions that are now defined there.
33887         (SYS_futex): Remove.
33888         (lll_compare_and_swap): Remove.
33889         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
33891 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
33893         [BZ #17999]
33894         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
33895         instead of scandirat.
33896         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
33897         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
33898         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
33899         __scandirat.
33900         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
33901         (__scandirat): Declare.  Use libc_hidden_proto.
33902         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
33903         Remove variable.
33904         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33906 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
33908         [BZ #15319]
33909         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
33910         (MO): New macro.
33911         (__ieee754_atan2): For results with small absolute value, force
33912         underflow exception and remove excess range and precision from
33913         return value.
33914         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
33915         (MO): New macro.
33916         (__ieee754_atan2f): For results with small absolute value, force
33917         underflow exception and remove excess range and precision from
33918         return value.
33919         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
33920         (MO): New macro.
33921         (__atan): For results with small absolute value, force underflow
33922         exception and remove excess range and precision from return value.
33923         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
33924         (MO): New macro.
33925         (__atanf): For results with small absolute value, force underflow
33926         exception and remove excess range and precision from return value.
33927         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
33928         <math.h>.
33929         (__ieee754_atan2): Force underflow exception for results with
33930         small absolute value.
33931         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
33932         <math_private.h>.
33933         (atan): Force underflow exception for results with small absolute
33934         value.
33935         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
33936         (__atanf): Force underflow exception for results with small
33937         absolute value.
33938         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
33939         <math.h>.
33940         (__atanl): Force underflow exception for results with small
33941         absolute value.
33942         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
33943         (__atanl): Force underflow exception for results with small
33944         absolute value.
33945         * sysdeps/x86/fpu/bits/mathinline.h
33946         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
33947         (__ieee754_atan2): Only define inline for long double.
33948         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
33949         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
33950         * math/auto-libm-test-in: Do not mark underflow exceptions as
33951         possibly missing for bug 15319.  Add more tests of atan2.
33952         * math/auto-libm-test-out: Regenerated.
33953         * math/libm-test.inc (casin_test_data): Do not mark underflow
33954         exceptions as possibly missing for bug 15319.
33955         (casinh_test_data): Likewise.
33956         * sysdeps/i386/fpu/libm-test-ulps: Update.
33958 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
33960         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
33961         * sysdeps/mips/bits/endian.h: Fix comments.
33963 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
33965         [BZ #17996]
33966         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
33967         (hdestroy_r): Likewise.
33968         (hsearch_r): Likewise.
33969         (__hcreate_r): Declare and use libc_hidden_proto.
33970         (__hdestroy_r): Likewise.
33971         (__hsearch_r): Likewise.
33972         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
33973         (hcreate): Call __hcreate_r instead of hcreate_r.
33974         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
33975         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
33976         as weak alias of __hcreate_r.
33977         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
33978         __hdestroy_r.
33979         (hsearch_r): Rename to __hsearch_r and define as weak alias of
33980         __hsearch_r.
33981         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
33982         Remove variable.
33983         (test-xfail-XPG4/search.h/linknamespace): Likewise.
33984         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33985         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33986         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33988 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33990         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
33991         arena_lock into a single arena_get.
33993 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
33995         * dl-reloc.c: Inlucde libc-internal.h.
33996         (_dl_try_allocate_static_tls): Call ALIGN_UP.
33997         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
33998         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
33999         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
34000         (grow_heap): Likewise.
34001         * malloc/malloc.c: Include libc-internal.h.
34002         (do_check_malloc): Call powerof2.
34003         (sysmalloc): Use pagesize. Call ALIGN_UP.
34004         (systrim): Use pagesize.
34005         (mremap_chunk): Use pagesize. Call ALIGN_UP.
34006         (__libc_valloc): Use pagesize.
34007         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
34009 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
34011         [BZ #17991]
34012         * include/sys/resource.h (__getrlimit64): Declare.  Use
34013         libc_hidden_proto.
34014         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
34015         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
34016         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
34017         getrlimit64.
34018         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
34019         __getrlimit64.
34020         [!getrlimit64] (getrlimit64): Define as weak alias of
34021         __getrlimit64.  Use libc_hidden_weak.
34022         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
34023         using __getrlimit64 not __new_getrlimit64.
34024         (__GI_getrlimit64): Likewise.
34025         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
34026         Likewise.
34027         (__GI_getrlimit64): Likewise.
34028         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
34029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
34030         (getrlimit): Add __getrlimit64 alias.
34031         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
34032         Likewise.
34033         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
34034         Remove variable.
34035         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
34036         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
34038 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
34040         * libio/fileops.c: Add missing sys/mman.h
34041         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
34043 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
34045         * manual/math.texi (Errors in Math Functions): Clarify goals
34046         regarding inexact and underflow exceptions.
34048 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
34050         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
34051         * sysdeps/mips/memset.S: Ditto.
34053 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
34055         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
34057 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34059         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
34060         (__v1longjmp): Remove versioned symbol.
34061         (__v1siglongjmp): Remove alias and versioned symbol.
34062         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
34063         (__v2siglongjmp): Likewise.
34065 2015-02-16  Torvald Riegel  <triegel@redhat.com>
34067         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
34069 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
34071         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
34073 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
34075         [BZ #17987]
34076         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
34077         zero result does not depend on the sign resulting from
34078         subtraction.
34079         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34080         Likewise.
34081         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34082         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34083         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34084         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34085         * math/libm-test.inc (remquo_test_data): Add more tests.
34087 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
34089         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
34090         Problem reported by J William Piggott.
34092 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
34094         [BZ #17978]
34095         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
34096         products 4 * y and 2 * y where those would overflow.
34097         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34098         Likewise.
34099         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34100         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34101         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34102         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34103         * math/libm-test.inc (remquo_test_data): Add more tests.
34105         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
34107         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
34108         [defined _COMPILING_NEWLIB].
34109         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
34110         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
34112         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
34113         [!defined __mips_isa_rev || __mips_isa_rev < 6].
34115 2015-02-16  Torvald Riegel  <triegel@redhat.com>
34117         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
34118         acquired.
34120 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
34122         [BZ #17792]
34123         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
34124         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
34125         HOST_STACK_END_ADDR): Likewise.
34127 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
34129         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
34130         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
34131         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
34133 2015-02-13  Roland McGrath  <roland@hack.frob.com>
34135         * sysdeps/generic/c++-types.data: New file.
34136         * sysdeps/generic/ld.abilist: New file.
34137         * sysdeps/generic/libBrokenLocale.abilist: New file.
34138         * sysdeps/generic/libanl.abilist: New file.
34139         * sysdeps/generic/libc.abilist: New file.
34140         * sysdeps/generic/libcrypt.abilist: New file.
34141         * sysdeps/generic/libdl.abilist: New file.
34142         * sysdeps/generic/libm.abilist: New file.
34143         * sysdeps/generic/libpthread.abilist: New file.
34144         * sysdeps/generic/libresolv.abilist: New file.
34145         * sysdeps/generic/librt.abilist: New file.
34147 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
34149         [BZ #17569]
34150         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34151         Compute absolute value of x as modified by fmod, not original
34152         value of x.
34153         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
34154         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
34155         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
34156         RUN_TEST_ffI_f1_mod8.
34157         (remquo_test_data): Add more tests.
34159 2015-02-13  Roland McGrath  <roland@hack.frob.com>
34161         * sysdeps/init_array/pt-crti.S: New file.
34163 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
34165         [BZ #17967]
34166         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
34167         __builtin_fmaf instead of relying on contraction of a * b + c.
34169 2015-02-12  J William Piggott  <elseifthen@gmx.com>
34171         [BZ #17969]
34172         * manual/time.texi: correct the zoneinfo path in the TZ Variable
34173         node.
34175 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
34177         [BZ #17964]
34178         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
34179         __builtin_fma instead of relying on contraction of a * b + c.
34181 2015-02-12  Roland McGrath  <roland@hack.frob.com>
34183         * Makeconfig (ASFLAGS): Add -Werror=undef.
34184         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
34185         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
34186         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
34188         * Makeconfig (after-link): New variable.
34189         (+link-pie, +link-pie-tests): Use it.
34190         (+link-static, +link-static-tests): Likewise.
34191         (+link, +link-tests): Likewise.
34192         * Makerules (build-module, build-module-asneeded): Likewise.
34193         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
34194         Likewise.
34195         * elf/Makefile ($(objpfx)ld.so): Likewise.
34197 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
34199         [BZ #17965]
34200         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
34201         both struct timeval and struct timespec.
34203 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
34205         [BZ #16560]
34206         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34207         and redefine.
34208         (__ieee754_exp2l): Do not multiply small fractional parts by
34209         M_LN2l.
34210         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
34211         small argument.
34212         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
34213         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
34214         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
34215         * math/auto-libm-test-in: Add more tests of exp2.
34216         * math/auto-libm-test-out: Regenerated.
34218 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34220         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
34221         unaligned path.
34223 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34225         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
34226         little endian.
34228 2015-02-12  Andreas Schwab  <schwab@suse.de>
34230         [BZ #15790]
34231         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
34232         Filter out elision flags from value returned in kind.
34233         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
34234         * nptl/tst-pthread-mutexattr.c: New file.
34236 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34238         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
34239         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
34240         into gnu-gnu, and update comment to refer to abi-tags.
34242 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
34244         [BZ #15467]
34245         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
34246         (__sincos): Set errno to EDOM for infinite argument.
34247         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
34248         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
34249         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
34250         (__sincosl): Set errno to EDOM for infinite argument.
34251         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
34252         (__sincosl): Set errno to EDOM for infinite argument.
34253         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
34254         (__sincosl): Set errno to EDOM for infinite argument.
34255         * math/libm-test.inc (sincos_test_data): Test errno setting.
34257 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
34259         * string/strxfrm_l.c: Remove #define STRCMP.
34260         * string/strcoll_l.c: Remove #define STRLEN.
34261         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
34262         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
34264 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
34266         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
34267         * sysdeps/mips/mips32/sfp-machine.h: ... here.
34268         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
34269         * sysdeps/mips/mips64/Makefile: ... here.
34270         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
34271         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
34272         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
34273         * sysdeps/mips/mips64/sfp-machine.h: ... here.
34274         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
34275         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
34276         * sysdeps/mips/mips64/n64/Implies: Likewise.
34278 2015-02-10  Roland McGrath  <roland@hack.frob.com>
34280         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
34281         <sys/time.h>, <string.h>, and <errno.h>.
34282         (dest_offset, dest_address, value, zero): Remove unused variables.
34283         (ldouble): Remove typedef.
34284         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
34285         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
34286         1).  Fix code style.
34287         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
34288         (check): Function removed.
34289         (CHECK): New macro.
34290         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
34291         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
34292         Don't call set_sigaction_FP and remove_sigaction_FP here.
34293         (ldouble_test): Just use 'long double' as macro argument, no need for
34294         the 'ldouble' typedef.
34295         (do_test): Set up SIGFPE handler at start, using plain signal rather
34296         than sigaction.  Fix code style.
34298 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
34300         [BZ #17949]
34301         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
34302         jump label.
34304 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34306         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
34307         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34309         * sysdeps/powerpc/configure.ac: Remove file.
34310         * sysdeps/powerpc/configure: Likewise.
34312         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
34313         [sysdep_routines]: Remove wordcopy-power6 object.
34314         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
34315         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
34316         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
34317         (__memmove_ppc32): Likewise.
34318         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
34319         file.
34320         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
34321         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
34322         Remove preprocessor.
34324         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
34325         [sysdep_routines]: Remove wide chars objects.
34326         [wcsmbs]: New rule for wide char objects.
34328         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34329         Remove wordcopy-power6 obejct.
34330         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
34331         Use local call for wordcopy and memcpy symbols.
34332         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
34333         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
34334         implementation for loader.
34335         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
34337         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34338         Remove wordcopy-power7 object.
34339         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
34340         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
34341         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
34342         (_wordcopy_fwd_dest_aligned): Likewise.
34343         (_wordcopy_bwd_aligned): Likewise.
34344         (_wordcopy_bwd_dest_aligned): Likewise.
34346         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
34347         Rewrite to call __memmove_ppc instead of include default
34348         implementation.
34350         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34351         Remove wide chars objects.
34352         [wcsmbs]: New rule for wide char objects.
34354 2015-02-09  Andreas Schwab  <schwab@suse.de>
34356         [BZ #17912]
34357         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
34358         in terms of __O_DIRECTORY.
34360 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34362         * time/getdate.c: Include <stdbool.h>.
34363         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
34364         call PTR_MANGLE.
34365         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
34366         PTR_DEMANGLE.
34368 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
34370         Add ersatz _Static_assert on older C hosts
34371         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
34372         pre-C11 C platform that is not known to support _Static_assert.
34374 2015-02-07  Richard Braun  <rbraun@sceen.net>
34376         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
34377         sigstate.
34378         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
34380 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34382         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
34383         priority against unexistent AIO_PRIO_DELTA_MAX.
34384         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
34385         instead of int.
34386         * misc/fchflags.c (fchflags): Likewise.
34387         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
34388         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
34389         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
34390         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
34391         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
34392         Declare macros.
34393         [__USE_MISC] (chflags, fchflags): Declare functions.
34394         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
34395         EINVAL when nfds is greater than FD_SETSIZE.
34396         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
34397         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
34398         45.
34399         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
34400         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
34401         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
34402         MACH_RCV_TIMED_OUT.
34403         * hurd/hurd/signal.h (_hurd_self_sigstate,
34404         _hurd_critical_section_lock, _hurd_critical_section_unlock):
34405         Explicit casts from void *.
34406         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
34407         * abi-tags: Rename gnu-gnu os into gnu.
34409         [BZ #4719]
34410         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
34411         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
34412         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
34413         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
34414         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
34415         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
34417         [BZ #17944]
34418         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
34419         duplicates ADDR->sun_path with sockaddr LEN limitation.
34420         * sysdeps/mach/hurd/connect.c: Include <string.h>
34421         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
34422         * sysdeps/mach/hurd/sendmsg.c: Likewise.
34423         * sysdeps/mach/hurd/sendto.c: Likewise.
34424         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
34425         implementing it by hand.
34427 2015-02-06  Roland McGrath  <roland@hack.frob.com>
34429         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
34430         Use sfi_breg on ldr.
34431         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
34432         Likewise.
34434         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
34435         it's defined.
34436         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
34437         Test SIGSETXID only if it's defined.
34439         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
34441         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
34442         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
34444         * nptl/tst-align2.c: Moved ...
34445         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
34446         * nptl/Makefile (tests): Remove tst-align2.
34447         * sysdeps/unix/sysv/linux/Makefile
34448         [$(subdir) = nptl] (tests): Add tst-align-clone.
34449         * nptl/tst-getpid1.c: Moved ...
34450         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
34451         * nptl/tst-getpid2.c: Moved ...
34452         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
34453         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
34454         * sysdeps/unix/sysv/linux/Makefile
34455         [$(subdir) = nptl] (tests): ... here.
34456         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
34457         * sysdeps/unix/sysv/linux/Makefile
34458         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
34460         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
34461         Drop trailing \n from perror argument.  Use return rather than exit.
34463         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
34464         on [SA_SIGINFO].
34465         * nptl/tst-cancel21.c (do_test): Likewise.
34466         * debug/tst-backtrace6.c: Include <signal.h> first thing.
34467         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
34468         [!SA_SIGINFO]: Make it a stub test.
34470         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
34471         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
34473         * posix/tst-getlogin.c: Move to ...
34474         * login/tst-getlogin.c: ... here.
34475         * posix/Makefile (tests): Move tst-getlogin to ...
34476         * login/Makefile (tests): ... here.
34478         * libio/tst-atime.c (do_test): Move local variables SV and E
34479         inside [ST_NOATIME] conditional.
34481         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
34483         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
34485         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
34486         (wait_code): New function replaces macro.
34487         Call nanosleep rather than syscall.
34489         * nptl/pt-system.c: Rewritten.  Put everything under
34490         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34491         Use IFUNC to redirect when possible.
34493         * nptl/pt-longjmp.c: Rewritten.  Put everything under
34494         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34495         Use IFUNC to redirect when possible.
34497         * nptl/pt-fork.c: Rewritten.  Put everything under
34498         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34499         Use IFUNC to redirect when possible.
34500         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
34502         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
34503         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
34504         unconditionally nowadays.  This included the only reference to
34505         __vdso_clock_gettime that appears outside libc proper.
34506         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
34507         Remove version set (containing only __vdso_clock_gettime).
34508         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
34509         Add attribute_hidden.
34510         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
34511         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
34512         libc_hidden_data_def.
34513         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34514         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34516         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
34517         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
34518         setrpcent, and getrpcport to ...
34519         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
34520         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
34521         getrpcbynumber_r, and getrpcent_r to ...
34522         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
34523         * inet/getrpcbyname.c: Moved ...
34524         * sunrpc/getrpcbyname.c: ... here.
34525         * inet/getrpcbyname_r.c: Moved ...
34526         * sunrpc/getrpcbyname_r.c: ... here.
34527         * inet/getrpcbynumber.c: Moved ...
34528         * sunrpc/getrpcbynumber.c: ... here.
34529         * inet/getrpcbynumber_r.c: Moved ...
34530         * sunrpc/getrpcbynumber_r.c: ... here.
34531         * inet/getrpcent.c: Moved ...
34532         * sunrpc/getrpcent.c: ... here.
34533         * inet/getrpcent_r.c: Moved ...
34534         * sunrpc/getrpcent_r.c: ... here.
34535         * inet/Makefile (routines): Move those to ...
34536         * sunrpc/Makefile (routines): ... here.
34537         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
34538         the $(subdirs) list.
34539         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
34540         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
34541         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
34542         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
34544         * elf/Makefile (routines): Include $(all-dl-routines), not just
34545         $(dl-routines).
34546         (rtld-routines): Likewise.  Use = rather than :=.
34547         * sysdeps/aarch64/Makefile [$(subdir) = elf]
34548         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
34549         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
34550         * sysdeps/arm/Makefile: Likewise.
34551         * sysdeps/i386/Makefile: Likewise.
34552         * sysdeps/x86_64/Makefile: Likewise.
34553         * sysdeps/hppa/Makefile [$(subdir) = elf]
34554         (sysdep_routines, sysdep-rtld-routines): Don't add
34555         $(sysdep-dl-routines) to these.
34556         * sysdeps/ia64/Makefile: Likewise.
34557         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
34558         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
34559         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
34560         Don't add dl-static to these; sysdep-dl-routines alone is enough.
34561         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
34562         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
34563         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
34564         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
34565         * sysdeps/powerpc/Makefile [$(subdir) = elf]
34566         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
34567         these; sysdep-dl-routines alone is enough.
34569 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
34571         [BZ #17932]
34572         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
34573         where multiplication results in zero and third argument is finite
34574         and nonzero.
34575         * math/auto-libm-test-in: Add more tests of fma.
34576         * math/auto-libm-test-out: Regenerated.
34578         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
34579         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
34580         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
34581         (_FP_CMP_EQ): Likewise.
34582         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
34584         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
34585         extra argument CHECK_NAN.  Redefine as wrapper around
34586         _FP_EXTEND_CNAN.
34588 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
34590         * version.h (RELEASE): Set to "stable".
34591         (VERSION): Set to "2.21"
34592         * include/features.h (__GLIBC_MINOR__): Set to 21.
34594         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
34596 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34597             Paul Eggert  <eggert@cs.ucla.edu>
34599         [BZ #16618]
34600         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
34601         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
34602         size in bytes. Store needed elements in wpmax. Use needed size
34603         in bytes for extend_alloca.
34605 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
34607         * manual/install.texi: Latest tested versions are GCC 4.9.2,
34608         binutls 2.25, and texinfo 5.2.
34609         * INSTALL: Regenerate.
34610         * sysdeps/nios2/configure: Regenerate.
34611         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
34612         * manual/contrib.texi: Update.
34613         * po/be.po: Update.
34614         * po/bg.po: Update.
34615         * po/ca.po: Update.
34616         * po/cs.po: Update.
34617         * po/da.po: Update.
34618         * po/de.po: Update.
34619         * po/el.po: Update.
34620         * po/eo.po: Update.
34621         * po/es.po: Update.
34622         * po/fi.po: Update.
34623         * po/fr.po: Update.
34624         * po/gl.po: Update.
34625         * po/hr.po: Update.
34626         * po/hu.po: Update.
34627         * po/ia.po: Update.
34628         * po/id.po: Update.
34629         * po/it.po: Update.
34630         * po/ja.po: Update.
34631         * po/ko.po: Update.
34632         * po/lt.po: Update.
34633         * po/nb.po: Update.
34634         * po/nl.po: Update.
34635         * po/pl.po: Update.
34636         * po/pt_BR.po: Update.
34637         * po/ru.po: Update.
34638         * po/rw.po: Update.
34639         * po/sk.po: Update.
34640         * po/sl.po: Update.
34641         * po/sv.po: Update.
34642         * po/tr.po: Update.
34643         * po/uk.po: Update.
34644         * po/vi.po: Update.
34645         * po/zh_CN.po: Update.
34646         * po/zh_TW.po: Update.
34648         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
34649         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
34650         * sysdeps/hppa/dl-irel.h: Remove #warning.
34651         * sysdeps/hppa/entry.h: Provide prototype for
34652         __canonicalize_funcptr_for_compare and cast argument.
34653         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
34654         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
34655         * sysdeps/hppa/sotruss-lib.c: New file.
34656         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
34657         (atomic_compare_and_exchange_val_acq): Use __typeof__.
34658         (atomic_compare_and_exchange_bool_acq): Likewise.
34659         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
34660         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
34662         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
34663         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
34664         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
34666 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
34668         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
34669         called function in non-PIC case.
34671 2015-01-31  David S. Miller  <davem@davemloft.net>
34673         * sysdeps/sparc/sparc32/bits/atomic.h
34674         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
34675         unlock not after it.
34676         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
34677         volatile register usage warnings from the compiler.
34679         * sysdeps/sparc/nptl/sem_init.c: Delete.
34680         * sysdeps/sparc/nptl/sem_post.c: Delete.
34681         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
34682         * sysdeps/sparc/nptl/sem_wait.c: Delete.
34683         * sysdeps/sparc/sparc32/sem_init.c: New file.
34684         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
34685         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
34686         padding explicitly initialized.
34687         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
34688         padding for in-semaphore spinlock.
34689         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
34690         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
34691         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
34692         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
34693         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
34694         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
34695         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
34696         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
34697         version.
34698         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
34699         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
34701 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
34703         [BZ #17801]
34704         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34705         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
34706         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
34707         New.
34708         (index_AVX_Fast_Unaligned_Load): Likewise.
34709         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
34710         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
34711         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
34712         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
34713         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
34714         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
34715         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
34716         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
34717         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
34719 2015-01-29  Andreas Schwab  <schwab@suse.de>
34721         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
34723 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
34725         [BZ #17892]
34726         * nscd/nscd_stat.c (send_stats): Initialize DATA.
34728 2015-01-28  Martin Sebor  <msebor@redhat.com>
34730         * math/README.libm-test: Clarify. Add "How to read the test output."
34732 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
34734         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
34735         Define to 0.
34737 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
34739         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
34740         (__HAVE_64B_ATOMICS): Define to 0.
34742 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34744         [BZ #17885]
34745         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
34746         value to set as new flag.
34748         [BZ #16576]
34749         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
34750         and use _ARCH_PPCSQ instead.
34751         (__ieee754_sqrt): Likewise.
34752         (__ieee754_sqrtf): Likewise.
34753         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
34754         _ARCH_PPCSQ is defined.
34755         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
34756         fsqrt instruction.
34757         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
34758         _ARCH_PPCSQ is defined.
34759         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
34760         fsqrts instruction.
34761         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
34763 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34765         * iconv/loop.c: Suppress array out of bound warning caused by GCC
34766         bug (GCC BZ #64739).
34768 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
34770         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
34771         Mark _retval as used.
34772         (lll_futex_wake_unlock): Likewise.
34773         (lll_futex_timed_wait_requeue_pi): Likewise.
34775         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
34776         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
34777         register variables.
34779         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
34780         libm_hidden_def.
34782         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
34783         (__bswap_64): Mark as __always_inline.
34785 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
34787         [BZ #15378]
34788         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
34789         when none of the search directories exist.
34791 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34793         [BZ #17869]
34794         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
34795         power8 in .machine directive.
34797         [BZ #17868]
34798         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
34799         set dependency from opd value.
34801 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34803         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34804         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
34805         architecture.
34807 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34809         [BZ #17870]
34810         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
34811         with uint64_t.
34812         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
34813         (uint64_t) 1.
34814         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
34815         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
34816         Replace 1UL with (uint64_t) 1.
34817         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
34818         int with uint64_t.
34820 2015-01-23  Roland McGrath  <roland@hack.frob.com>
34822         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
34823         (if_freenameindex): Likewise.
34825         * resource/getrlimit64.c: Add missing libc_hidden_def.
34827 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
34829         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
34830         __label__.
34831         (_FP_FMA): Likewise.
34832         (_FP_TO_INT_ROUND): Likewise.
34833         (_FP_FROM_INT): Likewise.
34835 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34837         [BZ #16418]
34838         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34839         Make code racy and cancel safe.
34841 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
34843         * sysdeps/arm/unwind-resume.h: Fix copyright year.
34844         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
34845         attribution.
34847         * pwd/tst-getpw.c: Rewrite.
34849         [BZ #17702]
34850         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
34851         (modules-names): Add moddummy1 and moddummy2.
34852         ($(objpfx)tst-rec-dlopen): Define.
34853         * dlfcn/moddummy1.c: New file.
34854         * dlfcn/moddummy2.c: New file.
34855         * dlfcn/tst-rec-dlopen.c: New file.
34856         * elf/dl-cache.c (_dl_load_cache_lookup):
34857         Return char*. Copy result with alloca/strcpy/strdup.
34858         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
34859         returns char*. Free cached. If not saving realname
34860         free cached.
34861         * elf/dl-open.c (dl_open_worker): Do not assert that
34862         _r_debug->r_state is RT_CONSISTENT.
34863         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
34864         returns char*.
34866 2015-01-21  Torvald Riegel  <triegel@redhat.com>
34867             Carlos O'Donell  <carlos@redhat.com>
34869         [BZ #12674]
34870         * nptl/sem_waitcommon.c: New file.
34871         * nptl/sem_wait.c: Include sem_waitcommon.c.
34872         (__sem_wait_cleanup, do_futex_wait): Remove.
34873         (__new_sem_wait): Adapt.
34874         (__new_sem_trywait): New function.
34875         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
34876         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
34877         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
34878         (sem_timedwait): Adapt.
34879         * nptl/sem_post.c (__new_sem_post): Adapt.
34880         (futex_wake): New function.
34881         (__old_sem_post): Add release MO fence.
34882         * nptl/sem_open.c (sem_open): Adapt.
34883         * nptl/sem_init.c (__new_sem_init): Adapt.
34884         (futex_private_if_supported): New function.
34885         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
34886         (__old_sem_getvalue): Add using previous code.
34887         * sysdeps/nptl/internaltypes.h: Adapt.
34888         * nptl/tst-sem13.c (do_test): Adapt.
34889         * nptl/tst-sem11.c (main): Adapt.
34890         * nptl/sem_trywait.c: Remove.
34891         * nptl/DESIGN-sem.txt: Remove.
34892         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
34893         (gen-as-const-headers): Remove structsem.sym.
34894         * nptl/structsem.sym: Remove.
34895         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
34896         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
34897         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
34898         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
34899         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
34900         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
34901         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
34902         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
34903         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
34904         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
34905         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
34906         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
34907         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
34908         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
34909         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
34910         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
34911         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
34912         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
34913         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
34914         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
34915         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
34916         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
34918 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
34920         * INSTALL: Regenerated.
34922         * po/libc.pot: Regenerated.
34924 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
34925             Sandra Loosemore  <sandra@codesourcery.com>
34926             Andrew Jenner  <andrew@codesourcery.com>
34927             Joseph Myers  <joseph@codesourcery.com>
34928             Nathan Sidwell  <nathan@codesourcery.com>
34930         * NEWS: Mention new Nios II port.
34931         * sysdeps/nios2/Implies: New file.
34932         * sysdeps/nios2/Makefile: New file.
34933         * sysdeps/nios2/Subdirs: New file.
34934         * sysdeps/nios2/Versions: New file.
34935         * sysdeps/nios2/__longjmp.S: New file.
34936         * sysdeps/nios2/abort-instr.h: New file.
34937         * sysdeps/nios2/backtrace.c: New file.
34938         * sysdeps/nios2/bits/endian.h: New file.
34939         * sysdeps/nios2/bits/fenv.h: New file.
34940         * sysdeps/nios2/bits/link.h: New file.
34941         * sysdeps/nios2/bits/setjmp.h: New file.
34942         * sysdeps/nios2/bsd-_setjmp.S: New file.
34943         * sysdeps/nios2/bsd-setjmp.S: New file.
34944         * sysdeps/nios2/configure: New generated file.
34945         * sysdeps/nios2/configure.ac: New file.
34946         * sysdeps/nios2/crti.S: New file.
34947         * sysdeps/nios2/crtn.S: New file.
34948         * sysdeps/nios2/dl-init.c: New file.
34949         * sysdeps/nios2/dl-machine.h: New file.
34950         * sysdeps/nios2/dl-sysdep.h: New file.
34951         * sysdeps/nios2/dl-tls.h: New file.
34952         * sysdeps/nios2/dl-trampoline.S: New file.
34953         * sysdeps/nios2/gccframe.h: New file.
34954         * sysdeps/nios2/gmp-mparam.h: New file.
34955         * sysdeps/nios2/jmpbuf-offsets.h: New file.
34956         * sysdeps/nios2/jmpbuf-unwind.h: New file.
34957         * sysdeps/nios2/ldsodefs.h: New file.
34958         * sysdeps/nios2/libc-tls.c: New file.
34959         * sysdeps/nios2/libm-test-ulps: New file.
34960         * sysdeps/nios2/machine-gmon.h: New file.
34961         * sysdeps/nios2/math-tests.h: New file.
34962         * sysdeps/nios2/math_private.h: New file.
34963         * sysdeps/nios2/memusage.h: New file.
34964         * sysdeps/nios2/nptl/Makefile: New file.
34965         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
34966         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
34967         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
34968         * sysdeps/nios2/nptl/pthreaddef.h: New file.
34969         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
34970         * sysdeps/nios2/nptl/tls.h: New file.
34971         * sysdeps/nios2/preconfigure: New file.
34972         * sysdeps/nios2/s_fma.c: New file.
34973         * sysdeps/nios2/s_fmaf.c: New file.
34974         * sysdeps/nios2/setjmp.S: New file.
34975         * sysdeps/nios2/sfp-machine.h: New file.
34976         * sysdeps/nios2/sotruss-lib.c: New file.
34977         * sysdeps/nios2/stackguard-macros.h: New file.
34978         * sysdeps/nios2/stackinfo.h: New file.
34979         * sysdeps/nios2/start.S: New file.
34980         * sysdeps/nios2/sysdep.h: New file.
34981         * sysdeps/nios2/tls-macros.h: New file.
34982         * sysdeps/nios2/tst-audit.h: New file.
34983         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
34984         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
34985         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
34986         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
34987         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
34988         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
34989         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
34990         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
34991         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
34992         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
34993         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
34994         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
34995         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
34996         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
34997         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
34998         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
34999         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
35000         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
35001         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
35002         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
35003         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
35004         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
35005         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
35006         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
35007         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
35008         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
35009         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
35010         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
35011         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
35012         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
35013         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
35014         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
35015         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
35016         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
35017         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
35018         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
35019         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
35020         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
35021         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
35022         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
35023         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
35024         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
35025         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
35026         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
35028 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35030         [BZ #17844]
35031         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
35032         (getutent): Use weak_alias in non SHARED case
35033         and default_symbol_version in SHARED case.
35034         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
35035         (getutent_r, pututline): Likewise.
35036         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
35037         (getutid): Likewise.
35038         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
35039         (getutid_r): Likewise.
35040         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
35041         (getutline): Likewise.
35042         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
35043         (getutline_r): Likewise.
35044         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
35045         (updwtmp): Likewise.
35047 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35049         [BZ #17848]
35050         * sysdeps/s390/s390-32/memcmp.S
35051         (memcmp_g5): Rename to __memcmp_g5.
35052         * sysdeps/s390/s390-32/memcpy.S
35053         (memcpy_g5): Rename to __memcpy_g5.
35054         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35055         (memcpy_mvcle) Rename to __memcpy_mvcle.
35056         * sysdeps/s390/s390-32/memset.S
35057         (memset_g5): Rename to __memset_g5.
35058         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35059         (IFUNC_RESOLVE): Prefix ifunc-resolve function
35060         and use prefixed functions.
35061         * sysdeps/s390/s390-32/multiarch/memcmp.S
35062         (memcmp_z196): Rename to __memcmp_z196.
35063         (memcmp_z10): Rename to __memcmp_z10.
35064         (memcmp): Set alias to __memcmp_g5.
35065         (bcmp): Set alias to __memcmp_g5.
35066         * sysdeps/s390/s390-32/multiarch/memcpy.S
35067         (memcpy_z196): Rename to __memcpy_z196.
35068         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35069         (memcpy_z10): Rename to __memcpy_z10.
35070         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35071         (memcpy): Set alias to __memcpy_g5.
35072         * sysdeps/s390/s390-32/multiarch/memset.S
35073         (memset_z196): Rename to __memset_z196.
35074         Jump to __memset_mvcle instead of memset_mvcle.
35075         (memset_z10): Rename to __memset_z10.
35076         Jump to __memset_mvcle instead of memset_mvcle.
35077         (memset_mvcle) Rename to __memset_mvcle.
35078         (memset): Set alias to __memset_g5.
35079         * sysdeps/s390/s390-64/memcmp.S
35080         (memcmp_z900): Rename to __memcmp_z900.
35081         * sysdeps/s390/s390-64/memcpy.S
35082         (memcpy_z900): Rename to __memcpy_z900.
35083         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35084         (memcpy_mvcle) Rename to __memcpy_mvcle.
35085         * sysdeps/s390/s390-64/memset.S
35086         (memset_z900): Rename to __memset_z900.
35087         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
35088         (IFUNC_RESOLVE): Prefix ifunc-resolve function
35089         and use prefixed functions.
35090         * sysdeps/s390/s390-64/multiarch/memcmp.S
35091         (memcmp_z196): Rename to __memcmp_z196.
35092         (memcmp_z10): Rename to __memcmp_z10.
35093         (memcmp): Set alias to __memcmp_z900.
35094         (bcmp): Set alias to __memcmp_z900.
35095         * sysdeps/s390/s390-64/multiarch/memcpy.S
35096         (memcpy_z196): Rename to __memcpy_z196.
35097         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35098         (memcpy_z10): Rename to __memcpy_z10.
35099         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35100         (memcpy): Set alias to __memcpy_z900.
35101         * sysdeps/s390/s390-64/multiarch/memset.S
35102         (memset_z196): Rename to __memset_z196.
35103         Jump to __memset_mvcle instead of memset_mvcle.
35104         (memset_z10): Rename to __memset_z10.
35105         Jump to __memset_mvcle instead of memset_mvcle.
35106         (memset_mvcle) Rename to __memset_mvcle.
35107         (memset): Set alias to __memset_z900.
35109 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
35111         [BZ #17748]
35112         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
35113         __fesetenv instead of fesetenv.
35115 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35117         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
35118         macro.
35120 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35122         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
35123         regression on LE.
35125         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
35126         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
35127         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35128         strncmp-power8 object.
35129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35130         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
35131         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
35132         * NEWS: Update.
35134 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35135             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35137         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
35138         trailing byte check.
35140 2015-01-13  David S. Miller  <davem@davemloft.net>
35142         * include/signal.h (__sigreturn): Guard with __USE_MISC.
35144 2015-01-13  Roland McGrath  <roland@hack.frob.com>
35146         * login/logout.c (logout): Use memset rather than bzero.
35147         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
35148         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
35149         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
35150         (_gethtbyaddr): Likewise.
35151         * locale/programs/simple-hash.c (bcopy): Macro removed.
35153 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35155         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35156         Add strcmp-power8 object.
35157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35158         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
35159         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
35160         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
35161         __strcmp_power8 implementation.
35162         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
35163         * NEWS: Update.
35165         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35166         Add strncpy-power8 and stpncpy-power8 objects.
35167         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35168         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
35169         implementations.
35170         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
35171         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
35172         __stpncpy_power8 implementation.
35173         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
35174         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
35175         __strncpy_power8 implementation.
35176         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
35177         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
35178         * NEWS: Update.
35180         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
35181         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
35182         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
35184         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35185         strncat-power8 object.
35186         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
35187         __strcat_power8 implementation.
35188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35189         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
35190         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
35191         optimized strcat for power8.
35193         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35194         strcpy-power8 and stpcpy-power8 objects.
35195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35196         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
35197         implementations.
35198         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
35199         multiarch stpcpy implementation for POWER8.
35200         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
35201         multiarch strcpy implementation for POWER8.
35202         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
35203         __strcpy_power8 function.
35204         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
35205         stpcpy for POWER8.
35206         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
35207         strcpy for POWER8.
35208         * NEWS: Update.
35210 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
35212         [BZ #16009]
35213         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
35214         weights and rules. Use do_xfrm_cached if data fits in cache,
35215         do_xfrm otherwise.  Moved former main loop to...
35216         * (do_xfrm_cached): New function.
35217         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
35218         find_idx, find_position and stack_push.
35219         * (find_idx): New function.
35220         * (find_position): Likewise.
35221         * localedata/sort-test.sh: Added test run for do_xfrm.
35222         * localedata/xfrm-test.c (main): Added command line option
35223         -nocache to run the test with strings that are too large for
35224         the STRXFRM cache.
35226 2015-01-13  Torvald Riegel  <triegel@redhat.com>
35228         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
35229         variable to lll_futex_wake call, not the value itself.
35231 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
35233         [BZ #17803]
35234         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
35235         twom64.  Adjust value to 0x1p-64L.
35236         (__scalblnl): Only return standard underflowing result for K <=
35237         -64 not K <= -63; adjust exponent for underflowing result by 64
35238         not 63.
35239         * math/libm-test.inc (scalbn_test_data): Add more tests.
35240         (scalbln_test_data): Likewise.
35242         [BZ #17834]
35243         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
35244         0x1p63L.
35245         (__scalblnl): Get new exponent of adjusted subnormal value from ES
35246         not HX.
35247         * math/libm-test.inc (scalbn_test_data): Add more tests.
35248         (scalbln_test_data): Likewise.
35250 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35251             Stefani Seibold  <stefani@seibold.net>
35253         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
35254         (sysdep_routines): Add dl-vdso here, ...
35255         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
35256         (sysdep_routines): ... not here.
35257         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
35258         fallback when vDSO is not presented.
35259         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
35260         Define with libc_hidden_proto/libc_hidden_data_def definitions.
35261         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
35262         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
35263         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
35264         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
35265         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
35266         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
35267         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
35268         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
35269         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
35270         fallback configurable symbol when vDSO is not available.
35271         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
35272         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
35273         be able to redefine fallback symbol when vDSO is not available.
35274         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
35275         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
35277 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35279         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
35280         (TLS_INIT_TP): Add tm_capable initialization.
35281         (TLS_DEFINE_INIT_TP): Likewise.
35282         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
35283         TCB.
35284         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
35285         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
35286         calculation.
35287         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
35288         transactoion is lock elision is built and TCB tm_capable is set.
35289         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
35290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35291         (INTERNAL_SYSCALL_NCS): Likewise.
35292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35293         (INTERNAL_SYSCALL_NCS): Likewise.
35294         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
35296         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
35297         for powerpc.
35298         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35299         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
35300         and remove it for 32 bits case.
35301         [pthread_rwlock_t] (__rwelision): New field for lock elision.
35302         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
35303         initialization.
35304         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
35305         Disable lock elision with rdlocks if elision is not available.
35307         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
35308         (sysdep_routines): Add lock elision objects.
35309         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35310         [pthread_mutex_t] (__spins): Rework to add lock elision field.
35311         [pthread_mutex_t] (__elision): Add field.
35312         [__PTHREAD_SPINS]: Adjust to init lock elision field.
35313         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
35314         elision definitions for powerpc.
35315         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
35316         implementation of lock elision for powerpc.
35317         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
35318         implementation of timed lock elision for powerpc.
35319         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
35320         implementation of trylock with lock elision for powerpc.
35321         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
35322         implementaion of unlock for lock elision for powerpc.
35323         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
35324         automatic enable lock elision for mutexes.
35325         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
35326         transaction execution definitions for powerpc.
35327         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
35328         definitions.
35329         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
35330         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
35331         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
35332         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
35333         * NEWS: Update.
35335 2015-01-09  Roland McGrath  <roland@hack.frob.com>
35337         * sysdeps/posix/shm-directory.c: Use <> rather than ""
35338         for #include of <shm-directory.h>.
35340 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
35342         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
35343         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
35345 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
35347         [BZ #17791]
35348         * NEWS: Mention bug fix.
35349         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
35350         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
35351         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
35353 2015-01-09  Torvald Riegel <triegel@redhat.com>
35355         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
35357 2015-01-09  Torvald Riegel <triegel@redhat.com>
35359         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
35361 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
35363         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
35364         pointer and cast to uintptr_t.
35366 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
35368         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
35369         removed.
35370         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
35372 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
35374         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
35375         of 0.
35377 2015-01-08  Roland McGrath  <roland@hack.frob.com>
35379         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
35380         <nptl/pthreadP.h> instead.
35381         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
35383         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
35384         already defined.
35385         [__SIGRTMIN] (init): Function removed.
35386         [__SIGRTMIN] (initialized): Variable removed.
35387         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
35388         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
35389         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
35390         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
35391         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
35392         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
35393         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
35394         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
35395         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
35396         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
35397         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
35398         * sysdeps/nptl/allocrtsig.c: New file.
35399         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
35400         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
35401         * sysdeps/generic/testrtsig.h: File removed.
35403         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
35404         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
35406         * nptl/nptl-init.c (pthread_functions): Conditionalize
35407         .ptr__nptl_setxid initialization on [SIGSETXID].
35409         * sysdeps/nptl/sys/procfs.h: New file.
35410         * nptl_db/Makefile (headers): Add it.
35411         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
35413         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
35414         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
35415         * nptl/pthread_attr_setaffinity.c: Include it.
35416         * nptl/pthread_setattr_default_np.c: Likewise.
35417         * nptl/check-cpuset.h: New file.
35419 2015-01-08  Richard Henderson  <rth@redhat.com>
35421         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
35422         (CFLAGS-tst-execstack-prog.c): Likewise.
35423         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
35425 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
35426             Sandra Loosemore  <sandra@codesourcery.com>
35427             Andrew Jenner  <andrew@codesourcery.com>
35428             Joseph Myers  <joseph@codesourcery.com>
35429             Nathan Sidwell  <nathan@codesourcery.com>
35431         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
35432         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
35433         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
35434         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
35435         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
35436         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
35437         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
35438         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
35439         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
35440         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
35441         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
35442         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
35443         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
35444         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
35445         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
35446         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
35447         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
35449 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35451         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
35452         timespec struct member in syscall macro.
35453         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
35454         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
35455         first timeval struct member in syscall macro.
35456         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
35458 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
35460         [BZ #17748]
35461         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
35462         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
35463         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
35464         __feupdateenv and define as weak alias of __feupdateenv.  Use
35465         libm_hidden_weak.
35466         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
35467         libm_hidden_def.
35468         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
35469         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
35470         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35471         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
35472         libm_hidden_def.
35473         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
35474         __feupdateenv and define as weak alias of __feupdateenv.  Use
35475         libm_hidden_weak.
35476         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
35477         libm_hidden_def.
35478         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
35479         __feupdateenv and define as weak alias of __feupdateenv.  Use
35480         libm_hidden_weak.
35481         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
35482         libm_hidden_def.
35483         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35484         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35485         (__feupdateenv): Likewise.
35486         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
35487         __feupdateenv and define as weak alias of __feupdateenv.  Use
35488         libm_hidden_weak.
35489         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35490         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
35491         libm_hidden_def.
35492         * sysdeps/tile/math_private.h (__feupdateenv): New inline
35493         function.
35494         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
35495         libm_hidden_def.
35496         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
35497         __feupdateenv instead of feupdateenv.
35498         (default_libc_feupdateenv_test): Likewise.
35499         (libc_feresetround_ctx): Likewise.
35501 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35503         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
35504         prototype.
35506 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
35508         * posix/regcomp.c (parse_bracket_exp): Initialize type to
35509         COLL_SYM in a couple of places to avoid uninitialized variable
35510         wanings on tilegx gcc 4.8.2.
35512 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35514         * sysdeps/aarch64/strcpy.S: New file.
35515         * sysdeps/aarch64/stpcpy.S: New file.
35516         * NEWS: Updated.
35518 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35520         * sysdeps/aarch64/strrchr.S: New file.
35521         * NEWS: Updated.
35523 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
35525         [BZ #17658]
35526         * stdlib/setenv.c: Fix memory leak when setting large,
35527         duplicate string.
35529 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
35531         [BZ #17273]
35532         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
35533         and tabs from buffer before parsing fstab entry.
35534         * misc/tst-mntent.c (main): Add test for mount entry with
35535         trailing spaces and tabs.
35537 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
35539         [BZ #17748]
35540         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
35541         * math/fesetround.c (fesetround): Rename to __fesetround and
35542         define as weak alias of __fesetround.  Use libm_hidden_weak.
35543         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
35544         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
35545         * sysdeps/arm/fesetround.c (fesetround): Likewise.
35546         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
35547         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
35548         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
35549         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
35550         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
35551         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
35552         __fesetround_inline.
35553         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
35554         __fesetround_inline instead of __fesetround.
35555         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
35556         __fesetround and define as weak alias of __fesetround.  Use
35557         libm_hidden_weak.  Call __fesetround_inline instead of
35558         __fesetround.
35559         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
35560         __fesetround and define as weak alias of __fesetround.  Use
35561         libm_hidden_weak.
35562         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
35563         Likewise.
35564         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
35565         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35566         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
35567         * sysdeps/tile/math_private.h (__fesetround): New inline function.
35568         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
35569         __fesetround and define as weak alias of __fesetround.  Use
35570         libm_hidden_weak.
35571         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
35572         __fesetround instead of fesetround.
35573         (default_libc_feholdexcept_setround): Likewise.
35574         (libc_feholdsetround_ctx): Likewise.
35575         (libc_feholdsetround_noex_ctx): Likewise.
35577         [BZ #17748]
35578         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
35579         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
35580         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35581         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35582         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35583         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
35584         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35585         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
35586         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35587         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35588         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35589         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35590         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35591         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35592         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
35593         libm_hidden_def.
35594         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
35595         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
35596         Likewise.
35597         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35598         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35599         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35600         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35601         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
35602         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35603         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35604         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
35605         __fesetenv instead of fesetenv.
35606         (libc_feresetround_noex_ctx): Likewise.
35607         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35608         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35609         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
35610         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35611         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35612         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35613         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35614         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35615         (__feupdateenv): Likewise.
35616         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35617         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35618         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35619         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
35621 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35623         [BZ #17806]
35624         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
35625         addresses have been freed.
35627 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35629         * resolv/res_init.c (__res_vinit): Improve comments about nserv
35630         and nservall.
35632 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
35634         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
35635         Clean up check_pf allocation pattern. addresses
35637 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35639         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
35640         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
35641         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
35642         * nptl/pthread_exit.c (__pthread_exit): Likewise.
35643         * nptl/pthread_join.c (pthread_join): Likewise.
35644         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
35645         * sysdeps/posix/waitid.c (__waitid): Likewise.
35646         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
35647         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
35648         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
35649         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
35650         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
35651         Likewise.
35652         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
35653         (__libc_pread64): Likewise.
35654         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
35655         (__libc_pwrite): Likewise.
35656         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
35657         (__libc_pwrite64): Likewsie.
35658         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
35659         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
35660         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
35661         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
35662         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
35663         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
35664         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
35665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
35666         Likewise.
35667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35668         (__libc_pread64): Likewise.
35669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
35670         Likewise.
35671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35672         (__libc_pwrite64): Likewise.
35673         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
35674         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
35675         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
35676         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
35677         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
35678         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
35679         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
35680         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
35681         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
35682         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
35683         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
35684         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35685         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35686         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
35687         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35688         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35689         Likewise.
35691 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
35693         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
35694         (CFLAGS-test-double.c): Likewise.
35695         (CFLAGS-test-ldouble.c): Likewise.
35696         (CPPFLAGS-test-ifloat.c): Likewise.
35697         (CPPFLAGS-test-idouble.c): Likewise.
35698         (CPPFLAGS-test-ildoubl.c): Likewise.
35699         (CFLAGS-test-test-fenv.c): Remove variable.
35700         (CFLAGS-test-misc.c): Likewise.
35702 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
35704         [BZ #17797]
35705         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
35706         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
35707         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
35708         CLOCKS_PER_SEC == 1000000.
35709         * time/clocktest.c (main): Replace %ld with %jd and cast to
35710         intmax_t.
35712 2015-01-05  Roland McGrath  <roland@hack.frob.com>
35714         * sysdeps/generic/unwind-resume.h: New file.
35715         * sysdeps/gnu/unwind-resume.c: Include it.
35716         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
35717         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
35718         argument list.
35719         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
35720         global rather than static.
35721         (_Unwind_Resume): Update user.
35722         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
35723         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
35724         rather than static.  Add __attribute__ ((cold)).
35725         (_Unwind_Resume, __gcc_personality_v0): Update callers.
35726         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
35727         * sysdeps/arm/arm-unwind-resume.S: New file.
35728         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
35729         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
35730         * sysdeps/arm/Makefile [$(subdir) = csu]
35731         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
35732         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35733         Add rt-arm-unwind-resume.
35734         [$(subdir) = nptl]
35735         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35736         Add pt-arm-unwind-resume.
35737         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
35738         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
35740 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35742         [BZ #17748]
35743         * include/fenv.h (__feholdexcept): Declare.  Use
35744         libm_hidden_proto.
35745         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
35746         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
35747         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35748         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
35749         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
35750         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
35751         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
35752         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35753         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
35754         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
35755         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35756         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
35757         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
35758         (feholdexcept): Likewise.
35759         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35760         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35761         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35762         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35763         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
35764         __feholdexcept instead of feholdexcept.
35765         (default_libc_feholdexcept_setround): Likewise.
35767 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35769         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
35770         to avoid using stl/str to align destination.
35772 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35774         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
35776 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35778         [BZ #17796]
35779         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
35780         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
35781         Define as weak alias not strong alias.
35783 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35785         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
35786         bltzal with addiupc.
35787         (RTLD_START): Ditto.
35789 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
35791         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
35792         for __vdso_* functions in declarations.
35793         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
35794         definitions.
35795         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
35796         INTERNAL_VSYSCALL): Use struct return types to check for error.
35798         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
35799         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
35800         function with cast from llround().
35801         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
35802         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
35803         Define.
35805 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35807         [BZ #17793]
35808         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
35809         Define as weak alias not strong alias.
35811         [BZ #17635]
35812         * ctype/ctype-c99.c: New file.  isblank implementation moved from
35813         ...
35814         * ctype/ctype-extn.c: ... here.
35815         (__isblank_l): Move to ...
35816         * ctype/ctype-c99_l.c: ... here.  New file.
35817         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
35818         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
35819         Remove variable.
35820         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35821         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
35822         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
35823         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
35824         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
35826         [BZ #17777]
35827         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
35828         (posix_fadvise64): Define as weak alias not strong alias.
35829         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35830         (posix_fallocate64): Likewise.
35831         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
35832         Remove variable.
35833         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
35834         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
35835         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
35836         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
35837         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
35839 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
35841         [BZ #16191]
35842         * NEWS: Mention bug fix.
35843         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
35844         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
35845         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
35846         (HOST_STACK_END_ADDR): Likewise.
35848 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
35850         [BZ #17748]
35851         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
35852         * math/fegetround.c (fegetround): Rename to __fegetround and
35853         define as weak alias of __fegetround.  Use libm_hidden_weak.
35854         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
35855         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
35856         * sysdeps/arm/fegetround.c (fegetround): Likewise.
35857         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
35858         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35859         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
35860         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
35861         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
35862         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35863         Undefine after rather than before function definition; use
35864         parentheses around function name in definition.
35865         (__fegetround): Also undefine macro after function definition.
35866         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
35867         __fegetround and define as weak alias of __fegetround.  Use
35868         libm_hidden_weak.  Do not undefine as macro.
35869         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35870         Likewise.
35871         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
35872         __fegetround and define as weak alias of __fegetround.  Use
35873         libm_hidden_weak.
35874         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35875         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35876         * sysdeps/tile/math_private.h (__fegetround): New inline function.
35877         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
35878         __fegetround and define as weak alias of __fegetround.  Use
35879         libm_hidden_weak.
35880         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
35881         __fegetround instead of fegetround.
35883         [BZ #17782]
35884         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
35885         Condition macro definition on [__USE_MISC].
35887         [BZ #17781]
35888         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35889         (struct sigaction): Change type of sa_flags field to int.
35891         [BZ #17780]
35892         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
35893         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
35894         __glibc_reserved0.
35896         * nptl/version.c (banner): Use single year in copyright notice.
35898         * NEWS: Update copyright dates.
35899         * catgets/gencat.c (print_version): Likewise.
35900         * csu/version.c (banner): Likewise.
35901         * debug/catchsegv.sh: Likewise.
35902         * debug/pcprofiledump.c (print_version): Likewise.
35903         * debug/xtrace.sh (do_version): Likewise.
35904         * elf/ldconfig.c (print_version): Likewise.
35905         * elf/ldd.bash.in: Likewise.
35906         * elf/pldd.c (print_version): Likewise.
35907         * elf/sotruss.sh: Likewise.
35908         * elf/sprof.c (print_version): Likewise.
35909         * iconv/iconv_prog.c (print_version): Likewise.
35910         * iconv/iconvconfig.c (print_version): Likewise.
35911         * locale/programs/locale.c (print_version): Likewise.
35912         * locale/programs/localedef.c (print_version): Likewise.
35913         * login/programs/pt_chown.c (print_version): Likewise.
35914         * malloc/memusage.sh (do_version): Likewise.
35915         * malloc/memusagestat.c (print_version): Likewise.
35916         * malloc/mtrace.pl: Likewise.
35917         * manual/libc.texinfo: Likewise.
35918         * nptl/version.c (banner): Likewise.
35919         * nscd/nscd.c (print_version): Likewise.
35920         * nss/getent.c (print_version): Likewise.
35921         * nss/makedb.c (print_version): Likewise.
35922         * posix/getconf.c (main): Likewise.
35923         * scripts/test-installation.pl: Likewise.
35924         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
35926 2015-01-02  Will Newton  <will.newton@linaro.org>
35928         * sysdeps/arm/armv7/configure: Removed.
35929         * sysdeps/arm/armv7/configure.ac: Likewise.
35931 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
35933         * All files with FSF copyright notices: Update copyright dates
35934         using scripts/update-copyrights.
35935         * intl/plural.c: Regenerated.
35936         * locale/programs/charmap-kw.h: Likewise.
35937         * locale/programs/locfile-kw.h: Likewise.
35939 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35941         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
35943 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
35945         [BZ #17748]
35946         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
35947         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
35948         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
35949         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
35950         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35951         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
35952         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35953         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
35954         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35955         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35956         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35957         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35958         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35959         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35960         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
35961         libm_hidden_def.
35962         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
35963         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
35964         Likewise.
35965         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35966         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35967         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35968         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35969         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
35970         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
35971         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
35972         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
35973         __fegetenv instead of fegetenv.
35974         (libc_feholdsetround_noex_ctx): Likewise.
35976 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
35978         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
35979         (Elf_MIPS_ABIFlags_v0): New structure.
35980         (EF_MIPS_FP64): Define.
35981         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
35982         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
35983         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
35984         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
35985         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
35986         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
35987         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
35988         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
35989         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
35990         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
35991         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
35992         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
35993         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
35994         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
35995         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
35996         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
35997         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
35998         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
35999         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
36000         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
36001         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
36002         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
36003         field.
36004         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
36005         EF_MIPS_FP64.
36006         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
36007         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
36008         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
36009         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
36010         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
36011         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
36012         * sysdeps/mips/tst-abi-interlink.c: Likewise.
36013         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
36014         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
36015         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
36016         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
36017         record the current FP ABI extension.
36018         (mips-mode-switch): Define to show if kernel headers support mode
36019         switching.
36020         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
36021         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
36022         supported SYSV ABI version to 3.
36023         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
36024         feature.
36026 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36027             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36029         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
36030         path.
36031         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
36033 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
36035         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
36036         __fegetround and redefine to call __fegetround.  Remove condition
36037         on [!__NO_MATH_INLINES].
36038         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
36039         function.
36040         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
36041         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
36042         Remove macro.
36043         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
36044         instead of <fenv_libc.h>.
36045         (__llrintl): Call fegetround instead of __fegetround.
36046         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
36047         instead of <fenv_libc.h>.
36048         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36049         (__lrintl): Call fegetround instead of __fegetround.
36050         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
36051         instead of <fenv_libc.h>.
36052         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36053         (__rintl): Call fegetround instead of __fegetround.
36055 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36057         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
36058         arrays.
36060 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
36062         [BZ #17775]
36063         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
36064         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
36065         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
36067 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
36069         * sysdeps/i386/tls-macros.h: Include <features.h>.
36070         (TLS_LE): Use non-PIC version for GCC >= 5.0.
36071         (TLS_IE): Likewise.
36072         (TLS_LD): Likewise.
36073         (TLS_GD): Likewise.
36074         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
36075         define for GCC >= 5.0.
36077 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
36079         * math/test-fenv.c (test_single_exception, set_single_exc,
36080         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
36081         feexcp_mask_test, feenable_test, fe_single_test): Add
36082         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
36083         case where they are not used.
36084         * math/libm-test.inc: Likewise.
36085         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
36086         unused in the absence of FP rounding/exception support.
36087         * stdio-common/tst-printf-round.c: Likewise.
36088         * stdlib/tst-strtod-round.c: Likewise.
36089         * stdlib/tst-strtod-underflow.c: Likewise.
36091 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
36093         [BZ #17723]
36094         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
36095         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
36096         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36097         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36098         libm_hidden_weak.
36099         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
36100         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
36101         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
36102         libm_hidden_def.
36103         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36104         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36105         libm_hidden_weak.
36106         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
36107         Likewise.
36108         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
36109         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36110         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36111         libm_hidden_weak.
36112         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
36113         libm_hidden_def.
36114         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
36115         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
36116         (__feraiseexcept): Likewise.
36117         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36118         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36119         libm_hidden_weak.
36120         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
36121         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
36122         libm_hidden_def.
36123         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
36124         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
36125         Use libm_hidden_def.
36126         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
36127         libm_hidden_def.
36128         (feraiseexcept): Define as weak not strong alias.  Use
36129         libm_hidden_weak.
36130         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
36131         New inline function.  Factored out of ...
36132         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
36133         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
36134         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
36135         feraiseexcept.
36136         * math/w_acos.c (__acos): Likewise.
36137         * math/w_asin.c (__asin): Likewise.
36138         * math/w_ilogb.c (__ilogb): Likewise.
36139         * math/w_j0.c (y0): Likewise.
36140         * math/w_j1.c (y1): Likewise.
36141         * math/w_jn.c (yn): Likewise.
36142         * math/w_log.c (__log): Likewise.
36143         * math/w_log10.c (__log10): Likewise.
36144         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
36145         * sysdeps/aarch64/fpu/math_private.h
36146         (libc_feupdateenv_test_aarch64): Likewise.
36147         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
36148         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
36149         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
36150         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
36151         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
36152         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
36153         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
36154         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36155         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36156         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36158 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
36160         [BZ #17732]
36161         * io/test-utime.c (main): Replace %ld with %jd and cast to
36162         intmax_t.
36163         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
36164         * nptl/tst-mutex5.c: Include <stdint.h>.
36165         (do_test): Replace %ld with %jd and cast to intmax_t.
36166         * posix/tst-regex.c (run_test): Likewise.
36167         (run_test_backwards): Likewise.
36168         * rt/tst-clock.c: Include <stdint.h>.
36169         (clock_test): Replace %ld with %jd and cast to intmax_t.
36170         * rt/tst-cpuclock1.c: Include <stdint.h>.
36171         (do_test): Replace %lu with %ju and cast to uintmax_t.
36172         * rt/tst-cpuclock2.c: Include <stdint.h>.
36173         (do_test): Replace %lu with %ju and cast to uintmax_t.
36174         * rt/tst-mqueue1.c: Include <stdint.h>.
36175         (check_attrs): Replace %ld with %jd and cast to intmax_t.
36176         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
36177         intmax_t.
36178         * rt/tst-mqueue4.c (do_test): Likewise.
36179         * rt/tst-timer4.c: Include <stdint.h>.
36180         (check_ts): Replace %ld with %jd and cast to intmax_t.
36181         (do_test): Likewise.
36182         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
36183         and cast to intmax_t.
36184         * sysdeps/pthread/tst-timer.c (main): Likewise.
36185         * time/clocktest.c (main): Likewise.
36186         * time/tst-posixtz.c (do_test): Likewise.
36187         * timezone/tst-timezone.c (main): Likewise.
36189 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
36190             H.J. Lu  <hongjiu.lu@intel.com>
36192         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
36193         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
36194         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
36195         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
36196         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
36197         version if bit_Fast_Unaligned_Load is set.
36198         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36199         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36200         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36201         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36202         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36203         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36204         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36205         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
36206         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
36207         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
36208         to 4.
36209         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
36210         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
36211         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
36212         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
36214 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
36216         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
36217         instead of #if to avoid a Wundef warning.
36218         * stdlib/tst-limits.c (do_test): Likewise.
36220         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
36221         parallel other exception macros.
36222         (fegetenv): Convert from macro to extern inline so that it applies
36223         retroactively to inline functions already seen by the compiler.
36224         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
36226         * posix/Makefile (before-compile): Use $(objpfx) for
36227         posix-conf-vars-def.h.
36229 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36231         * posix/getconf.c (main): Use size_t for type of I.
36232         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
36233         NSPEC.
36235         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
36236         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
36237         * posix/posix-envs.def: Likewise.
36238         * sysdeps/posix/sysconf.c: Likewise.
36239         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
36240         (specs): Remove array.
36241         * scripts/gen-posix-conf-vars.awk: Support generation of specs
36242         array.
36244         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
36245         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
36246         (__sysconf): Use CONF_IS_* macros.
36248         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
36249         ($(objpfx)posix-conf-vars-def.h): New target.
36250         * posix/posix-conf-vars.list: New file.
36251         * posix/posix-conf-vars.h: New file.
36252         * posix/confstr.c: Include posix-conf-vars.h.
36253         (confstr): Use CONF_IS_* macros.
36254         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
36255         CONF_IS_* macros.
36256         * scripts/gen-posix-conf-vars.awk: New file.
36258 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
36260         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
36261         fegetround): Add no-op macros to avoid linknamespace issues.
36263         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
36264         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
36266         * sysdeps/unix/sysv/linux/tile/sysdep.h
36267         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
36268         assembly-specific section to avoid a redefinition warning.
36270         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
36271         long before casting to pointer to avoid a cast warning.
36273 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
36275         * sysdeps/tile/tilegx/Implies: New file.
36277 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
36279         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
36281 2014-12-23  Florian Weimer  <fweimer@redhat.com>
36283         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
36285 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
36287         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
36288         not define.
36289         * sysdeps/unix/sysv/linux/utimes.c: Do not include
36290         <kernel-features.h>.
36291         (__utimes) [__NR_utimes]: Make code unconditional.
36292         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
36293         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36294         (__ASSUME_UTIMES): Do not undefine.
36295         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36296         (__ASSUME_UTIMES): Likewise.
36297         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36298         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
36299         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
36300         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
36302 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
36304         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
36306 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
36308         [BZ #17747]
36309         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
36310         alias to weak alias for j0l, y0l.
36311         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
36312         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
36314         [BZ #17746]
36315         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
36316         conversion.
36318 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
36320         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
36321         to zero if not already defined.
36323 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
36325         [BZ #17724]
36326         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
36327         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
36328         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
36329         (char *) casts added.
36330         * sysdeps/ieee754/k_standardf.c: New file.
36331         * sysdeps/ieee754/k_standardl.c: Likewise.
36332         * math/Makefile (libm-support): Remove k_standard.
36333         (libm-calls): Add k_standard.
36335 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36337         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
36338         Optimize to avoid an unnecessary FPCR read.
36340 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36342         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
36343         Optimize to reduce FPCR/FPSR accesses.
36345 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36347         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
36348         Call libc_fetestexcept_aarch64.
36350 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36352         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
36353         Call libc_fesetround_aarch64.
36355 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
36357         [BZ #17733]
36358         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
36359         (__bind): Do not define as weak alias.
36360         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
36361         define.
36362         (__getsockname): Do not define as weak alias.
36364 2014-12-22  Will Newton  <will.newton@linaro.org>
36366         * manual/install.texi: Document that we require bison 2.7
36367         or above.
36368         * INSTALL: Regenerate.
36369         * configure.ac: Use AC_CHECK_PROG_VER instead of
36370         AC_PATH_PROG when checking for bison and check for
36371         version 2.7 or above.
36372         * configure: Regenerate.
36374 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
36376         [BZ #17745]
36377         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
36378         * sysdeps/tile/ffsll.c (ffsll): To here.
36380         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
36382 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
36384         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
36385         if not defined.
36386         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
36387         definition.
36388         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
36389         hidden ___tls_get_addr.
36390         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
36391         hidden __tls_get_addr.
36392         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
36393         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
36394         Likewise.
36396 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
36398         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
36399         _dl_init call.
36401 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
36403         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
36404         from "call _dl_init@PLT".
36405         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
36407 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
36409         * manual/search.texi: (Array Sort Function): Clarify stable sorting
36410         guarantees.
36412 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
36414         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
36416 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
36418         [BZ #17744]
36419         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
36420         strnlen.
36422 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
36424         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
36425         of multu on MIPSr6.
36426         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
36427         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
36428         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
36429         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
36430         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
36432 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
36434         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
36435         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
36436         (PTR_SUBU): Use subu for mips32r6/mips64r6.
36437         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
36438         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
36439         mips32r6/mips64r6.
36440         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
36442 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
36444         * string/strncat.c (STRNCAT): Simplify implementation.
36446 2014-12-19  David S. Miller  <davem@davemloft.net>
36448         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
36449         access the quad as both a long double and as a series of 4 words.
36451         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
36452         link_map->l_info array access.
36454 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
36456         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
36458         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
36459         * math/atest-exp2.c (TIMEOUT): Likewise.
36460         * math/atest-sincos.c (TIMEOUT): Likewise.
36462 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36464         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
36465         -Wno-error with -fno-builtin-lround.
36467 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36469         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
36470         Contains futex constants and functions moved over from ...
36471         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
36472         <lowlevellock-futex.h>.
36473         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36474         (lll_timedwait_tid): Add comments and parentheses around macro
36475         arguments.
36477 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36479         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
36480         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
36481         (__lll_private_flag): Remove.
36482         (lll_futex_wait): Likewise.
36483         (lll_futex_timed_wait): Likewise.
36484         (lll_futex_wake): Likewise.
36485         (lll_futex_requeue): Likewise.
36486         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36487         (__lll_timedwait_tid): Spell out argument names.
36488         (lll_timedwait_tid): Add comments and parentheses around macro
36489         arguments.
36490         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
36491         LLL_SHARED and LLL_PRIVATE usable from assembly code.
36493 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36495         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
36496         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36497         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36498         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
36499         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
36500         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
36501         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
36502         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
36503         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
36504         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
36505         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
36506         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
36507         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
36508         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
36509         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
36510         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
36511         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
36512         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
36513         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
36515 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36517         * sysdeps/x86_64/x32/Makefile: New file.
36519 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36521         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
36522         1L with (mp_limb_t) 1.
36524 2014-12-17  Roland McGrath  <roland@hack.frob.com>
36526         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
36527         * nptl/libc_pthread_init.c: ... here.
36528         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
36529         * nptl/register-atfork.c: ... here.
36531         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
36532         Use pthread_sigmask rather than INTERNAL_SYSCALL.
36533         Use assert_perror to check its return value.
36534         (__gai_create_helper_thread): Likewise.
36536         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
36538         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
36540 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
36542         [BZ #17725]
36543         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
36544         __profil_counter.
36545         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
36546         Likewise.
36547         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
36548         Likewise.
36549         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
36550         Likewise.
36551         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
36552         (profil_counter): Likewise.
36553         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
36554         (profil_counter): Likewise.
36555         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
36556         Likewise.
36557         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
36558         Likewise.
36559         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
36560         (profil_counter): Likewise.
36561         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
36562         Likewise.
36563         [!__profil_counter] (profil_counter): Define as weak alias of
36564         __profil_counter.
36565         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
36566         (profil_counter): Rename to __profil_counter.
36567         [!__profil_counter] (profil_counter): Define as weak alias of
36568         __profil_counter.
36569         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
36570         (profil_counter): Rename to __profil_counter.
36571         [!__profil_counter] (profil_counter): Define as weak alias of
36572         __profil_counter.
36573         * sysdeps/posix/profil.c: Update comment referring to
36574         profil_counter.
36575         (__profil): Use __profil_counter instead of profil_counter.
36576         * sysdeps/posix/sprofil.c (profil_counter): Rename to
36577         __profil_counter.  Use __profil_counter_ushort and
36578         __profil_counter_uint in definitions.
36579         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
36580         instead of profil_counter_uint and profil_counter_ushort.
36582         [BZ #17722]
36583         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
36584         define as weak alias of __inet_makeaddr.
36585         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
36586         as weak alias of __inet_addr.
36587         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
36588         as weak alias of __inet_pton.  Use libc_hidden_weak.
36589         * include/arpa/inet.h (__inet_pton): Declare.  Use
36590         libc_hidden_proto.
36591         (inet_makeaddr): Don't use libc_hidden_proto.
36592         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
36593         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
36594         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
36595         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
36596         Remove variable.
36597         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
36598         (test-xfail-POSIX/time.h/linknamespace): Likewise.
36600 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
36602         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
36604 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36606         * stdio-common/bug-vfprintf-nargs.c (do_test):
36607         Cast value to intptr_t to avoid format warning
36608         for usage with PRIdPTR printing macro.
36610 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36612         * libio/tst-widetext.c (do_test):
36613         Use format type %td instead of %Zd for ptrdiff_t
36614         in order to avoid format warning.
36616 2014-12-17  Andreas Schwab  <schwab@suse.de>
36618         * nscd/mem.c (gc): Add size_t cast to match printf format.
36620 2014-12-16  Roland McGrath  <roland@hack.frob.com>
36622         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
36623         (init): Apply PTR_MANGLE to pointers before storing them.
36624         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
36625         before using them.
36627 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
36629         [BZ #17719]
36630         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
36631         define as weak alias of __memrchr.
36632         (__memrchr): Do not define as strong alias of memrchr.
36633         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
36634         Remove variable.
36635         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
36636         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
36637         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
36639         [BZ #17717]
36640         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
36641         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
36642         (if_indextoname): Rename to __if_indextoname and define as weak
36643         alias of __if_indextoname.  Use libc_hidden_weak.
36644         (if_freenameindex): Rename to __if_freenameindex and define as
36645         weak alias of __if_freenameindex.
36646         (if_nameindex): Rename to __if_nameindex and define as weak alias
36647         of __if_nameindex.
36648         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
36649         __if_nametoindex and define as weak alias of __if_nametoindex.
36650         Use libc_hidden_weak.
36651         (if_freenameindex): Rename to __if_freenameindex and define as
36652         weak alias of __if_freenameindex.
36653         (if_nameindex): Rename to __if_nameindex and define as weak alias
36654         of __if_nameindex.
36655         (if_indextoname): Rename to __if_indextoname and define as weak
36656         alias of __if_indextoname.  Use libc_hidden_weak.
36657         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
36658         __if_nametoindex and define as weak alias of __if_nametoindex.
36659         Use libc_hidden_weak.
36660         (if_freenameindex): Rename to __if_freenameindex and define as
36661         weak alias of __if_freenameindex.  Use libc_hidden_weak.
36662         (if_nameindex_netlink): Use __if_freenameindex instead of
36663         if_freenameindex.
36664         (if_nameindex): Rename to __if_nameindex and define as weak alias
36665         of __if_nameindex.  Use libc_hidden_weak.
36666         (if_indextoname): Rename to __if_indextoname and define as weak
36667         alias of __if_indextoname.  Use libc_hidden_weak.
36668         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
36669         libc_hidden_proto.
36670         [!_ISOMAC] (__if_freenameindex): Likewise.
36671         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
36672         if_nametoindex.
36673         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
36674         variable.
36675         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
36676         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
36677         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
36678         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
36679         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
36680         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
36681         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
36683         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
36684         Remove variable.
36685         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
36686         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
36688 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36690         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
36691         subscript above bounds'
36693         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
36694         bounds.
36696 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
36698         * libio/tst-fopenloc.c: Use test-skeleton.c.
36700         * stdlib/tst-bsearch.c: Use test-skeleton.c.
36701         (entry): Rename to ITEM.
36702         (do_test, comp): Adjust.
36704         * stdio-common/tst-fseek.c: Use test-skeleton.c.
36706 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36708         * string/tester.c: Include <libc-internal.h>.
36709         (test_memset): Ignore -Wmemset-transposed-args.
36711 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36713         * misc/tst-mntent2.c (do_test): Fix warning.
36715 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36717         * elf/tst-unique4lib.cc(a): Mark as used.
36719 2014-12-16  Florian Weimer  <fweimer@redhat.com>
36721         [BZ #17630]
36722         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
36723         names.
36725 2014-12-16  Allan McRae  <allan@archlinux.org>
36727         * stdio-common/Makefile (tests): Re-add bug26.
36729 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
36731         [BZ #17657]
36732         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
36733         static array.
36735 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
36737         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
36738         (__lll_lock_wait): Likewise.
36739         (__lll_timedlock_wait): Likewise.
36740         (__lll_timedwait_tid): Likewise.
36741         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
36742         (__lll_robust_timedlock_wait): Likewise.
36743         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
36744         (lll_cond_trylock): Likewise.
36745         (__lll_lock): Likewise.
36746         (__lll_robust_lock): Likewise.
36747         (__lll_cond_lock): Likewise.
36748         (lll_robust_cond_lock): Likewise.
36749         (__lll_timedlock): Likewise.
36750         (__lll_robust_timedlock): Likewise.
36751         (__lll_unlock): Likewise.
36752         (__lll_robust_unlock): Likewise.
36753         (lll_wait_tid): Likewise.
36754         (lll_timedwait_tid): Likewise.
36756 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36758         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
36760 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36762         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
36764 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36766         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
36767         * stdio-common/tst-sprintf.c: Likewise.
36769 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36771         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
36773 2014-12-15  Jeff Law  <law@redhat.com>
36775         [BZ #16617]
36776         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
36777         on the heap.  (CVE-2012-3406)
36778         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
36779         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
36780         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
36782 2014-12-15  Will Newton  <will.newton@linaro.org>
36784         * manual/install.texi: Bump required version of texinfo
36785         to 4.7 from 4.5.
36786         * INSTALL: Regenerated.
36787         * configure.ac: Check for makeinfo version 4.7 and above.
36788         * configure: Regenerated.
36790 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36792         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
36793         PREFIX, string constant to insert between directory and name.
36794         * sysdeps/posix/shm_open.c: Update caller.
36795         * sysdeps/posix/shm_unlink.c: Likewise.
36796         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
36797         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
36798         (SEM_SHM_PREFIX): New macro.
36799         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
36800         [$(have-thread-library) = no].
36801         * nptl/Makefile (libpthread-routines): Add shm-directory.
36802         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
36803         * sysdeps/nptl/shm-directory.h: New file.
36804         * sysdeps/posix/shm-directory.c
36805         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
36806         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
36807         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
36808         INTERNAL_SYSCALL.
36809         (__where_is_shmfs): Function removed.
36810         (mountpoint, defaultmount, defaultdir, __namedsem_once):
36811         Variables removed.
36812         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
36813         Use SHM_GET_NAME.
36814         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
36816         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
36817         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
36818         unconditional for use inside libpthread.
36819         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
36821 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36823         * nptl/pthread_getaffinity.c: New file.
36824         * nptl/pthread_setaffinity.c: New file.
36825         * nptl/pthread_getname.c: New file.
36826         * nptl/pthread_setname.c: New file.
36828         * nptl/pthread_create.c (START_THREAD_DEFN)
36829         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
36831 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36832             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36834         * resolv/res_send.c (send_vc): Disable warning resplen may
36835         be used uninitialized.
36837 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36839         * nptl/tst-mutex6.c
36840         (ATTR_NULL): New define checks ATTR against NULL.
36841         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
36842         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
36844 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
36846         [BZ #17581]
36847         * malloc/hooks.c
36848         (mem2mem_check): Revert my previous change.
36849         (malloc_check_get_size): Revert my previous change.
36850         (mem2chunk_check): Revert my previous change.
36852 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36854         * sysdeps/posix/shm-directory.c: New file.
36855         * sysdeps/posix/shm-directory.h: New file.
36856         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
36857         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
36858         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
36859         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
36860         Transmute EPERM to EACCES.
36861         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
36862         from ...
36863         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
36864         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
36866 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36868         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
36869         pointer and cast to uintptr_t.
36870         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
36871         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
36872         Add cast to avoid warning.
36873         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
36875 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
36877         * nptl/semaphore.h: Move to ...
36878         * sysdeps/pthread/semaphore.h: ... here.
36879         * Makefile (installed-headers): Change nptl/semaphore.h to
36880         sysdeps/pthread/semaphore.h.
36882 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36884         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
36885         generated error format strings.
36887         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
36888         -Wformat-extra-args warnings for scanf formats.
36889         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
36890         test of zero-length format (duh).
36891         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
36892         corner-case scanf format test.
36893         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
36894         generated fprintf format string.
36895         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
36896         corner-case sprintf format tests.
36897         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
36898         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
36899         -Wformat-extra-args warnings throughout.
36900         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
36901         (CFLAGS-scanf4.c): Likewise.
36902         (CFLAGS-scanf7.c): Likewise.
36903         (CFLAGS-tst-sprintf.c): Likewise.
36904         (CFLAGS-tst-printf.c): Likewise.
36905         (CFLAGS-tst-printfsz.c): Likewise.
36907 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
36909         * include/cpio.h: New file.
36910         * include/fmtmsg.h: Likewise.
36912         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
36913         corresponding format argument to size_t.
36914         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
36915         arguments.
36916         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
36917         corresponding format argument to size_t.
36918         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
36919         arguments.
36920         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
36921         corresponding format argument to size_t.
36922         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
36923         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
36924         (CFLAGS-tst-mbswcs2.c): Likewise.
36925         (CFLAGS-tst-mbswcs3.c): Likewise.
36926         (CFLAGS-tst-mbswcs4.c): Likewise.
36927         (CFLAGS-tst-mbswcs5.c): Likewise.
36928         (CFLAGS-tst-trans.c): Likewise.
36930 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36932         * posix/regexbug1.c (main): Use "%s" format with regerror results,
36933         rather than assuming they won't contain any '%'s.
36935 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
36937         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
36938         inhibit_loop_to_libcall to avoid recursive calls.
36939         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
36940         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
36942 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36944         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
36945         prototype.
36947 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
36949         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
36950         integer value instead of boolean.
36952 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
36954         * malloc/malloc.c: Fix powerof2 check.
36956 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36958         * locale/programs/locfile.h (maybe_swap_uint32):
36959         Remove inline and add unused attribute.
36961 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36963         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
36964         Truncating assembler expression to a .long expression.
36966 2014-12-11  Andreas Schwab  <schwab@suse.de>
36968         * elf/rtld.c (struct map_args): Constify str member.
36969         (do_preload): Constify fname argument.
36971 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36973         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
36974         constants definition.
36976 2014-12-11  Andreas Schwab  <schwab@suse.de>
36978         [BZ #16657]
36979         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
36980         FORCE_ELISION instead of DO_ELISION.
36981         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
36982         Remove.
36983         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
36984         Likewise.
36986         * iconvdata/gconv-modules: Remove duplicate entry.
36988 2014-12-11  Will Newton  <will.newton@linaro.org>
36990         Merge gettext 0.19.3 into intl/.
36992         This involves a number of cosmetic changes to comments
36993         and ANSI function definitions and prototypes throughout
36994         all the files. The gettext copyright header is used but
36995         with the date ranges taken from the glibc copy.
36997         * NEWS: Add gettext merge to 2.21.
36998         * intl/bindtextdom.c: Switch to gettext copyright.
36999         Use ANSI definitions and prototypes.
37000         Use gl_* locking primitives rather than __libc_* ones.
37001         Use __builtin_expect rather than __glibc_likely/unlikely.
37002         * intl/dcgettext.c: Switch to gettext copyright.
37003         Use ANSI definitions and prototypes.
37004         * intl/dcigettext.c: Switch to gettext copyright.
37005         Use ANSI definitions and prototypes.
37006         (INTDIV0_RAISES_SIGFPE): New define.
37007         Use gl_* locking primitives rather than __libc_* ones.
37008         Include eval-plural.h instead of plural-eval.c.
37009         Use __builtin_expect rather than __glibc_likely/unlikely.
37010         * intl/dcngettext.c: Switch to gettext copyright.
37011         Use ANSI definitions and prototypes.
37012         * intl/dgettext.c: Likewise.
37013         * intl/dngettext.c: Likewise.
37014         * intl/plural-eval.c: Renamed to...
37015         * intl/eval-plural.h: ...this.
37016         * intl/explodename.c: Switch to gettext copyright.
37017         Use ANSI definitions and prototypes.
37018         (_nl_explode_name): Use strchr instead of __rawmemchr.
37019         * intl/finddomain.c: Switch to gettext copyright.
37020         Use ANSI definitions and prototypes.
37021         Use gl_* locking primitives rather than __libc_* ones.
37022         (_nl_find_domain): Use malloc rather than alloca for
37023         allocation of temporary locale name.
37024         * intl/gettext.c: Switch to gettext copyright.
37025         Use ANSI definitions and prototypes.
37026         * intl/gettextP.h: Switch to gettext copyright.
37027         Use ANSI definitions and prototypes.
37028         Use gl_* locking primitives rather than __libc_* ones.
37029         * intl/gmo.h: Switch to gettext copyright.
37030         (struct sysdep_string): Move struct segment_pair outside of
37031         struct definition.
37032         * intl/hash-string.c: Use ANSI definitions and prototypes.
37033         * intl/hash-string.h: Switch to gettext copyright.
37034         Use ANSI definitions and prototypes.
37035         * intl/l10nflist.c: Switch to gettext copyright.
37036         Use ANSI definitions and prototypes.
37037         (_nl_normalize_codeset): Avoid integer overflow.
37038         * intl/loadinfo.h: Switch to gettext copyright.
37039         Use ANSI definitions and prototypes.
37040         (LIBINTL_DLL_EXPORTED): New define.
37041         (PATH_SEPARATOR): New define.
37042         * intl/loadmsgcat.c: Switch to gettext copyright.
37043         * intl/localealias.c: Switch to gettext copyright.
37044         Use ANSI definitions and prototypes.
37045         (_nl_expand_alias): Use PATH_SEPARATOR.
37046         * intl/ngettext.c: Switch to gettext copyright.
37047         Use ANSI definitions and prototypes.
37048         * intl/plural-exp.c: Likewise.
37049         * intl/plural-exp.h: Switch to gettext copyright.
37050         Use ANSI definitions and prototypes.
37051         (struct expression): Move definition of enum operator outside
37052         of struct definition.
37053         * intl/plural.c: Regenerate.
37054         * intl/plural.y: Switch to gettext copyright.
37055         Use ANSI definitions and prototypes.
37056         Port to bison 3.0.
37057         * intl/textdomain.c: Switch to gettext copyright.
37058         Use ANSI definitions and prototypes.
37059         Use gl_* locking primitives rather than __libc_* ones.
37061 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
37063         * debug/warning-nop.c: Add used atrribute.
37065 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37067         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
37069         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
37070         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
37071         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
37073 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37074             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37076         [BZ #17634]
37077         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
37078         Undefine after defining function.  Define as weak alias of
37079         __wcschr.  Use libc_hidden_weak.
37080         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
37081         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
37082         (libc_hidden_def): Also define __GI___wcschr alias.
37083         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
37084         __wcschr and define as weak alias of __wcschr.
37085         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
37086         __wcschr.
37087         [!WCSCHR] (DEFAULT_WCSCHR): Define.
37088         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
37089         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
37090         libc_hidden_weak.  Do not use libc_hidden_def.
37091         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
37092         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
37093         __GI___wcschr alias.
37094         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
37095         [IS_IN (libc)] (wcschr): Define as macro expanding to
37096         __redirect_wcschr.
37097         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
37098         [IS_IN (libc)] (__wcschr_power6): Likewise.
37099         [IS_IN (libc)] (__wcschr_power7): Likewise.
37100         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
37101         instead of wcschr.
37102         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
37103         __libc_wcschr.
37104         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
37105         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
37106         __wcschr and define as weak alias of __wcschr.  Use
37107         libc_hidden_builtin_def.
37108         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
37109         as weak alias of __wcschr.  Use libc_hidden_weak.
37110         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
37111         wcschr.
37112         * time/era.c (_nl_init_era_entries): Likewise.
37113         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
37114         variable.
37115         (test-xfail-XPG3/time.h/linknamespace): Likewise.
37116         (test-xfail-XPG4/time.h/linknamespace): Likewise.
37118 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37120         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
37121         format for long int variable.
37123 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
37125         [BZ #10672]
37126         * manual/search.texi: (Array Sort Function): Remove claim how to make
37127         qsort stable.
37129 2014-12-10  Andreas Schwab  <schwab@suse.de>
37131         [BZ #12847]
37132         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
37133         user-controlled locks.
37135 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
37137         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
37138         register.
37140 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37142         * configure.ac (--disable-werror): New configure option.
37143         (enable_werror): New AC_SUBST.
37144         * configure: Regenerated.
37145         * config.make.in (enable-werror): New variable.
37146         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
37147         -Wno-error=undef.
37148         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
37149         * manual/install.texi (Configuring and compiling): Document
37150         --disable-werror.
37151         * INSTALL: Regenerated.
37152         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
37153         (CFLAGS-tst-chk2.c): Likewise.
37154         (CFLAGS-tst-chk3.c): Likewise.
37155         (CFLAGS-tst-chk4.cc): Likewise.
37156         (CFLAGS-tst-chk5.cc): Likewise.
37157         (CFLAGS-tst-chk6.cc): Likewise.
37158         (CFLAGS-tst-lfschk1.c): Likewise.
37159         (CFLAGS-tst-lfschk2.c): Likewise.
37160         (CFLAGS-tst-lfschk3.c): Likewise.
37161         (CFLAGS-tst-lfschk4.cc): Likewise.
37162         (CFLAGS-tst-lfschk5.cc): Likewise.
37163         (CFLAGS-tst-lfschk6.cc): Likewise.
37165         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
37166         (main): Disable -Wdeprecated-declarations around calls to
37167         register_printf_function.
37169         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
37170         (do_test): Disable -Wdiv-by-zero around some calls to
37171         fwrite_unlocked and fread_unlocked.
37173         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
37174         (DIAG_POP_NEEDS_COMMENT): Likewise.
37175         (_DIAG_STR1): Likewise.
37176         (_DIAG_STR): Likewise.
37177         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
37178         * stdio-common/bug21.c: Include <libc-internal.h>.
37179         (do_test): Disable -Wformat around call to sscanf.
37180         * stdio-common/scanf14.c: Include <libc-internal.h>.
37181         (main): Disable -Wformat around some calls to scanf functions.
37183 2014-12-09  Torvald Riegel  <triegel@redhat.com>
37185         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
37187 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37189         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
37190         stack variable alignment.
37192 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
37194         [BZ #17682]
37195         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
37196         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
37197         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
37198         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
37199         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
37200         __getrlimit instead of getrlimit.
37201         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
37202         __gettimeofday instead of gettimeofday.
37203         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
37204         Likewise.
37205         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
37206         Likewise.
37207         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37208         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
37209         Remove variable.
37210         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
37211         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
37213 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37215         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
37216         for wide-character tests.
37218 2014-12-04  Roland McGrath  <roland@hack.frob.com>
37220         * io/openat64.c: #include <libc-internal.h>
37221         (__openat64): Prototypify.  Use ignore_value on MODE.
37222         * io/openat.c: Likewise.
37223         * misc/reboot.c: #include <libc-internal.h>
37224         (reboot): Prototypify.  Use ignore_value on HOWTO.
37225         * misc/ptrace.c: #include <libc-internal.h>
37226         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
37228 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
37230         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
37231         XPG4, UNIX98 and XOPEN2K.
37232         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
37233         Remove variable.
37234         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
37236 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37238         * libio/fileops.c: Use ISO C style for function definitions.
37239         * libio/iofopen.c: Likewise.
37240         * libio/wfileops.c: Likewise.
37242         [BZ #17653]
37243         * libio/fileops.c (_IO_new_file_underflow): Unset cached
37244         offset on EOF.
37245         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
37246         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
37247         (fgets_func): Function pointer to fgets and fgetws.
37248         (do_ftell_test): Add test to verify ftell value after read
37249         EOF.
37250         (do_test): Set fgets_func.
37252         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
37253         O_TRUNC flag for w and w+ modes.
37254         (do_rewind_test): Likewise.
37255         (do_ftell_test): Likewise.
37256         (do_write_test): Likewise.
37258         [BZ #17647]
37259         * libio/fileops.c (do_ftell): Seek only when there are
37260         unflushed writes.
37261         * libio/wfileops.c (do_ftell_wide): Likewise.
37262         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
37263         test case.
37264         (do_one_test): Call it.
37266 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
37268         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
37269         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
37270         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
37271         Remove variable.
37272         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
37273         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
37274         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
37276 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
37278         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
37279         Remove variable.
37280         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
37282         [BZ #17668]
37283         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
37284         as weak alias of __getifaddrs.  Use libc_hidden_weak.
37285         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
37286         __freeifaddrs.  Use libc_hidden_weak.
37287         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
37288         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
37289         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
37290         __freeifaddrs.  Use libc_hidden_weak.
37291         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
37292         __getifaddrs and define as weak alias of __getifaddrs.  Use
37293         libc_hidden_weak.
37294         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
37295         __freeifaddrs.  Use libc_hidden_weak.
37296         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
37297         Remove variable.
37298         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
37299         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
37301 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
37303         [BZ #17601]
37304         * sysdeps/mips/start.S (__start): Use indirect jump to call
37305         __libc_start_main.
37307 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
37309         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
37311         * nptl/tst-mutex1.c: Include <stdbool.h>.
37312         [!ATTR] (ATTR_NULL): New macro.
37313         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
37314         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
37315         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
37317         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
37318         to char *.
37320         [BZ #17665]
37321         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
37322         Change conditional to [__USE_MISC].
37324         [BZ #17664]
37325         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
37326         fgets_unlocked.
37327         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
37328         __fgets_unlocked.
37329         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
37330         fgets_unlocked.
37331         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
37332         Remove variable.
37333         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
37334         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
37335         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
37336         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
37337         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
37338         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
37339         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
37340         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
37341         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
37343         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
37345 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37347         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37348         Remove strpbrk objects.
37349         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37350         (__libc_ifunc_impl_list): Remove strpbrk implementation.
37351         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
37352         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
37353         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
37354         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
37356         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37357         Remove strcspn objects.
37358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37359         (__libc_ifunc_impl_list): Remove strcspn implementation.
37360         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
37361         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
37362         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
37363         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
37365         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37366         Remove strspn objetcs.
37367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37368         (__libc_ifunc_impl_list): Remove strspn implementation.
37369         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
37370         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
37371         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
37372         * sysdeps/powerpc/powerpc64/strspn.S: New file.
37374 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
37376         [BZ #17581]
37377         * malloc/hooks.c
37378         (mem2mem_check): Add a terminator to the chain of checking blocks.
37379         (malloc_check_get_size): Use it here.
37380         (mem2chunk_check): Ditto.
37382 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37384         * sysdeps/powerpc/powerpc64/strtok.S: New file.
37385         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
37387 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
37389         * bits/ioctl-types.h: Indent preprocessor directives correctly.
37391         * nptl/nptl-init.c: Include libc-internal.h.
37392         (__pthread_initialize_minimal_internal): Use ROUND_UP.
37394         * elf/ldconfig.c (search_dir): Expand comment.
37396 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
37398         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
37399         variable.
37400         (linknamespace-symlist-stdlibs-tests): Likewise.
37401         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
37402         instead of $(objpfx)symlist-stdlibs.
37403         (linknamespace-libs-isoc): New variable.
37404         (linknamespace-libs): Use $(linknamespace-libs-isoc).
37405         (linknamespace-libs-ISO): New variable.
37406         (linknamespace-libs-ISO99): Likewise.
37407         (linknamespace-libs-ISO11): Likewise.
37408         (linknamespace-libs-XPG3): Likewise.
37409         (linknamespace-libs-XPG4): Likewise.
37410         (linknamespace-libs-POSIX): Likewise.
37411         (linknamespace-libs-UNIX98): Likewise.
37412         (linknamespace-libs-XOPEN2K): Likewise.
37413         (linknamespace-libs-POSIX2008): Likewise.
37414         (linknamespace-libs-XOPEN2K8): Likewise.
37415         ($(objpfx)symlist-stdlibs): Replace by
37416         $(linknamespace-symlist-stdlibs-tests).  Use
37417         $(linknamespace-libs-$*) as set of libraries.
37418         ($(linknamespace-header-tests)): Update dependencies.  Use
37419         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
37420         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
37421         * conform/linknamespace.pl: Remove comment about considering
37422         definitions of symbols from irrelevant libraries.
37424 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
37426         [BZ #13862]
37427         * elf/dl-tls.c: Include <atomic.h>.
37428         (oom): Remove #ifdef SHARED/#endif.
37429         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
37430         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
37431         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
37432         big enough.
37433         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
37434         * nptl/Makefile (tests): Add tst-stack4.
37435         (modules-names): Add tst-stack4mod.
37436         ($(objpfx)tst-stack4): New.
37437         (tst-stack4mod.sos): Likewise.
37438         ($(objpfx)tst-stack4.out): Likewise.
37439         ($(tst-stack4mod.sos)): Likewise.
37440         (clean): Likewise.
37441         * nptl/tst-stack4.c: New file.
37442         * nptl/tst-stack4mod.c: Likewise.
37444 2014-11-27  J. Brown  <jb999@gmx.de>
37446         * sysdeps/x86/bits/string.h: Add recent CPUs.
37448 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
37450         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
37451         sigblock.
37453         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
37454         feof.
37456         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
37457         variable.
37459 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
37461         * nscd/connections.c: Include libc-internal.h because of macro
37462         usage ignore_value.
37464 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37466         * string/bits/string3.h (__warn_memset_zero_len): Don't
37467         declare for gcc newer than 5.0.
37468         (memset): Don't test for zero-length __LEN for gcc newer than
37469         5.0.
37471 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
37473         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
37474         size_t for %zu format.
37476         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
37477         difference, not %ju.
37479 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37481         * include/libc-internal.h (ignore_value): New macro.
37482         * nscd/connections.c (restart): Wrap calls to setuid and setgid
37483         with ignore_value.
37485         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
37486         definition.
37488         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
37489         pthread_cleanup_push to void *.
37491         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
37492         Undefine.
37494         [BZ #16619]
37495         [BZ #16740]
37496         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
37497         instead of 1L << 52.
37499         * libio/bug-rewind.c (do_test): Check fwscanf return values.
37500         * libio/bug-rewind2.c (do_test): Likewise.
37502         * debug/test-stpcpy_chk-ifunc.c: Remove file.
37503         * debug/test-strcpy_chk-ifunc.c: Likewise.
37504         * wcsmbs/test-wcschr-ifunc.c: Likewise.
37505         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37506         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37507         * wcsmbs/test-wcslen-ifunc.c: Likewise.
37508         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37509         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37510         * Rules [$(multi-arch) = no] (tests): Do not filter out
37511         $(tests-ifunc).
37512         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
37513         * debug/Makefile (tests-ifunc): Remove variable.
37514         (tests): Do not add $(tests-ifunc).
37515         * wcsmbs/Makefile (tests-ifunc): Remove variable.
37516         (tests): Do not add $(tests-ifunc).
37517         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
37518         [TEST_IFUNC]: Remove conditionals.
37519         * string/test-string.h (TEST_IFUNC): Remove macro.
37520         [TEST_IFUNC]: Remove conditionals.
37522         * string/test-strchr.c [!WIDE] (L): New macro.
37523         [WIDE] (L): Likewise.
37524         (check1): Use CHAR instead of char.  Use L on string and character
37525         constants.
37527 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
37529         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
37530         tests.
37531         * sysdeps/powerpc/bits/atomic.h
37532         (__arch_atomic_exchange_and_add_32_acq): Add definition.
37533         (__arch_atomic_exchange_and_add_32_rel): Likewise.
37534         (atomic_exchange_and_add_acq): Likewise.
37535         (atomic_exchange_and_add_rel): Likewise.
37536         * sysdeps/powerpc/powerpc32/bits/atomic.h
37537         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37538         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37539         * sysdeps/powerpc/powerpc64/bits/atomic.h
37540         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37541         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37543 2014-11-26  Torvald Riegel  <triegel@redhat.com>
37545         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
37546         Change synchronization of __sched_fifo_min_prio and
37547         __sched_fifo_max_prio.
37548         * nptl/pthread_mutexattr_getprioceiling.c
37549         (pthread_mutexattr_getprioceiling): Likewise.
37550         * nptl/pthread_mutexattr_setprioceiling.c
37551         (pthread_mutexattr_setprioceiling): Likewise.
37552         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
37553         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
37554         Likewise.
37556 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37558         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
37559         void.
37561 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37563         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
37564         third argument const.
37566 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
37568         fnmatch: work around GCC compiler warning bug with uninit var
37569         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
37570         This works around a bug with x86-64 GCC 4.9.2 and earlier
37571         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
37572         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
37573         used uninitialized in this function [-Wmaybe-uninitialized]".
37575 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37577         * posix/bug-regex31.c (main): Return RES not 0.
37579 2014-11-25  Anton Blanchard <anton@samba.org>
37581         * sysdeps/powerpc/bits/atomic.h
37582         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
37584 2014-11-24  Sterling Augustine  <saugustine@google.com>
37586         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
37588 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
37590         [BZ #17608]
37591         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
37593 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
37595         [BZ #17633]
37596         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
37597         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
37598         variable.
37599         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
37600         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
37602 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37604         * string/strncpy.c (strncpy): Improve performance by using memset.
37606 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37608         * string/strcpy.c (strcpy):
37609         Improve performance by using strlen and memcpy.
37611 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
37613         * string/strcoll_l.c (get_next_seq): __always_inline.
37614         * string/strcoll_l.c (do_compare): __always_inline.
37616 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37618         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
37619         defined.
37620         * include/mqueue.h: Likewise.
37621         * include/stdlib.h: Likewise.
37623         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
37624         (get_null_defines): Adjust.
37625         * sunrpc/Makefile: Adjust comment.
37626         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
37627         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
37628         (CFLAGS-interp.c): Likewise.
37629         (CFLAGS-ldconfig.c): Likewise.
37630         (CPPFLAGS-.os): Likewise.
37631         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37632         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37633         * extra-modules.mk (extra-modules.mk): Likewise.
37634         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
37635         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
37636         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
37637         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
37638         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
37639         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
37640         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
37641         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
37642         * iconvdata/Makefile (CPPFLAGS): Likewise.
37643         (cpp-srcs-left): Add libof for all iconvdata routines.
37644         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
37645         * include/assert.h: Likewise.
37646         * include/ctype.h: Likewise.
37647         * include/errno.h: Likewise.
37648         * include/libc-symbols.h: Likewise.
37649         * include/math.h: Likewise.
37650         * include/netdb.h: Likewise.
37651         * include/resolv.h: Likewise.
37652         * include/stdio.h: Likewise.
37653         * include/stdlib.h: Likewise.
37654         * include/string.h: Likewise.
37655         * include/sys/stat.h: Likewise.
37656         * include/wctype.h: Likewise.
37657         * intl/l10nflist.c: Likewise.
37658         * libidn/idn-stub.c: Likewise.
37659         * libio/libioP.h: Likewise.
37660         * nptl/libc_multiple_threads.c: Likewise.
37661         * nptl/pthreadP.h: Likewise.
37662         * posix/regex_internal.h: Likewise.
37663         * resolv/res_hconf.c: Likewise.
37664         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
37665         * sysdeps/arm/memmove.S: Likewise.
37666         * sysdeps/arm/sysdep.h: Likewise.
37667         * sysdeps/generic/_itoa.h: Likewise.
37668         * sysdeps/generic/symbol-hacks.h: Likewise.
37669         * sysdeps/gnu/errlist.awk: Likewise.
37670         * sysdeps/gnu/errlist.c: Likewise.
37671         * sysdeps/i386/i586/memcpy.S: Likewise.
37672         * sysdeps/i386/i586/memset.S: Likewise.
37673         * sysdeps/i386/i686/memcpy.S: Likewise.
37674         * sysdeps/i386/i686/memmove.S: Likewise.
37675         * sysdeps/i386/i686/mempcpy.S: Likewise.
37676         * sysdeps/i386/i686/memset.S: Likewise.
37677         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37678         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37679         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
37680         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
37681         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37682         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37683         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
37684         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37685         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37686         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37687         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37688         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37689         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37690         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37691         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37692         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37693         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
37694         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
37695         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
37696         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37697         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37698         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37699         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37700         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37701         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37702         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37703         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
37704         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37705         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
37706         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37707         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37708         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37709         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37710         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37711         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37712         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
37713         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37714         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37715         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37716         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37717         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37718         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37719         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37720         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37721         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37722         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37723         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
37724         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
37725         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37726         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37727         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37728         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
37729         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
37730         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37731         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37732         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
37733         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37734         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
37735         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
37736         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37737         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37738         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37739         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
37740         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37741         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37742         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
37743         * sysdeps/posix/closedir.c: Likewise.
37744         * sysdeps/posix/opendir.c: Likewise.
37745         * sysdeps/posix/readdir.c: Likewise.
37746         * sysdeps/posix/rewinddir.c: Likewise.
37747         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
37748         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
37749         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37750         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37751         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37752         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
37753         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
37754         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
37755         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
37756         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
37757         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
37758         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
37759         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
37760         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
37761         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
37762         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
37763         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
37764         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
37765         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
37766         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
37767         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
37768         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
37769         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
37770         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
37771         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
37772         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
37773         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
37774         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
37775         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
37776         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
37777         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
37778         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
37779         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
37780         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
37781         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
37782         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
37783         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37784         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37785         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
37786         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
37787         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
37788         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
37789         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
37790         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
37791         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
37792         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
37793         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
37794         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
37795         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
37796         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
37797         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
37798         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
37799         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
37800         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
37801         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
37802         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
37803         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
37804         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
37805         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
37806         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
37807         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
37808         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
37809         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
37810         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
37811         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
37812         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
37813         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
37814         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
37815         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
37816         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
37817         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
37818         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
37819         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
37820         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
37821         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
37822         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
37823         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
37824         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
37825         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
37826         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
37827         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
37828         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
37829         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
37830         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
37831         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
37832         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
37833         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
37834         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37835         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37836         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37837         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
37838         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
37839         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
37840         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37841         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37842         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
37843         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37844         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37845         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
37846         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
37847         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37848         * sysdeps/unix/alpha/sysdep.S: Likewise.
37849         * sysdeps/unix/alpha/sysdep.h: Likewise.
37850         * sysdeps/unix/make-syscalls.sh: Likewise.
37851         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37852         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37853         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37854         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
37855         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37856         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
37857         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
37858         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37859         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37860         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
37861         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37862         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37863         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37864         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37865         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37866         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37867         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37868         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37869         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37870         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37871         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
37872         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37873         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37874         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37875         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37876         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37877         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37880         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
37881         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37882         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37883         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37884         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37885         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37886         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37887         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37888         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37889         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37890         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
37891         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37892         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37893         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37894         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
37895         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37896         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37897         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37898         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37899         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37900         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37901         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37902         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37903         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37904         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37905         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
37906         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37907         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37908         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37909         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
37910         * sysdeps/x86_64/memcpy.S: Likewise.
37911         * sysdeps/x86_64/memmove.c: Likewise.
37912         * sysdeps/x86_64/memset.S: Likewise.
37913         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
37914         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37915         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
37916         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
37917         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
37918         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37919         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37920         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37921         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37922         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37923         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37924         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37925         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
37926         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37927         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37928         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
37929         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37930         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37931         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37932         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37933         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
37934         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37935         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37936         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
37937         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37938         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37939         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37940         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
37941         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37942         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37943         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
37944         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37945         * sysdeps/x86_64/strcmp.S: Likewise.
37947         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
37949         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
37950         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
37951         * elf/rtld-Rules: Likewise.
37952         * elf/setup-vdso.h: Likewise.
37953         * include/assert.h: Likewise.
37954         * include/bits/stdlib-float.h: Likewise.
37955         * include/errno.h: Likewise.
37956         * include/sys/stat.h: Likewise.
37957         * include/unistd.h: Likewise.
37958         * sysdeps/aarch64/setjmp.S: Likewise.
37959         * sysdeps/alpha/setjmp.S: Likewise.
37960         * sysdeps/arm/__longjmp.S: Likewise.
37961         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
37962         * sysdeps/arm/setjmp.S: Likewise.
37963         * sysdeps/arm/sysdep.h: Likewise.
37964         * sysdeps/generic/_itoa.h: Likewise.
37965         * sysdeps/generic/dl-sysdep.h: Likewise.
37966         * sysdeps/generic/ldsodefs.h: Likewise.
37967         * sysdeps/i386/dl-tls.h: Likewise.
37968         * sysdeps/i386/setjmp.S: Likewise.
37969         * sysdeps/m68k/setjmp.c: Likewise.
37970         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
37971         * sysdeps/mach/hurd/opendir.c: Likewise.
37972         * sysdeps/posix/getcwd.c: Likewise.
37973         * sysdeps/posix/opendir.c: Likewise.
37974         * sysdeps/posix/profil.c: Likewise.
37975         * sysdeps/powerpc/dl-procinfo.h: Likewise.
37976         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37977         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37978         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37979         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37980         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
37981         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
37982         * sysdeps/s390/dl-tls.h: Likewise.
37983         * sysdeps/s390/s390-32/setjmp.S: Likewise.
37984         * sysdeps/s390/s390-64/setjmp.S: Likewise.
37985         * sysdeps/sh/sh3/setjmp.S: Likewise.
37986         * sysdeps/sh/sh4/setjmp.S: Likewise.
37987         * sysdeps/unix/alpha/sysdep.h: Likewise.
37988         * sysdeps/unix/arm/sysdep.S: Likewise.
37989         * sysdeps/unix/i386/sysdep.S: Likewise.
37990         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37991         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
37992         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37993         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37994         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37995         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37996         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
37997         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37998         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37999         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
38000         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
38001         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38002         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38005         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38006         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38007         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38008         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38009         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38010         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38011         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38012         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38013         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38014         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38015         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38016         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38017         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38018         * sysdeps/x86_64/setjmp.S: Likewise.
38020         * include/math.h: Use IS_IN instead of IS_IN_libm.
38021         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
38022         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38023         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38024         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
38025         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38026         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38027         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38028         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38029         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38030         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38031         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
38032         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
38033         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
38034         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
38035         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
38036         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
38037         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
38038         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
38039         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
38040         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
38041         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
38042         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
38043         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
38044         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
38045         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
38046         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
38047         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
38048         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
38049         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
38050         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
38051         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
38052         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
38053         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
38054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
38055         Likewise.
38056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
38057         Likewise.
38058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
38059         Likewise.
38060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
38061         Likewise.
38062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
38063         Likewise.
38064         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
38065         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
38066         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
38067         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38068         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38069         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
38071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
38072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
38073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
38074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
38075         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
38076         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
38077         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
38078         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
38079         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38080         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
38081         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
38082         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38083         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
38084         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
38085         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
38086         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
38087         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
38088         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
38089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38090         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
38092         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
38093         * nptl/pthreadP.h: Likewise.
38094         * nptl_db/structs.def: Likewise.
38095         * sysdeps/arm/sysdep.h: Likewise.
38096         * sysdeps/nptl/bits/libc-lock.h: Likewise.
38097         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
38098         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
38099         * sysdeps/unix/alpha/sysdep.h: Likewise.
38100         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
38101         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38102         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
38103         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
38104         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
38105         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
38106         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38107         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
38108         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38109         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
38110         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
38111         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
38112         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
38113         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
38114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
38115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
38116         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
38117         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
38118         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
38119         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
38120         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
38121         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
38122         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38123         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
38124         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
38125         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
38127         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
38128         * nptl/pthreadP.h: Likewise.
38129         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
38130         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
38131         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
38132         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
38133         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
38134         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
38135         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38136         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
38137         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
38138         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
38139         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
38140         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
38141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
38142         Likewise.
38143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
38144         Likewise.
38145         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
38146         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
38147         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
38148         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
38149         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
38150         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
38151         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
38152         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
38154         * dlfcn/dladdr.c: Use IS_IN.
38155         * dlfcn/dladdr1.c: Likewise.
38156         * dlfcn/dlclose.c: Likewise.
38157         * dlfcn/dlerror.c: Likewise.
38158         * dlfcn/dlinfo.c: Likewise.
38159         * dlfcn/dlmopen.c: Likewise.
38160         * dlfcn/dlopen.c: Likewise.
38161         * dlfcn/dlsym.c: Likewise.
38162         * dlfcn/dlvsym.c: Likewise.
38164         * include/ifaddrs.h: Use IS_IN.
38165         * inet/check_pf.c: Likewise.
38166         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38167         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
38169         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
38170         IS_IN_ldconfig.
38171         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
38172         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
38174         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
38175         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
38176         IS_IN (libc).
38178         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
38180         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
38181         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38182         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
38183         * include/libc-symbols.h (IS_IN_LIB): New macro.
38184         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
38185         * include/netdb.h: Likewise.
38186         * include/stap-probe.h: Remove all uses of IN_LIB.
38188         * Makeconfig (module-cppflags-real): Define MODULE_NAME
38189         instead of IN_MODULE.
38190         * include/libc-symbols.h (IN_MODULE): Define using
38191         MODULE_NAME.
38192         (PASTE_NAME, PASTE_NAME1): New macros.
38193         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
38194         of IN_LIB.
38195         (STAP_PROBE_ASM): Likewise.
38197 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38199         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
38200         __mach_init in dlopened libc.
38202 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
38204         * sysdeps/arm/preconfigure.ac: Delete EABI check.
38205         * sysdeps/arm/preconfigure: Regenerate.
38207 2014-11-21  Roland McGrath  <roland@hack.frob.com>
38209         * nptl/pthread_create.c (__pthread_create_2_1): Set
38210         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
38211         when copying values from IATTR into PD.
38213 2014-11-21  Will Newton  <will.newton@linaro.org>
38214             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
38216         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
38217         Refactor inline-asm.  Also add comment.
38219         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
38220         ElfW macro instead of hardcoded Elf64 types.
38221         (la_aarch64_gnu_pltenter): Likewise.
38222         * sysdeps/aarch64/dl-machine.h
38223         (elf_machine_runtime_setup): Use ElfW(Addr).
38225         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
38226         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
38227         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
38228         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
38229         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
38230         (R_AARCH64_TLS_DTPMOD64): Rename to ..
38231         (R_AARCH64_TLS_DTPMOD): This.
38232         (R_AARCH64_TLS_DTPREL64): Rename to ...
38233         (R_AARCH64_TLS_DTPREL): This.
38234         (R_AARCH64_TLS_TPREL64): Rename to ...
38235         (R_AARCH64_TLS_TPREL): This.
38236         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
38237         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
38238         R_AARCH64_TLS_TPREL64.
38239         (elf_machine_rela): Likewise.
38241 2014-11-21  Torvald Riegel  <triegel@redhat.com>
38243         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
38244         by setting it to 0.  64b atomics are not supported currently.
38246 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38248         [BZ #16469]
38249         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
38250         search domain names.
38252 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38254         [BZ #16469]
38255         * NEWS: Update.
38256         * resolv/res_query.c (__libc_res_nquerydomain): Retain
38257         trailing dot.
38258         * posix/tst-getaddrinfo5.c: New.
38259         * posix/Makefile (tests): Add it.
38261 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38263         [BZ #14498]
38264         * NEWS: Fixed.
38265         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
38266         after parsing line but before break_if_match.
38267         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
38268         if there is a protocol mismatch.
38270 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
38272         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
38273         because the potential race is on the user-supplied stream.
38275 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38277         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
38278         string literal if not passed a buffer.
38279         * manual/job.texi (ctermid): Update reasoning, note deviation
38280         from posix, suggest mtasurace when not passed a buffer, for
38281         future non-preliminary safety notes.
38283 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38285         * manual/users.texi (cuserid): Fix MT-Safety note for the case
38286         of not passing it a buffer.
38287         Reported by Peng Haitao.
38289 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38291         * manual/Makefile ($(objpfx)stamp-summary): Require
38292         check-safety.sh to pass.
38293         * manual/check-safety.sh: Wish for verification that every
38294         @deftypefn and @deftypefun is followed by a @safety remark.
38296 2014-11-20  Roland McGrath  <roland@hack.frob.com>
38298         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
38300         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
38301         PTHREAD_CANCEL_ASYNCHRONOUS.
38302         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
38303         send SIGCANCEL.
38305         * nptl/default-sched.h: New file.
38306         * sysdeps/unix/sysv/linux/default-sched.h: New file.
38307         * nptl/pthread_create.c: Include it.
38308         (__pthread_create_2_1): Use collect_default_sched instead of making
38309         Linux syscalls here directly.
38311 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38313         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
38314         __pthread_once): Use C11 atomics.
38316 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38318         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
38320 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38322         * include/atomic.h (__atomic_link_error, __atomic_check_size,
38323         atomic_thread_fence_acquire, atomic_thread_fence_release,
38324         atomic_thread_fence_seq_cst, atomic_load_relaxed,
38325         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
38326         atomic_compare_exchange_weak_relaxed,
38327         atomic_compare_exchange_weak_acquire,
38328         atomic_compare_exchange_weak_release,
38329         atomic_exchange_acquire, atomic_exchange_release,
38330         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
38331         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
38332         atomic_fetch_and_acquire,
38333         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
38335 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38337         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
38338         USE_ATOMIC_COMPILER_BUILTINS): Define.
38339         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
38340         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38341         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
38342         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38343         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
38344         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38345         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
38346         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38347         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
38348         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38349         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
38350         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38351         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
38352         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38353         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
38354         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38355         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
38356         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38357         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
38358         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38359         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
38360         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38361         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
38362         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38363         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
38364         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38365         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
38366         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38367         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
38368         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38369         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
38370         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38371         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
38372         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38373         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
38374         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38375         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
38376         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38377         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
38378         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38380 2014-11-19  Roland McGrath  <roland@hack.frob.com>
38382         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
38383         the sched_priority value here.  It was already checked when the user
38384         called pthread_attr_setschedparam.
38386         * nptl/tst-bad-schedattr.c: New file.
38387         * nptl/Makefile (tests): Add it.
38389 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
38390             Florian Weimer  <fweimer@redhat.com>
38391             Joseph Myers  <joseph@codesourcery.com>
38392             Adam Conrad  <adconrad@0c3.net>
38393             Andreas Schwab  <schwab@suse.de>
38394             Brooks  <bmoses@google.com>
38396         [BZ #17625]
38397         * wordexp-test.c (__dso_handle): Add prototype.
38398         (__register_atfork): Likewise.
38399         (__app_register_atfork): New function.
38400         (registered_forks): New global.
38401         (register_fork): New function.
38402         (test_case): Add 3 new tests for WRDE_CMDSUB.
38403         (main): Call __app_register_atfork.
38404         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
38405         fork count is non-zero fail the test.
38406         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
38407         is set.
38408         (parse_dollars): Remove check for WRDE_NOCMD.
38409         (parse_dquote): Likewise.
38411 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38413         * Makeconfig (built-modules): List non-library modules to be
38414         built.
38415         (module-cppflags): Include libc-modules.h for
38416         everything except shlib-versions.v.i.
38417         (CPPFLAGS): Use it.
38418         (before-compile): Add libc-modules.h.
38419         ($(common-objpfx)libc-modules.h,
38420         $(common-objpfx)libc-modules.stmp): New targets.
38421         (common-generated): Add libc-modules.h and libc-modules.stmp.
38422         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
38423         * include/libc-symbols.h: Don't include libc-modules.h.
38424         * include/libc-modules.h: Remove file.
38425         * scripts/gen-libc-modules.awk: New script to generate
38426         libc-modules.h.
38427         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
38428         Depend on libc-modules.stmp.
38430         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
38432         * Makeconfig (in-module): Get value of libof set for the
38433         translation unit.
38434         (CPPFLAGS): Use $(in-module).
38435         * Makerules: Don't suffix routine names for nonlib.
38436         * include/libc-modules.h: New file.
38437         * include/libc-symbols.h: Include libc-modules.h
38438         (IS_IN): New macro to replace IS_IN_* macros.
38439         * elf/Makefile: Set libof-* for each routine.
38440         * elf/rtld-Rules: Likewise.
38441         * extra-modules.mk: Likewise.
38442         * iconv/Makefile: Likewise.
38443         * iconvdata/Makefile: Likewise.
38444         * locale/Makefile: Likewise.
38445         * malloc/Makefile: Likewise.
38446         * nss/Makefile: Likewise.
38447         * sysdeps/gnu/Makefile: Likewise.
38448         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
38449         * sysdeps/unix/sysv/linux/Makefile: Likewise.
38450         * sysdeps/s390/s390-64/Makefile: Likewise.
38451         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
38452         CPPFLAGS for nscd instead of nonlib.
38454 2014-11-18  Roland McGrath  <roland@hack.frob.com>
38456         * nptl/createthread.c: New file.
38458         * nptl/createthread.c: Moved ...
38459         * sysdeps/unix/sysv/linux/createthread.c: ... here.
38461         * nptl/createthread.c: Add proper top-line comment.
38462         (do_clone): Folded into ...
38463         (create_thread): ... here.  Take new arguments STOPPED_START and
38464         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
38465         increment __nptl_threads, do event-reporting logic, do
38466         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
38467         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
38468         resource cleanup if sched_setaffinity or sched_setscheduler fails,
38469         just send SIGCANCEL.
38470         * nptl/pthread_create.c: Forward-declare create_thread before
38471         including createthread.c.
38472         (start_thread): Use new macro START_THREAD_DEFN to replace defining
38473         declaration, and new macro START_THREAD_SELF to replace argument.
38474         Remove return statement.
38475         (report_thread_creation): New function.
38476         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
38477         synchronization logic, and __nptl_nthreads increment here, around
38478         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
38479         PD->parent_cancelhandling here, before create_thread.  When
38480         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
38481         __deallocate_stack, and ENOMEM translation here.
38483 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
38485         [BZ #17616]
38486         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
38487         (mptwo): Rename to __mptwo.
38488         (__inv): Use __mptwo instead of mptwo.
38489         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
38490         (mptwo): Rename to __mptwo.
38491         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
38492         of mpone and __mptwo instead of mptwo.
38493         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
38494         instead of mpone.
38495         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38496         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
38497         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
38498         of mpone and __mptwo instead of mptwo.
38499         (__mpranred): Use __mpone instead of mpone.
38500         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
38501         variable.
38502         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38503         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38504         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38505         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38506         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38507         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38508         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38509         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38510         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38511         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38512         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38513         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38514         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38515         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38516         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38517         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38518         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38519         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38520         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38522 2014-11-18  Tom de Vries  <tom@codesoucery.com>
38524         * manual/signal.texi (Primitives Interrupted by Signals): In section,
38525         replace BSD Handler xref with BSD Signal Handling.
38527 2014-11-17  Richard Henderson  <rth@redhat.com>
38529         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
38530         (_FP_PACK_RAW_2): Remove.
38531         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
38532         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
38533         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
38534         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
38535         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
38536         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
38537         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
38538         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
38539         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
38540         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
38541         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
38542         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
38543         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
38544         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
38545         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
38546         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
38548 2014-11-14  Roland McGrath  <roland@hack.frob.com>
38550         * signal/signal.h [__USE_MISC]
38551         (struct sigvec): Remove type.
38552         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
38553         (sigvec): Remove declaration.
38554         * sysdeps/posix/sigvec.c: Moved ...
38555         * signal/sigvec.c: ... here, replacing old file.
38556         (struct sigvec): New type, copied from old signal.h definition.
38557         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
38558         (__sigvec): Convert definition to prototype.
38559         (sigvec): Replace weak_alias with compat_symbol.
38560         * signal/Versions (libc: GLIBC_2.21): New version set.
38561         * include/signal.h: Remove __sigvec declaration.
38562         * sysdeps/unix/bsd/sigvec.c: Remove file.
38563         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
38564         * manual/signal.texi (BSD Handler): Remove subsection.
38565         Move siginterrupt up to ...
38566         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
38567         (Blocking in BSD): Fold subsection into its parent.
38568         * NEWS: Mention sigvec removal.
38570 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38572         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
38573         (DLA_FMS): Make definition conditional only on [__FMA4__].
38574         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
38575         definition.
38577         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
38578         Make definition conditional only on [PROF].
38579         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
38580         definition.
38581         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
38582         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
38584         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
38585         !__GNUC__].
38586         * include/signal.h (__sigpause): Move declaration above call to
38587         libc_hidden_proto.
38588         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
38589         variable.
38590         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38591         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38593 2014-11-14  David S. Miller  <davem@davemloft.net>
38595         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
38596         Define before including <string/memcpy.c> and <string/mempcpy.c>.
38598 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38600         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
38601         * configure: Regenerated.
38602         * manual/install.texi (Tools for Compilation): Document a
38603         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
38604         compiler verified to work.
38605         * INSTALL: Regenerated.
38607         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
38608         redeclare with asm name.
38609         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
38610         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
38611         including <string.h>.
38612         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38613         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
38614         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38615         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
38616         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38617         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
38618         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38620 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
38622         * stdlib/strtol.c (__strtol): Use prototype definition.
38624         [BZ #17594]
38625         * stdlib/strtol.c (SYM__): New macro.
38626         (SYM__1): Likewise.
38627         (__strtol): Likewise.
38628         (strtol): Rename to __strtol and define as weak alias of
38629         __strtol.  Use libc_hidden_weak.
38631 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38633         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
38634         Use numbered labels in inline assembly.
38636 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38638         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
38639         Add setjmp LIBC_PROBE.
38640         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
38641         Likewise.
38642         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
38643         Add longjmp, longjmp_target LIBC_PROBE.
38644         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
38645         Likewise.
38647 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38649         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
38650         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
38651         to get rid of unused variable warning.
38653 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38655         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
38656         Check for unwind_backtrace ==  NULL only in SHARED case.
38657         (__backchain_backtrace): Compile only in SHARED case.
38658         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
38659         Likewise.
38660         (__backchain_backtrace): Declare as static.
38662 2014-11-12  Roland McGrath  <roland@hack.frob.com>
38664         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
38665         (__libc_multiple_threads_ptr): Variable moved ...
38666         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
38668 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
38670         * conform/GlibcConform.pm: New file.
38671         * conform/conformtest.pl: Use GlibcConform module.
38672         * conform/linknamespace.pl: New file.
38673         * conform/list-header-symbols.pl: Likewise.
38674         * conform/Makefile (linknamespace-symlists-base): New variable.
38675         (linknamespace-symlists-tests): Likewise.
38676         (linknamespace-header-base): Likewise.
38677         (linknamespace-header-tests): Likewise.
38678         (tests-special): Add new tests.
38679         ($(linknamespace-symlists-tests)): New rule.
38680         (linknamespace-libs): New variable.
38681         ($(objpfx)symlist-stdlibs): New rule.
38682         ($(linknamespace-header-tests)): Likewise.
38683         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
38684         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
38685         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
38686         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
38687         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
38688         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
38689         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
38690         (test-xfail-ISO/math.h/linknamespace): Likewise.
38691         (test-xfail-ISO/signal.h/linknamespace): Likewise.
38692         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
38693         (test-xfail-ISO/time.h/linknamespace): Likewise.
38694         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38695         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
38696         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38697         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38698         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
38699         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38700         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38701         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
38702         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38703         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38704         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
38705         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38706         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
38707         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
38708         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
38709         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38710         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
38711         (test-xfail-XPG3/search.h/linknamespace): Likewise.
38712         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
38713         (test-xfail-XPG3/time.h/linknamespace): Likewise.
38714         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
38715         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
38716         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
38717         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
38718         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
38719         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
38720         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
38721         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
38722         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38723         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
38724         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38725         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
38726         (test-xfail-XPG4/search.h/linknamespace): Likewise.
38727         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
38728         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
38729         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
38730         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
38731         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
38732         (test-xfail-XPG4/time.h/linknamespace): Likewise.
38733         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
38734         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
38735         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
38736         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
38737         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
38738         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38739         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
38740         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
38741         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
38742         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
38743         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
38744         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
38745         (test-xfail-POSIX/time.h/linknamespace): Likewise.
38746         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
38747         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
38748         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38749         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
38750         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
38751         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
38752         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
38753         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38754         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
38755         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38756         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
38757         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
38758         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38759         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38760         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
38761         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38762         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38763         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
38764         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
38765         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
38766         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
38767         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
38768         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
38769         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38770         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
38771         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
38772         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
38773         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
38774         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38775         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
38776         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
38777         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
38778         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
38779         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
38780         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
38781         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38782         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
38783         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
38784         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
38785         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
38786         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
38787         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
38788         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38789         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
38790         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
38791         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
38792         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
38793         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
38794         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
38795         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
38796         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
38797         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38798         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
38799         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
38800         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
38801         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
38802         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
38803         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38804         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
38805         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
38806         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
38807         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
38808         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38809         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
38810         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
38811         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
38812         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
38813         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
38814         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
38815         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
38816         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
38817         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
38818         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38819         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
38820         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
38821         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
38822         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38823         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
38824         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
38825         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
38826         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
38827         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
38828         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38829         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
38830         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
38831         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
38832         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
38833         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
38834         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
38835         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
38836         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
38837         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
38838         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
38839         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
38840         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
38841         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38842         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
38843         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
38845         [BZ #17589]
38846         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
38847         of fgets_unlocked.
38849         [BZ #17585]
38850         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
38851         (memmem): Rename to __memmem and define as weak alias of
38852         __memmem.  Use libc_hidden_weak.
38853         (__memmem): Use libc_hidden_def.
38854         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
38855         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
38856         memmem.
38858         [BZ #17582]
38859         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
38860         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
38861         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
38862         and define as weak alias of __fgets_unlocked.  Use
38863         libc_hidden_weak.
38864         (__fgets_unlocked): Use libc_hidden_def.
38865         * include/stdio.h (__fgets_unlocked): Declare.  Use
38866         libc_hidden_proto.
38867         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
38868         __fgets_unlocked instead of fgets_unlocked.
38869         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
38870         (GET_NPROCS_CONF_PARSER): Likewise.
38871         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
38872         (GET_NPROCS_CONF_PARSER): Likewise.
38874         [BZ #17574]
38875         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
38876         weak alias of __wmemset.  Use libc_hidden_weak.
38877         (__wmemset): Use libc_hidden_def.
38878         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
38879         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
38880         of wmemset.
38882         [BZ #17573]
38883         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
38884         with asm name __mempcpy.
38885         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
38887         [BZ #17572]
38888         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
38889         and define as weak alias of __rawmemchr.
38890         (__rawmemchr): Do not define as strong alias of rawmemchr.
38892         [BZ #17571]
38893         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
38894         alias of __qsort_r.
38895         (qsort): Call __qsort_r instead of qsort_r.
38896         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
38897         (__qsort_r): Declare.  Call libc_hidden_proto.
38898         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
38899         instead of qsort_r.
38900         * nscd/gai.c (__qsort_r): Define to qsort_r.
38901         * posix/tst-rfc3484.c (__qsort_r): Likewise.
38902         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
38903         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
38905         [BZ #17570]
38906         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
38907         define as weak alias of __malloc_info.
38909         [BZ #17584]
38910         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
38911         as weak alias of __rewinddir.  Don't use libc_hidden_def.
38912         (__rewinddir): Use libc_hidden_def.
38913         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
38914         as weak alias of __rewinddir.  Don't use libc_hidden_def.
38915         (__rewinddir): Use libc_hidden_def.
38916         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
38917         weak alias of __rewinddir.  Don't use libc_hidden_def.
38918         (__rewinddir): Use libc_hidden_def.
38919         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
38920         (__rewinddir): Use libc_hidden_proto.
38921         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
38922         rewinddir.
38923         (__getcwd): Use __rewinddir instead of rewinddir.
38925         [BZ #17583]
38926         * libio/fileno.c (fileno): Rename to __fileno and define as weak
38927         alias of __fileno.  Use libc_hidden_weak.
38928         (__fileno): Use libc_hidden_def.
38929         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
38930         * libio/ftello.c (ftello): Rename to __ftello and define as weak
38931         alias of __ftello.
38932         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
38933         __ftello.
38934         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
38935         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
38936         libc_hidden_def.
38937         (fread_unlocked): Don't use libc_hidden_ver.
38938         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
38939         and define as weak alias of __fread_unlocked.  Don't use
38940         libc_hidden_def.
38941         (__fread_unlocked): Use libc_hidden_def.
38942         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
38943         (ftello): Don't use libc_hidden_proto.
38944         (__ftello): Declare.  Use libc_hidden_proto.
38945         (fread_unlocked): Don't use libc_hidden_proto.
38946         (__fread_unlocked): Declare.  Use libc_hidden_proto.
38947         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
38948         and __ftello instead of fileno, fread_unlocked and ftello.
38950 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38952         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
38953         GOT12.
38954         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
38955         Likewise.
38956         (_dl_start_user): Likewise.
38957         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
38959 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
38960             Siddhesh Poyarekar  <siddhesh@redhat.com>
38962         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
38963         Move argv and envp down instead of moving argc up.
38964         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
38966 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
38968         [BZ #17506]
38969         * test-skeleton.c (main): Return successful if one of
38970         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
38971         * string/tst-strcoll-overflow.c: Define expected status.
38973 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
38975         [BZ #17475]
38976         * locale/iso-639.def: Define Bhili and Tulu language codes.
38978 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
38980         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
38982 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
38984         [BZ #17555]
38985         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
38987 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
38989         * configure.ac: Updated check of minimal required version to
38990         2.22.
38991         * manual/install.texi (Tools for Compilation): Updated version
38992         number.
38993         * configure: Regenerated.
38994         * INSTALL: Likewise.
38996 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
38998         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
38999         __tls_get_addr.
39001 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
39003         * include/sys/wait.h (__libc_waitpid): Remove declaration.
39004         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
39005         (__waitpid): Don't define as alias.  Use libc_hidden_def not
39006         libc_hidden_weak.
39007         (waitpid): Define as alias of __waitpid.
39008         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
39009         __waitpid.
39010         (__waitpid): Don't define as alias.  Use libc_hidden_def not
39011         libc_hidden_weak.
39012         (waitpid): Define as alias of __waitpid.
39013         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
39014         __libc_waitpid alias.
39015         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
39016         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
39017         Likewise.
39018         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
39019         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
39020         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
39021         alias.
39022         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
39023         __waitpid.
39024         (__waitpid): Don't define as alias.  Use libc_hidden_def not
39025         libc_hidden_weak.
39026         (waitpid): Define as alias of __waitpid.
39028 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
39030         * manual/llio.texi: Add comment that write safety has been
39031         fixed in Linux.
39033         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
39034         (localplt-build-dso): Add elf/ld.so.
39035         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
39036         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
39037         and free for ld.so.
39038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
39039         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
39040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
39041         Likewise.
39042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
39043         Likewise.
39044         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
39045         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
39046         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
39047         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
39048         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
39049         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
39050         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
39051         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
39052         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
39053         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
39054         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
39056 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
39058         [BZ #14132]
39059         * include/libc-symbols.h (INTUSE): Remove macro.
39060         (INTDEF): Likewise.
39061         (INTVARDEF): Likewise.
39062         (_INTVARDEF): Likewise.
39063         (INTDEF2): Likewise.
39064         (INTVARDEF2): Likewise.
39065         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
39066         rtld_hidden_def instead of INTVARDEF.
39067         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
39068         (_dl_starting_up_internal): Remove declaration.
39069         (_dl_starting_up): Use rtld_hidden_proto.
39070         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
39071         declaration.
39072         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
39073         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
39074         _dl_starting_up.
39075         * elf/dl-writev.h (_dl_writev): Likewise.
39076         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
39077         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
39078         _dl_starting_up_internal.
39080 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39082         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
39083         test-skeleton.c.
39085 2014-11-05  Will Newton  <will.newton@linaro.org>
39087         * benchtests/Makefile: (bench-malloc): Add malloc thread
39088         scalability benchmark.
39089         * benchtests/bench-malloc-threads.c: New file.
39091 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
39093         * sysdeps/aarch64/strchrnul.S: New file.
39095 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39097         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
39098         definition.
39099         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
39100         Likewise.
39101         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
39102         Likewise.
39103         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
39104         Likewise.
39105         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
39106         Likewise.
39107         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
39108         Likewise.
39110 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
39112         * catgets/test-gencat.c: Use test-skeleton.c.
39113         * catgets/tst-catgets.c: Likewise.
39114         * csu/tst-empty.c: Likewise.
39115         * elf/tst-audit2.c: Likewise.
39116         * elf/tst-global1.c: Likewise.
39117         * elf/tst-pathopt.c: Likewise.
39118         * elf/tst-piemod1.c: Likewise.
39119         * elf/tst-tls10.c: Likewise.
39120         * elf/tst-tls11.c: Likewise.
39121         * elf/tst-tls12.c: Likewise.
39122         * gnulib/tst-gcc.c: Likewise.
39123         * iconvdata/tst-e2big.c: Likewise.
39124         * iconvdata/tst-loading.c: Likewise.
39125         * iconv/tst-iconv1.c: Likewise.
39126         * iconv/tst-iconv2.c: Likewise.
39127         * inet/test-inet6_opt.c: Likewise.
39128         * inet/tst-gethnm.c: Likewise.
39129         * inet/tst-network.c: Likewise.
39130         * inet/tst-ntoa.c: Likewise.
39131         * intl/tst-codeset.c: Likewise.
39132         * intl/tst-gettext2.c: Likewise.
39133         * intl/tst-gettext3.c: Likewise.
39134         * intl/tst-ngettext.c: Likewise.
39135         * intl/tst-translit.c: Likewise.
39136         * io/test-stat.c: Likewise.
39137         * libio/test-fmemopen.c: Likewise.
39138         * libio/tst-freopen.c: Likewise.
39139         * libio/tst-sscanf.c: Likewise.
39140         * libio/tst-ungetwc1.c: Likewise.
39141         * libio/tst-ungetwc2.c: Likewise.
39142         * libio/tst-widetext.c: Likewise.
39143         * localedata/tst-ctype.c: Likewise.
39144         * localedata/tst-digits.c: Likewise.
39145         * localedata/tst-leaks.c: Likewise.
39146         * localedata/tst-mbswcs1.c: Likewise.
39147         * localedata/tst-mbswcs2.c: Likewise.
39148         * localedata/tst-mbswcs3.c: Likewise.
39149         * localedata/tst-mbswcs4.c: Likewise.
39150         * localedata/tst-mbswcs5.c: Likewise.
39151         * localedata/tst-setlocale.c: Likewise.
39152         * localedata/tst-trans.c: Likewise.
39153         * localedata/tst-wctype.c: Likewise.
39154         * localedata/tst-xlocale1.c: Likewise.
39155         * login/tst-grantpt.c: Likewise.
39156         * malloc/tst-calloc.c: Likewise.
39157         * malloc/tst-malloc.c: Likewise.
39158         * malloc/tst-mallocstate.c: Likewise.
39159         * malloc/tst-mcheck.c: Likewise.
39160         * malloc/tst-mtrace.c: Likewise.
39161         * malloc/tst-obstack.c: Likewise.
39162         * math/atest-exp2.c: Likewise.
39163         * math/atest-exp.c: Likewise.
39164         * math/atest-sincos.c: Likewise.
39165         * math/test-matherr.c: Likewise.
39166         * math/test-misc.c: Likewise.
39167         * math/test-powl.c: Likewise.
39168         * math/tst-definitions.c: Likewise.
39169         * misc/tst-dirname.c: Likewise.
39170         * misc/tst-efgcvt.c: Likewise.
39171         * misc/tst-fdset.c: Likewise.
39172         * misc/tst-hsearch.c: Likewise.
39173         * misc/tst-mntent2.c: Likewise.
39174         * nptl/tst-sem7.c: Likewise.
39175         * nptl/tst-sem8.c: Likewise.
39176         * nptl/tst-sem9.c: Likewise.
39177         * nss/test-netdb.c: Likewise.
39178         * posix/tst-fnmatch.c: Likewise.
39179         * posix/tst-getlogin.c: Likewise.
39180         * posix/tst-gnuglob.c: Likewise.
39181         * posix/tst-mmap.c: Likewise.
39182         * pwd/tst-getpw.c: Likewise.
39183         * resolv/tst-inet_ntop.c: Likewise.
39184         * rt/tst-timer.c: Likewise.
39185         * stdio-common/test-fseek.c: Likewise.
39186         * stdio-common/test-popen.c: Likewise.
39187         * stdio-common/test-vfprintf.c: Likewise.
39188         * stdio-common/tst-cookie.c: Likewise.
39189         * stdio-common/tst-fileno.c: Likewise.
39190         * stdio-common/tst-gets.c: Likewise.
39191         * stdio-common/tst-obprintf.c: Likewise.
39192         * stdio-common/tst-perror.c: Likewise.
39193         * stdio-common/tst-sprintf2.c: Likewise.
39194         * stdio-common/tst-sprintf3.c: Likewise.
39195         * stdio-common/tst-sprintf.c: Likewise.
39196         * stdio-common/tst-swprintf.c: Likewise.
39197         * stdio-common/tst-tmpnam.c: Likewise.
39198         * stdio-common/tst-unbputc.c: Likewise.
39199         * stdio-common/tst-wc-printf.c: Likewise.
39200         * stdlib/tst-environ.c: Likewise.
39201         * stdlib/tst-fmtmsg.c: Likewise.
39202         * stdlib/tst-limits.c: Likewise.
39203         * stdlib/tst-rand48-2.c: Likewise.
39204         * stdlib/tst-rand48.c: Likewise.
39205         * stdlib/tst-random2.c: Likewise.
39206         * stdlib/tst-random.c: Likewise.
39207         * stdlib/tst-strtol.c: Likewise.
39208         * stdlib/tst-strtoll.c: Likewise.
39209         * stdlib/tst-tls-atexit.c: Likewise.
39210         * stdlib/tst-xpg-basename.c: Likewise.
39211         * string/test-ffs.c: Likewise.
39212         * string/tst-bswap.c: Likewise.
39213         * string/tst-inlcall.c: Likewise.
39214         * string/tst-strtok.c: Likewise.
39215         * string/tst-strxfrm.c: Likewise.
39216         * sysdeps/x86_64/tst-audit10.c: Likewise.
39217         * sysdeps/x86_64/tst-audit3.c: Likewise.
39218         * sysdeps/x86_64/tst-audit4.c: Likewise.
39219         * sysdeps/x86_64/tst-audit5.c: Likewise.
39220         * time/tst-ftime_l.c: Likewise.
39221         * time/tst-getdate.c: Likewise.
39222         * time/tst-mktime3.c: Likewise.
39223         * time/tst-mktime.c: Likewise.
39224         * time/tst-posixtz.c: Likewise.
39225         * time/tst-strptime2.c: Likewise.
39226         * time/tst-strptime3.c: Likewise.
39227         * wcsmbs/tst-btowc.c: Likewise.
39228         * wcsmbs/tst-mbrtowc.c: Likewise.
39229         * wcsmbs/tst-mbsrtowcs.c: Likewise.
39230         * wcsmbs/tst-wchar-h.c: Likewise.
39231         * wcsmbs/tst-wcpncpy.c: Likewise.
39232         * wcsmbs/tst-wcrtomb.c: Likewise.
39233         * wcsmbs/tst-wcsnlen.c: Likewise.
39234         * wcsmbs/tst-wcstof.c: Likewise.
39236 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
39238         [BZ #14132]
39239         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
39240         INTDEF.
39241         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
39242         declaration.
39243         (_dl_mcount): Use rtld_hidden_proto.
39244         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
39245         _dl_mcount.
39246         * elf/rtld.c (_rtld_global_ro): Likewise.
39248         [BZ #14132]
39249         * elf/dl-init.c (_dl_init): Don't use INTDEF.
39250         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
39251         of _dl_init_internal.
39252         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
39253         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
39254         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
39255         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
39256         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
39257         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
39258         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
39259         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
39260         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
39261         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
39262         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
39263         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
39264         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39265         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39266         * sysdeps/tile/dl-start.S (_start): Likewise.
39267         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
39268         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
39270         [BZ #14132]
39271         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
39272         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
39273         (rtld_progname): Make macro definition unconditional.
39274         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
39275         INTDEF.
39276         (dlmopen_doit): Do not use INTUSE with _dl_argv.
39277         (dl_main): Likewise.
39278         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
39279         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
39280         instead of _dl_argv_internal.
39281         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39282         __GI__dl_argv instead of INTUSE(_dl_argv).
39283         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
39284         __GI__dl_argv instead of _dl_argv_internal.
39286         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
39287         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
39288         macro.
39289         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
39290         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
39291         New macro.
39292         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
39293         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
39294         macro.
39295         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
39296         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
39298 2014-11-04  Andreas Schwab  <schwab@suse.de>
39300         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
39302 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39304         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
39305         mtvsrd instruction in binary form.
39307 2014-11-03  Andreas Schwab  <schwab@suse.de>
39309         [BZ #17522]
39310         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
39311         for less than MB_LEN_MAX use a local buffer of that size.
39312         * libio/tst-fputws.c: New file.
39313         * libio/Makefile (tests): Add tst-fputws.
39315 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
39317         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
39318         the size of the fpu_fr.fpu_dregs[] array.
39320 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
39322         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
39323         (__nanosleep): Do not define as alias.
39324         (nanosleep): Define as alias of __nanosleep.
39325         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
39326         __libc_nanosleep name.
39328 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
39330         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
39331         install.texi in comment.
39333 2014-10-31  Torvald Riegel  <triegel@redhat.com>
39335         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
39336         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
39337         ... add here and use lwsync or sync ...
39338         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
39339         ... and add here using lwsync.
39341 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
39343         * elf/dl-machine-reject-phdr.h: New file.
39344         * elf/dl-load.c: #include that.
39345         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
39346         if that returned true.
39348 2014-10-31  Roland McGrath  <roland@hack.frob.com>
39350         [BZ #17496]
39351         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
39352         gen-as-const-headers chunk.  Add a big scare comment after the last
39353         safe place to touch before-compile.
39355 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
39357         * manual/install.texi (Tools for Compilation): Update autoconf
39358         version requirements.
39359         * INSTALL: Regenerated.
39361         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
39362         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
39363         (__libc_pselect): Likewise.
39365         [BZ #14138]
39366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
39367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39371 2014-10-31  Torvald Riegel  <triegel@redhat.com>
39373         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
39374         correct barrier instruction.
39375         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
39376         Likewise.
39377         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
39378         Likewise.
39380 2014-10-30  Roland McGrath  <roland@hack.frob.com>
39382         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
39383         after defining inlines.  Instead, just use parens to defeat macro
39384         expansion of __isctype in its declaration.
39386 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
39388         * include/sys/uio.h (__libc_readv): Remove declaration.
39389         (__libc_writev): Likewise.
39390         * misc/readv.c (__libc_readv): Rename to __readv.
39391         (__readv): Do not define as alias.
39392         (readv): Define as alias of __readv.
39393         * misc/writev.c (__libc_writev): Rename to __writev.
39394         (__writev): Do not define as alias.
39395         (writev): Define as alias of __writev.
39396         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
39397         (__readv): Do not define as alias.
39398         (readv): Define unconditionally as alias of __readv.
39399         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
39400         (__writev): Do not define as alias.
39401         (writev): Define unconditionally as alias of __writev.
39402         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
39403         name.
39404         (writev): Do not define __libc_writev name.
39406 2014-10-30  Roland McGrath  <roland@hack.frob.com>
39408         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
39409         (convert_charseq): New function, broken out of ...
39410         (use_from_charmap): ... here.  Call it.
39411         (use_to_charmap): Use convert_charseq and free instead of duplicating
39412         its code with a variable-length stack struct.
39414 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
39416         * include/fcntl.h (__libc_creat): Remove declaration.
39417         * io/creat.c (__libc_creat): Rename to creat.
39418         (creat): Do not define as alias.
39419         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
39420         of creat instead of __libc_creat.
39421         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
39422         to creat.
39423         (creat): Do not define as alias.
39424         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
39425         __libc_creat.
39426         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
39427         __libc_creat name.
39428         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
39429         Likewise.
39431 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
39433         * manual/llio.texi: Add comments discussing why write() may be
39434         considered MT-unsafe on Linux.
39436 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
39438         * dl-load.c (local_strdup): Remove.
39439         (expand_dynamic_string_token): Use __strdup.
39440         (decompose_rpath): Likewise.
39441         (_dl_map_object): Likewise.
39443 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
39445         [BZ #14132]
39446         * sysdeps/generic/unwind-dw2-fde.c
39447         (__register_frame_info_bases_internal): Do not declare.
39448         (__register_frame_info_table_bases_internal): Likewise.
39449         (__deregister_frame_info_bases_internal): Likewise.
39450         (__register_frame_info_bases): Declare and use hidden_proto before
39451         definition.  Use hidden_def instead of INTDEF.
39452         (__register_frame_info_table_bases): Likewise.
39453         (__deregister_frame_info_bases): Likewise.
39454         (__register_frame_info): Do not use INTUSE.
39455         (__register_frame): Likewise.
39456         (__register_frame_info_table): Likewise.
39457         (__register_frame_table): Likewise.
39458         (__deregister_frame_info): Likewise.
39459         (__deregister_frame): Likewise.
39461 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
39463         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39464         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
39465         not undefine.
39466         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
39467         Likewise.
39468         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
39469         Likewise.
39471 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
39473         [BZ #14138]
39474         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
39475         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
39476         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
39477         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
39478         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
39479         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
39480         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
39481         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
39482         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
39483         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
39484         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
39485         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
39486         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
39487         syscall.
39488         (setfsuid): Likewise.
39489         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
39490         (setfsuid): Likewise.
39491         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
39492         (setfsuid): Likewise.
39493         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
39494         Likewise.
39495         (setfsuid): Likewise.
39496         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
39497         (setfsuid): Likewise.
39498         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
39499         Likewise.
39500         (setfsuid): Likewise.
39502 2014-10-27  Andreas Schwab  <schwab@suse.de>
39504         [BZ #17501]
39505         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
39506         check for Slow_SSE4_2 feature bit.
39507         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
39508         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
39509         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
39510         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
39512 2014-10-24  Roland McGrath  <roland@hack.frob.com>
39514         * configure.ac: Validate compiler version with a empirical test of
39515         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
39516         $CC -v output.
39517         * configure: Regenerated.
39519         * inet/htons.c (htons): Prototypify.
39520         * inet/htonl.c (htonl): Likewise.
39522 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39524         * string/strncat.c (strncat): Improve performance by using strlen.
39526 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39528         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
39530 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39532         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
39533         Call libc_fetestexcept_aarch64.
39535 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39537         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
39538         Call libc_feholdexcept_aarch64.
39540 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39542         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
39543         Call get_rounding_mode.
39545 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39547         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
39548         Simplify logic.
39550 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39552         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
39553         Simplify logic.
39555 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
39557         [BZ #14138]
39558         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
39559         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
39560         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
39561         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
39562         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
39563         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
39564         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
39565         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
39566         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
39567         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
39568         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39569         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
39570         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
39571         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
39572         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
39573         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
39574         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
39575         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
39576         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
39577         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
39578         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
39579         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
39580         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
39581         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
39582         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
39583         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
39584         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
39585         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
39586         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
39587         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
39588         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
39589         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
39590         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
39591         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
39592         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
39593         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
39594         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
39595         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
39596         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
39597         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
39598         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
39599         syscall.
39600         (geteuid): Likewise.
39601         (getgid): Likewise.
39602         (getuid): Likewise.
39603         (getresgid): Likewise.
39604         (getresuid): Likewise.
39605         (getgroups): Likewise.
39606         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
39607         (geteuid): Likewise.
39608         (getgid): Likewise.
39609         (getuid): Likewise.
39610         (getresgid): Likewise.
39611         (getresuid): Likewise.
39612         (getgroups): Likewise.
39613         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
39614         (geteuid): Likewise.
39615         (getgid): Likewise.
39616         (getuid): Likewise.
39617         (getresgid): Likewise.
39618         (getresuid): Likewise.
39619         (getgroups): Likewise.
39620         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
39621         Likewise.
39622         (geteuid): Likewise.
39623         (getgid): Likewise.
39624         (getuid): Likewise.
39625         (getresgid): Likewise.
39626         (getresuid): Likewise.
39627         (getgroups): Likewise.
39628         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
39629         (geteuid): Likewise.
39630         (getgid): Likewise.
39631         (getuid): Likewise.
39632         (getresgid): Likewise.
39633         (getresuid): Likewise.
39634         (getgroups): Likewise.
39635         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
39636         Likewise.
39637         (geteuid): Likewise.
39638         (getgid): Likewise.
39639         (getuid): Likewise.
39640         (getgroups): Likewise.
39642         [BZ #14138]
39643         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
39644         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
39645         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
39646         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39647         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
39648         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
39649         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
39650         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
39651         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
39652         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
39653         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
39654         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
39655         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
39656         __chown.
39657         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
39658         (lchown): Likewise.
39659         (fchown): Likewise.
39660         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
39661         Likewise.
39662         (lchown): Likewise.
39663         (fchown): Likewise.
39664         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
39665         (lchown): Likewise.
39666         (fchown): Likewise.
39667         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
39668         Likewise.
39669         (lchown): Likewise.
39670         (fchown): Likewise.
39672 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39674         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
39675         Simplify logic.
39677 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39679         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39680         Cleanup logic.
39682 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39684         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39685         Remove unused include.
39687 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39689         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
39690         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
39691         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
39692         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
39694 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
39695             Helge Deller <deller@gmx.de>
39697         [BZ #17508]
39698         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
39699         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
39700         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
39702 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
39704         [BZ #14132]
39705         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
39706         Remove macro definition.
39707         (__ashrdi3_v_glibc20): Likewise.
39708         (__lshrdi3_v_glibc20): Likewise.
39709         (__cmpdi2_v_glibc20): Likewise.
39710         (__ucmpdi2_v_glibc20): Likewise.
39711         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
39712         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39713         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39714         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39715         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39716         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
39718 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39720         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
39721         old GNU extension [0] syntax.
39722         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
39723         alloca rather than an array member with variable length.
39724         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
39725         * nscd/nscd.c (invalidate_db): New function, broken out of ...
39726         (parse_opt): ... here.  Likewise use alloca there.
39727         Validate the -i argument before checking for rootness.
39728         (send_shutdown): New function, broken out of ...
39729         (parse_opt): ... here.
39731 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39733         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
39734         macro to get at the _rt_local_ro field.
39735         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
39736         ([PIC] case) or _dl_hwcap ([!PIC] case).
39737         * sysdeps/arm/setjmp.S: Likewise.
39739         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
39740         * sysdeps/arm/configure.ac: New check to define it.
39741         * sysdeps/arm/configure: Regenerated.
39742         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
39743         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
39744         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
39745         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
39746         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
39747         Use move/movt pair instead of a load.
39748         (LDST_GLOBAL): Macro removed.
39749         (LDR_GLOBAL): New macro replaces it.
39750         (LDR_HIDDEN): New macro.
39751         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
39752         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
39754         * setjmp/tst-setjmp-static.c: New file.
39755         * setjmp/Makefile (tests): Add it.
39756         (tests-static): New variable.
39758 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
39760         [BZ #17485]
39761         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
39763 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
39765         [BZ #14132]
39766         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
39768 2014-10-21  Roland McGrath  <roland@hack.frob.com>
39770         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
39772 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39774         * io/fts.c (dirent_not_directory): New function.
39775         (fts_build): Call it.
39777 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39779         * nptl/version.c (__nptl_main): Use normal __write rather than
39780         INTERNAL_SYSCALL.
39781         (banner): Update copyright years.
39783         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
39784         gettimeofday.
39785         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39786         * nptl/pthread_cond_timedwait.c: Likewise.
39787         * nptl/pthread_mutex_timedlock.c: Likewise.
39788         * nptl/sem_timedwait.c: Likewise.
39790         * sysdeps/nptl/bits/libc-lock.h
39791         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
39792         (__libc_lock_init_recursive): Return void, not 0.
39793         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
39794         (__libc_rwlock_init): Likewise.
39795         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
39797 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39799         [BZ #15215]
39800         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
39801         (__pthread_once_slow): ... here.
39802         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
39803         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
39805 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39807         [BZ #15215]
39808         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
39809         __PTHREAD_ONCE_FORK_GEN_INCR): New.
39810         * sysdeps/nptl/fork.c (__libc_fork): Use them.
39811         * nptl/pthread_once.c (__pthread_once): Likewise.
39812         Update comments.
39814 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
39816         [BZ #14138]
39817         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
39818         name.
39819         (writev): Use __libc_writev as strong name.
39820         * sysdeps/unix/sysv/linux/readv.c: Remove file.
39821         * sysdeps/unix/sysv/linux/writev.c: Likewise.
39823 2014-10-17  Roland McGrath  <roland@hack.frob.com>
39825         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
39827         * sysdeps/i386/nptl/tls.h
39828         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
39829         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
39830         New macros.
39831         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
39832         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
39833         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
39834         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
39835         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
39836         Call CHECK_THREAD_SYSINFO instead of doing an assert.
39838         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
39839         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
39840         on [__NR_futex].
39841         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
39842         broken out of ...
39843         (__pthread_mutex_init): ... here.  Call it.
39844         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
39845         Conditionalize PI cases on [__NR_futex].
39846         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
39847         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
39848         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
39850         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
39851         conditional on [SIGSETXID].
39852         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
39853         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
39854         is defined.  Likewise for SIGSETXID.
39855         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
39856         Conditionalize definitions on [SIGSETXID].
39857         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
39858         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
39859         unblocking on [SIGCANCEL].
39861         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
39862         [__NR_set_robust_list].
39864 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39866         * string/strcoll_l.c (get_next_seq): Fix up formatting.
39867         (do_compare): Likewise.
39869 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
39871         [BZ #15884]
39872         * string/strcoll_l.c: Don't include stdio.h.
39873         (coll_seq): Remove members idxarr and rulearr.
39874         (get_next_seq_cached): Remove function.
39875         (get_next_seq): Likewise.
39876         (get_next_seq_nocache): Rename to get_next_seq.
39877         (do_compare): Remove function.
39878         (do_compare_nocache): Rename to do_compare.
39879         (STRCOLL): Remove weight and rules cache.
39881 2014-10-16  Roland McGrath  <roland@hack.frob.com>
39883         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
39884         * sysdeps/arm/sfp-machine.h: ... to here.
39885         * sysdeps/arm/Implies: Remove arm/soft-fp.
39887 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
39889         * conform/data/sys/utsname.h-data (*_t): Allow.
39890         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
39891         [POSIX] (WEXITED): Do not expect constant.
39892         [POSIX] (WSTOPPED): Likewise.
39893         [POSIX] (WNOHANG): Likewise.
39894         [POSIX] (WNOWAIT): Likewise.
39895         [POSIX] (siginfo_t): Do not expect type or elements.
39896         [POSIX] (pid_t): Do not expect type.
39897         [POSIX] (signal.h): Do not allow header.
39898         [POSIX] (sys/resource.h): Likewise.
39899         [POSIX] (si_*): Do not allow pattern.
39900         [POSIX] (W*): Likewise.
39901         [POSIX] (P_*): Likewise.
39902         [POSIX] (BUS_*): Likewise.
39903         [POSIX] (CLD_*): Likewise.
39904         [POSIX] (FPE_*): Likewise.
39905         [POSIX] (ILL_*): Likewise.
39906         [POSIX] (POLL_*): Likewise.
39907         [POSIX] (SEGV_*): Likewise.
39908         [POSIX] (SI_*): Likewise.
39909         [POSIX] (TRAP_*): Likewise.
39910         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
39911         variable.
39913 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
39915         [BZ #12926]
39916         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
39917         infinite loop when __recvmsg returns 0.
39919 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
39921         * CANCEL-FCT-WAIVE: Remove file.
39922         * CANCEL-FILE-WAIVE: Likewise.
39924         [BZ #14132]
39925         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
39926         instead of INTVARDEF.
39927         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
39928         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
39929         rtld_hidden_data_def instead of INTVARDEF.
39930         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
39931         * elf/dl-deps.c (expand_dst): Likewise.
39932         * elf/dl-load.c (_dl_dst_count): Likewise.
39933         (_dl_dst_substitute): Likewise.
39934         (decompose_rpath): Likewise.
39935         (_dl_init_paths): Likewise.
39936         (open_path): Likewise.
39937         (_dl_map_object): Likewise.
39938         * elf/rtld.c (dl_main): Likewise.
39939         (process_dl_audit): Likewise.
39940         (process_envvars): Likewise.
39941         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
39942         Remove declaration.
39943         (__libc_enable_secure): Use rtld_hidden_proto.
39945 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39947         * elf/dl-load.c
39948         (add_path): New function broken out of _dl_rtld_di_serinfo.
39949         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
39951 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
39953         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
39954         parentheses around macro arguments.
39955         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
39956         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
39957         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
39958         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
39959         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
39960         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
39961         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
39962         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
39963         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
39964         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
39965         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
39966         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
39967         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
39968         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
39969         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
39970         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
39971         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
39972         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
39973         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
39974         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
39975         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
39976         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
39977         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
39978         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
39979         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
39980         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
39981         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
39982         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
39983         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
39984         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
39985         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
39986         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
39987         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
39988         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
39989         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
39990         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
39991         Likewise.
39992         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
39993         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39994         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39995         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
39996         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
39997         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
39998         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
39999         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
40000         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
40001         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
40002         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
40003         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
40004         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
40005         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
40006         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
40007         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
40008         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
40009         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
40010         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
40011         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
40012         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
40013         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
40014         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
40015         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
40016         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
40017         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
40018         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
40019         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
40020         (_FP_FRAC_SRS_1): Likewise.
40021         (_FP_FRAC_CLZ_1): Likewise.
40022         (_FP_MUL_MEAT_1_imm): Likewise.
40023         (_FP_MUL_MEAT_1_wide): Likewise.
40024         (_FP_MUL_MEAT_1_hard): Likewise.
40025         (_FP_SQRT_MEAT_1): Likewise.
40026         (_FP_FRAC_ASSEMBLE_1): Likewise.
40027         (_FP_FRAC_DISASSEMBLE_1): Likewise.
40028         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
40029         (__FP_CLZ_2): Likewise.
40030         (_FP_MUL_MEAT_2_wide): Likewise.
40031         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
40032         (_FP_MUL_MEAT_2_gmp): Likewise.
40033         (_FP_MUL_MEAT_2_120_240_double): Likewise.
40034         (_FP_SQRT_MEAT_2): Likewise.
40035         (_FP_FRAC_ASSEMBLE_2): Likewise.
40036         (_FP_FRAC_DISASSEMBLE_2): Likewise.
40037         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
40038         (_FP_FRAC_CLZ_4): Likewise.
40039         (_FP_MUL_MEAT_4_wide): Likewise.
40040         (_FP_MUL_MEAT_4_gmp): Likewise.
40041         (_FP_SQRT_MEAT_4): Likewise.
40042         (_FP_FRAC_ASSEMBLE_4): Likewise.
40043         (_FP_FRAC_DISASSEMBLE_4): Likewise.
40044         * soft-fp/op-common.h (_FP_CMP): Likewise.
40045         (_FP_CMP_EQ): Likewise.
40046         (_FP_CMP_UNORD): Likewise.
40047         (_FP_TO_INT): Likewise.
40048         (_FP_FROM_INT): Likewise.
40049         [!__FP_CLZ] (__FP_CLZ): Likewise.
40050         (_FP_DIV_HELP_imm): Likewise.
40051         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
40052         Likewise.
40053         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
40054         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
40055         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
40056         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
40057         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
40058         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
40059         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
40060         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
40061         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
40062         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
40063         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
40064         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
40065         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
40066         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
40067         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
40068         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
40069         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
40070         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
40071         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
40072         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
40073         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
40074         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
40075         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
40076         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
40077         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
40078         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
40079         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
40080         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
40081         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
40082         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
40083         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
40084         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
40085         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
40086         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
40087         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
40088         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
40089         (FP_UNPACK_RAW_SP): Likewise.
40090         (FP_PACK_RAW_S): Likewise.
40091         (FP_PACK_RAW_SP): Likewise.
40092         (FP_UNPACK_S): Likewise.
40093         (FP_UNPACK_SP): Likewise.
40094         (FP_UNPACK_SEMIRAW_S): Likewise.
40095         (FP_UNPACK_SEMIRAW_SP): Likewise.
40096         (FP_PACK_S): Likewise.
40097         (FP_PACK_SP): Likewise.
40098         (FP_PACK_SEMIRAW_S): Likewise.
40099         (FP_PACK_SEMIRAW_SP): Likewise.
40100         (_FP_SQRT_MEAT_S): Likewise.
40101         (FP_CMP_S): Likewise.
40102         (FP_CMP_EQ_S): Likewise.
40103         (FP_CMP_UNORD_S): Likewise.
40104         (FP_TO_INT_S): Likewise.
40105         (FP_FROM_INT_S): Likewise.
40107         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
40109         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
40110         (FP_EX_INVALID_IMZ): Likewise.
40111         (FP_EX_INVALID_IMZ_FMA): Likewise.
40112         (FP_EX_INVALID_ISI): Likewise.
40113         (FP_EX_INVALID_ZDZ): Likewise.
40114         (FP_EX_INVALID_IDI): Likewise.
40115         (FP_EX_INVALID_SQRT): Likewise.
40116         (FP_EX_INVALID_CVI): Likewise.
40117         (FP_EX_INVALID_VC): Likewise.
40118         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
40119         "invalid" exceptions.
40120         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
40121         (_FP_ADD_INTERNAL): Likewise.
40122         (_FP_MUL): Likewise.
40123         (_FP_FMA): Likewise.
40124         (_FP_DIV): Likewise.
40125         (_FP_CMP_CHECK_NAN): Likewise.
40126         (_FP_SQRT): Likewise.
40127         (_FP_TO_INT): Likewise.
40128         (FP_EXTEND): Likewise.
40130 2014-10-09  Allan McRae  <allan@archlinux.org>
40132         * po/fr.po: Update French translation from translation project.
40134 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
40136         [BZ #14132]
40137         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
40138         of INTDEF.
40139         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
40140         (__cxa_atexit): Use libc_hidden_proto.
40141         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
40143         [BZ #14132]
40144         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
40145         declaration.
40146         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
40147         [!_ISOMAC] (__iswspace_l_internal): Likewise.
40148         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
40149         [!_ISOMAC] (__iswctype_internal): Likewise.
40150         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
40151         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
40152         alias.
40153         (fcntl): Remove __fcntl_internal alias.
40154         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
40155         __connect_internal alias.
40156         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
40157         Likewise.
40159         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
40160         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
40161         FP_DENORM_ZERO.
40162         (_FP_CHECK_FLUSH_ZERO): New macro.
40163         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
40164         (_FP_CMP): Likewise.
40165         (_FP_CMP_EQ): Likewise.
40166         (_FP_TO_INT): Do not set inexact for subnormal arguments if
40167         FP_DENORM_ZERO.
40168         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
40169         (FP_TRUNC): Likewise.
40171         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
40172         treated as invalid conversion, not as normal exponent.
40174         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
40175         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
40176         (_FP_CMP_EQ): Likewise.
40177         (_FP_CMP_UNORD): Likewise.
40178         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
40179         (FP_CMP_EQ_D): Likewise.
40180         (FP_CMP_UNORD_D): Likewise.
40181         * soft-fp/extended.h (FP_CMP_E): Likewise.
40182         (FP_CMP_EQ_E): Likewise.
40183         (FP_CMP_UNORD_E): Likewise.
40184         * soft-fp/quad.h (FP_CMP_Q): Likewise.
40185         (FP_CMP_EQ_Q): Likewise.
40186         (FP_CMP_UNORD_Q): Likewise.
40187         * soft-fp/single.h (FP_CMP_S): Likewise.
40188         (FP_CMP_EQ_S): Likewise.
40189         (FP_CMP_UNORD_S): Likewise.
40190         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
40191         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
40192         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
40193         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
40194         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
40195         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
40196         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
40197         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
40198         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
40199         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
40200         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
40201         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
40202         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
40203         to FP_CMP_Q.
40204         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
40205         FP_CMP_Q.
40206         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
40207         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
40208         FP_CMP_EQ_Q.
40209         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
40210         FP_CMP_Q.
40211         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
40212         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
40213         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
40214         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
40215         FP_CMP_EQ_Q.
40216         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
40217         FP_CMP_Q.
40218         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
40219         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
40220         FP_CMP_EQ_Q.
40221         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
40222         FP_CMP_Q.
40223         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
40224         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
40225         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
40226         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
40227         FP_CMP_EQ_Q.
40229         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
40230         a subnormal result, set the underflow exception if trapping on
40231         underflow is enabled.
40232         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
40233         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
40234         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
40235         redefine to 0.
40236         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
40237         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
40238         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
40239         * soft-fp/extendxftf2.c (__extendxftf2): Use
40240         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
40242         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
40243         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
40244         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40245         FP_HANDLE_EXCEPTIONS.
40246         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
40247         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40248         FP_HANDLE_EXCEPTIONS.
40249         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
40250         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40251         FP_HANDLE_EXCEPTIONS.
40252         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
40253         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40254         FP_HANDLE_EXCEPTIONS.
40256 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
40258         [BZ #14132]
40259         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
40260         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
40261         use INTUSE.
40262         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
40263         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
40264         Remove alias.
40265         (__adjtimex): Define using libc_hidden_ver.
40266         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
40267         Remove declaration.
40268         (ntp_gettime): Call __adjtimex directly.
40269         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
40270         Remove declaration.
40271         (ntp_gettimex): Call __adjtimex directly.
40272         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
40273         __adjtimex_internal alias.
40275 2014-10-08  Roland McGrath  <roland@hack.frob.com>
40277         [BZ #17460]
40278         * nscd/nscd.c (more_help): Rewrite list of tables collection
40279         using xstrdup and asprintf.
40281         * nscd/nscd_conf.c: Remove local xstrdup declaration.
40283 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40284             Roland McGrath  <roland@hack.frob.com>
40286         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
40287         (do_lookup_unique): ... local function 'enter' here; update callers.
40289 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
40291         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
40292         compat_symbol calls on [SHARED].
40293         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
40294         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
40295         Remove.
40296         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40297         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
40298         (oldsetrlimit): Remove.
40299         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
40301         (lchown): New syscall entry.
40302         (oldsetrlimit): Remove.
40303         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40304         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
40305         (oldsetrlimit): Remove.
40306         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40308         [BZ #14138]
40309         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
40310         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
40311         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
40312         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
40313         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
40314         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
40315         (fchown): Likewise.
40316         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
40317         (fchown): Likewise.
40318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
40319         Likewise.
40321 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40323         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
40324         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
40325         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
40326         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
40327         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
40328         Likewise.
40329         (__old_sem_post): Likewise.
40331 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
40333         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
40334         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
40335         HAVE_CLOCK_GETTIME_VSYSCALL macros.
40336         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
40337         Use INLINE_VSYSCALL macro.
40338         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
40339         __vdso_clock_gettime.
40340         * sysdeps/unix/sysv/linux/tile/init-first.c
40341         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
40342         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
40343         __vdso_clock_gettime.
40345         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
40346         to set up frame more cleanly.
40348         * sysdeps/tile/memcmp.c: New file.
40350         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
40352         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
40353         * sysdeps/tile/tilegx/strcasestr.c: New file.
40354         * sysdeps/tile/tilegx/strnlen.c: New file.
40355         * sysdeps/tile/tilegx/strstr.c: New file.
40357         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
40359 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
40361         * nptl/tst-setuid3.c: Write errors to stdout.
40363 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40365         * elf/dl-deps.c
40366         (preload): New functions broken out of _dl_map_object_deps.
40367         (_dl_map_object_deps):  Remove a nested function. Update call sites.
40369 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
40371         [BZ #14138]
40372         * sysdeps/unix/sysv/linux/execve.c: Remove file.
40373         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
40375 2014-10-01  Steve Ellcey  <sellcey@mips.com>
40377         * sysdeps/mips/strcmp.S: New.
40379 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
40381         [BZ #14138]
40382         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
40383         (linkat): Likewise.
40384         (mkdirat): Likewise.
40385         (readlinkat): Likewise.
40386         (renameat): Likewise.
40387         (symlinkat): Likewise.
40388         (unlinkat): Likewise.
40389         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
40390         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
40391         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
40392         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
40393         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
40394         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
40395         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
40397 2014-09-30  Will Newton  <will.newton@linaro.org>
40399         * math/math.h: Define long double math functions if
40400         _LIBC_TEST is defined.
40401         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
40403         * localedata/Makefile: Move assignment to tests-special
40404         into an ifdef testing run-built-tests.
40405         * timezone/Makefile: Likewise.
40407 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
40409         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
40410         with $(BASH) not $(SHELL).
40412 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
40413             Matthew LeGendre  <legendre1@llnl.gov>
40415         [BZ #17411]
40416         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
40417         l_reloc_result.
40419 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40421         * stdio-common/printf_fp.c
40422         (hack_digit): New function, broken out of ...
40423         (__printf_fp): ... local function here.  Update call sites.
40424         hack_digit now takes an additional parameter that is a pointer
40425         to a struct of the referenced locals.  Those locals moved inside
40426         the struct and references updated.
40428 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
40430         * aclocal.m4: Require autoconf 2.69.
40431         * configure: Regenerated.
40432         * sysdeps/aarch64/configure: Likewise.
40433         * sysdeps/alpha/configure: Likewise.
40434         * sysdeps/arm/armv7/configure: Likewise.
40435         * sysdeps/arm/configure: Likewise.
40436         * sysdeps/ia64/configure: Likewise.
40437         * sysdeps/mach/configure: Likewise.
40438         * sysdeps/mips/configure: Likewise.
40439         * sysdeps/s390/configure: Likewise.
40440         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
40441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
40443         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
40444         file.
40445         * sysdeps/ia64/configure.ac: Likewise.
40447 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
40449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
40450         specify symbol version for ld.so.  Do not include entry for
40451         libpthread.
40452         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40453         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
40454         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40456         [BZ #14171]
40457         * Makeconfig [$(build-shared) = yes]
40458         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
40459         makefiles.
40460         [$(build-shared) = yes && $(soversions.mk-done) = t]
40461         ($(common-objpfx)gnu/lib-names.h): Remove rule.
40462         [$(build-shared) = yes && $(soversions.mk-done) = t]
40463         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
40464         to Makerules.
40465         [$(build-shared) = yes && $(soversions.mk-done) = t]
40466         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
40467         here.
40468         [$(build-shared) = yes && $(soversions.mk-done) = t]
40469         (common-generated): Don't append gnu/lib-names.h and
40470         gnu/lib-names.stmp here.
40471         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
40472         (lib-names-h-abi): New variable.
40473         [$(build-shared) = yes && $(soversions.mk-done) = t]
40474         (lib-names-stmp-abi): Likewise.
40475         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40476         abi-variants] (before-compile): Append
40477         $(common-objpfx)$(lib-names-h-abi).
40478         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40479         abi-variants] (common-generated): Append gnu/lib-names.h.
40480         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40481         abi-variants] (install-others-nosubdir): Depend on
40482         $(inst_includedir)/$(lib-names-h-abi).
40483         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40484         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
40485         [$(build-shared) = yes && $(soversions.mk-done) = t]
40486         ($(common-objpfx)$(lib-names-h-abi)): New rule.
40487         [$(build-shared) = yes && $(soversions.mk-done) = t]
40488         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
40489         [$(build-shared) = yes && $(soversions.mk-done) = t]
40490         (common-generated): Append $(lib-names-h-abi) and
40491         $(lib-names-stmp-abi).
40492         * scripts/lib-names.awk: Do not handle multi being set.
40493         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
40494         Remove variable.
40495         (abi-lp64_be-ld-soname): Likewise.
40496         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
40497         Likewise.
40498         (abi-hard-ld-soname): Likewise.
40499         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
40500         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
40501         Remove variable.
40502         (abi-o32_hard-ld-soname): Likewise.
40503         (abi-o32_soft_2008-ld-soname): Likewise.
40504         (abi-o32_hard_2008-ld-soname): Likewise.
40505         (abi-n32_soft-ld-soname): Likewise.
40506         (abi-n32_hard-ld-soname): Likewise.
40507         (abi-n32_soft_2008-ld-soname): Likewise.
40508         (abi-n32_hard_2008-ld-soname): Likewise.
40509         (abi-n64_soft-ld-soname): Likewise.
40510         (abi-n64_hard-ld-soname): Likewise.
40511         (abi-n64_soft_2008-ld-soname): Likewise.
40512         (abi-n64_hard_2008-ld-soname): Likewise.
40513         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
40514         Likewise.
40515         (abi-64-v2-ld-soname): Likewise.
40516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
40517         ld.so entries.
40518         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
40519         variable.
40520         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
40521         entry.
40522         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
40523         variable.
40524         (abi-64-ld-soname): Likewise.
40525         (abi-x32-ld-soname): Likewise.
40526         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
40527         entry.
40528         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40530 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
40532         [BZ #14138]
40533         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
40534         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
40535         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
40536         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
40537         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
40538         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
40539         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
40540         syscall entry for GLIBC_2.2 symbol version.
40541         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
40542         Likewise.
40543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
40544         (setrlimit): Likewise.
40545         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
40546         Likewise.
40548 2014-09-23  Will Newton  <will.newton@linaro.org>
40550         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
40551         _LINUX_ARM_SYSDEP_H include guard too.
40552         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
40553         define.
40555 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
40557         * sysdeps/unix/sysv/linux/eventfd.c:
40558         Make first argument unsigned.
40559         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
40560         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
40562 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
40564         [BZ #16852]
40565         * socket/recvmmsg.c (recvmmsg): Drop const argument.
40566         * socket/sys/socket.h: Likewise.
40567         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
40569 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40571         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
40573 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
40575         * time/tst-ftime.c: New test.
40576         * time/Makefile (tests): Add tst-ftime.
40578 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
40580         * soft-fp/extended.h: Fix comment formatting.
40581         * soft-fp/op-1.h: Likewise.
40582         * soft-fp/op-2.h: Likewise.
40583         * soft-fp/op-4.h: Likewise.
40584         * soft-fp/op-8.h: Likewise.
40585         * soft-fp/op-common.h: Likewise.
40586         * soft-fp/soft-fp.h: Likewise.
40588         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
40590 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
40592         [BZ #6652]
40593         * Makeconfig (soversions-default-setname): Remove variable.
40594         ($(common-objpfx)soversions.i): Don't pass default_setname to
40595         soversions.awk.
40596         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
40597         oldest_abi to abi-versions.awk.
40598         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
40599         * config.make.in (oldest-abi): Remove variable.
40600         * configure.ac (--enable-oldest-abi): Remove configure option.
40601         * configure: Regenerated.
40602         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
40603         text.
40604         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
40605         * scripts/soversions.awk: Do not handle default_setname variable.
40606         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
40607         variable.
40608         * sysdeps/mach/hurd/configure: Regenerated.
40609         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
40610         variable.
40611         * sysdeps/unix/sysv/linux/configure: Regenerated.
40613 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40615         * elf/Makefile (CFLAGS-interp.c): Remove.
40616         ($(elf-objpfx)runtime-linker.h): Generate header with linker
40617         path string.
40618         * elf/interp.c: Include generated runtime-linker.h
40620         * Makerules (lib%.so): Don't include $(+interp) in
40621         prerequisites.
40622         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
40623         * dlfcn/eval.c: Remove file.
40625         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
40626         macros.
40628         [BZ #17266]
40629         * misc/sys/cdefs.h: Define __extern_always_inline for clang
40630         4.2 and newer.
40632         [BZ #17370]
40633         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
40635 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40636             Jakub Jelinek  <jakub@redhat.com>
40638         [BZ #17266]
40639         * libio/stdio.h: Check definition of __fortify_function
40640         instead of __extern_always_inline to include bits/stdio2.h.
40641         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
40642         check if __extern_always_inline is defined.
40643         [__USE_MISC || __USE_XOPEN]: Likewise.
40644         [__USE_ISOC99] Likewise.
40645         * misc/sys/cdefs.h (__fortify_function): Define only if
40646         __extern_always_inline is defined.
40647         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
40648         __extern_always_inline and __extern_inline only for g++-4.3
40649         and newer or a compatible gcc.
40651 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
40653         [BZ #17371]
40654         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40655         last change to handle zero prefix length.
40657 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40659         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
40660         _SC_REGEX_VERSION.
40662         * posix/getconf.c (vars): Add _POSIX_IPV6 and
40663         _POSIX_RAW_SOCKETS.
40665 2014-09-13  Allan McRae  <allan@archlinux.org>
40667         * po/ru.po: Update Russian translation from translation project.
40669 2014-09-12  Roland McGrath  <roland@hack.frob.com>
40671         * locale/programs/locale.c (show_locale_vars): Inline local function
40672         into its sole call site.  Clean up some style nits.
40673         (print_item): New function, broken out of ...
40674         (show_info): ... local function here.  Clean up style nits.
40676         * locale/programs/ld-ctype.c (set_one_default): New function, broken
40677         out of ...
40678         (set_class_defaults): ... local function set_default here.
40679         Define set_default as a macro locally to pass constant parameters.
40680         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
40681         rather than a shared local.
40683         * stdlib/rpmatch.c (try): New function, broken out of ...
40684         (rpmatch): ... local function here.  Also, prototypify definition.
40686 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
40688         * scripts/soversions.awk: Do not handle configuration names.
40689         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
40690         vendor and os variables to soversions.awk.
40691         * configure.ac: Do not modify gnu-* host_os.
40692         * configure: Regenerated
40693         * shlib-versions: Remove first column with configuration names.
40694         * nptl/shlib-versions: Likewise.
40695         * nptl_db/shlib-versions: Likewise.
40696         * sysdeps/hppa/shlib-versions: Likewise.
40697         * sysdeps/m68k/shlib-versions: Likewise.
40698         * sysdeps/mach/hurd/shlib-versions: Likewise.
40699         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
40700         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
40701         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
40702         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
40703         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
40704         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
40705         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
40706         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
40707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40708         Likewise.
40709         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40710         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40711         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40712         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40713         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40714         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
40715         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
40716         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40719         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
40720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
40721         Regenerated.
40722         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
40723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40724         Condition symbol version definitions on [HAVE_ELFV2_ABI].
40726         * shlib-versions: Remove OS-specific entries.  Moved to files in
40727         sysdeps.
40728         * sysdeps/mach/hurd/shlib-versions: New file.
40729         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40731         * nptl/shlib-versions: Remove architecture-specific entries.
40732         Moved to files in sysdeps.
40733         * shlib-versions: Likewise.
40734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
40735         file.
40736         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40737         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40738         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40739         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40741         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
40742         (UDP_NO_CHECK6_RX): Likewise.
40744 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40746         * sysdeps/posix/sysconf.c (__sysconf): Spell
40747         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
40749 2014-08-12  Florian Weimer  <fweimer@redhat.com>
40751         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
40752         loading.
40753         * iconv/Versions (__gconv_transliterate): Export for use from
40754         gconv modules.
40755         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
40756         (struct __gconv_trans_data, __gconv_trans_fct,
40757         __gconv_trans_context_fct, __gconv_trans_query_fct,
40758         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
40759         definitions.
40760         (struct __gconv_step_data): Remove __trans member.
40761         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
40762         longer hidden.  Remove unused trans_data argument.
40763         * iconv/gconv_int.h (struct trans_struct): Remove definition.
40764         (__gconv_translit_find): Remove declaration.
40765         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
40766         prototype.
40767         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
40768         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
40769         trans_data argument.  Add hidden definition.
40770         (__gconv_translit_find): Remove.
40771         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
40772         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
40773         * iconv/skeleton.c: Remove transliteration initialization.
40774         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
40775         __gconv_step_data initialization.
40776         * libio/iofwide.c (__libio_translit_): Remove.
40777         (_IO_fwide): Adjust struct __gconv_step_data initialization.
40778         * wcsmbs/btowc.c (__btowc): Likewise.
40779         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40780         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40781         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
40782         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
40783         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
40784         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
40785         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
40786         * wcsmbs/wctob.c (wctob): Likewise.
40788 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40790         [BZ #16194]
40791         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
40792         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
40793         register usage.
40794         * sysdeps/x86/Makefile: Adjust.
40796 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40797             Roland McGrath  <roland@hack.frob.com>
40799         * locale/weight.h: Add include guard.
40800         (findidx): Make static rather than auto; take new parameters
40801         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
40802         * locale/weightwc.h: Likewise.
40803         * posix/fnmatch_loop.c
40804         (FCT): Change type of EXTRA from int32_t to wint_t.
40805         Don't include either header inside the function.
40806         Call FINDIDX rather than findidx, and pass new arguments.
40807         #undef FINDIDX at the end of the file.
40808         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
40809         FINDIDX before including fnmatch_loop.c for the non-wide version.
40810         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
40811         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
40812         for the wide version.
40813         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
40814         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
40815         Pass new arguments to findidx.
40816         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
40817         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
40818         Don't #include it inside the function.  Pass new arguments to findidx.
40819         * posix/regex_internal.h
40820         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
40821         (re_string_elem_size_at): Don't #include it inside the function.
40822         Pass new arguments to findidx.
40823         * string/strcoll_l.c: #include WEIGHT_H at top level.
40824         (get_next_seq): Don't #include it inside the function.
40825         Pass new arguments to findidx.
40826         (get_next_seq_nocache): Likewise.
40827         * string/strxfrm_l.c: #include WEIGHT_H at top level.
40828         (STRXFRM): Don't #include it inside the function.
40829         Pass new arguments to findidx.
40831 2014-09-11  Florian Weimer  <fweimer@redhat.com>
40833         [BZ #17344]
40834         * malloc/malloc.c (unlink): Turn asserts into a call to
40835         malloc_printerr.
40837 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
40839         [BZ #17370]
40840         * libio/wfileops (do_ftell_wide): Free OUT.
40842 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
40844         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
40846 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40848         [BZ #17363]
40849         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
40850         group if the current group is empty.
40852 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40854         * benchtests/bench-memset.c (test_main): Add more test from size
40855         from 32 to 512 bytes.
40856         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40857         Add POWER8 memset object.
40858         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40859         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
40860         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
40861         implementation.
40862         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
40863         Likewise.
40864         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
40865         multiarch POWER8 memset optimization.
40866         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
40867         POWER8 memset optimization.
40869         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40870         Remove bzero multiarch objects.
40871         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
40872         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
40873         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
40874         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
40875         Remove define.
40876         [__bzero]: Redefine to specific name.
40877         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
40878         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
40879         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
40880         define.
40881         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40882         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
40884 2014-09-10  Florian Weimer  <fweimer@redhat.com>
40886         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
40887         warnings into errors.
40889         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
40890         __cxa_thread_atexit_impl prototype.
40892 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40894         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
40895         Fix capitalization of error message.
40897 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40899         * sysdeps/mips/preconfigure: Modify ABI tests.
40901 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
40903         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
40905 2014-09-07  Roland McGrath  <roland@hack.frob.com>
40906             Carlos O'Donell  <carlos@systemhalted.org>
40908         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
40909         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
40910         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
40911         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
40912         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
40913         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
40914         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
40915         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
40916         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
40917         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
40918         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
40919         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
40920         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
40921         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
40922         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
40923         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
40924         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
40925         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
40926         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
40927         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
40928         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
40929         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
40930         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
40931         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
40932         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
40933         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
40934         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
40935         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
40936         Deconditionalize the code that was previously under [RESET_PID].
40937         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
40938         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
40939         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
40940         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
40941         include sysdep.h.
40943 2014-09-08  Allan McRae  <allan@archlinux.org>
40945         * version.h (RELEASE): Set to "development".
40946         (VERSION): Set to "2.20.90"
40948 2014-09-07  Allan McRae  <allan@archlinux.org
40950         * version.h (RELEASE): Set to "stable".
40951         (VERSION): Set to "2.20"
40952         * include/features.h (__GLIBC_MINOR__): Set to 20.
40954         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
40955         Liebler.
40957         * po/ko.po: Update Korean translation from translation project.
40959 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
40961         [BZ #17354]
40962         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
40963         macro for handling signed relocations.
40965 2014-09-03  Florian Weimer  <fweimer@redhat.com>
40967         [BZ #17325]
40968         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
40969         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
40970         assert.
40971         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
40972         * iconvdata/ibm935.c (BODY): Likewise.
40973         * iconvdata/ibm937.c (BODY): Likewise.
40974         * iconvdata/ibm939.c (BODY): Likewise.
40975         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
40976         assert.
40977         * iconvdata/Makefile (iconv-test.out): Pass module list to test
40978         script.
40979         * iconvdata/run-iconv-test.sh: New test loop for checking for
40980         decoder crashers.
40982 2014-09-02  Khem Raj  <raj.khem@gmail.com>
40984         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
40985         libm_hidden_ver.
40987 2014-09-01  Allan McRae  <allan@archlinux.org>
40989         * po/eo.po: Update Esperanto translation from translation project.
40991         * po/ca.po: Update Catalan translation from translation project.
40993 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40995         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
40996         __proc_dostop call.
40998 2014-08-27  Mark Wielaard  <mjw@redhat.com>
41000         [BZ #17319]
41001         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
41002         to call set_thread_area instead of hand written asm.
41003         (__NR_set_thread_area): Removed define.
41004         (TLS_FLAG_WRITABLE): Likewise.
41005         (__ASSUME_SET_THREAD_AREA): Remove check.
41006         (TLS_EBX_ARG): Remove define.
41007         (TLS_LOAD_EBX): Likewise.
41009 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41011         Simplify atomicity of socket creation in bind.
41013         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
41014         looking up the name after linking the file.
41016 2014-08-27  Allan McRae  <allan@archlinux.org>
41018         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41020 2014-08-26  Florian Weimer  <fweimer@redhat.com>
41022         [BZ #17187]
41023         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
41024         trans_compare, open_translit, __gconv_translit_find):
41025         Remove module loading code.
41027 2014-08-26  Allan McRae  <allan@archlinux.org>
41029         * po/vi.po: Update Vietnamese translation from translation project.
41031         * po/uk.po: Update Ukrainian translation from translation project.
41033         * po/fr.po: Update French translation from translation project.
41035         * po/ru.po: Update Russian translation from translation project.
41037         * po/pl.po: Update Polish translation from translation project.
41039         * po/cs.po: Update Czech translation from translation project.
41041         * po/de.po: Update German translation from translation project.
41043         * po/bg.po: Update Bulgarian translation from translation project.
41045         * po/sv.po: Update Sweedish translation from translation project.
41047         * po/nl.po: Update Dutch translation from translation project.
41049         * po/es.po: Update Spanish translation from translation project.
41051 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41053         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
41055         * catgets/Makefile (CPPFLAGS-gencat): Remove.
41056         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
41057         (CPPFLAGS-iconvconfig): Likewise.
41058         * timezone/Makefile (CPPFLAGS-zic): Likewise.
41060         * include/libc-symbols.h: Remove unnecessary check for
41061         NOT_IN_libc.
41062         * nptl/pthreadP.h: Likewise.
41063         * sysdeps/aarch64/setjmp.S: Likewise.
41064         * sysdeps/alpha/setjmp.S: Likewise.
41065         * sysdeps/arm/sysdep.h: Likewise.
41066         * sysdeps/i386/setjmp.S: Likewise.
41067         * sysdeps/m68k/setjmp.c: Likewise.
41068         * sysdeps/posix/getcwd.c: Likewise.
41069         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41070         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
41071         * sysdeps/s390/s390-32/setjmp.S: Likewise.
41072         * sysdeps/s390/s390-64/setjmp.S: Likewise.
41073         * sysdeps/sh/sh3/setjmp.S: Likewise.
41074         * sysdeps/sh/sh4/setjmp.S: Likewise.
41075         * sysdeps/unix/alpha/sysdep.h: Likewise.
41076         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41077         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41078         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
41079         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41082         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41083         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41084         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41085         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41086         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41087         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41088         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41089         * sysdeps/x86_64/setjmp.S: Likewise.
41091 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
41093         [BZ #17263]
41094         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
41095         <stdint.h>.
41096         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
41097         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
41099 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41101         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
41103         [BZ #17262]
41104         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
41105         and __x86_64__ when disabling x87 inline functions.
41107 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
41109         [BZ #17259]
41110         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
41111         asm statement with __cpuid_count.
41113 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
41115         * configure.ac: Change __ehdr_start code to dereference the struct.
41116         Run readelf on the output to look for relocations.
41117         * configure: Regenerated.
41119 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
41121         [BZ #17261]
41122         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
41123         value to 0.
41124         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
41126 2014-08-12  Roland McGrath  <roland@hack.frob.com>
41128         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
41130 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
41132         [BZ #16892]
41133         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
41134         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
41136 2014-08-12  Sean Anderson  <seanga2@gmail.com>
41138         * malloc/malloc.c: Fix typo in comment.
41140 2014-08-09  Allan McRae  <allan@archlinux.org>
41142         * Regenerate libc.po.
41144 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
41146         * intl/tst-gettext2.sh: Check every lang file for creation.
41148 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
41150         * sysdeps/aarch64/fpu/math_private.h
41151         (libc_feholdsetround_noex_aarch64_ctx): New function.
41153 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
41155         * sysdeps/arm/armv6/strcpy.S (strcpy):
41156         Fix performance issue in misaligned cases.
41158 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41160         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
41161         Move definition from termios.h.
41162         (struct termio): Likewise.
41163         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41164         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
41165         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
41166         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
41167         Likewise.
41168         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
41169         Move definition to ioctl-types.h
41170         (struct termio): Likewise.
41171         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41172         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
41173         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
41174         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
41175         Likewise.
41177 2014-08-05  Richard Henderson  <rth@redhat.com>
41179         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
41180         exceptions.
41181         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
41182         Add fraiseexcpt.
41183         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
41184         Use __feraiseexcept.
41185         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
41186         Protect libm symbols with IS_IN_libm.
41188         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
41190 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
41192         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
41194 2014-08-04  Will Newton  <will.newton@linaro.org>
41196         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
41197         file.
41199 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
41201         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
41202         variants for each function.
41204 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41206         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
41207         appended ...
41208         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
41209         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
41210         appended ...
41211         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
41212         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
41213         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
41214         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
41215         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
41216         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
41217         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
41218         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
41219         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
41220         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
41221         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
41222         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
41223         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
41224         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
41225         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
41226         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
41227         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
41228         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
41229         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
41230         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
41231         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
41232         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
41233         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
41234         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
41235         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
41236         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
41237         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
41238         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
41239         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
41240         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
41241         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
41242         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
41243         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
41244         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
41245         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
41246         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
41247         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
41248         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
41249         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
41250         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
41251         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
41252         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
41253         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
41254         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
41255         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
41256         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
41257         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
41258         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
41259         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
41260         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
41261         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
41262         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
41263         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
41264         Update #include.
41265         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
41266         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
41268 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41270         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
41271         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
41272         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
41273         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
41274         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
41275         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
41277 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41279         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
41280         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
41281         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41282         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
41284 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41286         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
41287         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
41288         (__libc_vfork): Define function under this name.
41289         (__vfork): Define as an alias.
41290         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
41291         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
41293 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41295         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
41296         that was previously under [RESET_PID].
41297         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
41299 2014-08-04  Andreas Schwab  <schwab@suse.de>
41301         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
41303 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
41305         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
41306         (main): Likewise.
41308 2014-08-01  Roland McGrath  <roland@hack.frob.com>
41310         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
41312 2014-08-01  Richard Henderon  <rth@redhat.com>
41314         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
41315         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
41316         typo in exact zero test.
41317         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41318         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41319         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41321 2014-08-01  Roland McGrath  <roland@hack.frob.com>
41323         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
41324         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
41325         * sysdeps/arm/sysdep.h: ... here.
41326         [!__ASSEMBLER__]: Include <stdint.h>.
41328 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
41330         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
41331         (HAVE_WCTYPE_H): Likewise.
41332         (HAVE_ISWCTYPE): Likewise.
41333         (ENABLE_NLS): Likewise.
41334         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
41335         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
41337         * posix/regex_internal.c: Check if DEBUG is defined and is
41338         set.
41340         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
41341         (HAVE_MBSRTOWCS): Likewise.
41342         * posix/fnmatch.c: Include string.h unconditionally.
41344 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
41346         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
41347         reversal.
41349 2014-07-31  Roland McGrath  <roland@hack.frob.com>
41351         * sysdeps/generic/safe-fatal.h: New file.
41352         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
41353         * nptl/forward.c: Include it.
41354         (__pthread_unwind): Use __safe_fatal as default action, rather
41355         than a bogus use of INTERNAL_SYSCALL that could never work.
41357         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
41358         * configure.ac (libc_cv_builtin_trap): New test.
41359         * configure: Regenerated.
41360         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
41361         (ABORT_INSTRUCTION): Define using __builtin_trap.
41363         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
41364         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
41365         * sysdeps/nptl/nptl-signals.h: New file.
41366         * nptl/pthreadP.h: Include <nptl-signals.h>.
41368 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
41370         * sysdeps/s390/s390-64/utf16-utf32-z9.c
41371         (ONE_DIRECTION): Define.
41372         * sysdeps/s390/s390-64/utf8-utf16-z9.c
41373         (ONE_DIRECTION): Define.
41374         * sysdeps/s390/s390-64/utf8-utf32-z9.c
41375         (ONE_DIRECTION): Define.
41377 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
41379         * sysdeps/s390/Makefile: Delete file.
41380         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
41381         * sysdeps/s390/__longjmp.c: Delete file.
41382         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
41383         Remove fields __flags and __reserved.
41384         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
41385         and add versioning.
41386         * sysdeps/s390/rtld-__longjmp.c: Delete file.
41387         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
41388         * sysdeps/s390/rtld-setjmp.S: Likewise.
41389         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
41390         * sysdeps/s390/s390-32/__longjmp.c: ... here.
41391         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
41392         * sysdeps/s390/s390-32/setjmp.S: ... here.
41393         Add versioning.
41394         (__sigsetjmp): Remove setting __flags field.
41395         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
41396         * sysdeps/s390/s390-64/__longjmp.c: ... here.
41397         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
41398         * sysdeps/s390/s390-64/setjmp.S: ... here.
41399         Add versioning.
41400         (__sigsetjmp): Remove setting __flags field.
41401         * sysdeps/s390/setjmp.S: Delete file.
41402         * sysdeps/s390/sigjmp.c: Likewise.
41403         * sysdeps/s390/v1-longjmp.c: Likewise.
41404         * sysdeps/s390/v1-setjmp.h: Likewise.
41405         * sysdeps/s390/v1-sigjmp.c: Likewise.
41406         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
41407         Remove v1-longjmp_chk.
41408         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
41409         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
41410         Include debug/longjmp_chk.c and add versioning.
41411         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
41412         Include nptl/pt-longjmp.c and add versioning.
41413         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
41414         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
41415         Include __longjmp.c.
41416         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41417         Move to ...
41418         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
41419         (__getcontext): Remove setting __flags field.
41420         Add versioning.
41421         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
41422         Don't restore upper high grps.
41423         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
41424         Likewise.
41425         (__swapcontext): Remove setting uc_flags field.
41426         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
41427         Delete file.
41428         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41429         Include __longjmp.c.
41430         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41431         Move to ...
41432         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
41433         (__getcontext): Remove setting __flags field.
41434         Add versioning.
41435         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
41436         (__swapcontext): Remove setting uc_flags field.
41437         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
41438         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
41439         Remove fields uc_high_gprs and __reserved.
41440         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
41441         New file with reverted content.
41442         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
41443         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
41444         Regenerated.
41445         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
41446         Regenerated.
41448 2014-07-31  Andreas Schwab  <schwab@suse.de>
41450         * config.h.in (HAVE_IFUNC): Define to 0.
41451         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
41452         definedness.
41454 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
41456         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41457         memmove-avx-unaligned, memcpy-avx-unaligned and
41458         mempcpy-avx-unaligned.
41459         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41460         Add tests for AVX memcpy functions.
41461         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
41462         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
41463         memcpy_chk.
41464         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
41465         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
41466         memmove_chk.
41467         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
41468         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
41469         mempcpy_chk.
41470         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
41471         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
41472         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
41474 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41476         [BZ #17213]
41477         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
41478         powerpc64le.
41480 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
41482         [BZ #16839]
41483         * manual/llio.texi: Add section about open file description locks.
41484         * manual/examples/ofdlocks.c: Example of open file description
41485         lock usage.
41486         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
41487         F_OFD_SETLK, and F_OFD_SETLKW.
41489 2014-07-23  Allan McRae  <allan@archlinux.org>
41491         * po/es.po: Update Spanish translation from translation project.
41493 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
41495         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
41497 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
41499         [BZ #17078]
41500         * sysdeps/arm/dl-machine.h (elf_machine_rela)
41501         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
41502         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
41504 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
41506         [BZ #17088]
41507         * math/fesetenv.c (__fesetenv)
41508         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
41509         * math/feupdateenv.c (__feupdateenv)
41510         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
41512         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
41513         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41514         (__ASSUME_SOCKETCALL): Do not define.
41516         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
41517         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
41518         (__ASSUME_SOCKETCALL): Do not define.
41519         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
41520         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41521         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41522         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41523         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41524         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
41525         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41526         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41528         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
41529         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
41530         (__ASSUME_SOCKETCALL): Do not define.
41531         (__ASSUME_IPC64): Define unconditionally.
41532         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41533         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41534         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41535         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41536         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
41537         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41538         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
41539         Likewise.
41541         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
41542         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
41543         (__ASSUME_SOCKETCALL): Do not define.
41544         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
41545         (__ASSUME_FUTEX_LOCK_PI): Likewise.
41546         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41547         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41548         (__ASSUME_REQUEUE_PI): Define unconditionally.
41549         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
41550         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
41551         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41552         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
41553         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41554         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41556         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
41557         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
41558         (__ASSUME_SOCKETCALL): Do not define.
41559         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
41560         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41561         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41562         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
41563         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41564         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41566         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
41567         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
41568         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41569         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
41570         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41571         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
41572         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41573         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
41574         (__ASSUME_GETCPU_SYSCALL): Likewise.
41576         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
41577         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
41578         cases for individual architectures.
41579         * sysdeps/gnu/configure: Regenerated.
41580         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
41581         LIBC_SLIBDIR_RTLDDIR.
41582         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
41583         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
41584         LIBC_SLIBDIR_RTLDDIR.
41585         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
41586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
41587         LIBC_SLIBDIR_RTLDDIR.
41588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
41589         Regenerated.
41590         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
41591         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
41592         file.
41593         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
41594         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
41595         file.
41596         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
41597         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
41598         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
41599         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
41601         * sysdeps/aarch64/shlib-versions: Move to ...
41602         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
41603         * sysdeps/alpha/shlib-versions: Move to ...
41604         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
41605         * sysdeps/arm/shlib-versions: Move to ...
41606         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
41607         * sysdeps/hppa/shlib-versions: Move all contents except for
41608         libgcc_s entry to ...
41609         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
41610         entry from ...
41611         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
41612         * sysdeps/ia64/shlib-versions: Move to ...
41613         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
41614         entry from ...
41615         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
41616         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
41617         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
41618         * sysdeps/microblaze/shlib-versions: Move to ...
41619         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
41620         * sysdeps/mips/shlib-versions: Move to ...
41621         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
41622         entry from ...
41623         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
41624         * sysdeps/tile/shlib-versions: Move to ...
41625         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
41626         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
41627         from ...
41628         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
41629         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
41630         entry from ...
41631         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
41633 2014-07-17  Will Newton  <will.newton@linaro.org>
41635         * sysdeps/arm/bits/atomic.h
41636         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
41637         (__arch_compare_and_exchange_bool_16_int): Likewise.
41638         (__arch_compare_and_exchange_bool_64_int): Likewise.
41640         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
41641         into an #else block.
41643 2014-07-16  Roland McGrath  <roland@hack.frob.com>
41645         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
41646         just Linux configurations.  Test empirically that the compiler sets
41647         __ARM_EABI__, rather than using the tuple to decide.
41648         * sysdeps/arm/preconfigure: Regenerated.
41649         * sysdeps/unix/sysv/linux/arm/configure: File removed.
41650         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
41651         contents appended ...
41652         * sysdeps/arm/configure.ac: ... here.
41653         * sysdeps/arm/configure: Regenerated.
41655 2014-07-15  Roland McGrath  <roland@hack.frob.com>
41657         * nptl/pthread_kill.c: New file.
41658         * nptl/pthread_sigmask.c: New file.
41659         * nptl/pthread_sigqueue.c: New file.
41661         * sysdeps/nptl/lowlevellock.h: New file.
41662         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
41663         * sysdeps/nptl/lowlevellock-futex.h: New file.
41665         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
41666         Remove dead declarations.
41668 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
41670         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
41671         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
41672         config-cflags-avx2.
41673         * sysdeps/x86_64/configure.ac: Likewise.
41674         * sysdeps/i386/configure: Regenerated.
41675         * sysdeps/x86_64/configure: Likewise.
41676         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41677         memset-avx2 only if config-cflags-avx2 is yes.
41678         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41679         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
41680         defined.
41681         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
41682         only if HAVE_AVX2_SUPPORT is defined.
41683         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41685 2014-07-14  Alan Modra  <amodra@gmail.com>
41687         [BZ #17153]
41688         * elf/elf.h (DT_PPC64_NUM): Correct value.
41689         * NEWS: Add to fixed bug list.
41691 2014-07-13  Jim Meyering  <meyering@fb.com>
41693         [BZ 17150]
41694         regex: don't deref NULL upon heap allocation failure
41695         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
41696         failure in one more place.
41697         To trigger the segfault, configure grep -with-included-regex,
41698         build it, and run these commands:
41699         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
41701 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
41703         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
41705 2014-07-11  Richard Henderson  <rth@redhat.com>
41707         * sysdeps/aarch64/libm-test-ulps: Update.
41709 2014-07-10  Florian Weimer  <fweimer@redhat.com>
41711         [BZ #17135]
41712         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
41713         * nptl/allocatestack.c (__nptl_setxid_error): New function.
41714         (__nptl_setxid): Initialize error member.  Call
41715         __nptl_setxid_error.
41716         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
41717         * nptl/descr.h (struct xid_command): Add error member.
41718         * nptl/tst-setuid3.c: New file.
41719         * nptl/Makefile (tests): Add it.
41721 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41723         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
41724         New define.
41725         (__lll_trylock): Use __lll_base_trylock.
41726         (__lll_cond_trylock): Likewise.
41728 2014-07-10  Roland McGrath  <roland@hack.frob.com>
41730         * nptl/pthread_create.c (start_thread): Use atomic_or and
41731         lll_futex_wake directly rather than lll_robust_dead.
41732         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41733         (lll_robust_dead): Macro removed.
41734         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
41735         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41736         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41737         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41738         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41739         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41740         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41741         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41742         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41743         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41744         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41745         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41746         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41747         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41748         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41750         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
41751         Use atomic_compare_and_exchange_val_acq directly rather than
41752         lll_robust_trylock.
41753         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41754         (__lll_robust_trylock, lll_robust_trylock): Removed.
41755         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41756         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41757         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41758         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41759         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41760         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41761         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41762         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41763         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41764         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41765         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41766         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41767         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41768         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41770 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41772         * manual/locale.texi (Locale Names): New section documenting
41773         locale name syntax.  Adjust menu and node chaining accordingly.
41774         (Choosing Locale): Reference Locale Names, Locale Categories.
41775         Mention setting LC_ALL=C.  Reflect that name syntax is now
41776         documented.
41777         (Locale Categories): New section title.  Reference Locale Names.
41778         LC_ALL is an environment variable, but not a category.
41779         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
41780         description, now in Locale Name.  Reference that section.  Locale
41781         name syntax is now documented.
41783 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41785         [BZ #17137]
41786         * locale/findlocale.c (name_present, valid_locale_name): New
41787         functions.
41788         (_nl_find_locale): Use the loc_name variable to store name
41789         candidates.  Call name_present and valid_locale_name to check and
41790         validate locale names.  Return an error if the locale is invalid.
41792 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41794         * locale/setlocale.c (setlocale): Use strdup for allocating
41795         composite name copy.
41797 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41799         Sync up with gnulib.
41800         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
41801         [!_LIBC && ENABLE_NLS]: Include gettext.h.
41802         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
41803         and _GL_ARG_NONNULL.
41804         [USE_UNLOCKED_IO]: Include unlocked-io.h.
41805         [!_LIBC]: Include code for Windows and Cygwin.
41806         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
41807         Include prototype for int strerror_r.
41808         [!_LIBC] (is_open): New function.
41809         (flush_stdout): New function.
41810         (print_errno_message): Use it.
41811         (error): Likewise.
41812         (error_at_line): Likewise.
41813         (error_tail) Add function attribute macros.  Use
41814         __builtin_expect.
41816         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
41818         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
41820         * io/ftw.c: Include sys/param.h unconditionally.
41822         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
41824         [BZ #17125]
41825         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
41826         libc_freeres_ptr.
41827         (freecache): New function to free CACHE on exit.
41829         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
41830         initialization.
41832 2014-07-09  David S. Miller  <davem@davemloft.net>
41834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41836         * sysdeps/sparc/nptl/internaltypes.h: Delete.
41837         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
41838         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
41839         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
41840         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
41841         * sysdeps/sparc/nptl/sem_init.c: Likewise.
41842         * sysdeps/sparc/nptl/sem_post.c: Likewise.
41843         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
41844         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
41845         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
41846         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
41847         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
41848         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
41850 2014-07-09  Andreas Schwab  <schwab@suse.de>
41852         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
41853         output.
41854         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
41855         (do_test): Likewise.
41857         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41859 2014-07-09  Will Newton  <will.newton@linaro.org>
41861         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
41862         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
41863         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
41864         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
41865         * sysdeps/hppa/start.S (_start): Likewise.
41867 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
41869         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
41871         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
41872         defined.
41874 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41876         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
41877         after checking that it is non-NULL.
41879         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
41881 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41883         * sysdeps/powerpc/memmove.c: Remove file.
41884         * sysdeps/powerpc/powerpc32/power4/memcopy.h
41885         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
41886         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
41887         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
41888         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
41889         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
41890         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
41891         string memmove instead of removed powerpc one.
41893         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41894         [weak_alias]: Fix compiler warning due trailing data.
41895         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
41896         [weak_alias]: Likewise.
41897         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
41898         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
41900         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41901         (__libc_ifunc_impl_list): Add memmove functions.
41903 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41905         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
41906         Remove code.
41907         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
41908         Likewise.
41909         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
41910         Likewise.
41911         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
41912         Likewise.
41913         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
41914         Likewise.
41915         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
41916         Likewise.
41917         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
41918         Likewise.
41919         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
41920         Likewise.
41921         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
41922         Likewise.
41923         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
41924         Likewise.
41925         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
41926         Likewise.
41927         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
41928         Likewise.
41929         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
41930         Likewise.
41931         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
41932         Likewise.
41933         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
41934         Likewise.
41935         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
41936         Likewise.
41937         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
41938         Likewise.
41940 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41942         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
41943         to avoid alignment traps in non-cacheable memory.
41944         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41946         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
41947         multiarch objects.
41948         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
41949         file: multiarch power7 memmove.
41950         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
41951         multiarch default memmove.
41952         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
41953         multiarch memove for powerpc32/power4.
41955         * string/bcopy.c: Use full path to include memmove.c.
41956         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
41957         multiarch objects.
41958         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
41959         bcopy for powerpc64.
41960         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
41961         bcopy for powerpc64.
41962         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
41963         and memmove implementations.
41964         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
41965         optimized multiarch memmove for POWER7/powerpc64.
41966         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
41967         default multiarch memmove for powerpc64.
41968         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
41969         multiarch for powerpc64.
41970         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
41971         for POWER7/powerpc64.
41972         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
41973         memmove for POWER7/powerpc64.
41975         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
41976         glibc default one.
41978         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
41979         __ELF_NATIVE_CLASS equal to 64.
41981 2014-07-07  Roland McGrath  <roland@hack.frob.com>
41983         * sysdeps/nptl/lowlevellock.h: File removed.
41985         * NEWS: NPTL is no longer an add-on!
41986         * nptl/internaltypes.h: Moved ...
41987         * sysdeps/nptl/internaltypes.h: ... here.
41988         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
41989         * sysdeps/nptl/fork.c: Likewise.
41990         * sysdeps/nptl/gai_misc.h: Likewise.
41991         * sysdeps/nptl/librt-cancellation.c: Likewise.
41992         * sysdeps/nptl/jmp-unwind.c: Likewise.
41993         * sysdeps/nptl/setxid.h: Likewise.
41994         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
41995         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
41996         * sysdeps/unix/sysv/linux/arm/Implies: New file.
41997         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
41998         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
41999         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
42000         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
42001         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
42002         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
42003         * sysdeps/unix/sysv/linux/mips/Implies: New file.
42004         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
42005         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
42006         * sysdeps/unix/sysv/linux/sh/Implies: New file.
42007         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
42008         * sysdeps/unix/sysv/linux/tile/Implies: New file.
42009         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
42010         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
42011         * nptl/Makeconfig: Moved ...
42012         * sysdeps/nptl/Makeconfig: ... here.
42013         * nptl/configure: File removed.
42014         * nptl/ANNOUNCE: File removed.
42015         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
42016         * sysdeps/unix/sysv/linux/configure: Regenerated.
42018         * nptl/Makefile (routines): Add libc_pthread_init,
42019         libc_multiple_threads, register-atfork and unregister-atfork.
42020         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
42021         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
42022         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
42023         pthread-pi-defines.sym, structsem.sym.
42024         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
42025         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
42026         [$(subdir) = nptl] (tests): Add tst-setgetname.
42027         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
42028         * sysdeps/unix/sysv/linux/sigaction.c: Just include
42029         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
42030         [!LIBC_SIGACTION]: Remove aliases.
42031         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
42032         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
42033         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
42034         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
42035         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
42036         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
42037         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42038         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42039         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
42040         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
42041         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
42042         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
42043         __libc_allocate_rtsig_private.
42044         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
42045         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
42046         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
42047         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
42048         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
42049         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
42050         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
42051         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
42052         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
42053         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
42054         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
42055         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
42056         * nptl/internaltypes.h: ... here.
42057         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
42058         * sysdeps/nptl/jmp-unwind.c: ... here.
42059         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
42060         * nptl/libc-lowlevellock.c: ... here.
42061         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
42062         * nptl/libc_multiple_threads.c: ... here.
42063         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
42064         * nptl/libc_pthread_init.c: ... here.
42065         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
42066         * nptl/lowlevelbarrier.sym: ... here.
42067         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
42068         * nptl/lowlevelcond.sym: ... here.
42069         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
42070         * nptl/lowlevellock.c: ... here.
42071         * nptl/lowlevellock.h: Moved ...
42072         * sysdeps/nptl/lowlevellock.h: ... here.
42073         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
42074         * nptl/lowlevelrobustlock.c: ... here.
42075         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
42076         * nptl/lowlevelrobustlock.sym: ... here.
42077         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
42078         * nptl/lowlevelrwlock.sym: ... here.
42079         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
42080         * nptl/pt-fork.c: ... here.
42081         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
42082         * nptl/pthread-pi-defines.sym: ... here.
42083         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
42084         * nptl/pthread_attr_getaffinity.c: ... here.
42085         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
42086         * nptl/pthread_attr_setaffinity.c: ... here.
42087         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
42088         * nptl/pthread_mutex_cond_lock.c: ... here.
42089         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
42090         Update #include.
42091         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
42092         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
42093         * nptl/pthread_once.c: ... here, replacing old file.
42094         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
42095         * nptl/pthread_yield.c: ... here.
42096         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
42097         * nptl/register-atfork.c: ... here.
42098         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
42099         * nptl/sem_post.c: ... here.
42100         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
42101         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
42102         * nptl/sem_timedwait.c: ... here.
42103         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
42104         * nptl/sem_trywait.c: ... here.
42105         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
42106         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
42107         * nptl/sem_wait.c: ... here.
42108         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
42109         * nptl/structsem.sym: ... here.
42110         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
42111         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
42112         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
42113         * nptl/unregister-atfork.c: ... here.
42114         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
42115         * nptl/unwindbuf.sym: ... here.
42116         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
42117         * sysdeps/nptl/fork.c: ... here.
42118         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
42119         * sysdeps/nptl/fork.h: ... here.
42120         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
42121         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
42122         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
42123         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
42124         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
42125         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
42126         * sysdeps/unix/sysv/linux/getpid.c: ... here.
42127         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
42128         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
42129         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
42130         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
42131         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
42132         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
42133         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
42134         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
42135         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
42136         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
42137         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
42138         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
42139         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
42140         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
42141         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
42142         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
42143         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
42144         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
42145         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
42146         * sysdeps/unix/sysv/linux/raise.c: ... here.
42147         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
42148         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
42149         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
42150         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
42151         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
42152         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
42153         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
42154         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
42155         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
42156         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
42157         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
42158         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
42159         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
42160         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
42161         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
42163 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42165         * sysdeps/generic/memcopy.h: Add comment for
42166         MEMCPY_OK_FOR_FWD_MEMMOVE.
42168 2014-07-04  Will Newton  <will.newton@linaro.org>
42170         * string/memchr.c: Merge from gnulib.
42171         [_LIBC]: Remove conditionals.
42172         (__ptr_t): Remove define.
42173         (LONG_MAX_32_BITS): Likewise.
42174         (LONG_MAX): Likewise.
42175         (MEMCHR): Use ANSI prototype and optimize algorithm.
42177         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
42179 2014-07-03  Roland McGrath  <roland@hack.frob.com>
42181         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
42182         (lll_futex_timed_wait_bitset): Fix syscall argument count.
42184         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
42185         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
42186         in a bare environment with no <stdlib.h> installed.
42187         * sysdeps/nptl/configure: Regenerated.
42189         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
42191         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
42192         AC_EGREP_CPP for kernel header checks, so they only succeed if
42193         including <linux/version.h> actually works right.
42194         * sysdeps/unix/sysv/linux/configure: Regenerated.
42196         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
42197         value so it's not diagnosed as unused.
42199         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
42200         thing) with "ifeq ($(subdir),rt)".
42202 2014-07-03  Richard Henderson  <rth@redhat.com>
42204         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
42205         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
42206         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
42208         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
42209         (math_force_eval): New.
42211         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
42212         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
42214         * sysdeps/alpha/fpu/s_round.c: Remove file.
42215         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
42217         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
42218         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
42219         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
42220         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
42221         (_dl_start, print_statistics): Likewise.
42222         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
42223         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
42225         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42226         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42227         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42228         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42229         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
42230         (HP_SMALL_TIMING_AVAIL): Define.
42231         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42232         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
42233         (HP_SMALL_TIMING_AVAIL): Define.
42234         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42235         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42237         * sysdeps/aarch64/hp-timing.h: New file.
42239         * sysdeps/generic/hp-timing.h: Remove dead comment.
42240         * sysdeps/generic/hp-timing-common.h: New file.
42241         * sysdeps/alpha/hp-timing.h: Include it.
42242         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
42243         * sysdeps/i386/i686/hp-timing.h: Likewise.
42244         * sysdeps/ia64/hp-timing.h: Likewise.
42245         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42246         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42247         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42248         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42249         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
42250         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
42251         (hp_timing_t): New.
42253         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
42254         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
42255         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
42256         * elf/rtld.c (_dl_start_final): Likewise.
42257         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
42258         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42259         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42260         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42261         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42262         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
42263         (HP_TIMING_DIFF_INIT): Remove.
42264         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42265         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
42266         (HP_TIMING_DIFF_INIT): Remove.
42267         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42268         * sysdeps/i386/i686/hp-timing.c: Remove file.
42269         * sysdeps/x86_64/hp-timing.c: Remove file.
42270         * sysdeps/ia64/hp-timing.c: Remove file.
42271         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
42272         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
42273         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
42274         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
42276         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
42277         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
42278         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
42279         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
42280         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
42281         (HP_TIMING_ACCUM): Remove.
42282         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
42283         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
42284         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
42286         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
42287         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
42288         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
42289         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
42290         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
42291         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
42292         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
42293         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
42295         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
42297 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
42299         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
42301 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42303         Sync up with gettext.
42304         * intl/loadmsgcat.c: Define O_BINARY if not defined.
42305         [_MSC_VER]: Include malloc.h
42306         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
42307         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
42308         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
42309         TEMP_FAILURE_RETRY.  Cast return of alloca.
42310         [!_LIBC] Call gl_rwlock_init.
42311         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
42313 2014-07-02  Roland McGrath  <roland@hack.frob.com>
42315         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
42316         before checking its value.
42318 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42320         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
42322         * debug/memcpy_chk.c: Don't include pagecopy.h.
42323         * debug/mempcpy_chk.c: Likewise.
42324         * string/memcpy.c: Likewise.
42325         * string/memmove.c: Likewise.
42326         * sysdeps/powerpc/memmove.c: Likewise.
42327         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
42328         definition of PAGE_COPY_FWD_MAYBE here...
42329         * sysdeps/generic/pagecopy.h: ... from here.
42330         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
42332 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42333             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42335         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
42336         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
42337         optimizations.
42338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42339         (__libc_ifunc_impl_list): Likewise.
42340         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
42341         multiarch strcat for PPC64.
42342         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
42343         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
42345 2014-07-02  Roland McGrath  <roland@hack.frob.com>
42347         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
42349 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42351         * intl/loadmsgcat.c: Remove declaration of
42352         get_sysdep_segment_value.
42353         (get_sysdep_segment_value): Use ISO C style.
42354         (_nl_load_domain): Use ISO C style.  Get rid of redundant
42355         semicolon.  Fix typo and formatting in comment.
42356         (_nl_unload_domain): Use ISO C style.
42358         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
42360 2014-07-02  Will Newton  <will.newton@linaro.org>
42362         * malloc/obstack.c: Merge from gnulib master.
42363         [HAVE_CONFIG_H]: Remove conditional code.
42364         [!_LIBC]: Include config.h.
42365         [!ELIDE_CODE]: Don't include inttypes.h, include
42366         stdint.h unconditionally.
42367         (print_and_abort): Mark as _Noreturn.
42368         (_obstack_allocated_p): Mark as __attribute_pure__.
42369         (obstack_free): Rename to __obstack_free.
42370         [!__attribute__]: Remove conditional code.
42371         * malloc/obstack.h: Merge from gnulib master.
42372         [__cplusplus]: Move conditional down.
42373         [!__attribute_pure__]: Define __attribute_pure__ here
42374         if it is not already defined.
42375         (_obstack_memory_used): Mark as __attribute_pure__.
42376         [!__obstack_free]: Define as obstack_free.
42377         [__GNUC__]: Remove check for ancient NeXT gcc.
42379 2014-07-02  Will Newton  <will.newton@linaro.org>
42380             Paul Eggert  <eggert@cs.ucla.edu>
42382         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
42384 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42386         * resolv/gethnamaddr.c: Add comment warning that the file is
42387         not maintained.
42389 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
42391         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
42392         entries.
42394         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
42395         entry for aio_cancel and aio_cancel64.
42396         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
42397         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
42398         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
42399         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
42400         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
42401         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
42402         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
42403         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
42404         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
42405         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
42406         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
42407         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
42408         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
42410 2014-07-01  Roland McGrath  <roland@hack.frob.com>
42412         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
42413         * nptl/pthread_mutex_lock.c: Likewise.
42414         * nptl/pthread_mutex_timedlock.c: Likewise.
42415         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
42417 2014-07-01  Richard henderson  <rth@redhat.com>
42419         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
42420         (__isnan, __isnanl): Remove.
42421         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
42423         * sysdeps/alpha/fpu/libm-test-ulps: Update.
42425 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
42427         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42429 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42431         * resolv/nss_dns/dns-host.c (getanswer_r)
42432         [MULTI_PTRS_ARE_ALIASES]: Remove code.
42434 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
42436         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42437         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
42438         undefine.
42439         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
42440         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
42442 2014-07-01  Roland McGrath <roland@hack.frob.com>
42444         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
42445         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
42447         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
42448         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
42450         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
42451         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
42452         ... here.
42453         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
42454         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
42456         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
42457         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
42458         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
42459         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
42461         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
42462         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
42463         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
42464         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
42465         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
42466         Moved ...
42467         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
42468         ... here.
42469         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
42470         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
42471         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
42472         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
42473         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
42474         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
42475         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
42476         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
42477         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
42478         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
42479         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
42480         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
42481         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
42482         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
42483         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
42484         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
42485         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
42486         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
42487         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
42488         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
42489         ... here.
42490         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
42491         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
42492         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
42493         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
42494         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
42495         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
42496         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
42497         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
42499 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
42501         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
42502         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
42503         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
42504         Add sysdep.
42506 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42510 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42512         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
42513         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42515         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42517         * sysdeps/arm/libm-test-ulps: Regenerated.
42519 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42520             Roland McGrath <roland@hack.frob.com>
42522         * test-skeleton.c (signal_handler): Kill the whole process group
42523         before killing the child individually.
42524         (main): Report any failure on `setpgid'.
42526 2014-06-30  Roland McGrath  <roland@hack.frob.com>
42528         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
42529         from _TLS_H to _ARM_NPTL_TLS_H.
42530         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
42531         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
42533 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42535         [BZ #16539]
42536         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
42537         (__expm1l): Return argument unchanged when small but not
42538         subnormal.
42540         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
42541         include macro name.
42542         (_FP_UNPACK_RAW_1_P): Likewise.
42543         (_FP_PACK_RAW_1): Likewise.
42544         (_FP_PACK_RAW_1_P): Likewise.
42545         (_FP_MUL_MEAT_1_wide): Likewise.
42546         (_FP_MUL_MEAT_DW_1_hard): Likewise.
42547         (_FP_MUL_MEAT_1_hard): Likewise.
42548         (_FP_DIV_MEAT_1_imm): Likewise.
42549         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
42550         (_FP_DIV_MEAT_1_udiv): Likewise.
42551         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
42552         (_FP_UNPACK_RAW_2): Likewise.
42553         (_FP_UNPACK_RAW_2_P): Likewise.
42554         (_FP_PACK_RAW_2): Likewise.
42555         (_FP_PACK_RAW_2_P): Likewise.
42556         (_FP_MUL_MEAT_DW_2_wide): Likewise.
42557         (_FP_MUL_MEAT_2_wide): Likewise.
42558         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
42559         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
42560         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
42561         (_FP_MUL_MEAT_2_gmp): Likewise.
42562         (_FP_DIV_MEAT_2_udiv): Likewise.
42563         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
42564         (_FP_FRAC_SRL_4): Likewise.
42565         (_FP_FRAC_SRST_4): Likewise.
42566         (_FP_FRAC_SRS_4): Likewise.
42567         (_FP_UNPACK_RAW_4): Likewise.
42568         (_FP_UNPACK_RAW_4_P): Likewise.
42569         (_FP_PACK_RAW_4): Likewise.
42570         (_FP_PACK_RAW_4_P): Likewise.
42571         (_FP_MUL_MEAT_DW_4_wide): Likewise.
42572         (_FP_MUL_MEAT_4_wide): Likewise.
42573         (_FP_MUL_MEAT_4_gmp): Likewise.
42574         (umul_ppppmnnn): Likewise.
42575         (_FP_DIV_MEAT_4_udiv): Likewise.
42576         (__FP_FRAC_ADD_4): Likewise.
42577         (__FP_FRAC_SUB_3): Likewise.
42578         (__FP_FRAC_SUB_4): Likewise.
42579         (__FP_FRAC_DEC_3): Likewise.
42580         (__FP_FRAC_DEC_4): Likewise.
42581         (__FP_FRAC_ADDI_4): Likewise.
42582         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
42583         (_FP_FRAC_SRL_8): Likewise.
42584         (_FP_FRAC_SRS_8): Likewise.
42586         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
42587         include macro name.
42588         (FP_UNPACK_RAW_EP): Likewise.
42589         (FP_PACK_RAW_E): Likewise.
42590         (FP_PACK_RAW_EP): Likewise.
42591         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
42592         (_FP_ISSIGNAN): Likewise.
42593         (_FP_ADD_INTERNAL): Likewise.
42594         (_FP_FMA): Likewise.
42595         (_FP_CMP): Likewise.
42596         (_FP_SQRT): Likewise.
42597         (_FP_TO_INT): Likewise.
42598         (_FP_FROM_INT): Likewise.
42599         (FP_EXTEND): Likewise.
42600         (_FP_DIV_MEAT_N_loop): Likewise.
42602 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42604         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
42605         throughout.
42607 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
42609         [BZ #17097]
42610         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
42611         result with correct sign in case of exponents that produce
42612         overflow except for X very close to 1.
42614 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
42616         mktime: merge #if/#ifdef usage from glibc
42617         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
42618         as that works with both Glibc's and Gnulib's style.
42619         See thread starting at Siddhesh Poyarekar's bug report at:
42620         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
42622 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42624         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
42625         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
42626         * sysdeps/tile/tilegx/memmove.c: Remove file.
42628 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42630         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
42631         abi-name definition.
42632         * scripts/soversions.awk: Do not handle or generate ABI lines.
42633         * shlib-versions: Remove ABI entries.
42634         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
42635         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
42637 2014-06-27  Roland McGrath  <roland@hack.frob.com>
42639         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
42640         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
42641         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
42642         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
42643         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
42644         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
42645         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
42646         Moved ...
42647         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
42648         ... here.
42649         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
42650         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
42651         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
42652         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
42653         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
42654         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
42655         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
42656         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
42657         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
42658         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
42659         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
42660         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
42661         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
42662         Moved ...
42663         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
42664         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
42665         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
42666         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
42667         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
42668         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
42669         Moved ...
42670         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
42671         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
42672         Moved ...
42673         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
42674         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
42675         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
42676         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
42677         Moved ...
42678         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
42679         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
42680         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
42681         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
42682         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
42683         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
42684         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
42685         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
42686         Moved ...
42687         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
42688         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
42689         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
42690         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
42691         Moved ...
42692         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
42693         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
42694         Moved ...
42695         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
42696         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
42697         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
42698         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
42699         Moved ...
42700         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
42701         ... here.
42702         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
42703         Identical file removed.
42704         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
42705         Moved ...
42706         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
42707         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
42708         Identical file removed.
42709         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
42710         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
42711         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
42712         Moved ...
42713         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
42714         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
42715         Identical file removed.
42716         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
42717         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
42718         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
42719         Identical file removed.
42720         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
42721         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
42722         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
42723         Identical file removed.
42724         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
42725         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
42726         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
42727         Identical file removed.
42728         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
42729         Moved ...
42730         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
42731         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
42732         Identical file removed.
42733         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
42734         Moved ...
42735         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
42736         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
42737         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
42738         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
42739         Identical file removed.
42740         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
42741         Moved ...
42742         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
42743         ... here.
42744         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
42745         Identical file removed.
42746         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
42747         Moved ...
42748         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
42749         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
42750         Identical file removed.
42751         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
42752         Moved ...
42753         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
42754         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
42755         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
42756         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
42757         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
42758         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
42759         Moved ...
42760         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
42761         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
42762         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
42764         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
42765         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
42766         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
42767         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
42768         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
42770 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
42772         [BZ #17092]
42773         * nscd/nscd.c (monitor_child): Return exit status of child
42774         instead of return value from wait syscall.
42776 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42778         * configure.ac (libc_commonpagesize): Remove variable.
42779         (libc_relro_required): Likewise.
42780         (libc_cv_z_relro): Remove configure test.
42781         * configure: Regenerated.
42782         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
42783         variable.
42784         (libc_relro_required): Likewise.
42785         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
42786         (libc_relro_required): Likewise.
42787         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
42788         (libc_relro_required): Likewise.
42789         * sysdeps/arm/preconfigure: Regenerated.
42790         * sysdeps/ia64/preconfigure: Remove file.
42791         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
42792         variable.
42793         (libc_relro_required): Likewise.
42795         [BZ #16561]
42796         [BZ #16562]
42797         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
42798         (__ieee754_yn): Set FE_TONEAREST mode internally and then
42799         recompute overflowing results in original rounding mode.
42800         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
42801         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
42802         recompute overflowing results in original rounding mode.
42803         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
42804         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42805         recompute overflowing results in original rounding mode.
42806         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
42807         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42808         recompute overflowing results in original rounding mode.
42809         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
42810         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42811         recompute overflowing results in original rounding mode.
42812         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
42813         (libc_feholdsetround_ctx): New macro.
42814         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
42815         * sysdeps/i386/fpu/libm-test-ulps: Update.
42816         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
42818 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42820         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
42821         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
42822         corresponding .cpsetup call.
42824 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42826         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
42827         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
42828         * sysdeps/arm/Makefile [$(subdir) = csu]
42829         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
42830         (static-only-routines): Add aeabi_read_tp here.
42831         (shared-only-routines): Add libc-aeabi_read_tp here.
42832         (CFLAGS-libc-start.c): Add -fexceptions here.
42833         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
42834         (sysdep_routines, static-only-routines, shared-only-routines):
42835         Don't add to these here.
42836         (CFLAGS-libc-start.c): Likewise.
42838         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
42839         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42840         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
42841         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42842         * sysdeps/arm/Makefile [$(subdir) = rt]
42843         (librt-sysdep_routines, librt-shared-only-routines):
42844         Append rt-aeabi_unwind_cpp_pr1 here.
42845         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
42846         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
42847         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
42848         (libpthread-sysdep_routines, libpthread-shared-only-routines):
42849         Append nptl-aeabi_unwind_cpp_pr1 here.
42850         (tests): Filter out tst-cleanupx4 here.
42851         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
42852         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
42853         Don't do those here.
42855 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42857         * scripts/list-sources.sh: Do not handle ports specially.
42859 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42861         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
42862         * sysdeps/arm/feupdateenv.c: Likewise.
42864         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
42866 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42868         * manual/texinfo.tex: Update to version 2014-05-05.10 with
42869         trailing whitespace removed.
42870         * scripts/config.guess: Update to version 2014-03-23.
42871         * scripts/config.sub: Update to version 2014-05-01
42872         * scripts/install-sh: Update to version 2013-12-25.23.
42873         * scripts/move-if-change: Update from gnulib.
42875 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42877         * debug/memmove_chk.c: Remove pagecopy.h include.
42879 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
42881         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
42882         identical to gnulib mktime.
42884 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42886         * configure.ac: Do not test for machine being rs6000.  Do not test
42887         for powerpc*-*soft.
42888         * configure: Regenerated.
42890         [BZ #11505]
42891         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
42892         test.
42893         * configure: Regenerated.
42894         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
42895         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
42896         Remove configure test.
42897         * sysdeps/arm/configure: Regenerated.
42898         * sysdeps/nptl/configure.ac: Do not check
42899         libc_cv_asm_cfi_directives.
42900         * sysdeps/nptl/configure: Regenerated.
42901         * sysdeps/x86_64/nptl/configure.ac: Remove file.
42902         * sysdeps/x86_64/nptl/configure: Remove generated file.
42903         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
42904         unconditional.
42905         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
42907 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42909         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
42910         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
42911         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
42912         it is defined.
42914         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
42915         instead of whether it is defined.
42916         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
42917         * sysdeps/hppa/dl-machine.h: Likewise.
42918         * sysdeps/ia64/dl-machine.h: Likewise.
42919         * sysdeps/m68k/dl-machine.h: Likewise.
42920         * sysdeps/microblaze/dl-machine.h: Likewise.
42921         * sysdeps/mips/dl-machine.: Likewise.
42922         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42923         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42924         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42925         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42926         * sysdeps/sh/dl-machine.h: Likewise.
42927         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42928         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42929         * sysdeps/tile/dl-machine.h: Likewise.
42930         * sysdeps/x86_64/dl-machine.h: Likewise.
42932         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
42933         code.
42934         (verify_persistent_db): Likewise.
42936 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
42939         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
42940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
42941         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
42942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42943         Moved ...
42944         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
42945         ... here.
42946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
42947         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
42948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
42949         Identical file removed.
42950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
42951         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
42952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
42953         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
42954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
42955         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
42956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
42957         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
42958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
42959         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
42960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42961         Moved ...
42962         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
42963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
42964         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
42965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
42966         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
42967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42968         Moved ...
42969         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
42970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
42971         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
42972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
42973         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
42974         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42975         Identical file removed.
42976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
42977         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
42978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
42979         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
42980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42981         Moved ...
42982         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
42983         ... here.
42984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
42985         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
42986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
42987         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
42988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
42989         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
42990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
42991         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
42992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
42993         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
42994         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42995         Moved ...
42996         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
42997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
42998         Moved ...
42999         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
43000         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
43001         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
43002         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43003         Moved ...
43004         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
43005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
43006         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
43008         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
43009         folded into ...
43010         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
43011         * sysdeps/unix/sysv/linux/s390/Versions
43012         (libpthread: GLIBC_2.19): New version set.
43013         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
43014         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
43015         (librt: GLIBC_2.3.3): New version set.
43016         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
43017         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
43018         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
43019         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
43020         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
43021         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
43022         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
43023         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
43024         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
43025         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
43026         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
43027         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
43028         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
43029         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
43030         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
43031         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
43032         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
43033         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
43034         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
43035         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
43036         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
43037         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
43038         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
43039         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
43040         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
43041         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
43042         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
43043         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
43044         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
43045         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
43046         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
43047         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
43048         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
43049         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
43050         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
43051         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
43052         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
43053         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
43054         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
43055         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
43056         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
43057         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
43058         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
43059         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
43060         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
43062         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
43063         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
43064         (__libc_vfork): Define the function under this name.
43065         [!NOT_IN_libc] (__vfork): Make this an alias.
43066         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
43067         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
43068         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
43069         (__libc_vfork): Define the function under this name.
43070         [!NOT_IN_libc] (__vfork): Make this an alias.
43071         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
43072         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
43073         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
43074         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
43075         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
43076         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
43078         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
43079         code that was previously under [RESET_PID].
43080         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
43081         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
43082         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
43084         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
43085         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
43086         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
43087         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
43088         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
43089         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
43090         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
43091         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
43092         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
43093         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
43094         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
43095         Moved ...
43096         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
43097         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
43098         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
43099         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
43100         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
43101         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
43102         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
43103         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
43104         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
43105         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
43106         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
43107         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
43108         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
43109         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
43110         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
43111         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
43112         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
43113         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
43114         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
43115         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
43116         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
43117         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
43118         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
43119         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
43120         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
43121         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
43122         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
43123         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
43124         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
43126 2014-06-25  Roland McGrath  <roland@hack.frob.com>
43128         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
43129         that was previously under [RESET_PID].
43130         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
43132 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43134         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
43135         not undefine and redefine.
43136         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
43137         [O_CLOEXEC]: Make code unconditional.
43138         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
43139         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
43140         <kernel-features.h>.
43141         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
43142         conditional variable definition.
43143         (shm_open) [O_CLOEXEC]: Make code unconditional.
43144         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
43145         code.
43147         * configure.ac (USE_REGPARMS): Don't define here.
43148         * configure: Regenerated.
43149         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
43150         * sysdeps/i386/configure: Regenerated.
43152         * nptl/createthread.c: Don't include kernel-features.h.
43153         * nptl/pthread_cancel.c: Likewise.
43154         * nptl/pthread_condattr_setclock.c: Likewise.
43155         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
43156         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
43157         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
43158         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
43159         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
43160         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
43161         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43162         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
43163         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43164         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
43165         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
43166         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
43167         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
43168         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
43169         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
43170         * nscd/gai.c: Likewise.
43171         * nss/nss_db/db-open.c: Likewise.
43172         * sysdeps/generic/ldsodefs.h: Likewise.
43173         * sysdeps/sh/nptl/tls.h: Likewise.
43174         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
43175         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
43176         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
43177         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
43178         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
43179         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
43180         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
43181         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43182         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43183         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
43184         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
43185         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43186         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
43187         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
43188         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
43189         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
43190         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
43191         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
43192         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
43193         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
43194         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
43195         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
43196         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
43197         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
43198         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
43199         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
43200         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
43201         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
43202         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43203         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
43204         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
43205         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
43206         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
43207         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43208         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43209         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
43210         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43211         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
43212         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
43213         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
43214         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
43215         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
43216         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
43217         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43218         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
43219         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
43220         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
43221         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
43222         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
43223         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
43224         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
43225         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
43226         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
43227         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
43228         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
43229         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
43230         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
43231         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
43232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
43233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
43234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
43235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
43236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
43237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
43238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
43239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
43240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
43241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
43242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
43243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
43244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
43245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
43246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
43252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
43253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
43254         * sysdeps/unix/sysv/linux/pread.c: Likewise.
43255         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
43256         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
43257         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
43258         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
43259         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
43260         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
43261         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
43262         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
43263         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
43264         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
43265         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
43266         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
43267         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
43268         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
43269         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
43270         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
43271         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
43272         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
43273         * sysdeps/unix/sysv/linux/system.c: Likewise.
43274         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
43275         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
43276         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43277         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43278         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43279         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
43280         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
43282         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
43283         * configure: Regenerated.
43284         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
43286         * configure.ac (base_machine): Do not set specially for particular
43287         machines here.
43288         * configure: Regenerated.
43289         * sysdeps/powerpc/preconfigure: Move machine and base_machine
43290         settings from configure.ac.
43291         * sysdeps/i386/preconfigure: New file.
43292         * sysdeps/s390/preconfigure: Likewise.
43293         * sysdeps/sh/preconfigure: Likewise.
43294         * sysdeps/sparc/preconfigure: Likewise.
43296 2014-06-25  Roland McGrath  <roland@hack.frob.com>
43298         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
43299         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
43300         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
43301         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
43302         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
43303         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
43304         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
43305         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
43306         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
43307         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
43308         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
43309         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
43310         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
43311         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
43312         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
43313         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
43314         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
43315         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
43316         * sysdeps/sparc/sparc64/Makefile: ... appended here.
43318         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
43319         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
43320         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
43321         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
43322         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
43323         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
43324         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
43325         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
43326         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
43327         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
43328         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
43329         * sysdeps/sparc/sparc32/sem_post.c: ... here.
43330         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
43331         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
43332         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
43333         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
43334         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
43335         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
43336         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
43337         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
43338         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
43339         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
43340         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
43341         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
43342         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
43343         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
43344         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
43345         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
43346         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
43347         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
43348         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
43349         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
43350         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
43351         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
43352         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
43353         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
43354         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
43355         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
43357         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
43358         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
43359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
43360         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
43361         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43362         Moved ...
43363         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
43364         ... here.
43365         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
43366         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
43367         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
43368         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
43369         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
43370         Moved ...
43371         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
43372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
43373         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
43374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
43375         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
43376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
43377         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
43378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43379         Moved ...
43380         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
43381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43382         Moved ...
43383         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
43384         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
43385         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
43386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43387         Moved ...
43388         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
43389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
43390         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
43391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
43392         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
43393         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
43394         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
43395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
43396         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
43397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43398         Moved ...
43399         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
43400         ... here.
43401         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
43402         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
43403         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
43404         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
43405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
43406         Moved ...
43407         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
43408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
43409         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
43410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
43411         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
43412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
43413         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
43414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43415         Moved ...
43416         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
43417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43418         Moved ...
43419         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
43420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
43421         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
43422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43423         Moved ...
43424         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
43425         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
43426         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
43427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
43428         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
43430 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43432         * timezone/checktab.awk: Update from tzcode 2014e.
43433         * timezone/private.h: Likewise.
43434         * timezone/tzfile.h: Likewise.
43435         * timezone/zdump.c: Likewise.
43436         * timezone/zic.c: Likewise.
43438         * sysdeps/unix/sysv/linux/kernel-features.h
43439         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
43440         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
43441         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
43442         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
43443         Remove conditional code.
43445 2014-06-25  Will Newton  <will.newton@linaro.org>
43447         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
43448         (_dl_arm_cap_flags): Add HWCAP2 values.
43449         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
43450         (_DL_HWCAP_COUNT): Increase to 37.
43451         (_DL_HWCAP_LAST): New define.
43452         (_DL_HWCAP2_LAST): New define.
43453         (_dl_procinfo): Add support for printing
43454         AT_HWCAP2 entries.
43455         (_dl_string_hwcap): Use _dl_hwcap_string.
43457 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43459         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43461 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43463         * README: Do not mention ports directory.
43465         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
43466         Remove macro.
43467         * sysdeps/unix/sysv/linux/futimes.c: Do not include
43468         <kernel-features.h>.
43469         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
43470         conditional variable definition.
43471         (__futimes): Update comment.
43472         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
43473         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
43475         [BZ #16560]
43476         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
43477         arguments close to 0.
43478         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
43479         Likewise.
43480         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
43481         Likewise.
43482         * math/auto-libm-test-in: Add more tests of exp10.
43483         * math/auto-libm-test-out: Regenerated.
43484         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43486         * sysdeps/unix/sysv/linux/kernel-features.h
43487         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
43488         * sysdeps/unix/sysv/linux/readv.c: Do not include
43489         <kernel-features.h>.
43490         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43491         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43492         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43493         unconditional.
43494         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43495         conditional code.
43496         * sysdeps/unix/sysv/linux/writev.c: Do not include
43497         <kernel-features.h>.
43498         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43499         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43500         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43501         unconditional.
43502         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43503         conditional code.
43505 2014-06-25  Will Newton  <will.newton@linaro.org>
43507         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
43508         comment changes throughout the file.  Remove checks
43509         for HAVE_*_H definitions that are not required.
43510         (__gen_tempname): Call abort if an unknown kind value is
43511         passed.
43513 2014-06-25  Andreas Schwab  <schwab@suse.de>
43515         [BZ #17086]
43516         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
43517         scalbln, scalblnf, scalblnl in libc.
43519 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43521         [BZ #17086]
43522         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
43523         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
43524         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
43526 2014-06-24  Roland McGrath  <roland@hack.frob.com>
43528         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
43529         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
43530         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
43531         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
43532         Update #include.
43533         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
43534         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
43535         Update #include.
43536         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
43537         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
43538         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
43539         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
43540         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
43541         * sysdeps/x86/bits/pthreadtypes.h: ... here.
43542         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
43543         * sysdeps/x86/bits/semaphore.h: ... here.
43544         * sysdeps/x86/nptl/elide.h: Moved ...
43545         * sysdeps/x86/elide.h: ... here.
43546         * sysdeps/x86_64/nptl/Implies: File removed.
43547         * sysdeps/i386/nptl/Implies: File removed.
43549 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
43551         [BZ #16539]
43552         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
43553         return the argument for normal arguments with exponent below -64.
43554         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43555         Likewise.
43556         * math/auto-libm-test-in: Add another test of expm1.
43557         * math/auto-libm-test-out: Regenerated.
43559         [BZ #16287]
43560         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
43561         calling __erfcl for arguments at least 16.
43562         * math/auto-libm-test-in: Add more tests of erf.
43563         * math/auto-libm-test-out: Regenerated.
43565         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
43566         individual architectures.
43567         * sysdeps/unix/sysv/linux/configure: Regenerated.
43568         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
43569         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
43570         * sysdeps/unix/sysv/linux/powerpc/configure.ac
43571         (ldd_rewrite_script): Define variable.
43572         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
43574         file.
43575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
43576         generated file.
43577         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
43578         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
43579         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
43580         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
43581         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
43582         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
43583         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
43584         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
43586 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43588         [BZ #17084]
43589         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
43590         Rename member __data.d to __data.__elision_data.
43592 2014-06-24  Wilco  <wdijkstr@arm.com>
43594         * NEWS: Add 16918 to fixed bug list.
43596 2014-06-24  Wilco  <wdijkstr@arm.com>
43598         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
43600 2014-06-24  Wilco  <wdijkstr@arm.com>
43602         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
43603         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
43604         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
43605         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
43606         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
43607         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
43608         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
43609         Use _FPU_MASK_RM.
43611 2014-06-24  Wilco  <wdijkstr@arm.com>
43613         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
43615 2014-06-24  Wilco  <wdijkstr@arm.com>
43617         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
43618         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
43619         * sysdeps/arm/fesetround.c (fesetround): Remove space.
43620         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
43622 2014-06-24  Wilco  <wdijkstr@arm.com>
43624         [BZ #16918]
43625         * sysdeps/arm/feupdateenv.c (feupdateenv):
43626         Rewrite to reduce FPSCR accesses and fix return value.
43628 2014-06-24  Wilco  <wdijkstr@arm.com>
43630         * sysdeps/arm/fclrexcpt.c (feclearexcept):
43631         Optimize to avoid unnecessary FPSCR writes.
43632         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
43633         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
43634         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
43635         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
43637 2014-06-24  Wilco  <wdijkstr@arm.com>
43639         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
43640         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
43641         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
43642         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
43643         Call libc_fetestexcept_vfp.
43644         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
43645         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
43646         __SOFTFP__ ifdef so that they can be built for softfp.
43648 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43650         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
43651         argument type signed char.
43653         * Makerules (check-abi): Dump diff of symlist if the test
43654         fails.
43656 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43658         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
43659         using abort.
43661         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43662         Remove unused variable ST.
43664 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43666         [BZ #16354]
43667         [BZ #17061]
43668         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
43669         small arguments before calling __expm1.
43670         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
43671         small arguments before calling __expm1f.
43672         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
43673         small arguments before calling __expm1l.
43674         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43675         Likewise.
43676         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
43677         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
43678         spurious underflow for some cosh tests.
43679         * math/auto-libm-test-out: Regenerated.
43680         * sysdeps/i386/fpu/libm-test-ulps: Update.
43682         [BZ #17050]
43683         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
43684         (__ieee754_y1): Set errno if return value overflows.
43685         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
43686         (__ieee754_y1f): Set errno if return value overflows.
43687         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
43688         (__ieee754_y1l): Set errno if return value overflows.
43689         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
43690         (__ieee754_y1l): Set errno if return value overflows.
43691         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
43692         * math/auto-libm-test-out: Regenerated.
43694         * math/gen-auto-libm-tests.c: Document use of
43695         ignore-zero-inf-sign.
43696         (input_flag_type): Add value flag_ignore_zero_inf_sign.
43697         (input_flags): Add ignore-zero-inf-sign.
43698         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
43699         * math/gen-libm-test.pl (generate_testfile): Handle
43700         ignore-zero-inf-sign.
43701         * math/auto-libm-test-in: Mark some cpow tests with
43702         ignore-zero-inf-sign and some with xfail-rounding.
43703         * math/auto-libm-test-out: Regenerated.
43704         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
43705         * sysdeps/i386/fpu/libm-test-ulps: Update.
43706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43708         [BZ #16315]
43709         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
43710         overflowing or underflowing operations take place with sign of
43711         result.
43712         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43713         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43714         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
43715         (__ieee754_pow): Recompute overflowing and underflowing results in
43716         original rounding mode.
43717         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
43718         (__powl_helper): Allow negative argument X and scale negated value
43719         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
43720         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
43721         overflowing or underflowing operations take place with sign of
43722         result.
43723         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
43724         Include <math.h>.
43725         * math/auto-libm-test-in: Add more tests of pow.
43726         * math/auto-libm-test-out: Regenerated.
43727         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
43728         (pow_tonearest_test_data): Remove.
43729         (pow_test_tonearest): Likewise.
43730         (pow_towardzero_test_data): Likewise.
43731         (pow_test_towardzero): Likewise.
43732         (pow_downward_test_data): Likewise.
43733         (pow_test_downward): Likewise.
43734         (pow_upward_test_data): Likewise.
43735         (pow_test_upward): Likewise.
43736         (main): Don't call removed functions.
43737         * sysdeps/i386/fpu/libm-test-ulps: Update.
43738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43740 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
43743         Moved ...
43744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
43745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43746         Moved ...
43747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
43748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43749         Moved ...
43750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
43751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43752         Moved ...
43753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
43754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43755         File removed.
43756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43757         File removed.
43758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
43759         File removed.
43760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
43761         File removed.
43762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
43763         File removed.
43764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
43765         File removed.
43766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
43767         File removed.
43768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43769         File removed.
43770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
43771         File removed.
43772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43773         File removed.
43774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
43775         File removed.
43776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
43777         File removed.
43778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
43779         Moved ...
43780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
43781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
43782         Moved ...
43783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
43784         ... here.
43785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
43786         Moved ...
43787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
43788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
43789         Moved ...
43790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
43791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
43792         Moved ...
43793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
43794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
43795         Moved ...
43796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
43797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
43798         Moved ...
43799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
43800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
43801         Moved ...
43802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
43803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
43804         Moved ...
43805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
43806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
43807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
43808         ... here.
43809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
43810         Moved ...
43811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
43812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43813         Moved ...
43814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
43815         ... here.
43816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
43817         Moved ...
43818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
43819         ... here.
43820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43821         Moved ...
43822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
43823         ... here.
43824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43825         Moved ...
43826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
43827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
43828         Moved ...
43829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
43830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
43831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
43832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
43833         Moved ...
43834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
43835         ... here.
43836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43837         Moved ...
43838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
43839         ... here.
43840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
43841         Moved ...
43842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
43843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43844         Moved ...
43845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
43846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
43847         Moved ...
43848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
43849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43850         Moved ...
43851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
43852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
43853         Moved ...
43854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
43855         ... here.
43856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43857         Moved ...
43858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
43859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
43860         Moved ...
43861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
43862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43863         Moved ...
43864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
43865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
43866         Moved ...
43867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
43868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
43869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
43870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
43871         Moved ...
43872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
43873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43874         Moved ...
43875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
43876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
43877         Moved ...
43878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
43879         ... here.
43880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43881         Moved ...
43882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
43883         ... here.
43884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
43885         Moved ...
43886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
43887         ... here.
43888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43889         Moved ...
43890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
43891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
43892         Moved ...
43893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
43894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43895         Moved ...
43896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
43897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
43898         Moved ...
43899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
43900         ... here.
43901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43902         Moved ...
43903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
43904         ... here.
43905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
43906         Moved ...
43907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
43908         ... here.
43909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43910         Moved ...
43911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
43912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43913         Moved ...
43914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
43916 2014-06-23  Will Newton  <will.newton@linaro.org>
43917             Wilco  <wdijkstr@arm.com>
43919         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
43920         implementation.  Include get-rounding-mode.h.
43921         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
43922         [!libc_feholdsetround_noex_ctx]: Define
43923         libc_feholdsetround_noex_ctx.
43924         [!libc_feholdsetround_noexf_ctx]: Define
43925         libc_feholdsetround_noexf_ctx.
43926         [!libc_feholdsetround_noexl_ctx]: Define
43927         libc_feholdsetround_noexl_ctx.
43928         (libc_feholdsetround_ctx): New function.
43929         (libc_feresetround_ctx): New function.
43930         (libc_feholdsetround_noex_ctx): New function.
43931         (libc_feresetround_noex_ctx): New function.
43933 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43935         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
43936         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
43937         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
43938         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
43939         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
43940         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
43942         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
43943         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
43944         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
43945         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
43946         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
43947         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
43948         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
43949         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
43950         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
43951         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
43952         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
43953         Moved ...
43954         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
43955         ... here.
43956         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
43957         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
43958         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
43959         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
43960         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
43961         Moved ...
43962         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
43963         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
43964         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
43965         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
43966         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
43967         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
43968         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
43969         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
43970         Moved ...
43971         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
43972         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
43973         Moved ...
43974         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
43975         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
43976         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
43977         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
43978         Moved ...
43979         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
43980         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
43981         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
43982         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
43983         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
43984         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
43985         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
43986         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
43987         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
43988         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
43989         Moved ...
43990         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
43991         ... here.
43992         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
43993         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
43994         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
43995         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
43996         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
43997         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
43998         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
43999         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
44000         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
44001         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
44002         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
44003         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
44004         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
44005         Moved ...
44006         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
44007         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
44008         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
44009         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
44010         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
44011         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
44012         Moved ...
44013         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
44014         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
44015         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
44016         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
44017         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
44019         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
44020         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
44021         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
44022         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
44023         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
44024         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
44025         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
44026         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
44027         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
44028         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
44029         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
44030         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
44031         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
44032         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
44033         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
44034         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
44035         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
44036         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
44037         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
44038         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
44039         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
44040         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
44041         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
44042         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
44043         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
44044         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
44045         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
44046         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
44048 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
44050         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
44051         (FALLOC_FL_COLLAPSE_RANGE): New macro.
44052         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
44053         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
44054         (IPV6_PMTUDISC_INTERFACE): Likewise.
44055         (IPV6_PMTUDISC_OMIT): Likewise.
44057 2014-06-23  Andreas Schwab  <schwab@suse.de>
44059         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
44060         Remove unused errout label.
44062 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44064         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
44065         macro: hardware supports Vector Crypto instructions.
44067 2014-06-23  Will Newton  <will.newton@linaro.org>
44069         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
44070         rather than __builtin_expect.
44072         * elf/dl-lookup.c (undefined_msg): Remove variable.
44073         (_dl_lookup_symbol_x): Replace undefined_msg with string
44074         literal.
44076         * elf/dl-lookup.c (do_lookup_unique): New function.
44077         (do_lookup_x): Move STB_GNU_UNIQUE handling code
44078         to a separate function.
44080 2014-06-23  Andreas Schwab  <schwab@suse.de>
44082         [BZ #17079]
44083         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
44084         before reading the next line.
44086 2014-06-23  Will Newton  <will.newton@linaro.org>
44088         * test-skeleton.c (signal_handler): Use printf and %m
44089         rather than perror.  Use printf rather than fprintf to
44090         stderr.  Use puts rather than fputs to stderr.
44091         (main): Likewise.
44093 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
44095         * nscd/nscd.c (thread_info_t): Remove typedef.
44096         (thread_info): Remove variable.
44098 2014-06-21  Allan McRae  <allan@archlinux.org>
44100         * NEWS: Mention CVE-2014-4043.
44102 2014-06-20  Roland McGrath  <roland@hack.frob.com>
44104         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
44105         * nptl/smp.h: ... here.
44107         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
44109         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
44110         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
44111         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
44112         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
44114         * nptl/allocatestack.c: Include <stack-aliasing.h>.
44115         * nptl/stack-aliasing.h: New file.
44116         * sysdeps/i386/i686/stack-aliasing.h: New file.
44117         * sysdeps/i386/i686/nptl/Makefile: File removed.
44118         * sysdeps/x86_64/stack-aliasing.h: New file.
44119         * sysdeps/x86_64/nptl/Makefile
44120         (CFLAGS-pthread_create.c): Variable removed.
44122         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
44123         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
44124         old file.
44125         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
44126         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
44127         old file.
44129 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
44131         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44132         (__ASSUME_SIGFRAME_V2): Remove macro.
44133         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
44134         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
44135         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
44136         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
44137         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
44138         Declare as function.  Remove conditional macro definitions.
44139         (__default_rt_sa_restorer): Likewise.
44140         (__default_sa_restorer_v1): Remove declaration.
44141         (__default_sa_restorer_v2): Likewise.
44142         (__default_rt_sa_restorer_v1): Likewise.
44143         (__default_rt_sa_restorer_v2): Likewise.
44144         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
44145         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
44146         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
44148 2014-06-20  Roland McGrath  <roland@hack.frob.com>
44150         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
44151         (libpthread-routines): Add sysdep.
44152         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
44153         * sysdeps/unix/sysv/linux/sparc/Versions
44154         (libpthread: GLIBC_2.3.3): New version set.
44155         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
44156         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
44157         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
44158         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
44159         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
44160         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
44161         Moved ...
44162         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
44163         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
44164         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
44165         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
44166         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
44167         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
44168         * sysdeps/sparc/nptl/sem_init.c: ... here.
44169         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
44170         * sysdeps/sparc/nptl/sem_post.c: ... here.
44171         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
44172         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
44173         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
44174         * sysdeps/sparc/nptl/sem_wait.c: ... here.
44175         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
44176         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
44177         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
44178         (libpthread-routines): Add cpu_relax.
44179         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
44180         File removed.
44181         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
44182         (librt: GLIBC_2.3.3): New version set.
44183         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
44184         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
44185         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
44186         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
44187         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
44188         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
44189         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
44190         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
44191         Moved ...
44192         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
44193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
44194         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
44195         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
44196         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
44197         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
44198         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
44199         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
44200         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
44201         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
44202         Moved ...
44203         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
44204         Update #include.
44205         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
44206         Moved ...
44207         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
44208         Update #include.
44209         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
44210         Moved ...
44211         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
44212         Update #include.
44213         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
44214         Moved ...
44215         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
44216         Update #include.
44217         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
44218         Moved ...
44219         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
44220         Update #include.
44221         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
44222         Moved ...
44223         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
44224         Update #include.
44225         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
44226         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
44227         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
44228         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
44229         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
44230         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
44231         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
44232         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
44233         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
44234         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
44235         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
44236         Moved ...
44237         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
44238         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
44239         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
44240         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
44241         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
44243 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
44245         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
44246         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
44247         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
44248         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
44249         * nscd/nscd.c: Likewise.
44250         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
44251         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
44252         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
44253         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
44255         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
44256         <kernel-features.h>.
44257         (init_mq_netlink): Remove conditional have_sock_cloexec
44258         definitions.  Remove code conditional on have_sock_cloexec < 0.
44259         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
44260         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
44261         * sysdeps/unix/sysv/linux/opensock.c: Do not include
44262         <kernel-features.h>.
44263         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
44264         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
44266 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
44268         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44269         Add tests for memset_chk and memset.
44271         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
44272         with AVX2_Usable.
44274 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
44276         [BZ #16046]
44277         * elf/tst-dl-iter-static.c: New file.
44278         * elf/Makefile (tests-static): Add tst-dl-iter-static.
44280         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
44281         error.
44283 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
44285         * sysdeps/unix/sysv/linux/kernel-features.h
44286         (__ASSUME_F_GETOWN_EX): Remove macro.
44287         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
44288         <kernel-features.h>.
44289         (miss_F_GETOWN_EX): Remove variable or macro.
44290         (do_fcntl): Do not check miss_F_GETOWN_EX.
44291         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
44293         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
44294         Remove macro.
44295         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
44296         [!__ASSUME_AT_RANDOM]: Remove conditional code.
44297         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
44299         * sysdeps/unix/sysv/linux/kernel-features.h
44300         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
44301         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
44302         [ADJ_OFFSET_SS_READ]: Make code unconditional.
44303         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
44305 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
44307         [BZ #17075]
44308         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
44309         Fix calculation of the symbol's value.
44310         * sysdeps/arm/tst-armtlsdescloc.c: New file.
44311         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
44312         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
44313         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
44314         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
44315         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
44316         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
44317         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
44318         (modules-names): Add `tst-armtlsdescmod',
44319         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
44320         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
44321         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
44322         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
44323         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
44324         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
44325         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
44326         ($(objpfx)tst-armtlsdescloc): New dependency.
44327         ($(objpfx)tst-armtlsdescextnow): Likewise.
44328         ($(objpfx)tst-armtlsdescextlazy): Likewise.
44329         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
44330         TLS scheme support.
44331         * sysdeps/arm/configure: Regenerate.
44333 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
44335         * include/fcntl.h (__atfct_seterrno): Remove prototype.
44336         (__atfct_seterrno_2): Likewise.
44337         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
44338         <kernel-features.h>.
44339         (__ASSUME_ATFCTS): Do not undefine and redefine.
44340         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
44341         (__have_atfcts): Remove conditional definition.
44342         (__fxstatat([__NR_fstatat64]: Make code unconditional.
44343         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
44344         unreachable if [__ASSUME_ATFCTS].
44345         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
44346         not undefine and redefine.
44347         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
44348         <kernel-features.h>.
44349         (faccessat) [__NR_faccessat]: Make code unconditional.
44350         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
44351         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
44352         <kernel-features.h>.
44353         (fchmodat) [__NR_fchmodat]: Make code unconditional.
44354         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
44355         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
44356         <kernel-features.h>.
44357         (fchownat) [__NR_fchownat]: Make code unconditional.
44358         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
44359         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
44360         <kernel-features.h>.
44361         (futimesat) [__NR_futimesat]: Make code unconditional.
44362         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
44363         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
44364         <kernel-features.h>.
44365         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
44366         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
44367         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
44368         <kernel-features.h>.
44369         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
44370         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
44371         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
44372         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
44373         <kernel-features.h>.
44374         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
44375         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
44376         * sysdeps/unix/sysv/linux/linkat.c: Do not include
44377         <kernel-features.h>.
44378         (linkat) [__NR_linkat]: Make code unconditional.
44379         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
44380         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
44381         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
44382         <kernel-features.h>.
44383         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
44384         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
44385         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
44386         <kernel-features.h>.
44387         (mkdirat) [__NR_mkdirat]: Make code unconditional.
44388         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
44389         * sysdeps/unix/sysv/linux/openat.c: Do not include
44390         <kernel-features.h>.
44391         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
44392         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
44393         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
44394         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
44395         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
44396         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
44397         <kernel-features.h>.
44398         (readlinkat) [__NR_readlinkat]: Make code unconditional.
44399         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
44400         result of INLINE_SYSCALL directly, not via int variable.
44401         * sysdeps/unix/sysv/linux/renameat.c: Do not include
44402         <kernel-features.h>.
44403         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
44404         (renameat) [__NR_renameat]: Make code unconditional.
44405         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
44406         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
44407         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
44408         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
44409         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
44410         (__ASSUME_ATFCTS): Do not undefine and redefine.
44411         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
44412         <kernel-features.h>.
44413         (symlinkat) [__NR_symlinkat]: Make code unconditional.
44414         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
44415         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
44416         <kernel-features.h>.
44417         (unlinkat) [__NR_unlinkat]: Make code unconditional.
44418         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
44419         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
44420         (__ASSUME_ATFCTS): Do not undefine and redefine.
44421         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
44422         <kernel-features.h>.
44423         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
44424         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
44425         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
44426         <kernel-features.h>.
44427         (__xmknodat) [__NR_mknodat]: Make code unconditional.
44428         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
44430 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
44432         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
44434 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
44436         [BZ #17069]
44437         * posix/regcomp.c (parse_reg_exp): Deallocate partially
44438         constructed tree before returning error.
44439         * posix/bug-regexp36.c: Expand test case.
44441 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
44443         [BZ #6803]
44444         * math/libm-test.inc (scalbln_test_date):
44445         Add errno expectations.
44446         * math/w_scalblnf.c: New File.
44447         Add wrapper which checks for setting errno to ERANGE.
44448         Add weak_alias for corresponding scalbln function.
44449         * math/w_scalbln.c: Likewise.
44450         * math/w_scalblnl.c: Likewise.
44451         * math/Makefile (libm-calls): Add w_scalbln.
44452         * sysdeps/ieee754/flt-32/s_scalblnf.c:
44453         Remove weak_alias for corresponding scalbln function.
44454         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44455         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44456         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44457         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44458         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
44459         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
44460         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
44461         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
44462         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
44463         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
44464         Remove long_double_symbol for scalblnl function in libm, libc.
44465         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
44466         Add wrapper which checks for setting errno to ERANGE.
44467         Add long_double_symbol for scalblnl function in libm, libc.
44468         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
44469         Remove long_double_symbol for scalblnl in libm.
44470         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
44471         Add wrapper which checks for setting errno to ERANGE.
44472         Add long_double_symbol for scalblnl function in libm.
44473         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
44474         Do not use wrapper because of own implementation.
44476 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
44478         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
44479         3 bytes for __pad1 for x32.
44480         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
44482 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
44483             H.J. Lu  <hongjiu.lu@intel.com>
44485         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
44486         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
44487         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44488         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44489         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
44491 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
44493         [BZ #17069]
44494         * posix/regcomp.c (parse_expression): Deallocate partially
44495         constructed tree before returning error.
44496         * posix/Makefile.c (tests): Add bug-regex36.
44497         (generated): Add bug-regex36.mtrace.
44498         (tests-special): Add $(objpfx)bug-regex36-mem.out
44499         (bug-regex36-ENV): New variable.
44500         ($(objpfx)bug-regex36-mem.out): New rule.
44501         * posix/bug-regex36.c: New file.
44503 2014-06-19  Will Newton  <will.newton@linaro.org>
44505         * malloc/malloc.c (systrim): If extra is zero then return
44506         early.
44508 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44510         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
44512 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
44514         * sysdeps/aarch64/strchr.S: New file.
44516 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44518         [BZ #17022]
44519         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
44520         from arguments -2 or below.
44521         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
44522         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
44524 2014-06-18  Andreas Schwab  <schwab@suse.de>
44526         [BZ #17062]
44527         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
44528         of a bracket expr not to run off the end of the string.
44529         * posix/Makefile (tests): Add tst-fnmatch3.
44530         * posix/tst-fnmatch3.c: New file.
44532 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44534         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
44535         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44536         [$(cross-compiling) = no]: Likewise.
44537         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44538         [$(cross-compiling) = no]: Likewise.
44540 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44542         [BZ #17031]
44543         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
44544         double, adjusted for any remainder from the high double.
44545         * math/libm-test.inc (nearbyint): Add tests.
44546         (rint): Likewise.
44548 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44550         * nptl/sysdeps/powerpc/Makefile: Moved ...
44551         * sysdeps/powerpc/nptl/Makefile: ... here.
44552         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
44553         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
44554         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
44555         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
44556         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
44557         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
44558         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
44559         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
44560         * nptl/sysdeps/powerpc/tls.h: Moved ...
44561         * sysdeps/powerpc/nptl/tls.h: ... here.
44563 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
44565         [BZ #16681]
44566         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
44567         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
44568         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
44569         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
44570         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
44571         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
44572         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
44573         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
44574         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
44576 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
44578         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
44580 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
44582         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
44583         defined operator.
44585         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
44586         $TIMEOUTFACTOR.
44588 2014-06-16  Florian Weimer  <fweimer@redhat.com>
44590         [BZ #17058]
44591         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
44592         non-executed part of the test.
44594 2014-06-16  Andreas Schwab  <schwab@suse.de>
44596         * string/bits/string2.h (strdup, strndup): Update feature guard.
44598 2014-06-14  David S. Miller  <davem@davemloft.net>
44600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44602 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
44604         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
44605         that was previously under [RESET_PID].
44606         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
44608         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
44609         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
44610         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
44611         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44612         (__libc_vfork): New strong alias.
44613         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
44615 2014-06-14 Andi Kleen  <ak@linux.intel.com>
44617         * sysdeps/generic/elide.h: New file.
44619 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44621         * Makefile (installed-headers): Adjust path of pthread.h header.
44623 2014-06-13  Roland McGrath  <roland@hack.frob.com>
44625         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
44626         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
44627         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
44628         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
44630         * nptl/sysdeps/s390/Makefile: Moved ...
44631         * sysdeps/s390/nptl/Makefile: ... here.
44632         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
44633         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
44634         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
44635         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
44636         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
44637         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
44638         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
44639         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
44640         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
44641         * sysdeps/s390/nptl/pthreaddef.h: ... here.
44642         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
44643         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
44644         * nptl/sysdeps/s390/tls.h: Moved ...
44645         * sysdeps/s390/nptl/tls.h: ... here.
44647         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
44648         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
44650 2014-06-13  David S. Miller  <davem@davemloft.net>
44652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
44653         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
44654         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
44655         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
44656         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
44657         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
44658         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
44659         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
44660         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
44661         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
44662         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
44663         Remove RESET_PID cpp guards.
44664         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
44665         Remove RESET_PID cpp guards.
44666         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
44668 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
44670         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
44671         __sp to uintptr_t.
44673 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44675         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
44676         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
44677         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
44678         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
44679         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
44680         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
44681         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
44682         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
44683         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
44684         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
44685         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
44686         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
44687         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
44688         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
44689         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
44690         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
44691         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
44692         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
44693         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
44694         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
44696         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
44697         (pthread_rwlock_rdlock): Add elision.
44698         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
44699         (pthread_rwlock_wrlock): Add elision.
44700         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
44701         (pthread_rwlock_trywrlock): Add elision.
44702         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
44703         (pthread_rwlock_tryrdlock): Add elision.
44704         * nptl/pthread_rwlock_unlock.c: Include elide.h.
44705         (pthread_rwlock_tryrdlock): Add elision unlock.
44706         * nptl/sysdeps/pthread/pthread.h:
44707         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
44708         (PTHREAD_RWLOCK_INITIALIZER,
44709         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
44710         Handle new elision field.
44711         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
44712         * sysdeps/arm/nptl/bits/pthreadtypes.h
44713         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44714         * sysdeps/sh/nptl/bits/pthreadtypes.h
44715         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44716         * sysdeps/tile/nptl/bits/pthreadtypes.h
44717         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44718         * sysdeps/a/nptl/bits/pthreadtypes.h
44719         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44720         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
44721         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44722         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
44723         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44724         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
44725         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44726         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
44727         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44728         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
44729         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44730         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
44731         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44732         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
44733         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44734         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
44735         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44736         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
44737         (elision_init): Set try_xbegin to zero when no RTM.
44738         * sysdeps/x86/nptl/bits/pthreadtypes.h
44739         (pthread_rwlock_t): Change __pad1 to __rwelision.
44740         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44742 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44744         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
44745         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
44746         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
44747         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
44749 2014-06-13  Meador Inge  <meadori@codesourcery.com>
44751         [BZ #16996]
44752         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
44753         that the cached result has been set before returning it.
44755 2014-06-12  Roland McGrath  <roland@hack.frob.com>
44757         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
44758         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
44759         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
44760         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
44761         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
44762         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
44764         * nptl/sysdeps/sparc/Makefile: Moved ...
44765         * sysdeps/sparc/nptl/Makefile: ... here.
44766         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
44767         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
44768         * nptl/sysdeps/sparc/tls.h: Moved ...
44769         * sysdeps/sparc/nptl/tls.h: ... here.
44770         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
44771         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
44772         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
44773         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
44774         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
44775         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
44776         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
44777         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
44778         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
44779         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
44780         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
44781         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
44782         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
44783         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
44784         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
44785         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
44786         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
44787         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
44788         Update #include.
44789         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
44790         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
44791         Update #include.
44792         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
44793         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
44794         Update #include.
44795         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
44796         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
44797         Update #include.
44799         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
44801         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
44802         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
44804         * sysdeps/pthread/posix-timer.h: Include <list.h>.
44805         (struct list_links): Type removed.
44806         (struct thread_node, struct timer_node): Replace struct list_links
44807         with struct list_head.
44808         (list_unlink_ip): Likewise.
44809         * sysdeps/pthread/timer_routines.c
44810         (timer_free_list, thread_free_list, thread_active_list): Likewise.
44811         (list_append, list_insbefore): Likewise.
44812         (list_init): Function removed.
44813         (thread_init, init_module): Use INIT_LIST_HEAD instead.
44814         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
44815         * sysdeps/pthread/Makefile: ... here, new file.
44817         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
44818         * sysdeps/nptl/Implies: ... here.
44819         * sysdeps/unix/sysv/linux/Implies: Add nptl.
44820         * nptl/sysdeps/pthread/list.h: Moved ...
44821         * include/list.h: ... here.
44822         * nptl/sysdeps/pthread/createthread.c: Moved ...
44823         * nptl/createthread.c: ... here.
44824         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
44825         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
44826         * nptl/pt-longjmp.c: ... here.
44827         * nptl/sysdeps/pthread/Makefile: Moved ...
44828         * sysdeps/nptl/Makefile: ... here.
44829         * nptl/sysdeps/pthread/Subdirs: Moved ...
44830         * sysdeps/nptl/Subdirs: ... here.
44831         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
44832         * sysdeps/nptl/aio_misc.h: ... here.
44833         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
44834         * sysdeps/nptl/bits/libc-lock.h: ... here.
44835         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
44836         * sysdeps/nptl/bits/libc-lockP.h: ... here.
44837         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
44838         * sysdeps/nptl/bits/stdio-lock.h: ... here.
44839         * nptl/sysdeps/pthread/configure: Moved ...
44840         * sysdeps/nptl/configure: ... here.
44841         * nptl/sysdeps/pthread/configure.ac: Moved ...
44842         * sysdeps/nptl/configure.ac: ... here.
44843         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
44844         * sysdeps/nptl/gai_misc.h: ... here.
44845         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
44846         * sysdeps/nptl/librt-cancellation.c: ... here.
44847         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
44848         * sysdeps/nptl/malloc-machine.h: ... here.
44849         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
44850         * sysdeps/nptl/pthread-functions.h: ... here.
44851         * nptl/sysdeps/pthread/pthread.h: Moved ...
44852         * sysdeps/nptl/pthread.h: ... here.
44853         * nptl/sysdeps/pthread/setxid.h: Moved ...
44854         * sysdeps/nptl/setxid.h: ... here.
44855         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
44856         * sysdeps/nptl/sigfillset.c: ... here.
44857         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
44858         * sysdeps/nptl/tcb-offsets.h: ... here.
44859         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
44860         * sysdeps/nptl/tst-mqueue8x.c: ... here.
44861         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
44862         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
44863         * nptl/sysdeps/pthread/allocalim.h: Moved ...
44864         * sysdeps/pthread/allocalim.h: ... here.
44865         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
44866         * sysdeps/pthread/bits/sigthread.h: ... here.
44867         * nptl/sysdeps/pthread/flockfile.c: Moved ...
44868         * sysdeps/pthread/flockfile.c: ... here.
44869         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
44870         * sysdeps/pthread/ftrylockfile.c: ... here.
44871         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
44872         * sysdeps/pthread/funlockfile.c: ... here.
44873         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
44874         * sysdeps/pthread/posix-timer.h: ... here.
44875         * nptl/sysdeps/pthread/timer_create.c: Moved ...
44876         * sysdeps/pthread/timer_create.c: ... here.
44877         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
44878         * sysdeps/pthread/timer_delete.c: ... here.
44879         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
44880         * sysdeps/pthread/timer_getoverr.c: ... here.
44881         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
44882         * sysdeps/pthread/timer_gettime.c: ... here.
44883         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
44884         * sysdeps/pthread/timer_routines.c: ... here.
44885         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
44886         * sysdeps/pthread/timer_settime.c: ... here.
44887         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
44888         * sysdeps/pthread/tst-timer.c: ... here.
44889         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
44890         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
44892         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
44893         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
44895         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
44896         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
44897         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
44898         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
44899         Update #include target.
44900         * nptl/sysdeps/i386/i686/Makefile: Moved ...
44901         * sysdeps/i386/i686/nptl/Makefile: ... here.
44902         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
44903         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
44904         Update #include target.
44905         * nptl/sysdeps/i386/i686/tls.h: Moved ...
44906         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
44907         * nptl/sysdeps/i386/Makefile: Moved ...
44908         * sysdeps/i386/nptl/Makefile: ... here.
44909         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
44910         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
44911         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
44912         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
44913         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
44914         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
44915         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
44916         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
44917         * sysdeps/i386/nptl/pthreaddef.h: ... here.
44918         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
44919         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
44920         * nptl/sysdeps/i386/tls.h: Moved ...
44921         * sysdeps/i386/nptl/tls.h: ... here.
44923         * sysdeps/sh/Makefile [$(subdir) = csu]
44924         (gen-as-const-headers): Add tcb-offsets.sym.
44925         * nptl/sysdeps/sh/Makefile: File removed.
44926         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
44927         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
44928         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
44929         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
44930         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
44931         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
44932         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
44933         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
44934         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
44935         * sysdeps/sh/nptl/pthreaddef.h: ... here.
44936         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
44937         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
44938         * nptl/sysdeps/sh/tls.h: Moved ...
44939         * sysdeps/sh/nptl/tls.h: ... here.
44940         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
44941         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
44942         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
44943         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
44944         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
44945         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
44946         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
44947         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
44948         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
44949         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
44950         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
44951         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
44952         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
44953         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
44954         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
44955         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
44956         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
44957         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
44958         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
44959         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
44960         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
44961         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
44962         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
44963         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
44964         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
44965         Moved ...
44966         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
44967         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
44968         Moved ...
44969         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
44970         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
44971         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
44972         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
44973         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
44974         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
44975         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
44976         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
44977         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
44978         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
44979         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
44980         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
44981         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
44982         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
44983         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
44984         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
44985         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
44986         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
44987         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
44989 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
44991         * posix/spawn_faction_addopen.c: Include string.h.
44993 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44995         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
44996         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
44997         * nptl/sysdeps/x86_64/Makefile: Moved ...
44998         * sysdeps/x86_64/nptl/Makefile: ... here.
44999         * nptl/sysdeps/x86_64/configure: Moved ...
45000         * sysdeps/x86_64/nptl/configure: ... here.
45001         * nptl/sysdeps/x86_64/configure.ac: Moved ...
45002         * sysdeps/x86_64/nptl/configure.ac: ... here.
45003         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
45004         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
45005         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
45006         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
45007         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
45008         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
45009         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
45010         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
45011         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
45012         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
45013         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
45014         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
45015         * nptl/sysdeps/x86_64/tls.h: Moved ...
45016         * sysdeps/x86_64/nptl/tls.h: ... here.
45017         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
45018         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
45019         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
45020         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
45022         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
45024 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45028 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
45030         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
45031         type.
45032         [POSIX] (off_t): Likewise.
45033         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
45034         [POSIX] (S_ISBLK): Require macro.
45035         [POSIX] (S_ISCHR): Likewise.
45036         [POSIX] (S_ISDIR): Likewise.
45037         [POSIX] (S_ISFIFO): Likewise.
45038         [POSIX] (S_ISREG): Likewise.
45039         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
45040         optional-macro.
45041         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
45042         type.
45043         [POSIX] (time_t): Likewise.
45044         [POSIX] (timer_t): Likewise.
45046 2014-06-11  Florian Weimer  <fweimer@redhat.com>
45048         [BZ #17048]
45049         * posix/spawn_int.h (struct __spawn_action): Make the path string
45050         non-const to support deallocation.
45051         * posix/spawn_faction_addopen.c
45052         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
45053         * posix/spawn_faction_destroy.c
45054         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
45055         path in all spawn_do_open actions.
45056         * posix/tst-spawn.c (do_test): Exercise the copy operation in
45057         posix_spawn_file_actions_addopen.
45059 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
45061         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
45062         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
45063         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
45064         conditional code always true.
45065         (__libc_vfork): New alias.
45067 2014-06-11  Roland McGrath  <roland@hack.frob.com>
45069         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45070         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
45072         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
45074         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45075         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
45077         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
45078         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
45080         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45081         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
45083 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45085         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
45086         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
45087         multiarch strcmp for PPC64.
45088         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
45089         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
45090         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
45091         multiarch optimizations.
45092         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45093         (__libc_ifunc_impl_list): Likewise.
45095 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45097         * benchtests/scripts/validate_benchout.py: New script.
45098         * benchtests/Makefile (bench-func): Call it.
45099         * benchtests/scripts/benchout.schema.json: New file.
45101 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
45103         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
45104         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
45105         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
45106         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
45107         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
45108         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
45109         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
45110         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
45111         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
45112         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
45113         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
45114         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
45115         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
45116         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
45117         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
45118         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
45119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
45120         Moved ...
45121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
45122         ... here.
45123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
45124         Moved ...
45125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
45126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
45127         Moved ...
45128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
45129         ... here.
45130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
45131         Moved ...
45132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
45133         ... here.
45134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
45135         Moved ...
45136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
45137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
45138         Moved ...
45139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
45140         ... here.
45141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
45142         Moved ...
45143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
45144         ... here.
45145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
45146         Moved ...
45147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
45148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
45149         Moved ...
45150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
45151         ... here.
45152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
45153         Moved ...
45154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
45155         ... here.
45156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
45157         Moved ...
45158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
45159         ... here.
45160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
45161         Moved ...
45162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
45163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
45164         Moved ...
45165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
45166         ... here.
45167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
45168         Moved ...
45169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
45170         ... here.
45171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
45172         Moved ...
45173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
45174         ... here.
45175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
45176         Moved ...
45177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
45178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
45179         Moved ...
45180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
45181         ... here.
45182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
45183         Moved ...
45184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
45185         ... here.
45186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
45187         Moved ...
45188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
45189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
45190         Moved ...
45191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
45192         ... here.
45193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
45194         Moved ...
45195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
45196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
45197         Moved ...
45198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
45199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
45200         Moved ...
45201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
45202         ... here.
45203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
45204         Moved ...
45205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
45206         ... here.
45207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
45208         Moved ...
45209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
45210         ... here.
45211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
45212         Moved ...
45213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
45214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
45215         Moved ...
45216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
45217         ... here.
45218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
45219         Moved ...
45220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
45221         ... here.
45222         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
45223         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
45224         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
45225         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
45226         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
45227         Moved ...
45228         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
45229         ... here.
45230         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
45231         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
45232         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
45233         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
45234         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
45235         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
45236         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
45237         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
45238         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
45239         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
45240         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
45241         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
45242         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
45243         Moved ...
45244         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
45245         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
45246         Moved ...
45247         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
45248         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
45249         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
45250         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
45251         Moved ...
45252         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
45253         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
45254         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
45255         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
45256         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
45257         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
45258         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
45260 2014-06-10  Wilco  <wdijkstr@arm.com>
45262         * math/test-fenv-return.c: New file.
45263         * math/Makefile: Add new test test-fenv-return.
45265 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
45267         [BZ #17042]
45268         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
45269         when x - 1 is zero.
45270         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
45271         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
45272         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
45273         0.0L for an argument of 1.0L.
45274         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
45275         Likewise.
45276         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
45277         value when x - 1 is zero.
45278         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
45279         * sysdeps/i386/fpu/libm-test-ulps: Update.
45280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45282 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
45284         [BZ #15119]
45285         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
45287 2014-06-09  Roland McGrath  <roland@hack.frob.com>
45289         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
45290         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
45292 2014-06-09  Roland McGrath  <roland@hack.frob.com>
45294         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45295         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
45297         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45298         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
45300         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45301         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
45303         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45304         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
45306         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
45307         if not already defined.
45308         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
45309         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
45310         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
45311         (TLS_INIT_TP): Use it.
45312         (TLS_DEFINE_INIT_TP): New macro.
45313         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
45315 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
45317         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
45318         constant.
45319         [POSIX] (IXANY): Likewise.
45320         [POSIX] (OLCUC): Likewise.
45321         [POSIX || POSIX2008] (CBAUD): Do not allow.
45322         [POSIX || POSIX2008] (DEFECHO): Likewise.
45323         [POSIX || POSIX2008] (ECHOCTL): Likewise.
45324         [POSIX || POSIX2008] (ECHOKE): Likewise.
45325         [POSIX || POSIX2008] (ECHOPRT): Likewise.
45326         [POSIX || POSIX2008] (EXTA): Likewise.
45327         [POSIX || POSIX2008] (EXTB): Likewise.
45328         [POSIX || POSIX2008] (FLUSHO): Likewise.
45329         [POSIX || POSIX2008] (LOBLK): Likewise.
45330         [POSIX || POSIX2008] (PENDIN): Likewise.
45331         [POSIX || POSIX2008] (SWTCH): Likewise.
45332         [POSIX || POSIX2008] (VDISCARD): Likewise.
45333         [POSIX || POSIX2008] (VDSUSP): Likewise.
45334         [POSIX || POSIX2008] (VLNEXT): Likewise.
45335         [POSIX || POSIX2008] (VREPRINT): Likewise.
45336         [POSIX || POSIX2008] (VSTATUS): Likewise.
45337         [POSIX || POSIX2008] (VWERASE): Likewise.
45338         (B*): Change to B[0123456789]*.
45339         * conform/data/time.h-data [POSIX || UNIX98]
45340         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
45341         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
45342         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
45343         [POSIX] (tm_*): Do not allow.
45345 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
45347         * Makefile (install): Don't set LANGUAGE.
45348         * Makefile.in (install): Likewise.
45349         * assert/Makefile (test-assert-ENV): Remove variable.
45350         (test-assert-perr-ENV): Likewise.
45351         * elf/Makefile (neededtest4-ENV): Likewise.
45352         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45353         [$(cross-compiling) = no]: Don't set LANGUAGE.
45354         * io/ftwtest-sh (LANG): Remove variable.
45355         * libio/Makefile (tst-widetext-ENV): Likewise.
45356         * manual/install.texi (Running make install): Don't refer to
45357         environment settings for make install.
45358         * INSTALL: Regenerated.
45359         * nptl/tst-tls6.sh: Don't set LANG.
45360         * posix/globtest.sh (LANG): Remove variable.
45361         * string/Makefile (tester-ENV): Likewise.
45362         (inl-tester-ENV): Likewise.
45363         (noinl-tester-ENV): Likewise.
45364         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45365         [$(cross-compiling) = no]: Don't set LANGUAGE.
45366         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
45367         without explicit environment settings.
45369 2014-06-06  Roland McGrath  <roland@hack.frob.com>
45371         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
45372         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
45373         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
45374         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
45376 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
45378         * crypt/crypt-private.h [DOS]: Add some includes taken from the
45379         other files in the crypt directory.
45380         * crypt/crypt.c: Remove duplicate includes.
45381         * crypt/crypt-entry.c: Likewise.
45382         * crypt/crypt_util.c: Likewise.
45384 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
45386         * Makeconfig (run-program-env): New variable.
45387         (run-program-prefix-before-env): Likewise.
45388         (run-program-prefix-after-env): Likewise.
45389         (run-program-prefix): Define in terms of new variables.
45390         (built-program-cmd-before-env): New variable.
45391         (built-program-cmd-after-env): Likewise.
45392         (built-program-cmd): Define in terms of new variables.
45393         (test-program-prefix-before-env): New variable.
45394         (test-program-prefix-after-env): Likewise.
45395         (test-program-prefix): Define in terms of new variables.
45396         (test-program-cmd-before-env): New variable.
45397         (test-program-cmd-after-env): Likewise.
45398         (test-program-cmd): Define in terms of new variables.
45399         * Rules (make-test-out): Use $(run-program-env).
45400         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
45401         (help): Do not mention environment variables.  Mention
45402         --timeoutfactor option.
45403         (timeoutfactor): New variable.
45404         (blacklist_exports): Remove function.
45405         (exports): Remove variable.
45406         (command): Do not include ${exports}.
45407         * manual/install.texi (Configuring and compiling): Do not mention
45408         test wrappers preserving environment variables.  Mention that last
45409         assignment to a variable must take precedence.
45410         * INSTALL: Regenerated.
45411         * benchtests/Makefile (run-bench): Use $(run-program-env).
45412         * catgets/Makefile ($(objpfx)test1.cat): Use
45413         $(built-program-cmd-before-env), $(run-program-env) and
45414         $(built-program-cmd-after-env).
45415         ($(objpfx)test2.cat): Do not specify environment variables
45416         explicitly.
45417         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
45418         $(run-program-env) and $(built-program-cmd-after-env).
45419         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
45420         $(run-program-env) and $(test-program-cmd-after-env).
45421         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
45422         explicitly.
45423         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
45424         run_program_env and test_program_cmd_after_env arguments.
45425         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
45426         * elf/tst-pathopt.sh: Use run_program_env argument.
45427         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
45428         $(test-wrapper-env) and $(run-program-env).
45429         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
45430         run_program_env arguments.
45431         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
45432         * intl/Makefile ($(objpfx)tst-gettext.out): Use
45433         $(test-program-prefix-before-env), $(run-program-env) and
45434         $(test-program-prefix-after-env).
45435         ($(objpfx)tst-gettext2.out): Likewise.
45436         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
45437         run_program_env and test_program_prefix_after_env arguments.
45438         * intl/tst-gettext2.sh: Likewise.
45439         * intl/tst-gettext4.sh: Do not set environment variables
45440         explicitly.
45441         * intl/tst-gettext6.sh: Likewise.
45442         * intl/tst-translit.sh: Likewise.
45443         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
45444         $(test-program-prefix-before-env), $(run-program-env) and
45445         $(test-program-prefix-after-env).
45446         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
45447         run_program_env and test_program_prefix_after_env arguments.
45448         * math/Makefile (run-regen-ulps): Use $(run-program-env).
45449         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
45450         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
45451         explicitly with each use of ${test_wrapper_env}.
45452         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
45453         $(test-program-prefix-before-env), $(run-program-env) and
45454         $(test-program-prefix-after-env).
45455         * posix/tst-getconf.sh: Do not set environment variables
45456         explicitly.
45457         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
45458         run_program_env and test_program_prefix_after_env arguments.
45459         * stdio-common/tst-printf.sh: Do not set environment variables
45460         explicitly.
45461         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
45462         $(test-program-prefix-before-env), $(run-program-env) and
45463         $(test-program-prefix-after-env).
45464         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
45465         run_program_env and test_program_prefix_after_env arguments.
45466         Split $test calls into $test_pre and $test.
45467         * timezone/Makefile (build-testdata): Use
45468         $(built-program-cmd-before-env), $(run-program-env) and
45469         $(built-program-cmd-after-env).
45471 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45473         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
45474         strlen for non SHARED builds.
45476 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45478         * nptl/allocatestack.c (check_list): Inlined function...
45479         (__reclaim_stacks): ... here.
45481 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45483         [BZ #15698]
45484         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
45485         memory overrun.
45487 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
45489         * Rules (make-test-out): Include
45490         LOCPATH=$(common-objpfx)localedata in default environment.
45491         * debug/Makefile (tst-chk1-ENV): Remove variable.
45492         (tst-chk2-ENV): Likewise.
45493         (tst-chk3-ENV): Likewise.
45494         (tst-chk4-ENV): Likewise.
45495         (tst-chk5-ENV): Likewise.
45496         (tst-chk6-ENV): Likewise.
45497         (tst-lfschk1-ENV): Likewise.
45498         (tst-lfschk2-ENV): Likewise.
45499         (tst-lfschk3-ENV): Likewise.
45500         (tst-lfschk4-ENV): Likewise.
45501         (tst-lfschk5-ENV): Likewise.
45502         (tst-lfschk6-ENV): Likewise.
45503         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
45504         (tst-iconv7-ENV): Likewise.
45505         * intl/Makefile (LOCPATH-ENV): Likewise.
45506         (tst-codeset-ENV): Likewise.
45507         (tst-gettext3-ENV): Likewise.
45508         (tst-gettext5-ENV): Likewise.
45509         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
45510         (tst-fopenloc-ENV): Likewise.
45511         (tst-fgetws-ENV): Remove variable.
45512         (tst-ungetwc1-ENV): Likewise.
45513         (tst-ungetwc2-ENV): Likewise.
45514         (bug-ungetwc2-ENV): Likewise.
45515         (tst-swscanf-ENV): Likewise.
45516         (bug-ftell-ENV): Likewise.
45517         (tst-fgetwc-ENV): Likewise.
45518         (tst-fseek-ENV): Likewise.
45519         (tst-ftell-partial-wide-ENV): Likewise.
45520         (tst-ftell-active-handler-ENV): Likewise.
45521         (tst-ftell-append-ENV): Likewise.
45522         * posix/Makefile (tst-fnmatch-ENV): Likewise.
45523         (tst-regexloc-ENV): Likewise.
45524         (bug-regex1-ENV): Likewise.
45525         (tst-regex-ENV): Likewise.
45526         (tst-regex2-ENV): Likewise.
45527         (bug-regex5-ENV): Likewise.
45528         (bug-regex6-ENV): Likewise.
45529         (bug-regex17-ENV): Likewise.
45530         (bug-regex18-ENV): Likewise.
45531         (bug-regex19-ENV): Likewise.
45532         (bug-regex20-ENV): Likewise.
45533         (bug-regex22-ENV): Likewise.
45534         (bug-regex23-ENV): Likewise.
45535         (bug-regex25-ENV): Likewise.
45536         (bug-regex26-ENV): Likewise.
45537         (bug-regex30-ENV): Likewise.
45538         (bug-regex32-ENV): Likewise.
45539         (bug-regex33-ENV): Likewise.
45540         (bug-regex34-ENV): Likewise.
45541         (bug-regex35-ENV): Likewise.
45542         (tst-rxspencer-ENV): Likewise.
45543         (tst-rxspencer-no-utf8-ENV): Likewise.
45544         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
45545         (tst-sscanf-ENV): Likewise.
45546         (tst-swprintf-ENV): Likewise.
45547         (tst-swscanf-ENV): Likewise.
45548         (test-vfprintf-ENV): Likewise.
45549         (scanf13-ENV): Likewise.
45550         (bug14-ENV): Likewise.
45551         (tst-grouping-ENV): Likewise.
45552         * stdlib/Makefile (tst-strtod-ENV): Likewise.
45553         (tst-strtod3-ENV): Likewise.
45554         (tst-strtod4-ENV): Likewise.
45555         (tst-strtod5-ENV): Likewise.
45556         (testmb2-ENV): Likewise./
45557         * string/Makefile (tst-strxfrm-ENV): Likewise.
45558         (tst-strxfrm2-ENV): Likewise.
45559         (bug-strcoll1-ENV): Likewise.
45560         (test-strcasecmp-ENV): Likewise.
45561         (test-strncasecmp-ENV): Likewise.
45562         * time/Makefile (tst-strptime-ENV): Likewise.
45563         (tst-ftime_l-ENV): Likewise.
45564         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
45565         (tst-mbrtowc-ENV): Likewise.
45566         (tst-wcrtomb-ENV): Likewise.
45567         (tst-mbrtowc2-ENV): Likewise.
45568         (tst-c16c32-1-ENV): Likewise.
45569         (tst-mbsnrtowcs-ENV): Likewise.
45571 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45573         * manual/resource.texi (How to get information about the memory
45574         subsystem?): Fix typo.
45575         Reported by Peon de la Parra Ivan <peon@keba.com>
45577 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
45579         [BZ #16882]
45580         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
45581         (pthread_spin_lock): Branch out of spin loop to proper location.
45582         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
45583         (pthread_spin_lock): Likewise.
45585         * nptl/tst-spin4.c: New test.
45586         * nptl/Makefile (tests): Add tst-spin4.
45588 2014-06-03  Andreas Schwab  <schwab@suse.de>
45590         [BZ #15946]
45591         * resolv/res_send.c (send_dg): Reload file descriptor after
45592         calling reopen.
45594 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
45596         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45598 2014-06-03  Richard Henderson  <rth@redhat.com>
45600         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
45601         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
45602         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
45603         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
45604         in the SAVE_PID block.
45605         (__libc_vfork): New alias.
45606         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
45608         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
45609         child in registers, not on the stack.  Remove RESET_PID conditionals.
45610         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
45612 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45614         * sysdeps/aarch64/libm-test-ulps: Regenerate.
45616 2014-06-03  Wilco  <wdijkstr@arm.com>
45618         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
45619         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
45620         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45621         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
45622         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
45623         Likewise.
45625 2014-06-03  Wilco  <wdijkstr@arm.com>
45627         * sysdeps/aarch64/fpu/math_private.h
45628         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
45629         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
45630         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
45631         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45632         Fix declarations.
45634 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45636         * crypt/crypt-private.h: Include ufc-crypt.h.
45637         (__b64_from_24bit): Declare extern.
45638         * crypt/crypt_util.c(__b64_from_24bit): New function.
45639         (b64t): New static const variable.
45640         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
45641         (b64t): Remove variable.
45642         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
45643         * crypt/sha256-crypt.c: Include crypt-private.h.
45644         (b64t): Remove variable.
45645         (__sha256_crypt_r): Remove b64_from_24bit and replace
45646         with __b64_from_24bit.
45647         * crypt/sha512-crypt.c: Likewise.
45649 2014-06-02  Roland McGrath  <roland@hack.frob.com>
45651         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
45652         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
45653         Label the code __libc_vfork rather than __vfork.
45654         [!NOT_IN_libc] (vfork): Define as weak alias.
45655         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
45656         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
45657         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
45659 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45661         * malloc/malloc.c (malloc_info): Fix format specifier for
45662         n_mmaps.
45664 2014-06-02  Wilco  <wdijkstr@arm.com>
45666         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
45667         FPCR write.
45669 2014-06-02  Wilco  <wdijkstr@arm.com>
45671         [BZ #17009]
45672         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
45673         Rewrite to reduce FPCR/FPSR accesses.
45675 2014-06-01  David S. Miller  <davem@davemloft.net>
45677         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45679 2014-05-31  David S. Miller  <davem@davemloft.net>
45681         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
45682         to occur in round to nearest mode when |x| >= 2.0
45684 2014-05-30  Richard Henderson  <rth@twiddle.net>
45686         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
45687         (PSEUDO_RET_NOERRNO): Remove.
45688         (ret): Don't redefine.
45689         (ret_NOERRNO): Define in terms of ret.
45690         (ret_ERRVAL): Likewise.
45692         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
45693         use of PSEUDO_RET; perform the error check directly.
45695 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
45697         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
45698         with __int128_t.
45700 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45702         * malloc/malloc (malloc_info): Fix formatting.
45704 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45705             Roland McGrath  <roland@hack.frob.com>
45707         * malloc/malloc (malloc_info): Also print mmapped statistics.
45709 2014-05-30  Roland McGrath  <roland@hack.frob.com>
45711         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
45712         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
45714 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
45716         * malloc/malloc.c (malloc_info): Inline mi_arena.
45718 2014-05-29  Richard Henderson  <rth@twiddle.net>
45720         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
45721         Remove comma before expanding ASM_ARGS_##nr.
45722         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
45723         Make _x0 a strict output; make _x8 a strict input; adjust expansion
45724         of ASM_ARGS_##nr.
45725         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
45726         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
45727         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
45728         (ASM_ARGS_1): Add leading comma.
45730         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
45731         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
45732         to __errno_location.
45733         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
45734         Remove the expected plt for __errno_location.
45736         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45737         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
45738         call to __read_tp.
45740         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45741         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
45742         it and break it down.
45743         (DOCARGS_0, DOCARGS_1): Do nothing.
45744         (DOCARGS_2): Update to store into the new stack frame.
45745         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
45746         (UNDOCARGS_1): Update to restore from the new stack frame.
45747         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
45748         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
45750         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45751         (SINGLE_THREAD_P): New parameter for result regno.
45752         (PSEUDO): Update to match; use cbz instead of beq.
45754         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45755         Use ENTRY to define the _nocancel entry point.  Share the syscall
45756         and syscall error check paths with the cancel path.
45757         (PSEUDO_END): New.
45759         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
45760         whitespace; tabs before and after asm mnemonics.
45762 2014-05-29  Eric Wong  <normalperson@yhbt.net>
45764         [BZ #15132]
45765         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45766         Call fstat64 or stat64 internally, depending on arguments passed.
45767         Replace stat buffer argument with file descriptor argument.
45768         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
45769         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45770         Pass fd to __internal_statvfs instead of calling fstat64.
45771         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
45772         Pass fd to __internal_statvfs64 instead of calling fstat64.
45773         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
45774         Pass -1 to __internal_statvfs instead of calling stat64.
45775         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
45776         Pass -1 to __internal_statvfs64 instead of calling stat64.
45778 2014-05-28  Roland McGrath  <roland@hack.frob.com>
45780         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
45781         that was previously under [RESET_PID].
45782         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
45784         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
45785         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
45787 2014-05-27  Roland McGrath  <roland@hack.frob.com>
45789         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
45791         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
45792         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
45794 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
45796         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
45798 2014-05-27  Andreas Schwab  <schwab@suse.de>
45800         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
45801         TLS_INIT_TP macro.
45802         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
45803         * elf/rtld.c (init_tls, dl_main): Likewise.
45804         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
45805         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
45806         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
45807         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
45808         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
45809         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
45810         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
45811         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
45812         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
45813         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
45814         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
45815         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
45816         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
45817         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
45818         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
45819         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
45820         * sysdeps/generic/tls.h: Update description.
45822 2014-05-27  Will Newton  <will.newton@linaro.org>
45824         [BZ #16990]
45825         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
45826         and restore r2 rather than just restoring.
45828 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45830         [BZ #16724]
45831         * libio/tst-ftell-append.c: New test case.
45832         * libio/Makefile (tests): Add test case.
45833         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
45834         append mode.
45835         * libio/wfileops.c (do_ftell_wide): Likewise.
45837 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45841         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
45842         ...
45843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
45844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
45845         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
45846         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
45847         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
45848         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
45849         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
45850         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
45851         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
45852         Moved ...
45853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
45854         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
45855         Moved ...
45856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
45857         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
45858         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
45859         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
45860         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
45861         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
45862         ...
45863         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
45864         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
45865         Moved ...
45866         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
45867         here.
45868         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
45869         ...
45870         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
45871         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
45872         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
45874         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
45875         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
45876         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
45877         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
45879         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
45880         merge into ...
45881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
45882         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
45883         ...
45884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
45885         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
45886         ...
45887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
45888         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
45889         Moved ...
45890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
45891         here.
45892         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
45893         Moved ...
45894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
45895         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
45896         Moved ...
45897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
45899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
45900         conditional [RESET_PID].
45901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
45902         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
45903         removed.
45904         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
45905         removed.
45907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
45908         <tcb-offsets.h>.
45909         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45910         (__libc_vfork): New strong alias.
45911         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
45912         removed.
45913         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
45914         Removed.
45916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
45917         <tcb-offsets.h>.
45918         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
45919         (__libc_vfork): New strong alias.
45920         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
45921         removed.
45922         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
45923         removed.
45925 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
45927         * malloc/malloc.c (mi_arena): New function.
45928         (malloc_info): Remove nested function mi_arena. Call non-nosted
45929         function mi_arena.
45931 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45933         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
45934         by insrwi.
45935         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
45936         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
45937         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
45938         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
45939         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
45940         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
45941         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
45943 2014-05-26  Andreas Schwab  <schwab@suse.de>
45945         [BZ #16984]
45946         * locale/programs/repertoire.c (repertoire_read): Add slash
45947         between I18NPATH element and file name.
45948         * locale/programs/locfile.c (locfile_read): Likewise.
45950 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
45952         * nptl/pthread_mutexattr_settype.c
45953         (__pthread_mutexattr_settype):
45954         Disable lock elision for PTHREAD_MUTEX_NORMAL.
45956 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
45958         * nptl/tst-mutex5 (do_test):
45959         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
45961 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45963         * benchtests/README: Document 'init' directive.
45964         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
45965         BENCH_INIT.
45966         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
45967         (parse_file): Recognize 'init' directive.
45969 2014-05-26  Kyle McMartin  <kyle@redhat.com>
45971         [BZ #16796]
45972         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
45973         alignment of struct pthread.
45975 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45977         [BZ #16878]
45978         * nscd/netgroupcache.c (addgetnetgrentX): Look for
45979         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45980         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
45981         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45983 2014-05-25  Richard Henderson  <rth@twiddle.net>
45985         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45986         (SINGLE_THREAD_P_PIC): Remove.
45987         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
45988         (SINGLE_THREAD_P_PIC): Remove.
45990         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
45991         branch to syscall error ...
45992         (PSEUDO): ... here.
45993         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
45994         from __local_syscall_error to .Lsyscall_error.
45995         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
45996         (SYSCALL_ERROR): Update label name.
45998         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45999         Do not use DOARGS/UNDOARGS.
46000         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
46001         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
46002         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
46003         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
46004         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
46006         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
46007         block comment.
46009         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
46010         define if !NOT_IN_libc.
46011         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
46012         define with non-default symbol versions.
46014 2014-05-23  Richard Henderson  <rth@twiddle.net>
46016         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
46017         (vfork, __vfork): Define via compat_symbol.
46019         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
46020         [!HAVE_IFUNC] (vfork_compat): Remove.
46021         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
46023 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
46025         [BZ #16978]
46026         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
46027         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
46028         variable.
46030 2014-05-23  Richard Henderson  <rth@twiddle.net>
46032         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
46033         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
46034         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
46035         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
46037         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
46038         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
46039         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
46040         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
46041         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
46042         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
46043         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
46044         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
46045         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
46046         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
46047         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
46048         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
46049         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
46050         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
46051         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
46052         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
46053         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
46054         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
46055         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
46056         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
46057         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
46058         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
46059         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
46060         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
46061         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
46062         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
46063         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
46064         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
46065         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
46066         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
46067         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
46068         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
46069         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
46070         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
46071         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
46072         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
46073         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
46074         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
46075         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
46076         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
46077         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
46078         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
46079         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
46080         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
46081         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
46082         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
46083         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
46084         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
46085         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
46086         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
46087         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
46088         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
46089         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
46090         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
46091         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
46092         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
46094         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
46095         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
46096         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
46097         before exiting on error.
46098         (__libc_vfork): New strong alias.
46099         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
46100         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
46102         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
46103         that was previously under [RESET_PID].
46104         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
46106         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
46108 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
46110         [BZ #16977]
46111         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
46112         value when x - 1 is zero.
46113         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
46114         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
46115         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
46116         0.0L for an argument of 1.0L.
46117         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
46118         Likewise.
46119         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
46120         value when x - 1 is zero.
46121         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
46122         * sysdeps/i386/fpu/libm-test-ulps: Update.
46123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46125 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
46127         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
46128         alphasort and versionsort.
46130 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46132         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
46133         macro.
46134         [copysignf]: Likewise.
46136 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46138         * crypt/md5-crypt.c: Fix formatting.
46140 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46142         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
46143         (b64_from_24bit): New function.
46145 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46147         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
46148         libc_hidden_builtin_def to ifunc.
46149         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
46150         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
46152 2014-05-21  Roland McGrath  <roland@hack.frob.com>
46154         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
46155         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
46157 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
46159         * nscd/Depend (linuxthreads): Remove.
46160         (nptl): Add.
46161         * resolv/Depend (linuxthreads): Remove.
46162         * rt/Depend (linuxthreads): Remove.
46164         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
46165         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
46166         $(common-objpfx)elf/.
46167         (link-libc-before-gnulib): Likewise.
46168         (elfobjdir): Remove variable.
46169         * Makefile (install): Use $(elf-objpfx) instead of
46170         $(common-objpfx)elf/.
46171         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
46172         $(elfobjdir)/.
46173         (link-libc-deps): Likewise.
46174         ($(common-objpfx)libc.so): Likewise.
46175         ($(common-objpfx)linkobj/libc.so): Likewise.
46176         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
46177         instead of $(common-objpfx)elf/.
46178         (symbolic-link-list): Likewise.
46179         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46180         [$(cross-compiling) = no]: Likewise.
46181         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
46182         $(elfobjdir)/.
46183         (static-gnulib-arch): Likewise.
46184         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
46185         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
46186         $(common-objpfx)elf/.
46188 2014-05-21  Richard Henderson  <rth@redhat.com>
46190         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
46191         (SINGLE_THREAD_P): Use the correct width load.  Fold
46192         into the ldr offset.
46194         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
46195         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
46197 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
46199         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
46200         (libgcc_s_resume): Use __attribute_used__.
46201         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
46202         Likewise.
46204 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46206         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
46207         optimization when used with float constants.
46209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46211 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
46213         [BZ #16915]
46214         * locale/nl_langinfo_l.c: Make direct reference to every
46215         _nl_current_CATEGORY symbol.
46216         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
46217         (tests-static): Add tst-langinfo-static.
46218         (tests-special): Add tst-langinfo-static.out.
46219         ($(objpfx)tst-langinfo.out): Redirect output.
46220         ($(objpfx)tst-langinfo-static.out): New.
46221         * localedata/tst-langinfo.sh: Send output to stdout.
46222         * localedata/tst-langinfo-static.c: New file.
46224         [BZ #16965]
46225         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
46226         when the shift amount is modulo the limb size.
46228 2014-05-20  Richard Henderson  <rth@redhat.com>
46230         [BZ #16967]
46231         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
46232         Change type of sa_flags from unsigned int to int.
46234         [BZ #16966]
46235         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
46237         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
46239 2014-05-20  Will Newton  <will.newton@linaro.org>
46241         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
46242         Test the return value of the system call in the nocancel case.
46244 2014-05-20  Will Newton  <will.newton@linaro.org>
46245             Yvan Roux  <yvan.roux@linaro.org>
46247         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
46248         #include of asm/ptrace.h.
46249         (PTRACE_GET_THREAD_AREA): Remove #undef.
46250         (PTRACE_GETHBPREGS): Likewise.
46251         (PTRACE_SETHBPREGS): Likewise.
46252         (struct user_regs_struct): New structure.
46253         (struct user_fpsimd_struct): New structure.
46254         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
46255         #include of asm/ptrace.h and second #include of sys/user.h.
46256         (PTRACE_GET_THREAD_AREA): Remove #undef.
46257         (PTRACE_GETHBPREGS): Likewise.
46258         (PTRACE_SETHBPREGS): Likewise.
46259         (ELF_NGREG): Use new struct user_regs_struct.
46260         (elf_fpregset_t): Use new struct user_fpsimd_struct.
46262 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46264         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
46265         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
46267 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
46269         [BZ #16958]
46270         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
46271         membar to avoid block loads/stores to overlap previous stores.
46273 2014-05-17  Richard Henderson  <rth@redhat.com>
46275         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
46276         Create the __##syscall_name##_nocancel entry point.
46277         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
46278         Remove; let the sysdep-cancel.h code create it.
46280 2014-05-17  David S. Miller  <davem@davemloft.net>
46282         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
46283         Protect with __USE_GNU.
46284         (TIOCSET_TEMPT): Likewise.
46285         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46286         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
46287         these are already provided in bits/ioctl-types.h
46289 2014-05-16  Roland McGrath  <roland@hack.frob.com>
46291         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
46292         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
46294         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
46295         Use wait4 regardless of [__NR_waitpid].
46297 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
46299         PR libgcc/60166
46300         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
46301         (_FP_NANSIGN_Q): Set the quiet bit.
46303 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
46305         * benchtests/Makefile
46306         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
46307         not $(common-objpfx)math/libm.so.
46308         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
46309         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
46310         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
46311         $(common-objpfx)dlfcn/libdl.so.
46312         ($(objpfx)tst-audit8): Depend on $(libm), not
46313         $(common-objpfx)math/libm.so.
46314         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
46315         not $(common-objpfx)dlfcn/libdl.so.
46316         * math/Makefile
46317         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
46318         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
46319         [$(build-shared) = yes].
46320         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
46321         $(common-objpfx)nptl/libpthread.so.
46322         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
46323         $(common-objpfx)math/libm.so$(libm.so-version) or
46324         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
46325         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
46326         $(common-objpfx)dlfcn/libdl.so.
46327         * setjmp/Makefile (link-libm): Remove variable.
46328         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
46329         * stdio-common/Makefile (link-libm): Remove variable.
46330         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
46331         * stdlib/Makefile (link-libm): Remove variable.
46332         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
46333         ($(objpfx)tst-strtod-round): Likewise.
46334         ($(objpfx)tst-tininess): Likewise.
46335         ($(objpfx)tst-strtod-underflow): Likewise.
46336         ($(objpfx)tst-strtod6): Likewise.
46337         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
46338         $(libdl), not $(common-objpfx)nptl/libpthread.so and
46339         $(common-objpfx)dlfcn/libdl.so.
46341 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46343         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
46344         BSD terminal modes definitions.
46346 2014-05-16  Roland McGrath  <roland@hack.frob.com>
46348         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
46349         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
46351         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
46352         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
46353         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
46354         Don't do #include_next.
46355         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
46356         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
46357         Don't do #include_next.
46358         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
46359         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
46360         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
46361         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
46363 2014-05-16  Allan McRae  <allan@archlinux.org>
46365         * po/sv.po: Update Swedish translation from translation project.
46367         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
46368         in sed expression.
46370 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
46372         [BZ #16917]
46373         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
46374         errno if the TIOCGPTN ioctl fails with an error different than
46375         EINVAL.
46376         * login/tst-ptsname.c: New file.
46377         * login/Makefile (tests): Add tst-ptsname.
46379         [BZ #16943]
46380         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
46381         and prlimit64.
46383 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46385         [BZ #16849]
46386         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
46387         herrno to return EAI_AGAIN.
46389 2014-05-14  Roland McGrath  <roland@hack.frob.com>
46391         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
46392         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
46393         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
46394         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
46395         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
46396         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
46397         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
46398         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
46399         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
46400         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
46401         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
46402         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
46403         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
46404         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
46405         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
46406         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
46407         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
46408         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
46409         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
46410         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
46411         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
46412         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
46413         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
46414         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
46415         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
46416         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
46417         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
46418         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
46419         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
46420         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
46421         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
46422         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
46423         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
46424         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
46425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
46426         Moved ...
46427         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
46428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
46429         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
46430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
46431         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
46432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
46433         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
46434         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
46435         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
46436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
46437         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
46438         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
46439         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
46440         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
46441         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
46442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
46443         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
46444         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
46445         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
46446         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
46447         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
46448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
46449         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
46450         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
46451         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
46452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
46453         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
46454         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46455         Moved ...
46456         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
46457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
46458         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
46459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
46460         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
46461         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
46462         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
46463         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
46464         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
46465         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
46466         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
46467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
46468         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
46469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
46470         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
46471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
46472         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
46473         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
46474         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
46475         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46476         Moved ...
46477         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
46478         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
46479         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
46481         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
46482         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
46483         (libpthread-sysdep_routines): Add elision-related stuff here instead.
46484         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
46485         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
46486         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
46487         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
46488         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
46489         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
46490         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
46491         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
46492         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
46493         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
46494         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
46495         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
46496         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
46497         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
46498         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
46499         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
46500         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
46501         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
46502         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
46503         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
46504         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
46505         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
46506         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
46507         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
46508         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
46509         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
46510         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
46511         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
46513         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
46514         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
46516         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
46517         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
46518         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
46519         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
46520         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
46521         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
46522         Moved ...
46523         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
46524         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
46525         Moved ...
46526         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
46527         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
46528         Moved ...
46529         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
46530         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
46531         Moved ...
46532         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
46533         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
46534         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
46535         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
46536         Moved ...
46537         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
46538         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
46539         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
46540         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
46541         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
46542         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
46543         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
46544         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
46545         Moved ...
46546         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
46547         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46548         Moved ...
46549         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46550         ... here.
46551         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
46552         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
46553         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
46554         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
46555         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46556         Moved ...
46557         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46558         ... here.
46559         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
46560         Moved ...
46561         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
46562         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
46563         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
46564         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
46565         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
46566         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
46567         Moved ...
46568         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
46569         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
46570         Moved ...
46571         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
46572         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
46573         Moved ...
46574         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
46575         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
46576         Moved ...
46577         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
46578         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
46579         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
46580         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
46581         Moved ...
46582         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
46583         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
46584         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
46585         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
46586         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
46587         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
46588         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
46589         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
46590         Moved ...
46591         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
46592         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46593         Moved ...
46594         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46595         ... here.
46596         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
46597         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
46598         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
46599         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
46600         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46601         Moved ...
46602         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46603         ... here.
46604         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
46605         Moved ...
46606         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
46607         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
46608         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
46609         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
46610         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
46611         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
46612         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
46613         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
46614         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
46615         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
46616         Moved ...
46617         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
46618         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
46619         Moved ...
46620         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
46621         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
46622         Moved ...
46623         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
46624         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
46625         Moved ...
46626         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
46627         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
46628         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
46629         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
46630         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
46631         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
46632         Moved ...
46633         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
46634         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
46635         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
46636         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
46637         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
46638         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
46639         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
46640         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
46641         Moved ...
46642         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
46643         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46644         Moved ...
46645         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46646         ... here.
46647         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
46648         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
46649         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
46650         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
46651         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46652         Moved ...
46653         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46654         ... here.
46655         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
46656         Moved ...
46657         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
46658         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
46659         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
46660         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
46661         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
46662         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
46663         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
46664         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
46665         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
46666         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
46667         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
46669         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
46670         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
46672         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
46673         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
46675         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
46676         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
46677         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
46678         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
46679         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
46680         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
46681         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
46682         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
46683         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
46684         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
46685         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
46686         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
46687         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
46688         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
46689         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
46690         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
46691         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
46692         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
46693         Moved ...
46694         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
46695         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
46696         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
46697         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
46698         Moved ...
46699         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
46700         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
46701         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
46702         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
46703         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
46704         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
46705         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
46706         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
46707         Moved ...
46708         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
46709         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
46710         Moved ...
46711         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
46712         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
46713         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
46714         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
46715         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
46716         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
46717         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
46718         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
46719         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
46720         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
46721         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
46722         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
46723         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
46724         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
46725         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
46726         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
46727         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
46729         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
46730         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
46731         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
46732         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
46733         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
46735         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
46736         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
46737         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
46738         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
46739         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
46740         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
46741         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
46742         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
46743         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
46744         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
46746         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
46747         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
46749         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
46750         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
46751         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
46752         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
46753         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
46754         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
46755         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
46756         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
46757         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
46758         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
46759         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
46760         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
46761         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
46762         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
46763         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
46764         Update #include.
46765         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
46766         Likewise.
46767         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
46768         Likewise.
46769         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
46770         Likewise.
46771         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
46772         Likewise.
46773         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
46774         Likewise.
46775         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
46776         Likewise.
46777         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
46778         Likewise.
46779         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
46780         Likewise.
46781         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
46782         Likewise.
46783         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
46784         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
46785         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
46786         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
46787         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
46788         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
46789         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
46790         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
46791         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
46792         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
46793         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
46794         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
46795         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
46796         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
46797         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
46799         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
46800         that was previously under [RESET_PID].
46801         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46802         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
46803         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
46805         * sysdeps/i386/nptl/Implies: New file.
46806         * sysdeps/x86_64/nptl/Implies: New file.
46807         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
46808         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
46809         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
46810         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
46812         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
46813         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46814         (__libc_vfork): New strong alias.
46815         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
46816         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
46818         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
46819         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46820         (__libc_vfork): New strong alias.
46821         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
46822         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
46824         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
46825         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46826         (__libc_vfork): New strong alias.
46827         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
46828         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
46829         * nptl/pt-vfork.c: New file.
46830         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
46831         (libpthread: GLIBC_2.20): New version set (empty).
46833 2014-05-14  Will Newton  <will.newton@linaro.org>
46835         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
46836         rather than #if.
46838 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
46840         [BZ #16564]
46841         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
46842         arguments with exponent 65 or above.
46843         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
46844         arguments 0x1p113L or above.
46845         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
46846         to arguments 0x1p107L or above.
46847         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
46848         positive arguments with exponent 65 or above.
46849         * math/auto-libm-test-in: Add more tests of log1p.
46850         * math/auto-libm-test-out: Regenerated.
46852         [BZ #16928]
46853         * math/s_cacos.c (__cacos): Ensure zero real part of result from
46854         non-finite arguments is +0.
46855         * math/s_cacosf.c (__cacosf): Likewise.
46856         * math/s_cacosl.c (__cacosl): Likewise.
46857         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
46858         * sysdeps/i386/fpu/libm-test-ulps: Update.
46859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46861         [BZ #16927]
46862         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
46863         value.
46864         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
46865         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
46866         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
46867         for explicit high bit of mantissa when testing for argument equal
46868         to 1.
46869         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
46870         * sysdeps/i386/fpu/libm-test-ulps: Update.
46871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46873         [BZ #16516]
46874         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
46875         (__erf): Scale by 16 instead of 8 in potentially underflowing
46876         case.  Ensure exception if result actually underflows.
46877         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
46878         (__erff): Scale by 16 instead of 8 in potentially underflowing
46879         case.  Ensure exception if result actually underflows.
46880         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
46881         (efx8): Remove variable.
46882         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46883         case.  Ensure exception if result actually underflows.
46884         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
46885         (efx8): Remove variable.
46886         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46887         case.  Ensure exception if result actually underflows.
46888         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
46889         (efx8): Remove variable.
46890         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46891         case.  Ensure exception if result actually underflows.
46892         * math/auto-libm-test-in: Add more tests of erf.
46893         * math/auto-libm-test-out: Regenerated.
46895 2014-05-14  Andreas Schwab  <schwab@suse.de>
46897         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
46898         Remove code conditionalized on USE___THREAD.
46900         * config.h.in (HAVE_PT_CHOWN): Define as 0.
46901         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
46902         not definedness.
46904 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
46906         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
46907         Define unconditionally.
46908         (__ASSUME_O_CLOEXEC): Likewise.
46909         (__ASSUME_SOCK_CLOEXEC): Likewise.
46910         (__ASSUME_IN_NONBLOCK): Likewise.
46911         (__ASSUME_PIPE2): Likewise.
46912         (__ASSUME_EVENTFD2): Likewise.
46913         (__ASSUME_SIGNALFD4): Likewise.
46914         (__ASSUME_DUP3): Likewise.
46915         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46916         (__ASSUME_DUP3): Do not define.
46917         (__ASSUME_EVENTFD2): Likewise.
46918         (__ASSUME_IN_NONBLOCK): Likewise.
46919         (__ASSUME_O_CLOEXEC): Likewise.
46920         (__ASSUME_PIPE2): Likewise.
46921         (__ASSUME_SIGNALFD4): Likewise.
46922         (__ASSUME_SOCK_CLOEXEC): Likewise.
46923         (__ASSUME_UTIMES): Undefine.
46924         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46925         (__ASSUME_UTIMES): Do not define.
46926         (__ASSUME_O_CLOEXEC): Likewise.
46927         (__ASSUME_SOCK_CLOEXEC): Likewise.
46928         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
46929         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
46930         0x020621].
46931         (__ASSUME_PIPE2): Likewise.
46932         (__ASSUME_EVENTFD2): Likewise.
46933         (__ASSUME_SIGNALFD4): Likewise.
46934         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
46935         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
46936         Do not define.
46937         (__ASSUME_EVENTFD2): Likewise.
46938         (__ASSUME_SIGNALFD4): Likewise.
46939         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
46940         (__ASSUME_32BITUIDS): Likewise.
46941         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46942         (__ASSUME_IPC64): Likewise.
46943         (__ASSUME_ST_INO_64_BIT): Likewise.
46944         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
46945         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
46946         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46947         (__ASSUME_UTIMES): Do not define.
46948         (__ASSUME_PSELECT): Likewise.
46949         (__ASSUME_PPOLL): Likewise.
46950         (__ASSUME_O_CLOEXEC): Likewise.
46951         (__ASSUME_SOCK_CLOEXEC): Likewise.
46952         (__ASSUME_IN_NONBLOCK): Likewise.
46953         (__ASSUME_PIPE2): Likewise.
46954         (__ASSUME_EVENTFD2): Likewise.
46955         (__ASSUME_SIGNALFD4): Likewise.
46956         (__ASSUME_DUP3): Likewise.
46957         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46958         (__ASSUME_UTIMES): Likewise.
46959         (__ASSUME_O_CLOEXEC): Likewise.
46960         (__ASSUME_SOCK_CLOEXEC): Likewise.
46961         (__ASSUME_IN_NONBLOCK): Likewise.
46962         (__ASSUME_PIPE2): Likewise.
46963         (__ASSUME_EVENTFD2): Likewise.
46964         (__ASSUME_SIGNALFD4): Likewise.
46965         (__ASSUME_DUP3): Likewise.
46966         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46967         (__ASSUME_UTIMES): Likewise.
46968         (__ASSUME_O_CLOEXEC): Likewise.
46969         (__ASSUME_SOCK_CLOEXEC): Likewise.
46970         (__ASSUME_IN_NONBLOCK): Likewise.
46971         (__ASSUME_PIPE2): Likewise.
46972         (__ASSUME_EVENTFD2): Likewise.
46973         (__ASSUME_SIGNALFD4): Likewise.
46974         (__ASSUME_DUP3): Likewise.
46975         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
46976         Likewise.
46977         (__ASSUME_UTIMES): Likewise.
46978         (__ASSUME_EVENTFD2): Likewise.
46979         (__ASSUME_SIGNALFD4): Likewise.
46980         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46981         (__ASSUME_O_CLOEXEC): Likewise.
46982         (__ASSUME_SOCK_CLOEXEC): Likewise.
46983         (__ASSUME_IN_NONBLOCK): Likewise.
46984         (__ASSUME_PIPE2): Likewise.
46985         (__ASSUME_EVENTFD2): Likewise.
46986         (__ASSUME_SIGNALFD4): Likewise.
46987         (__ASSUME_DUP3): Likewise.
46988         (__ASSUME_UTIMES): Undefine.
46990         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
46991         feclearexcept.  Remove symbol versioning code.
46992         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
46993         symbol versioning code.
46994         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
46995         symbol versioning code.
46996         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
46997         feupdateenv.  Remove symbol versioning code.
46998         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
46999         fegetexceptflag.  Remove symbol versioning code.
47000         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
47001         fesetexceptflag.  Remove symbol versioning code.
47002         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
47003         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
47004         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
47005         (__posix_fadvise64_l32): Remove prototype.
47006         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
47007         code.
47009 2014-05-13  Roland McGrath  <roland@hack.frob.com>
47011         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
47012         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
47013         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
47014         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
47016 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
47018         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
47019         current working directory
47021 2014-05-13  Roland McGrath  <roland@hack.frob.com>
47023         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
47024         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
47025         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
47026         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
47027         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
47028         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
47029         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
47030         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
47031         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
47032         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
47033         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
47034         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
47035         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
47036         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
47037         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
47038         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
47039         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
47040         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
47041         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
47042         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
47043         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
47044         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
47045         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
47046         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
47047         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
47048         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
47049         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
47050         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
47051         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
47052         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
47053         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
47054         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
47055         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
47056         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
47057         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
47058         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
47059         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
47060         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
47061         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
47062         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
47063         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
47064         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
47066         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
47067         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
47069         * sysdeps/unix/sysv/linux/arm/Makefile
47070         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
47071         Add rt-aeabi_unwind_cpp_pr1.
47072         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
47073         Add nptl-aeabi_unwind_cpp_pr1.
47074         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
47075         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
47076         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
47077         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
47078         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
47079         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
47081         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
47082         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
47083         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
47084         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
47086         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
47087         Deconditionalize the code that was previously under [RESET_PID].
47088         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
47090         * sysdeps/generic/exit-thread.h: New file.
47091         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
47092         * include/unistd.h (__exit_thread): Remove declaration.
47093         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
47094         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
47095         * csu/libc-start.c: Include <exit-thread.h>.
47096         (LIBC_START_MAIN): Pass no argument to __exit_thread.
47097         * nptl/pthread_create.c: Include <exit-thread.h>.
47098         (start_thread): Call __exit_thread in place of __exit_thread_inline.
47099         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
47100         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
47101         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
47102         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
47103         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
47104         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
47105         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
47106         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
47107         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
47108         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
47109         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
47110         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
47111         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
47112         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
47113         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
47114         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
47116 2014-05-13  Andreas Schwab  <schwab@suse.de>
47118         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
47120 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
47122         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47123         (__ASSUME_UTIMES): Do not condition on kernel version.
47124         (__ASSUME_PSELECT): Define unconditionally.
47125         (__ASSUME_PPOLL): Likewise.
47126         (__ASSUME_ATFCTS): Likewise.
47127         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
47128         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
47129         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
47130         (__ASSUME_UTIMENSAT): Define unconditionally.
47131         (__ASSUME_PRIVATE_FUTEX): Likewise.
47132         (__ASSUME_FALLOCATE): Likewise.
47133         (__ASSUME_O_CLOEXEC): Likewise.
47134         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
47135         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
47136         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
47137         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
47138         (__ASSUME_IN_NONBLOCK): Likewise.
47139         (__ASSUME_PIPE2): Likewise.
47140         (__ASSUME_EVENTFD2): Likewise.
47141         (__ASSUME_SIGNALFD4): Likewise.
47142         (__ASSUME_DUP3): Likewise.
47143         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
47144         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
47145         (__ASSUME_AT_RANDOM): Likewise.
47146         (__ASSUME_PREADV): Likewise.
47147         (__ASSUME_PWRITEV): Likewise.
47148         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
47149         (__ASSUME_F_GETOWN_EX): Define unconditionally.
47150         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
47151         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
47152         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
47153         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47154         (__ASSUME_O_CLOEXEC): Define unconditionally.
47155         (__ASSUME_PSELECT): Do not undefine conditionally.
47156         (__ASSUME_PPOLL): Likewise.
47157         (__ASSUME_ATFCTS): Likewise.
47158         (__ASSUME_SET_ROBUST_LIST): Likewise.
47159         (__ASSUME_UTIMENSAT): Likewise.
47160         (__ASSUME_FDATASYNC): Define unconditionally.
47161         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47162         (__ASSUME_SIGFRAME_V2): Likewise.
47163         )__ASSUME_EVENTFD2): Likewise.
47164         (__ASSUME_SIGNALFD4): Likewise.
47165         (__ASSUME_PSELECT): Do not undefine conditionally.
47166         (__ASSUME_PPOLL): Likewise.
47167         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47168         (__ASSUME_PSELECT): Define unconditionally.
47169         (__ASSUME_PPOLL): Likewise.
47170         (__ASSUME_O_CLOEXEC): Likewise.
47171         (__ASSUME_SOCK_CLOEXEC): Likewise.
47172         (__ASSUME_IN_NONBLOCK): Likewise.
47173         (__ASSUME_PIPE2): Likewise.
47174         (__ASSUME_EVENTFD2): Likewise.
47175         (__ASSUME_SIGNALFD4): Likewise.
47176         (__ASSUME_DUP3): Likewise.
47177         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47178         (__ASSUME_O_CLOEXEC): Likewise.
47179         (__ASSUME_SOCK_CLOEXEC): Likewise.
47180         (__ASSUME_IN_NONBLOCK): Likewise.
47181         (__ASSUME_PIPE2): Likewise.
47182         (__ASSUME_EVENTFD2): Likewise.
47183         (__ASSUME_SIGNALFD4): Likewise.
47184         (__ASSUME_DUP3): Likewise.
47185         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47186         (__ASSUME_EVENTFD2): Likewise.
47187         (__ASSUME_SIGNALFD4): Likewise.
47188         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
47190 2014-05-12  Andreas Schwab  <schwab@suse.de>
47192         [BZ #16932]
47193         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
47194         (_nss_nis_gethostbyname4_r): Return error if item length is larger
47195         than maximum RPC packet size.
47196         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
47197         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
47198         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
47199         (_nss_nis_getservbyport_r): Likewise.
47201 2014-05-12  Will Newton  <will.newton@linaro.org>
47203         * malloc/Makefile (tests): Add tst-mallopt.
47204         * malloc/tst-mallopt.c: New file.
47206 2014-05-09  Roland McGrath  <roland@hack.frob.com>
47208         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
47209         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
47211 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47213         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
47214         (tst-tlsmod6.so): Likewise.
47216 2014-05-09  Roland McGrath  <roland@hack.frob.com>
47218         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
47220 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
47222         [BZ #16064]
47223         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
47224         and <dl-procinfo.h>.
47225         (__fegetenv): Save SSE state in envp->__eip if supported.
47226         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
47227         envp->__eip if supported.
47228         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
47229         and <dl-procinfo.h>.
47230         (__fesetenv): Always set __eip, __cs_selector, __opcode,
47231         __data_offset and __data_selector in environment to 0.  Set SSE
47232         state if supported.
47233         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
47234         test-fenv-sse.
47235         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
47236         -mfpmath=sse.
47237         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
47239 2014-05-09  Will Newton  <will.newton@linaro.org>
47241         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
47242         and libc_relro_required for ARM.
47243         * sysdeps/arm/preconfigure: Regenerate.
47245 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
47246             Stefan Liebler  <stli@linux.vnet.ibm.com>
47248         * config.make.in (enable-lock-elision): New Makefile variable.
47249         * configure.ac: Likewise.
47250         * configure: Regenerate.
47251         * sysdeps/s390/configure.ac:
47252         Add check for gcc transactions support.
47253         * sysdeps/s390/configure: Regenerate.
47254         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
47255         Build elision files if enabled.
47256         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
47257         Add lock elision support for s390.
47258         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
47259         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
47260         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
47261         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
47262         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
47263         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
47264         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47265         Likewise.
47266         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
47267         Likewise.
47268         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
47269         Likewise.
47270         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
47271         Likewise.
47272         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
47273         (__lll_timedlock_elision, __lll_lock_elision)
47274         (__lll_unlock_elision, __lll_trylock_elision)
47275         (lll_timedlock_elision, lll_lock_elision)
47276         (lll_unlock_elision, lll_trylock_elision): Add.
47277         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47278         (pthread_mutex_t): Add lock elision support for s390.
47280 2014-05-14  Wilco  <wdijkstr@arm.com>
47282         * sysdeps/arm/fclrexcpt.c: Cleanup.
47283         * sysdeps/arm/fedisblxcpt.c: Cleanup.
47284         * sysdeps/arm/feenablxcpt.c: Cleanup.
47285         * sysdeps/arm/fegetenv.c: Cleanup.
47286         * sysdeps/arm/fegetexcept.c: Cleanup.
47287         * sysdeps/arm/fegetround.c: Cleanup.
47288         * sysdeps/arm/feholdexcpt.c: Cleanup.
47289         * sysdeps/arm/fesetenv.c: Cleanup.
47290         * sysdeps/arm/fesetround.c: Cleanup.
47291         * sysdeps/arm/feupdateenv.c: Cleanup.
47292         * sysdeps/arm/fgetexcptflg.c: Cleanup.
47293         * sysdeps/arm/fraiseexcpt.c: Cleanup.
47294         * sysdeps/arm/fsetexcptflg.c: Cleanup.
47295         * sysdeps/arm/ftestexcept.c: Cleanup.
47296         * sysdeps/arm/get-rounding-mode.h: Cleanup.
47297         * sysdeps/arm/setfpucw.c: Cleanup.
47299 2014-05-09  Will Newton  <will.newton@linaro.org>
47301         * sysdeps/arm/armv7/strcmp.S: New file.
47302         * NEWS: Mention addition of ARMv7 optimized strcmp.
47304 2014-05-08  Roland McGrath  <roland@hack.frob.com>
47306         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
47307         look for %.ac rather than %.in.
47309         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
47310         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
47311         * sysdeps/mach/hurd/configure: Regenerated.
47312         * sysdeps/unix/sysv/linux/configure: Regenerated.
47314         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
47316 2014-05-07  Steve Ellcey  <sellcey@mips.com>
47318         [BZ #16922]
47319         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
47320         (LONG_SUB): Ditto.
47321         (PTR_SUB): Ditto.
47323 2014-05-07  Andreas Schwab  <schwab@suse.de>
47325         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
47326         when skipping over non-matching result from nscd.
47328 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
47330         [BZ #16876]
47331         * nptl/sockperf.c (client): Check socket return value.
47333         [BZ #16877]
47334         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
47335         nscd security class.
47337 2014-05-06  Roland McGrath  <roland@hack.frob.com>
47339         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
47340         * sysdeps/arm/unwind.h: ... here.
47342 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
47344         [BZ #16916]
47345         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
47346         Define.
47348 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47350         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
47351         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
47352         multiarch strncpy for PPC64.
47353         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
47354         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
47355         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
47356         multiarch optimizations.
47357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47358         (__libc_ifunc_impl_list): Likewise.
47359         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
47360         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
47361         multiarch stpncpy for PPC64.
47362         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
47363         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
47365 2014-05-06  Andreas Schwab  <schwab@suse.de>
47367         [BZ #16912]
47368         * gmon/mcount.c (_MCOUNT_DECL): Use
47369         atomic_compare_and_exchange_bool_acq instead of
47370         catomic_compare_and_exchange_bool_acq.
47372 2014-05-05  Roland McGrath  <roland@hack.frob.com>
47374         * elf/Makefile (others, install-bin): Remove pldd.
47375         (pldd-modules): Variable removed.
47376         ($(objpfx)pldd): Target removed.
47377         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
47378         (others, install-bin): Append pldd here.
47379         ($(objpfx)pldd): New target.
47381         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
47382         to 0, so the first #if test emitted later doesn't see it undefined.
47383         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
47384         * sysdeps/gnu/errlist.c: Regenerated.
47386 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47388         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
47389         [libc_hidden_builtin_def]: Define to empty value.
47390         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
47391         [libc_hidden_builtin_def]: Likewise.
47392         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
47393         [libc_hidden_builtin_def]: Likewise.
47394         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
47395         [libc_hidden_builtin_def]: Likewise.
47396         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
47397         __redirect_memcpy and define ifunc as default hidden symbol.
47398         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
47399         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
47401 2014-05-04  Adam Conrad  <adconrad@0c3.net>
47403         * locale/iso-4217.def: Reintroduce XDR currency.
47405 2014-05-04  Allan McRae  <allan@archlinux.org>
47407         * po/eo.po: Update Esperanto translation from translation project.
47409 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
47411         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
47412         and FEATURE_INDEX_MAX to 1.
47413         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
47415 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47417         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
47418         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
47419         * iconvdata/big5.c (ONE_DIRECTION): Define.
47420         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
47421         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
47422         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
47423         * iconvdata/cp932.c (ONE_DIRECTION): Define.
47424         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
47425         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
47426         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
47427         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
47428         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
47429         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
47430         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
47431         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
47432         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
47433         * iconvdata/gbk.c (ONE_DIRECTION): Define.
47434         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
47435         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
47436         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
47437         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
47438         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
47439         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
47440         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
47441         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
47442         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
47443         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
47444         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
47445         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
47446         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
47447         * iconvdata/iso646.c (ONE_DIRECTION): Define.
47448         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
47449         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
47450         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
47451         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
47452         * iconvdata/johab.c (ONE_DIRECTION): Define.
47453         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
47454         * iconvdata/sjis.c (ONE_DIRECTION): Define.
47455         * iconvdata/t.61.c (ONE_DIRECTION): Define.
47456         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
47457         * iconvdata/tscii.c (ONE_DIRECTION): Define.
47458         * iconvdata/uhc.c (ONE_DIRECTION): Define.
47459         * iconvdata/unicode.c (ONE_DIRECTION): Define.
47460         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
47461         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
47462         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
47464 2014-05-01  Roland McGrath  <roland@hack.frob.com>
47466         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
47467         (_IO_JUMPS_OFFSET): Define to 0.
47469         * nptl/sysdeps/pthread/bits/libc-lock.h
47470         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
47471         (__libc_lock_define_initialized_recursive): Always define using
47472         initializer.  Modern compilers treat uninitialized (implicit zero) and
47473         explicit zero initializers the same (i.e. put the datum in bss).
47475 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47477         * nscd/nscd-client.h: Include <string.h>.
47479 2014-05-01  David S. Miller  <davem@davemloft.net>
47481         [BZ #16885]
47482         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
47483         multiple zero bytes exist at the end of a string.
47484         Reported by Aurelien Jarno <aurelien@aurel32.net>
47486         * string/test-strcmp.c (check): Add explicit test for situations where
47487         there are multiple zero bytes after the first.
47489 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47491         [BZ #16890]
47492         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
47493         when compiling wprintf.
47494         * stdio-common/tstdiomisc.c (t3): New function.
47495         (main): Call it.
47497 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47499         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
47500         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
47501         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
47502         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
47504 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47506         * stdlib/longlong.h: Updated from GCC.
47508 2014-05-01  Will Newton  <will.newton@linaro.org>
47509             Bernard Ogden  <bernie.ogden@linaro.org>
47511         * NEWS: Update fixed bug list.
47513         [BZ #15119]
47514         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
47516 2014-04-30  David S. Miller  <davem@davemloft.net>
47518         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
47519         (libc_feholdexcept_setround_sparc_ctx): New function.
47520         (libc_fesetenv_sparc_ctx): Likewise.
47521         (libc_feupdateenv_sparc_ctx): Likewise.
47522         (libc_feholdsetround_sparc_ctx): Likewise.
47523         (libc_feholdexcept_setround_ctx): Define.
47524         (libc_feholdexcept_setroundf_ctx): Likewise.
47525         (libc_feholdexcept_setroundl_ctx): Likewise.
47526         (libc_fesetenv_ctx): Likewise.
47527         (libc_fesetenvf_ctx): Likewise.
47528         (libc_fesetenvl_ctx): Likewise.
47529         (libc_feupdateenv_ctx): Likewise.
47530         (libc_feupdateenvf_ctx): Likewise.
47531         (libc_feupdateenvl_ctx): Likewise.
47532         (libc_feresetround_ctx): Likewise.
47533         (libc_feresetroundf_ctx): Likewise.
47534         (libc_feresetroundl_ctx): Likewise.
47535         (libc_feholdsetround_ctx): Likewise.
47536         (libc_feholdsetroundf_ctx): Likewise.
47537         (libc_feholdsetroundl_ctx): Likewise.
47539         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47540         with __USE_GNU instead of XOPEN cpp guards.
47542         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
47543         0.
47545         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47546         with XOPEN cpp guards.
47548 2014-04-30  Julian Brown  <julian@codesourcery.com>
47550         [BZ #16888]
47551         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
47552         handling.
47554 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
47556         [BZ #9894]
47557         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
47558         Change to 2.6.32.
47559         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
47560         * sysdeps/unix/sysv/linux/configure: Regenerated.
47561         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
47562         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
47563         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
47564         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
47565         * README: Update reference to required Linux kernel version.
47566         * manual/install.texi (Linux): Update reference to required Linux
47567         kernel headers version.
47568         * INSTALL: Regenerated.
47570         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
47571         header inclusion.
47572         [POSIX] (limits.h): Likewise.
47573         [POSIX] (math.h): Likewise.
47574         [POSIX] (sys/wait.h): Likewise.
47575         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
47576         function.
47577         [POSIX] (stddef.h): Do not allow header inclusion.
47579 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47581         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
47583 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
47585         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
47586         Return immediately after lll_futex_wake.
47588 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47590         [BZ #16791]
47591         * nscd/nscd-client.h (datahead_init_common): Initialize entire
47592         structure.
47593         (datahead_init_pos): Call datahead_init_common early.
47594         (datahead_init_neg): Likewise.
47596         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
47597         datahead_init_neg): New functions.
47598         * nscd/aicache.c (addhstaiX): Use them.
47599         * nscd/grpcache.c (cache_addgr): Likewise.
47600         * nscd/hstcache.c (cache_addhst): Likewise.
47601         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47602         * nscd/netgroupcache.c (do_notfound): Likewise.
47603         (addgetnetgrentX): Likewise.
47604         (addinnetgrX): Likewise.
47605         * nscd/pwdcache.c (cache_addpw): Likewise.
47606         * nscd/servicescache.c (cache_addserv): Likewise.
47608 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47609             Atsushi Onoe  <atsushi@onoe.org>
47611         [BZ #14308]
47612         [BZ #12994]
47613         [BZ #13651]
47614         * resolv/res_query.c (__libc_res_nsearch): Return if at least
47615         one response is valid.
47616         * resolv/res_send.c (send_dg): Check for validity of other
47617         response if the current response is a referral.
47619 2014-04-29  Steve Ellcey  <sellcey@mips.com>
47621         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
47623 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
47625         [BZ #16823]
47626         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
47627         Always divide by positive zero when computing -Inf result.
47628         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47629         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
47631 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47633         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
47634         FPSCR if value do not change.
47635         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47636         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
47637         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
47638         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47639         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
47640         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
47641         function.
47643 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
47645         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
47646         * sysdeps/unix/sysv/linux/hppa: Move directory from
47647         ports/systeps/unix/sysv/linux/hppa.
47648         * README: Update listing for hppa-*-linux-gnu.
47650 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
47652         [BZ #16754]
47653         * manual/stdio.texi (Hook functions): Fix types of stream hook
47654         functions.
47655         [BZ #16854]
47656         * socket/sys/socket.h: Fix typo in comment.
47658 2014-04-28  Wilco  <wdijkstr@arm.com>
47660         * sysdeps/arm/fenv_private.h: New file.
47661         * sysdeps/arm/math_private.h: New file.
47662         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
47664 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
47666         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
47667         with __int128_t.
47668         (La_x86_64_retval): Likewise.
47670 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
47672         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
47673         fpsr if value didn't change.
47674         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
47675         to fpcr if value didn't change.
47676         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
47677         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
47678         fpsr or fpcr if value didn't change.
47679         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47680         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
47681         fpcr if value didn't change.
47682         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
47683         to fpsr if value didn't change.
47685 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47687         * nptl/tst-sem3.c: Use test-skeleton.c
47688         (main): Rename to do_test.  Use return instead of
47689         exit.
47690         * nptl/tst-sem4.c: Use test-skeleton.c
47691         (main): Rename to do_test.
47693 2014-04-22  David S. Miller  <davem@davemloft.net>
47695         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
47696         (struct sigaction): New struct member __glibc_reserved0, change
47697         type of sa_flags to int.
47699 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
47701         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
47702         (COUNT_LEADING_ZEROS_0): Define for AArch64.
47704 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47706         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
47707         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
47709 2014-04-22  Will Newton  <will.newton@linaro.org>
47710             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
47712         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
47713         (__longjmp): Add longjmp and longjmp_target SystemTap
47714         probes.
47715         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
47716         (__sigsetjmp): Add setjmp SystemTap probe.
47718 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
47720         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
47721         match manual order.
47723 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47725         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
47727         * sysdeps/powerpc/fpu/fenv_private.h
47728         (libc_feholdexcept_setroundl_ctx): Define to
47729         libc_feholdexcept_setround_ppc_ctx.
47730         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
47731         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
47732         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
47733         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
47735 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47737         * sysdeps/aarch64/math-tests.h: New file.
47739 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
47741         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
47742         New.
47743         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47744         Check and set bit_AVX2_Usable.
47745         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
47746         macro.
47747         (bit_AVX2): Likewise.
47748         (index_AVX2_Usable): Likewise.
47749         (CPUID_AVX2): Likewise.
47750         (HAS_AVX2): Likewise.
47752 2014-04-17  Will Newton  <will.newton@linaro.org>
47754         * manual/setjmp.texi (System V contexts): Add note that
47755         calling setcontext on a context created by a call to a
47756         signal handler is undefined.  Update text to note that
47757         setcontext from a signal handler is possible but not
47758         recommended.
47760         [BZ #16629]
47761         * stdlib/tst-setcontext.c: Include signal.h.
47762         (main): Check that the signal stack before and
47763         after swapcontext is the same.
47765         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
47766         Re-implement to restore registers in user code and avoid
47767         rt_sigreturn system call.
47769 2014-04-17  Wilco  <wdijkstr@arm.com>
47771         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
47772         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
47773         * math/test-fenv.c: Skip exception trap tests on targets which only
47774         support non-stop mode.
47776 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47777             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47779         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
47780         (libc_feholdsetround_aarch64_ctx)
47781         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
47782         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
47783         (libc_feresetround_ctx, libc_feresetroundf_ctx)
47784         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
47785         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
47786         (libc_feresetround_noexl_ctx): Define.
47788 2014-04-16  Richard Henderson  <rth@redhat.com>
47790         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
47792         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
47793         unwind tables.
47795         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
47796         const from the non-libc, non-ldso copy.
47798         * sysdeps/alpha/libm-test-ulps: Regenerate.
47800 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
47801             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47803         * sysdeps/aarch64/fpu/math_private.h: New file.
47805 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47807         * sysdeps/aarch64/libm-test-ulps: Regenerate.
47809 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
47811         [BZ #16275]
47812         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
47813         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
47814         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
47815         Intel MPX bound registers before _dl_profile_fixup.
47816         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
47817         registers after _dl_profile_fixup.  Save and restore bound
47818         registers bnd0/bnd1 when calling _dl_call_pltexit.
47819         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
47820         (LR_BND_OFFSET): Likewise.
47821         (LRV_BND0_OFFSET): Likewise.
47822         (LRV_BND1_OFFSET): Likewise.
47824 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47826         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
47827         to...
47828         * sysdeps/mach/hurd/i386/tls.h: ... here.
47829         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
47830         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
47831         fields.
47833 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47835         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
47837 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47839         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47841 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47843         [BZ #14770]
47844         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
47845         * sysdeps/s390/configure: Regenerate.
47847         [BZ #16824]
47848         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
47849         Set round-to-nearest internally to reduce error accumulation.
47851 2014-04-16  Alan Modra  <amodra@gmail.com>
47853         [BZ #16740]
47854         [BZ #16619]
47855         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
47856         * math/libm-test.inc (frexp_test_data): Add tests.
47857         * NEWS: Update fixed bug list.
47859 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47861         * benchtests/Makefile: Depend on libraries in build directory.
47862         (bench-math): Separate out math tests.
47863         (bench-pthread): Separate out pthread tests.
47864         (bench): Include math and pthread tests.
47866 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
47868         [BZ #16831]
47869         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
47870         _dl_debug_initialize.
47872         * configure.ac: Remove SELinux header check.
47873         * configure: Regenerate.
47874         * nscd/selinux.c (perms): Array of const char* to permission names.
47875         (nscd_request_avc_has_perm): Call security_deny_unknown to find
47876         default policy. Call string_to_security_class and string_to_av_perm to
47877         translate strings. Enforce default policy and call avs_has_perm with
47878         results of translated strings.
47880 2014-04-13  David S. Miller  <davem@davemloft.net>
47882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47884 2014-04-12  Allan McRae  <allan@archlinux.org>
47886         [BZ #16838]
47887         * manual/string.texi (Collation Functions): Fix qsort argument
47888         order in example.
47889         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47891 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
47893         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
47894         Make the test a no-op if there are no exceptions defined.
47896 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
47898         * elf/Makefile (tests): make tst-dlopen-aout conditional on
47899         enable-hardcoded-path-in-tests
47901 2014-04-11  Will Newton  <will.newton@linaro.org>
47903         * benchtests/Makefile (extra-objs): Add json-lib.o.
47904         (bench-func): Tidy up JSON output.
47905         * benchtests/bench-skeleton.c: Include json-lib.h.
47906         (main): Use JSON library functions to do output of
47907         benchmark results.
47908         * benchtests/bench-timing-type.c (main): Output the
47909         timing type simply, leaving formatting to the user.
47910         * benchtests/json-lib.c: New file.
47911         * benchtests/json-lib.h: Likewise.
47913 2014-04-11  Torvald Riegel  <triegel@redhat.com>
47915         [BZ #15215]
47916         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
47917         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
47918         memory barriers.  Add comments.
47919         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
47920         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
47921         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
47922         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
47923         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
47924         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
47926 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
47928         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
47929         * sysdeps/s390/s390-64/configure.ac: ... this ...
47930         * sysdeps/s390/configure.ac: ... to here.
47931         * sysdeps/s390/s390-32/configure: Delete file.
47932         * sysdeps/s390/s390-64/configure: Delete file.
47933         * sysdeps/s390/configure: Regenerate.
47935 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
47937         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
47939 2014-04-11  Will Newton  <will.newton@linaro.org>
47941         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
47942         to zero if it is not defined elsewhere.  (mtrim): Test
47943         the value of MALLOC_DEBUG with #if rather than #ifdef.
47945 2014-04-10 Torvald Riegel  <triegel@redhat.com>
47947         * benchtests/pthread_once-inputs: New file.
47948         * benchtests/pthread_once-source.c: New file.
47949         * benchtests/README: Update documentation.
47951 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
47952             H.J. Lu  <hongjiu.lu@intel.com>
47954         [BZ #16275]
47955         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
47956         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
47957         * sysdeps/x86_64/configure: Regenerated.
47958         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
47959         macro.
47960         (REGISTER_SAVE_RAX): Likewise.
47961         (REGISTER_SAVE_RCX): Likewise.
47962         (REGISTER_SAVE_RDX): Likewise.
47963         (REGISTER_SAVE_RSI): Likewise.
47964         (REGISTER_SAVE_RDI): Likewise.
47965         (REGISTER_SAVE_R8): Likewise.
47966         (REGISTER_SAVE_R9): Likewise.
47967         (REGISTER_SAVE_BND0): Likewise.
47968         (REGISTER_SAVE_BND1): Likewise.
47969         (REGISTER_SAVE_BND2): Likewise.
47970         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
47971         bound registers when calling _dl_fixup.
47973 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47975         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
47976         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
47977         of its definition.
47978         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
47979         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
47980         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
47981         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
47982         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
47983         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
47984         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
47986 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
47988         [BZ #15514]
47989         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
47990         pathconf(_PC_NAME_MAX).
47992 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47994         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
47995         Remove macro usage.
47996         (__PTHREAD_SPINS): Move definition to ...
47997         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47998         (__PTHREAD_SPINS): ... here.
47999         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48000         (__PTHREAD_SPIN): Likewise.
48001         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
48002         (__PTHREAD_SPIN): Likewise.
48003         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
48004         (__PTHREAD_SPIN): Likewise.
48005         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
48006         (__PTHREAD_SPIN): Likewise.
48007         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
48008         (__PTHREAD_SPIN): Likewise.
48009         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
48010         (__PTHREAD_SPIN): Likewise.
48011         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
48012         (__PTHREAD_SPIN): Likewise.
48013         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
48014         (__PTHREAD_SPIN): Likewise.
48015         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
48016         (__PTHREAD_SPIN): Likewise.
48017         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
48018         (__PTHREAD_SPIN): Likewise.
48019         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
48020         (__PTHREAD_SPIN): Likewise.
48021         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
48022         (__PTHREAD_SPIN): Likewise.
48024         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
48025         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
48026         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
48027         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
48028         imply folder.
48029         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
48030         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
48031         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
48032         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
48033         correct imply path.
48034         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
48035         strlen symbol for non multi-arch builds.
48036         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
48037         missing hidden_def and weak_alias.
48039 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
48041         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
48043 2014-04-07  Will Newton  <will.newton@linaro.org>
48045         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
48046         and contents.  [!_LIBC] Remove #ifndef and contents.
48047         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
48048         * string/memccpy.c (__memccpy): Use ANSI prototype.
48049         * string/memfrob.c (memfrob): Likewise.
48050         * string/strcoll.c (STRCOLL): Likewise.
48051         * string/strlen.c (strlen): Likewise.
48052         * string/strtok.c (STRTOK): Likewise.
48053         * string/strcat.c: Remove unused #include of memcopy.h.
48054         (strcat): Use ANSI prototype.
48055         * string/strchr.c: Remove unused #include of memcopy.h.
48056         (strchr): Use ANSI prototype.
48057         * string/strcmp.c: Remove unused #include of memcopy.h.
48058         (strcmp): Use ANSI prototype.
48059         * string/strcpy.c: Remove unused #include of memcopy.h.
48060         (strcpy): Use ANSI prototype.
48062 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48064         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
48065         * config.make.in (config-extra-cppflags): Set it from
48066         libc_extra_cppflags.
48067         * configure.ac (libc_extra_cflags): Make it accumulate over
48068         configure fragments.
48069         (libc_extra_cppflags): New flag.
48070         * configure. Regenerate.
48071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
48072         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
48073         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
48074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
48076         [BZ #16815]
48077         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
48078         result for FE_DOWNWARD rounding mode.
48079         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
48080         Likewise.
48081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48083 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
48085         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
48086         in function argument name.
48088 2014-04-03  David Svoboda  <svoboda@cert.org>
48090         [BZ #5666]
48091         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
48092         explicitly.
48094 2014-04-03  Roland McGrath  <roland@hack.frob.com>
48096         * elf/dl-unmap-segments.h: New file.
48097         * sysdeps/generic/ldsodefs.h
48098         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
48099         * elf/dl-close.c: Include <dl-unmap-segments.h>.
48100         * elf/dl-fptr.c: Likewise.
48101         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
48102         * sysdeps/aarch64/tlsdesc.c: Likewise.
48103         * sysdeps/arm/tlsdesc.c: Likewise.
48104         * sysdeps/i386/tlsdesc.c: Likewise.
48105         * sysdeps/tile/dl-runtime.c: Likewise.
48106         * sysdeps/x86_64/tlsdesc.c: Likewise.
48107         * elf/dl-load.h: New file.
48108         * elf/dl-load.c: Include it.
48109         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
48110         Macros moved to dl-load.h.
48111         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
48112         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
48113         Use _dl_unmap_segments in place of __munmap.
48114         Break out segment-mapping loop into ...
48115         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
48117 2014-04-03  Will Newton  <will.newton@linaro.org>
48119         * elf/dl-lookup.c (do_lookup_x): Remove comment
48120         referring to nested function and move variable
48121         declarations down to before first use.
48123 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
48125         [BZ #16799]
48126         [BZ #16800]
48127         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
48128         with 0 numerator.
48129         * math/s_catanf.c (__catanf): Likewise.
48130         * math/s_catanh.c (__catanh): Likewise.
48131         * math/s_catanhf.c (__catanhf): Likewise.
48132         * math/s_catanhl.c (__catanhl): Likewise.
48133         * math/s_catanl.c (__catanl): Likewise.
48134         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
48135         by positive zero when computing -Inf result.
48136         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
48137         (catanh_test): Likewise.
48138         * sysdeps/i386/fpu/libm-test-ulps: Update.
48139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48141         [BZ #16789]
48142         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
48143         instead of using underflowing value in computing result.
48144         * math/s_clog10.c (__clog10): Likewise.
48145         * math/s_clog10f.c (__clog10f): Likewise.
48146         * math/s_clog10l.c (__clog10l): Likewise.
48147         * math/s_clogf.c (__clogf): Likewise.
48148         * math/s_clogl.c (__clogl): Likewise.
48149         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
48150         (clog10_test): Likewise.
48151         * sysdeps/i386/fpu/libm-test-ulps: Update.
48152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48154 2014-04-02  Alan Modra  <amodra@gmail.com>
48156         [BZ #16739]
48157         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
48158         output when value is near a power of two.  Use int64_t for lx and
48159         remove casts.  Use decimal rather than hex exponent constants.
48160         Don't use long double multiplication when double will suffice.
48161         * math/libm-test.inc (nextafter_test_data): Add tests.
48162         * NEWS: Add 16739 and 16786 to bug list.
48164         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
48166         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
48168 2014-04-01  Will Newton  <will.newton@linaro.org>
48170         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
48171         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
48173 2014-04-01  Florian Weimer  <fweimer@redhat.com>
48175         [BZ #13347]
48176         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
48177         * nptl/tst-setuid2.c: New file.
48178         * nptl/Makefile (xtests): Add tst-setuid2.
48180 2014-04-01  Alan Modra  <amodra@gmail.com>
48182         [BZ #16786]
48183         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
48185 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
48187         [BZ #6803]
48188         [BZ #6804]
48189         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
48190         set errno as appropriate.
48191         * math/w_scalbf.c (__scalbf): Likewise.
48192         * math/w_scalbl.c (__scalbl): Likewise.
48193         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
48194         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
48195         * math/libm-test.inc (scalb_test_data): Add errno expectations.
48196         Add more NaN tests.
48198         [BZ #16349]
48199         * math/w_atan2.c: Include <errno.h>.
48200         (__atan2): Set errno for result underflowing to zero.
48201         * math/w_atan2f.c: Include <errno.h>.
48202         (__atan2f): Set errno for result underflowing to zero.
48203         * math/w_atan2l.c: Include <errno.h>.
48204         (__atan2l): Set errno for result underflowing to zero.
48205         * math/auto-libm-test-in: Don't allow missing errno for some atan2
48206         tests.
48207         * math/auto-libm-test-out: Regenerated.
48209 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48211         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
48212         Encode instruction correctly in little endian.
48213         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
48214         Likewise.
48215         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
48216         Likewise.
48217         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
48218         Likewise.
48219         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
48220         Likewise.
48222 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
48224         [BZ #9894]
48225         * sysdeps/unix/sysv/linux/kernel-features.h
48226         [__sparc__ && !__arch64__ && !__sparc_v9__]
48227         (__ASSUME_SET_ROBUST_LIST): Do not define.
48228         [__sparc__ && !__arch64__ && !__sparc_v9__]
48229         (__ASSUME_FUTEX_LOCK_PI): Likewise.
48230         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
48231         Likewise.
48232         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48233         (__ASSUME_FUTEX_LOCK_PI): Undefine.
48234         (__ASSUME_REQUEUE_PI): Likewise.
48235         (__ASSUME_SET_ROBUST_LIST): Likewise.
48236         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48237         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
48238         Undefine.
48239         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48240         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
48241         Likewise.
48242         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
48243         Likewise.
48244         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
48245         Likewise.
48246         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48247         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
48248         Undefine.
48249         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
48250         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
48251         Likewise.
48253         [BZ #16648]
48254         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48255         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
48256         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
48258 2014-03-31  Will Newton  <will.newton@linaro.org>
48260         * benchtests/Makefile (bench): Add ffs and ffsll to list
48261         of tests.
48262         * benchtests/ffs-inputs: New file.
48263         * benchtests/ffsll-inputs: Likewise.
48265 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
48267         [BZ #16770]
48268         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
48269         too large before casting to int.
48270         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
48271         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
48272         * math/libm-test.inc (scalb_test_data): Add more tests.
48274 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48276         * benchtests/Makefile (DETAILED_OPT): New make option.
48277         (bench-func): Run benchmark program with -d if DETAILED_OPT is
48278         set.
48279         * benchtests/bench-skeleton.c: Include stdbool.h.
48280         (main): Store and print timings per input.
48281         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
48282         member to each argument value.
48283         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
48284         (_print_arg_data): Initialize per-input timing to 0.
48286         * benchtests/Makefile (timing-type): New binary.
48287         (bench-clean): Also remove bench-timing-type.
48288         (bench): New target for timing-type.
48289         (bench-func): Print output in JSON format.
48290         * benchtests/bench-skeleton.c (main): Print output in JSON
48291         format.
48292         * benchtests/bench-timing-type.c: New file.
48293         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
48294         (TIMING_PRINT_STATS): Remove.
48295         * benchtests/scripts/bench.py (_print_arg_data): Store variant
48296         name separately.
48298         * benchtests/bench-modf.c: Remove.
48299         * benchtests/modf-inputs: New inputs file.
48301 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
48303         [BZ #16362]
48304         * math/s_clog10.c (M_PI_LOG10E): New macro.
48305         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
48306         imaginary parts are 0.
48307         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
48308         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
48309         imaginary parts are 0.
48310         * math/s_clog10l.c (M_PI_LOG10El): New macro.
48311         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
48312         imaginary parts are 0.
48313         * math/libm-test.inc (clog10_test_data): Update expected results
48314         for when real and imaginary parts are 0.
48316 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
48318         * elf/dl-load.c: Finish conversion of __builtin_expect into
48319         __glibc_{un}likely.
48321 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
48323         [BZ #16348]
48324         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
48325         1+x for argument with exponent below -67.
48326         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
48327         Likewise.
48328         * math/auto-libm-test-in: Add more tests of exp.
48329         * math/auto-libm-test-out: Regenerated.
48331 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48333         [BZ #16759]
48334         * inet/getnetgrent_r.c (get_nonempty_val): New function.
48335         (nscd_getnetgrent): Use it.
48337         [BZ #16760]
48338         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
48339         of stpcpy.
48341 2014-03-27  Andi Kleen  <ak@linux.intel.com>
48343         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
48344         (lll_robust_lock, lll_cond_lock, lll_timedlock)
48345         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
48346         (lll_robust_unlock): Remove out of line section. Use cfi
48347         intrinsics.
48348         (LLL_STUB_UNWIND_INFO*): Remove.
48349         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
48350         (lll_robust_lock, lll_cond_lock, lll_timedlock)
48351         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
48352         (lll_robust_unlock): Remove out of line section. Use cfi
48353         intrinsics.
48354         (LLL_STUB_UNWIND_INFO*): Remove.
48356 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48358         [BZ #16758]
48359         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
48360         blank values.
48362 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
48364         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
48366 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
48368         [BZ #16198]
48369         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
48370         fnstenv.
48371         * math/test-fenv-preserve.c: New file.
48372         * math/Makefile (tests): Add test-fenv-preserve.
48374 2014-03-26  Will Newton <will.newton@linaro.org>
48376         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
48378 2014-03-25  Roland McGrath  <roland@hack.frob.com>
48380         * scripts/versionlist.awk: Partition the version sets and emit all
48381         GLIBC_* (sorted) before all others (sorted).
48383 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
48385         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
48386         GLIBC_2.2.5 version.
48388 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48390         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
48391         calls.
48393         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
48394         previous change.
48396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48398 2014-03-25  Andreas Schwab  <schwab@suse.de>
48400         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
48401         label to be used after in6ailist is initialized.
48403 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48405         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
48406         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
48408 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
48410         [BZ #16357]
48411         [BZ #16599]
48412         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
48413         min_plus_half.
48414         (fp_formats): Update initializers.
48415         (init_fp_formats): Initialize new field.
48416         (output_for_one_input_case): Allow underflow for results up to
48417         min_plus_half.
48418         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
48419         * math/auto-libm-test-in: Don't mark some underflows from asin and
48420         atanh as spurious.
48421         * math/auto-libm-test-out: Regenerated.
48422         * sysdeps/i386/fpu/libm-test-ulps: Update.
48423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48425 2014-03-25  Andreas Schwab  <schwab@suse.de>
48427         * libio/Makefile (tst-ftell-partial-wide-ENV)
48428         (tst-ftell-active-handler-ENV): Define.
48430 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
48432         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
48434 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
48436         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
48438 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
48440         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
48441         * sysdeps/x86_64/fpu/multiarch/e_exp.c
48442         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
48444 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
48446         [BZ #16634]
48447         * elf/dl-load.c (open_verify): Add mode parameter.
48448         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
48449         (open_path): Change from boolean 'secure' to complete flag 'mode'
48450         (_dl_map_object): Adjust.
48451         * elf/Makefile (tests): Add tst-dlopen-aout.
48452         * elf/tst-dlopen-aout.c: New test.
48454 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
48456         [BZ #16714]
48457         * sysdeps/unix/sysv/linux/s390/bits/stat.h
48458         (struct stat): Rename member pad0 to __glibc_reserved0.
48460         [BZ #16712]
48461         * sysdeps/s390/s390-32/bits/wordsize.h
48462         (__WORDSIZE32_SIZE_ULONG): New define.
48463         * sysdeps/s390/s390-64/bits/wordsize.h
48464         (__WORDSIZE32_SIZE_ULONG): Likewise.
48465         * sysdeps/generic/stdint.h (SIZE_MAX):
48466         Define as UL if __WORDSIZE32_SIZE_ULONG.
48468         [BZ #16713]
48469         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
48470         (__glibc_reserved0): New variable.
48471         (sa_flags): Change type to int.
48473         * posix/Makefile (before-compile): Use += before-compile instead
48474         of a :=.
48476         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48477         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
48479 2014-03-20  Andreas Schwab  <schwab@suse.de>
48481         [BZ #16743]
48482         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
48483         non-matching result from nscd.
48485 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48487         * scripts/bench.py: Moved to ...
48488         * benchtests/scripts/bench.py: ... here.
48489         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
48491 2014-03-24  Andreas Schwab  <schwab@suse.de>
48493         [BZ #16002]
48494         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
48495         alloca_account and account alloca use for struct in6ailist.
48497 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
48499         [BZ #16284]
48500         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
48501         rounding mode to recompute results that overflow to infinity or
48502         underflow to zero.
48503         * math/auto-libm-test-in: Don't mark tests as expected to fail for
48504         bug 16284.
48505         * math/auto-libm-test-out: Regenerated.
48506         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
48507         (ccosh_test): Likewise.
48508         (csin_test_data): Use plus_oflow.
48509         (csin_test): Use ALL_RM_TEST.
48510         (csinh_test_data): Use plus_oflow.
48511         (csinh_test): Use ALL_RM_TEST.
48512         * sysdeps/i386/fpu/libm-test-ulps: Update.
48513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48515 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
48517         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
48518         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
48519         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
48521         [BZ #16731]
48522         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
48523         when x - 1 is zero.
48524         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
48525         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
48526         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
48527         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
48528         argument is 1.
48529         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
48530         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
48531         zero.
48532         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
48533         * sysdeps/i386/fpu/libm-test-ulps: Update.
48534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48536 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48538         * scripts/bench.pl: Remove file.
48539         * scripts/bench.py: New benchmark script.
48540         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
48541         * benchtests/README: Mention python dependency.
48542         * scripts/pylintrc: New file.
48543         * scripts/pylint: New file.
48545         * bits/mathdef.h: Use #ifdef instead of #if.
48546         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
48547         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48548         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
48549         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48550         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
48551         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48553 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48554             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48556         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
48557         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
48558         and strpbrk-ppc64 objects.
48559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48560         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
48561         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
48562         multiarch strpbrk for POWER7.
48563         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
48564         multiarch strpbrk for PPC64.
48565         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
48566         ifunc selector.
48567         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
48568         strpbrk for POWER7.
48570 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48572         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
48573         (atan_test): Likewise.
48574         (atanh_test_data): Use NO_TEST_INLINE for two tests.
48575         (atanh_test): Use ALL_RM_TEST.
48576         (atan2_test_data): Likewise.
48577         (cabs_test): Likewise.
48578         (cacosh_test): Likewise.
48579         (carg_test): Likewise.
48580         (casin_test): Likewise.
48581         (casinh_test): Likewise.
48582         (cbrt_test): Likewise.
48583         (csqrt_test): Likewise.
48584         (erf_test): Likewise.
48585         (erfc_test): Likewise.
48586         (pow10_test): Likewise.
48587         (exp2_test): Likewise.
48588         (hypot_test): Likewise.
48589         (j0_test): Likewise.
48590         (j1_test): Likewise.
48591         (lgamma_test): Likewise.
48592         (gamma_test): Likewise.
48593         (sincos_test): Likewise.
48594         (tanh_test): Likewise.
48595         (y0_test): Likewise.
48596         (y1_test): Likewise.
48597         * sysdeps/i386/fpu/libm-test-ulps: Update.
48598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48600 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48602         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
48603         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
48604         and strcspn-ppc64 objects.
48605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48606         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
48607         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
48608         multiarch strcspn for POWER7.
48609         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
48610         multiarch strcspn for PPC64.
48611         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
48612         ifunc selector.
48613         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
48614         strcspn for POWER7.
48616 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48618         * math/gen-libm-test.pl (generate_testfile): Expect only function
48619         name as argument to AUTO_TESTS_* and pass results for all rounding
48620         modes to parse_args.
48621         (parse_auto_input): Separate inputs of automatic tests from
48622         outputs before storing in %auto_tests.
48623         * math/libm-test.inc (acos_test_data): Update call to
48624         AUTO_TESTS_f_f.
48625         (acos_test): Use ALL_RM_TEST.
48626         (acos_tonearest_test_data): Remove.
48627         (acos_test_tonearest): Likewise.
48628         (acos_towardzero_test_data): Likewise.
48629         (acos_test_towardzero): Likewise.
48630         (acos_downward_test_data): Likewise.
48631         (acos_test_downward): Likewise.
48632         (acos_upward_test_data): Likewise.
48633         (acos_test_upward): Likewise.
48634         (acosh_test_data): Update call to AUTO_TESTS_f_f.
48635         (asin_test_data): Likewise.
48636         (asin_test): Use ALL_RM_TEST.
48637         (asin_tonearest_test_data): Remove.
48638         (asin_test_tonearest): Likewise.
48639         (asin_towardzero_test_data): Likewise.
48640         (asin_test_towardzero): Likewise.
48641         (asin_downward_test_data): Likewise.
48642         (asin_test_downward): Likewise.
48643         (asin_upward_test_data): Likewise.
48644         (asin_test_upward): Likewise.
48645         (asinh_test_data): Update call to AUTO_TESTS_f_f.
48646         (atan_test_data): Likewise.
48647         (atanh_test_data): Likewise.
48648         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
48649         (cabs_test_data): Update call to AUTO_TESTS_c_f.
48650         (carg_test_data): Likewise.
48651         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
48652         (ccos_test_data): Update call to AUTO_TESTS_c_c.
48653         (ccosh_test_data): Likewise.
48654         (cexp_test_data): Likewise.
48655         (clog_test_data): Likewise.
48656         (clog10_test_data): Likewise.
48657         (cos_test_data): Update call to AUTO_TESTS_f_f.
48658         (cos_test): Use ALL_RM_TEST.
48659         (cos_tonearest_test_data): Remove.
48660         (cos_test_tonearest): Likewise.
48661         (cos_towardzero_test_data): Likewise.
48662         (cos_test_towardzero): Likewise.
48663         (cos_downward_test_data): Likewise.
48664         (cos_test_downward): Likewise.
48665         (cos_upward_test_data): Likewise.
48666         (cos_test_upward): Likewise.
48667         (cosh_test_data): Update call to AUTO_TESTS_f_f.
48668         (cosh_test): Use ALL_RM_TEST.
48669         (cosh_tonearest_test_data): Remove.
48670         (cosh_test_tonearest): Likewise.
48671         (cosh_towardzero_test_data): Likewise.
48672         (cosh_test_towardzero): Likewise.
48673         (cosh_downward_test_data): Likewise.
48674         (cosh_test_downward): Likewise.
48675         (cosh_upward_test_data): Likewise.
48676         (cosh_test_upward): Likewise.
48677         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
48678         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
48679         (ctan_test_data): Likewise.
48680         (ctan_test): Use ALL_RM_TEST.
48681         (ctan_tonearest_test_data): Remove.
48682         (ctan_test_tonearest): Likewise.
48683         (ctan_towardzero_test_data): Likewise.
48684         (ctan_test_towardzero): Likewise.
48685         (ctan_downward_test_data): Likewise.
48686         (ctan_test_downward): Likewise.
48687         (ctan_upward_test_data): Likewise.
48688         (ctan_test_upward): Likewise.
48689         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
48690         (ctanh_test): Use ALL_RM_TEST.
48691         (ctanh_tonearest_test_data): Remove.
48692         (ctanh_test_tonearest): Likewise.
48693         (ctanh_towardzero_test_data): Likewise.
48694         (ctanh_test_towardzero): Likewise.
48695         (ctanh_downward_test_data): Likewise.
48696         (ctanh_test_downward): Likewise.
48697         (ctanh_upward_test_data): Likewise.
48698         (ctanh_test_upward): Likewise.
48699         (erf_test_data): Update call to AUTO_TESTS_f_f.
48700         (erfc_test_data): Likewise.
48701         (exp_test_data): Likewise.
48702         (exp_test): Use ALL_RM_TEST.
48703         (exp_tonearest_test_data): Remove.
48704         (exp_test_tonearest): Likewise.
48705         (exp_towardzero_test_data): Likewise.
48706         (exp_test_towardzero): Likewise.
48707         (exp_downward_test_data): Likewise.
48708         (exp_test_downward): Likewise.
48709         (exp_upward_test_data): Likewise.
48710         (exp_test_upward): Likewise.
48711         (exp10_test_data): Update call to AUTO_TESTS_f_f.
48712         (exp10_test): Use ALL_RM_TEST.
48713         (exp10_tonearest_test_data): Remove.
48714         (exp10_test_tonearest): Likewise.
48715         (exp10_towardzero_test_data): Likewise.
48716         (exp10_test_towardzero): Likewise.
48717         (exp10_downward_test_data): Likewise.
48718         (exp10_test_downward): Likewise.
48719         (exp10_upward_test_data): Likewise.
48720         (exp10_test_upward): Likewise.
48721         (exp2_test_data): Update call to AUTO_TESTS_f_f.
48722         (expm1_test_data): Likewise.
48723         (expm1_test): Use ALL_RM_TEST.
48724         (expm1_tonearest_test_data): Remove.
48725         (expm1_test_tonearest): Likewise.
48726         (expm1_towardzero_test_data): Likewise.
48727         (expm1_test_towardzero): Likewise.
48728         (expm1_downward_test_data): Likewise.
48729         (expm1_test_downward): Likewise.
48730         (expm1_upward_test_data): Likewise.
48731         (expm1_test_upward): Likewise.
48732         (fma_test_data): Update call to AUTO_TESTS_fff_f.
48733         (fma_test): Use ALL_RM_TEST.
48734         (fma_towardzero_test_data): Remove.
48735         (fma_test_towardzero): Likewise.
48736         (fma_downward_test_data): Likewise.
48737         (fma_test_downward): Likewise.
48738         (fma_upward_test_data): Likewise.
48739         (fma_test_upward): Likewise.
48740         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
48741         (j0_test_data): Update call to AUTO_TESTS_f_f.
48742         (j1_test_data): Likewise.
48743         (jn_test_data): Update call to AUTO_TESTS_if_f.
48744         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
48745         (log_test_data): Update call to AUTO_TESTS_f_f.
48746         (log10_test_data): Likewise.
48747         (log1p_test_data): Likewise.
48748         (log2_test_data): Likewise.
48749         (pow_test_data): Update call to AUTO_TESTS_ff_f.
48750         (pow_tonearest_test_data): Likewise.
48751         (sin_test_data): Update call to AUTO_TESTS_f_f.
48752         (sin_test): Use ALL_RM_TEST.
48753         (sin_tonearest_test_data): Remove.
48754         (sin_test_tonearest): Likewise.
48755         (sin_towardzero_test_data): Likewise.
48756         (sin_test_towardzero): Likewise.
48757         (sin_downward_test_data): Likewise.
48758         (sin_test_downward): Likewise.
48759         (sin_upward_test_data): Likewise.
48760         (sin_test_upward): Likewise.
48761         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
48762         (sinh_test_data): Update call to AUTO_TESTS_f_f.
48763         (sinh_test): Use ALL_RM_TEST.
48764         (sinh_tonearest_test_data): Remove.
48765         (sinh_test_tonearest): Likewise.
48766         (sinh_towardzero_test_data): Likewise.
48767         (sinh_test_towardzero): Likewise.
48768         (sinh_downward_test_data): Likewise.
48769         (sinh_test_downward): Likewise.
48770         (sinh_upward_test_data): Likewise.
48771         (sinh_test_upward): Likewise.
48772         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
48773         (sqrt_test): Use ALL_RM_TEST.
48774         (sqrt_tonearest_test_data): Remove.
48775         (sqrt_test_tonearest): Likewise.
48776         (sqrt_towardzero_test_data): Likewise.
48777         (sqrt_test_towardzero): Likewise.
48778         (sqrt_downward_test_data): Likewise.
48779         (sqrt_test_downward): Likewise.
48780         (sqrt_upward_test_data): Likewise.
48781         (sqrt_test_upward): Likewise.
48782         (tan_test_data): Update call to AUTO_TESTS_f_f.
48783         (tan_test): Use ALL_RM_TEST.
48784         (tan_tonearest_test_data): Remove.
48785         (tan_test_tonearest): Likewise.
48786         (tan_towardzero_test_data): Likewise.
48787         (tan_test_towardzero): Likewise.
48788         (tan_downward_test_data): Likewise.
48789         (tan_test_downward): Likewise.
48790         (tan_upward_test_data): Likewise.
48791         (tan_test_upward): Likewise.
48792         (tanh_test_data): Update call to AUTO_TESTS_f_f.
48793         (tgamma_test_data): Likewise.
48794         (y0_test_data): Likewise.
48795         (y1_test_data): Likewise.
48796         (yn_test_data): Update call to AUTO_TESTS_if_f.
48797         (main): Do not call removed functions.
48799 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48801         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
48802         (ldexp_test_data): Remove.
48803         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
48804         scalbn_test_data.
48805         (scalb_test): Use ALL_RM_TEST.
48807 2014-03-19  Andreas Schwab  <schwab@suse.de>
48809         * nscd/nscd.service: Also invalidate netgroup cache on reload.
48811 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48813         [BZ #16649]
48814         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48815         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
48816         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
48817         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48818         (__ASSUME_PREADV): Undefine.
48819         (__ASSUME_PWRITEV): Likewise.
48821 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48823         * bits/mman-linux.h: Add comment about non-Linux use.
48824         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
48825         bits/mman-linux.h resting place.
48827         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
48828         * bits/mman-linux.h: ... here.
48830 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48832         * conform/conformtest.pl: Add standard definition when calling C
48833         preprocessor on data files.
48834         (checknamespace): Remove unused variable.
48836 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48838         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
48839         minus_oflow, plus_uflow and minus_uflow in expected results.
48840         * math/libm-test.inc (scalbn_test_data): Add more tests of
48841         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
48842         minus_uflow.
48843         (scalbn_test): Use ALL_RM_TEST.
48844         (scalbln_test_data): Add more tests of negative arguments.  Use
48845         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
48846         (scalbln_test): Use ALL_RM_TEST.
48848 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48850         * scripts/abilist.awk: Ignore symbols marked with .hidden.
48852 2014-03-18  Will Newton  <will.newton@linaro.org>
48854         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
48855         inaccurate comment.
48857 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48859         * Makerules [!subdir] (check-abi): Exit with error status if a
48860         test failed.
48862 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
48864         * math/libm-test.inc (nearbyint_test_data): Include all tests used
48865         for rint.  Include results for all rounding modes.
48866         (nearbyint_test): Use ALL_RM_TEST.
48867         (rint_test_data): Include all tests used for nearbyint.
48869 2014-03-17  Will Newton  <will.newton@linaro.org>
48871         * nptl/sysdeps/pthread/pthread.h: Revert previous
48872         change.
48874         * sysdeps/generic/ldsodefs.h: Revert previous
48875         change.
48877         * libio/genops.c: Revert previous change.
48878         * libio/libioP.h: Likewise.
48879         * stdio-common/vfprintf.c: Likewise.
48881         * sysdeps/generic/math_private.h: Revert previous
48882         change.
48884         * sysdeps/generic/math_private.h: Check whether
48885         HAVE_RM_CTX is defined with #ifdef rather
48886         than #if.
48888         * argp/argp-fmtstream.h: Check whether
48889         __STRICT_ANSI__ is defined with #ifdef rather
48890         than #if.
48891         * argp/argp.h: Likewise.
48893         * libio/genops.c: Check whether
48894         _IO_JUMPS_OFFSET is defined with #ifdef rather
48895         than #if.
48896         * libio/libioP.h: Likewise.
48897         * stdio-common/vfprintf.c: Likewise.
48899         * sysdeps/generic/ldsodefs.h: Check whether
48900         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
48901         than #if.
48903         * nptl/sysdeps/pthread/pthread.h: Check
48904         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
48905         its value.
48907 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48909         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
48910         setting O_APPEND.
48911         * libio/tst-ftell-active-handler.c (do_append_test): Add a
48912         test case.
48914         [BZ #16680]
48915         * libio/fileops.c (_IO_file_open): Seek to end of file but
48916         don't cache the offset.
48917         (get_file_offset): Remove function.
48918         (do_ftell): Use cached offset when available.
48919         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
48920         don't cache the offset.
48921         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
48922         case.
48923         (do_one_test): Call it.
48924         (do_ftell_test): Fix up expected old offset for a+ mode.
48925         * libio/wfileops.c (do_ftell_wide): Used cached offset when
48926         available.
48928         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
48929         up test status with function return status.
48930         (do_write_test): Likewise.
48931         (do_append_test): Likewise.
48933         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
48934         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
48935         Remove.
48937 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
48939         * math/gen-libm-test.pl (parse_args): Handle results specified for
48940         each rounding mode separately.
48941         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
48942         tests and results from lrint_tonearest_test_data,
48943         lrint_towardzero_test_data, lrint_downward_test_data and
48944         lrint_upward_test_data.
48945         (lrint_test): Use ALL_RM_TEST.
48946         (lrint_tonearest_test_data): Remove.
48947         (lrint_test_tonearest): Likewise.
48948         (lrint_towardzero_test_data): Likewise.
48949         (lrint_test_towardzero): Likewise.
48950         (lrint_downward_test_data): Likewise.
48951         (lrint_test_downward): Likewise.
48952         (lrint_upward_test_data): Likewise.
48953         (lrint_test_upward): Likewise.
48954         (llrint_test_data): Merge in per-rounding-mode tests and results
48955         from llrint_tonearest_test_data, llrint_towardzero_test_data,
48956         llrint_downward_test_data and llrint_upward_test_data.
48957         (llrint_test): Use ALL_RM_TEST.
48958         (llrint_tonearest_test_data): Remove.
48959         (llrint_test_tonearest): Likewise.
48960         (llrint_towardzero_test_data): Likewise.
48961         (llrint_test_towardzero): Likewise.
48962         (llrint_downward_test_data): Likewise.
48963         (llrint_test_downward): Likewise.
48964         (llrint_upward_test_data): Likewise.
48965         (llrint_test_upward): Likewise.
48966         (rint_test_data): Merge in per-rounding-mode tests and results
48967         from rint_tonearest_test_data, rint_towardzero_test_data,
48968         rint_downward_test_data and rint_upward_test_data.  Add
48969         per-rounding-mode results for tests not in those arrays.
48970         (rint_test): Use ALL_RM_TEST.
48971         (rint_tonearest_test_data): Remove.
48972         (rint_test_tonearest): Likewise.
48973         (rint_towardzero_test_data): Likewise.
48974         (rint_test_towardzero): Likewise.
48975         (rint_downward_test_data): Likewise.
48976         (rint_test_downward): Likewise.
48977         (rint_upward_test_data): Likewise.
48978         (rint_test_upward): Likewise.
48979         (main): Don't call removed functions.
48981 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48983         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
48984         "Compiled on ..." crapola.  It is anti-useful.
48986 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
48988         * scripts/evaluate-test.sh: Handle fourth argument to determine
48989         whether test run should stop on failure.
48990         * Makeconfig (stop-on-test-failure): New variable.
48991         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
48992         $(stop-on-test-failure).
48993         * Makefile (tests): Give a summary of results from testing and
48994         exit with failure status if they include an ERROR or FAIL.
48995         (xtests): Likewise.
48996         * manual/install.texi (Configuring and compiling): Mention
48997         stop-on-test-failure=y.
48998         * INSTALL: Regenerated.
49000 2014-03-14  Roland McGrath  <roland@hack.frob.com>
49002         * scripts/versionlist.awk: New file.
49003         * Makerules [$(build-shared) = yes]
49004         (postclean-generated): Add Versions.def, not Versions.def.v and
49005         Versions.def.v.i.
49006         ($(common-objpfx)Versions.def.v.i): Target removed.
49007         ($(common-objpfx)Versions.def): New target.
49008         ($(common-objpfx)Versions.all): Depend on that rather that
49009         $(common-objpfx)Versions.def.v.
49010         * Versions.def: File removed.
49012         * Makeconfig (+gccwarn): Add -Wundef.
49013         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
49014         a dl-sysdep.h breaking its contract.
49015         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
49016         * include/stackinfo.h: New file.
49017         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
49018         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
49019         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
49020         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
49021         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
49022         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
49023         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49024         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49025         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49026         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49027         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49028         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
49029         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49030         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49031         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49033 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49035         [BZ #16707]
49036         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
49037         implementation.
49038         * math/libm-test.inc (round_test_data): Add more tests.
49040         [BZ #16706]
49041         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
49042         implementation.
49043         * math/libm-test.inc (nearbyint_test_data): Add more tests.
49045         [BZ #16701]
49046         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
49047         implementation.
49048         * math/libm-test.inc (ceil_test_data): Add more tests.
49050         * math/libm-test.inc (trunc_test_data): Add more tests related to
49051         BZ#16414.
49053 2014-03-14  Roland McGrath  <roland@hack.frob.com>
49055         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
49056         with #if rather than #ifdef.
49057         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
49059 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
49061         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
49062         first.  Disable AVX-512 GCC support if assembler doesn't support
49063         it.
49064         * sysdeps/x86_64/configure: Regenerated.
49066 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
49068         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
49069         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
49070         (__old_pthread_attr_setstack): Likewise.
49071         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
49072         [!_STACK_GROWS_DOWN]: Likewise.
49074 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
49076         * config.make.in (have-bash2): Delete.
49077         * configure.ac (libc_cv_have_bash2): Delete.
49078         * configure: Regenerate.
49079         * elf/Makefile (common-ldd-rewrite): Rename to ...
49080         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
49081         (sh-ldd-rewrite): Delete.
49082         (bash-ldd-rewrite): Delete.
49083         (have-bash2): Delete checks.
49084         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
49085         ldd-rewrite.
49087         * config.make.in (have-ksh): Delete.
49088         (KSH): Delete.
49089         * configure.ac (libc_cv_have_ksh): Delete.
49090         * configure: Regenerate.
49092         * elf/Makefile: Delete $(have-ksh) check.
49093         ($(objpfx)sotruss): Change KSH to BASH.
49094         * elf/sotruss.ksh: Rename to ...
49095         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
49096         function style to match POSIX.  Drop ksh vim mode setting.
49098         * manual/time.texi (Specifying the Time Zone with TZ): Change
49099         Tuesday to Thursday.
49101         * debug/tst-longjmp_chk2.c: Update header comment.
49102         (stackoverflow_handler): Add comment.  Call assert on pass value.
49104 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
49106         [BZ #16194]
49107         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
49108         (HAVE_AVX512_ASM_SUPPORT): Likewise.
49109         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
49110         (La_x86_64_vector): Add zmm.
49111         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
49112         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
49113         ($(objpfx)tst-audit10): New target.
49114         ($(objpfx)tst-audit10.out): Likewise.
49115         (tst-audit10-ENV): New.
49116         (AVX512-CFLAGS): Likewise.
49117         (CFLAGS-tst-audit10.c): Likewise.
49118         (CFLAGS-tst-auditmod10a.c): Likewise.
49119         (CFLAGS-tst-auditmod10b.c): Likewise.
49120         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
49121         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
49122         * sysdeps/x86_64/configure: Regenerated.
49123         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
49124         AVX-512 zmm register support.
49125         (_dl_x86_64_save_sse): Likewise.
49126         (_dl_x86_64_restore_sse): Likewise.
49127         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
49128         size vector registers.
49129         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
49130         (ZMM_SIZE): Likewise.
49131         * sysdeps/x86_64/tst-audit10.c: New file.
49132         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
49133         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
49135 2014-03-13  Roland McGrath  <roland@hack.frob.com>
49137         * configure.ac (HAVE_EHDR_START): New check.
49138         * configure: Regenerated.
49139         * config.h.in (HAVE_EHDR_START): New #undef.
49140         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
49141         assuming the lowest-addressed segment maps the start of the file.
49143 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
49145         * INSTALL: Regenerated.
49147 2014-03-13  Will Newton  <will.newton@linaro.org>
49149         * manual/setjmp.texi (System V contexts): Improve
49150         clarity and grammar of documentation.
49152 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
49154         [BZ #16381]
49155         * elf/Makefile (tests): Add tst-pie2.
49156         (tests-pie): Add tst-pie2.
49157         * elf/tst-pie2.c: New file.
49158         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
49159         for ET_EXEC.
49160         * elf/rtld.c (map_doit): Load executable as lt_executable.
49161         (dl_main): Likewise.
49163 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
49165         [BZ #16642]
49166         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49167         (__ASSUME_PSELECT): Undefine.
49169 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49171         [BZ #16689]
49172         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
49173         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
49174         static build.
49175         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
49176         selector for static builds.
49178 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49180         [BZ #16695]
49181         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
49182         key in the buffer.
49184 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49186         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
49187         IFUNC selector for static builds.
49189 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
49191         * sysdeps/mips/math_private.h [__mips_hard_float]
49192         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
49193         libc_feresetround_mips_ctx.
49194         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
49195         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
49196         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
49198         [BZ #16677]
49199         * math/s_nextafter.c (__nextafter): Do not return value from
49200         overflowing computation.
49201         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
49202         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
49203         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
49204         Likewise.
49205         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
49206         Likewise.
49207         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
49208         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
49210 2014-03-11  Roland McGrath  <roland@hack.frob.com>
49212         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
49213         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
49214         Move sfi_sp use from the load-multiple (that no longer sets sp) to
49215         the new mov targetting sp.
49217 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49219         [BZ #16683]
49220         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
49221         Define it for static builds as well.
49222         (NO_BZERO_IMPL): Likewise.
49224 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49226         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
49227         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
49228         multiarch strspn for PPC64.
49229         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
49230         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
49231         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49232         (__libc_ifunc_impl_list): Likewise.
49233         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
49234         multiarch optimizations
49235         * string/strspn.c (strspn): Using macro to redefine symbol name.
49237 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49238             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49240         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
49241         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
49242         multiarch strncat for PPC64.
49243         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
49244         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
49245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49246         (__libc_ifunc_impl_list): Likewise.
49247         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
49248         multiarch optimizations
49250 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49252         [BZ #16639]
49253         * nscd/nscd.service: Make service type forking.
49255 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49257         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
49258         sign in non default rounding modes.
49259         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
49261 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
49263         * math/libm-test.inc (ALL_RM_TEST): New macro.
49264         (ceil_test): Use ALL_RM_TEST.
49265         (cimag_test): Likewise.
49266         (conj_test): Likewise.
49267         (copysign_test): Likewise.
49268         (cproj_test): Likewise.
49269         (creal_test): Likewise.
49270         (fabs_test): Likewise.
49271         (floor_test): Likewise.
49272         (fmax_test): Likewise.
49273         (fmin_test): Likewise.
49274         (fmod_test): Likewise.
49275         (fpclassify_test): Likewise.
49276         (frexp_test): Likewise.
49277         (ilogb_test): Likewise.
49278         (isfinite_test): Likewise.
49279         (finite_test): Likewise.
49280         (isgreater_test): Likewise.
49281         (isgreaterequal_test): Likewise.
49282         (isinf_test): Likewise.
49283         (isless_test): Likewise.
49284         (islessequal_test): Likewise.
49285         (islessgreater_test): Likewise.
49286         (isnan_test): Likewise.
49287         (isnormal_test): Likewise.
49288         (issignaling_test): Likewise.
49289         (isunordered_test): Likewise.
49290         (logb_test): Likewise.
49291         (logb_downward_test_data): Remove.
49292         (logb_test_downward): Likewise.
49293         (lround_test): Use ALL_RM_TEST.
49294         (llround_test): Likewise.
49295         (modf_test): Likewise.
49296         (nexttoward_test): Likewise.
49297         (remainder_test): Likewise.
49298         (drem_test): Likewise.
49299         (remainder_tonearest_test_data): Likewise.
49300         (remainder_test_tonearest): Likewise.
49301         (drem_test_tonearest): Likewise.
49302         (remainder_towardzero_test_data): Likewise.
49303         (remainder_test_towardzero): Likewise.
49304         (drem_test_towardzero): Likewise.
49305         (remainder_downward_test_data): Likewise.
49306         (remainder_test_downward): Likewise.
49307         (drem_test_downward): Likewise.
49308         (remainder_upward_test_data): Likewise.
49309         (remainder_test_upward): Likewise.
49310         (drem_test_upward): Likewise.
49311         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
49312         (round_test): Use ALL_RM_TEST.
49313         (signbit_test): Likewise.
49314         (trunc_test): Likewise.
49315         (significand_test): Likewise.
49316         (main): Don't call removed functions.
49318 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
49320         [BZ #16674]
49321         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
49322         || __USE_XOPEN2K8].
49323         (ILL_ILLOPN): Likewise.
49324         (ILL_ILLADR): Likewise.
49325         (ILL_ILLTRP): Likewise.
49326         (ILL_PRVOPC): Likewise.
49327         (ILL_PRVREG): Likewise.
49328         (ILL_COPROC): Likewise.
49329         (ILL_BADSTK): Likewise.
49330         (FPE_INTDIV): Likewise.
49331         (FPE_INTOVF): Likewise.
49332         (FPE_FLTDIV): Likewise.
49333         (FPE_FLTOVF): Likewise.
49334         (FPE_FLTUND): Likewise.
49335         (FPE_FLTRES): Likewise.
49336         (FPE_FLTINV): Likewise.
49337         (FPE_FLTSUB): Likewise.
49338         (SEGV_MAPERR): Likewise.
49339         (SEGV_ACCERR): Likewise.
49340         (BUS_ADRALN): Likewise.
49341         (BUS_ADRERR): Likewise.
49342         (BUS_OBJERR): Likewise.
49343         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49344         (TRAP_TRACE): Likewise.
49345         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49346         __USE_XOPEN2K8].
49347         (CLD_KILLED): Likewise.
49348         (CLD_DUMPED): Likewise.
49349         (CLD_TRAPPED): Likewise.
49350         (CLD_STOPPED): Likewise.
49351         (CLD_CONTINUED): Likewise.
49352         (POLL_IN): Likewise.
49353         (POLL_OUT): Likewise.
49354         (POLL_MSG): Likewise.
49355         (POLL_ERR): Likewise.
49356         (POLL_PRI): Likewise.
49357         (POLL_HUP): Likewise.
49358         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
49359         Likewise.
49360         (ILL_ILLOPN): Likewise.
49361         (ILL_ILLADR): Likewise.
49362         (ILL_ILLTRP): Likewise.
49363         (ILL_PRVOPC): Likewise.
49364         (ILL_PRVREG): Likewise.
49365         (ILL_COPROC): Likewise.
49366         (ILL_BADSTK): Likewise.
49367         (FPE_INTDIV): Likewise.
49368         (FPE_INTOVF): Likewise.
49369         (FPE_FLTDIV): Likewise.
49370         (FPE_FLTOVF): Likewise.
49371         (FPE_FLTUND): Likewise.
49372         (FPE_FLTRES): Likewise.
49373         (FPE_FLTINV): Likewise.
49374         (FPE_FLTSUB): Likewise.
49375         (SEGV_MAPERR): Likewise.
49376         (SEGV_ACCERR): Likewise.
49377         (BUS_ADRALN): Likewise.
49378         (BUS_ADRERR): Likewise.
49379         (BUS_OBJERR): Likewise.
49380         (BUS_MCEERR_AR): Likewise.
49381         (BUS_MCEERR_AO): Likewise.
49382         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49383         (TRAP_TRACE): Likewise.
49384         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49385         __USE_XOPEN2K8].
49386         (CLD_KILLED): Likewise.
49387         (CLD_DUMPED): Likewise.
49388         (CLD_TRAPPED): Likewise.
49389         (CLD_STOPPED): Likewise.
49390         (CLD_CONTINUED): Likewise.
49391         (POLL_IN): Likewise.
49392         (POLL_OUT): Likewise.
49393         (POLL_MSG): Likewise.
49394         (POLL_ERR): Likewise.
49395         (POLL_PRI): Likewise.
49396         (POLL_HUP): Likewise.
49397         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
49398         (ILL_ILLOPN): Likewise.
49399         (ILL_ILLADR): Likewise.
49400         (ILL_ILLTRP): Likewise.
49401         (ILL_PRVOPC): Likewise.
49402         (ILL_PRVREG): Likewise.
49403         (ILL_COPROC): Likewise.
49404         (ILL_BADSTK): Likewise.
49405         (FPE_INTDIV): Likewise.
49406         (FPE_INTOVF): Likewise.
49407         (FPE_FLTDIV): Likewise.
49408         (FPE_FLTOVF): Likewise.
49409         (FPE_FLTUND): Likewise.
49410         (FPE_FLTRES): Likewise.
49411         (FPE_FLTINV): Likewise.
49412         (FPE_FLTSUB): Likewise.
49413         (SEGV_MAPERR): Likewise.
49414         (SEGV_ACCERR): Likewise.
49415         (BUS_ADRALN): Likewise.
49416         (BUS_ADRERR): Likewise.
49417         (BUS_OBJERR): Likewise.
49418         (BUS_MCEERR_AR): Likewise.
49419         (BUS_MCEERR_AO): Likewise.
49420         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49421         (TRAP_TRACE): Likewise.
49422         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49423         __USE_XOPEN2K8].
49424         (CLD_KILLED): Likewise.
49425         (CLD_DUMPED): Likewise.
49426         (CLD_TRAPPED): Likewise.
49427         (CLD_STOPPED): Likewise.
49428         (CLD_CONTINUED): Likewise.
49429         (POLL_IN): Likewise.
49430         (POLL_OUT): Likewise.
49431         (POLL_MSG): Likewise.
49432         (POLL_ERR): Likewise.
49433         (POLL_PRI): Likewise.
49434         (POLL_HUP): Likewise.
49435         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
49436         Likewise.
49437         (ILL_ILLOPN): Likewise.
49438         (ILL_ILLADR): Likewise.
49439         (ILL_ILLTRP): Likewise.
49440         (ILL_PRVOPC): Likewise.
49441         (ILL_PRVREG): Likewise.
49442         (ILL_COPROC): Likewise.
49443         (ILL_BADSTK): Likewise.
49444         (ILL_BADIADDR): Likewise.
49445         (ILL_BREAK): Likewise.
49446         (FPE_INTDIV): Likewise.
49447         (FPE_INTOVF): Likewise.
49448         (FPE_FLTDIV): Likewise.
49449         (FPE_FLTOVF): Likewise.
49450         (FPE_FLTUND): Likewise.
49451         (FPE_FLTRES): Likewise.
49452         (FPE_FLTINV): Likewise.
49453         (FPE_FLTSUB): Likewise.
49454         (FPE_DECOVF): Likewise.
49455         (FPE_DECDIV): Likewise.
49456         (FPE_DECERR): Likewise.
49457         (FPE_INVASC): Likewise.
49458         (FPE_INVDEC): Likewise.
49459         (SEGV_MAPERR): Likewise.
49460         (SEGV_ACCERR): Likewise.
49461         (SEGV_PSTKOVF): Likewise.
49462         (BUS_ADRALN): Likewise.
49463         (BUS_ADRERR): Likewise.
49464         (BUS_OBJERR): Likewise.
49465         (BUS_MCEERR_AR): Likewise.
49466         (BUS_MCEERR_AO): Likewise.
49467         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49468         (TRAP_TRACE): Likewise.
49469         (TRAP_BRANCH): Likewise.
49470         (TRAP_HWBKPT): Likewise.
49471         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49472         __USE_XOPEN2K8].
49473         (CLD_KILLED): Likewise.
49474         (CLD_DUMPED): Likewise.
49475         (CLD_TRAPPED): Likewise.
49476         (CLD_STOPPED): Likewise.
49477         (CLD_CONTINUED): Likewise.
49478         (POLL_IN): Likewise.
49479         (POLL_OUT): Likewise.
49480         (POLL_MSG): Likewise.
49481         (POLL_ERR): Likewise.
49482         (POLL_PRI): Likewise.
49483         (POLL_HUP): Likewise.
49484         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
49485         (ILL_ILLOPN): Likewise.
49486         (ILL_ILLADR): Likewise.
49487         (ILL_ILLTRP): Likewise.
49488         (ILL_PRVOPC): Likewise.
49489         (ILL_PRVREG): Likewise.
49490         (ILL_COPROC): Likewise.
49491         (ILL_BADSTK): Likewise.
49492         (FPE_INTDIV): Likewise.
49493         (FPE_INTOVF): Likewise.
49494         (FPE_FLTDIV): Likewise.
49495         (FPE_FLTOVF): Likewise.
49496         (FPE_FLTUND): Likewise.
49497         (FPE_FLTRES): Likewise.
49498         (FPE_FLTINV): Likewise.
49499         (FPE_FLTSUB): Likewise.
49500         (SEGV_MAPERR): Likewise.
49501         (SEGV_ACCERR): Likewise.
49502         (BUS_ADRALN): Likewise.
49503         (BUS_ADRERR): Likewise.
49504         (BUS_OBJERR): Likewise.
49505         (BUS_MCEERR_AR): Likewise.
49506         (BUS_MCEERR_AO): Likewise.
49507         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49508         (TRAP_TRACE): Likewise.
49509         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49510         __USE_XOPEN2K8].
49511         (CLD_KILLED): Likewise.
49512         (CLD_DUMPED): Likewise.
49513         (CLD_TRAPPED): Likewise.
49514         (CLD_STOPPED): Likewise.
49515         (CLD_CONTINUED): Likewise.
49516         (POLL_IN): Likewise.
49517         (POLL_OUT): Likewise.
49518         (POLL_MSG): Likewise.
49519         (POLL_ERR): Likewise.
49520         (POLL_PRI): Likewise.
49521         (POLL_HUP): Likewise.
49522         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
49523         (ILL_ILLOPN): Likewise.
49524         (ILL_ILLADR): Likewise.
49525         (ILL_ILLTRP): Likewise.
49526         (ILL_PRVOPC): Likewise.
49527         (ILL_PRVREG): Likewise.
49528         (ILL_COPROC): Likewise.
49529         (ILL_BADSTK): Likewise.
49530         (FPE_INTDIV): Likewise.
49531         (FPE_INTOVF): Likewise.
49532         (FPE_FLTDIV): Likewise.
49533         (FPE_FLTOVF): Likewise.
49534         (FPE_FLTUND): Likewise.
49535         (FPE_FLTRES): Likewise.
49536         (FPE_FLTINV): Likewise.
49537         (FPE_FLTSUB): Likewise.
49538         (SEGV_MAPERR): Likewise.
49539         (SEGV_ACCERR): Likewise.
49540         (BUS_ADRALN): Likewise.
49541         (BUS_ADRERR): Likewise.
49542         (BUS_OBJERR): Likewise.
49543         (BUS_MCEERR_AR): Likewise.
49544         (BUS_MCEERR_AO): Likewise.
49545         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49546         (TRAP_TRACE): Likewise.
49547         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49548         __USE_XOPEN2K8].
49549         (CLD_KILLED): Likewise.
49550         (CLD_DUMPED): Likewise.
49551         (CLD_TRAPPED): Likewise.
49552         (CLD_STOPPED): Likewise.
49553         (CLD_CONTINUED): Likewise.
49554         (POLL_IN): Likewise.
49555         (POLL_OUT): Likewise.
49556         (POLL_MSG): Likewise.
49557         (POLL_ERR): Likewise.
49558         (POLL_PRI): Likewise.
49559         (POLL_HUP): Likewise.
49560         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
49561         (ILL_ILLOPN): Likewise.
49562         (ILL_ILLADR): Likewise.
49563         (ILL_ILLTRP): Likewise.
49564         (ILL_PRVOPC): Likewise.
49565         (ILL_PRVREG): Likewise.
49566         (ILL_COPROC): Likewise.
49567         (ILL_BADSTK): Likewise.
49568         (FPE_INTDIV): Likewise.
49569         (FPE_INTOVF): Likewise.
49570         (FPE_FLTDIV): Likewise.
49571         (FPE_FLTOVF): Likewise.
49572         (FPE_FLTUND): Likewise.
49573         (FPE_FLTRES): Likewise.
49574         (FPE_FLTINV): Likewise.
49575         (FPE_FLTSUB): Likewise.
49576         (SEGV_MAPERR): Likewise.
49577         (SEGV_ACCERR): Likewise.
49578         (BUS_ADRALN): Likewise.
49579         (BUS_ADRERR): Likewise.
49580         (BUS_OBJERR): Likewise.
49581         (BUS_MCEERR_AR): Likewise.
49582         (BUS_MCEERR_AO): Likewise.
49583         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49584         (TRAP_TRACE): Likewise.
49585         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49586         __USE_XOPEN2K8].
49587         (CLD_KILLED): Likewise.
49588         (CLD_DUMPED): Likewise.
49589         (CLD_TRAPPED): Likewise.
49590         (CLD_STOPPED): Likewise.
49591         (CLD_CONTINUED): Likewise.
49592         (POLL_IN): Likewise.
49593         (POLL_OUT): Likewise.
49594         (POLL_MSG): Likewise.
49595         (POLL_ERR): Likewise.
49596         (POLL_PRI): Likewise.
49597         (POLL_HUP): Likewise.
49598         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
49599         (ILL_ILLOPN): Likewise.
49600         (ILL_ILLADR): Likewise.
49601         (ILL_ILLTRP): Likewise.
49602         (ILL_PRVOPC): Likewise.
49603         (ILL_PRVREG): Likewise.
49604         (ILL_COPROC): Likewise.
49605         (ILL_BADSTK): Likewise.
49606         (ILL_DBLFLT): Likewise.
49607         (ILL_HARDWALL): Likewise.
49608         (FPE_INTDIV): Likewise.
49609         (FPE_INTOVF): Likewise.
49610         (FPE_FLTDIV): Likewise.
49611         (FPE_FLTOVF): Likewise.
49612         (FPE_FLTUND): Likewise.
49613         (FPE_FLTRES): Likewise.
49614         (FPE_FLTINV): Likewise.
49615         (FPE_FLTSUB): Likewise.
49616         (SEGV_MAPERR): Likewise.
49617         (SEGV_ACCERR): Likewise.
49618         (BUS_ADRALN): Likewise.
49619         (BUS_ADRERR): Likewise.
49620         (BUS_OBJERR): Likewise.
49621         (BUS_MCEERR_AR): Likewise.
49622         (BUS_MCEERR_AO): Likewise.
49623         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49624         (TRAP_TRACE): Likewise.
49625         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49626         __USE_XOPEN2K8].
49627         (CLD_KILLED): Likewise.
49628         (CLD_DUMPED): Likewise.
49629         (CLD_TRAPPED): Likewise.
49630         (CLD_STOPPED): Likewise.
49631         (CLD_CONTINUED): Likewise.
49632         (POLL_IN): Likewise.
49633         (POLL_OUT): Likewise.
49634         (POLL_MSG): Likewise.
49635         (POLL_ERR): Likewise.
49636         (POLL_PRI): Likewise.
49637         (POLL_HUP): Likewise.
49638         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
49639         (ILL_ILLOPN): Likewise.
49640         (ILL_ILLADR): Likewise.
49641         (ILL_ILLTRP): Likewise.
49642         (ILL_PRVOPC): Likewise.
49643         (ILL_PRVREG): Likewise.
49644         (ILL_COPROC): Likewise.
49645         (ILL_BADSTK): Likewise.
49646         (FPE_INTDIV): Likewise.
49647         (FPE_INTOVF): Likewise.
49648         (FPE_FLTDIV): Likewise.
49649         (FPE_FLTOVF): Likewise.
49650         (FPE_FLTUND): Likewise.
49651         (FPE_FLTRES): Likewise.
49652         (FPE_FLTINV): Likewise.
49653         (FPE_FLTSUB): Likewise.
49654         (SEGV_MAPERR): Likewise.
49655         (SEGV_ACCERR): Likewise.
49656         (BUS_ADRALN): Likewise.
49657         (BUS_ADRERR): Likewise.
49658         (BUS_OBJERR): Likewise.
49659         (BUS_MCEERR_AR): Likewise.
49660         (BUS_MCEERR_AO): Likewise.
49661         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49662         (TRAP_TRACE): Likewise.
49663         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49664         __USE_XOPEN2K8].
49665         (CLD_KILLED): Likewise.
49666         (CLD_DUMPED): Likewise.
49667         (CLD_TRAPPED): Likewise.
49668         (CLD_STOPPED): Likewise.
49669         (CLD_CONTINUED): Likewise.
49670         (POLL_IN): Likewise.
49671         (POLL_OUT): Likewise.
49672         (POLL_MSG): Likewise.
49673         (POLL_ERR): Likewise.
49674         (POLL_PRI): Likewise.
49675         (POLL_HUP): Likewise.
49676         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
49677         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49679         [BZ #16670]
49680         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
49681         before #include of <time.h>.
49682         [!__USE_XOPEN2K] (__need_timespec): Likewise.
49683         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
49684         (test-xfail-UNIX98/sched.h/conform): Likewise.
49686 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49688         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
49689         error absence of trapping exception support.
49690         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49692 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
49694         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
49695         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
49696         * timezone/Makefile (testdata): Move definition above include of
49697         Rules.
49698         (test-zones): New variable.
49699         (tests-special): Add zone files.
49700         (build-testdata): Use $(evaluate-test).
49702         * elf/Makefile (tests-special): Rename tests to end with .out.
49703         ($(objpfx)noload-mem): Likewise.
49704         ($(objpfx)tst-leaks1-mem): Likewise.
49705         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
49706         * iconv/Makefile (xtests-special): Change test-iconvconfig to
49707         $(objpfx)test-iconvconfig.out.
49708         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
49709         set -e inside subshell and redirect output to file.
49710         * iconvdata/Makefile (generated): Rename tests to end with .out.
49711         Correct type.
49712         (tests-special): Rename tests to end with .out.
49713         ($(objpfx)mtrace-tst-loading): Likewise.
49714         * intl/Makefile (generated): Likewise.
49715         (tests-special): Likewise.
49716         ($(objpfx)mtrace-tst-gettext): Likewise.
49717         * misc/Makefile (generated): Likewise.
49718         (tests-special): Likewise.
49719         ($(objpfx)tst-error1-mem): Likewise.
49720         * nptl/Makefile (tests-special): Likewise.
49721         ($(objpfx)tst-stack3-mem): Likewise.
49722         (generated): Likewise.
49723         * posix/Makefile (generated): Likewise.
49724         (tests-special): Likewise.
49725         (xtests-special): Likewise.
49726         ($(objpfx)tst-fnmatch-mem): Likewise.
49727         ($(objpfx)bug-regex2-mem): Likewise.
49728         ($(objpfx)bug-regex14-mem): Likewise.
49729         ($(objpfx)bug-regex21-mem): Likewise.
49730         ($(objpfx)bug-regex31-mem): Likewise.
49731         ($(objpfx)tst-vfork3-mem): Likewise.
49732         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49733         ($(objpfx)tst-pcre-mem): Likewise.
49734         ($(objpfx)tst-boost-mem): Likewise.
49735         ($(objpfx)bug-ga2-mem): Likewise.
49736         ($(objpfx)bug-glob2-mem): Likewise.
49737         * resolv/Makefile (generate): Likewise.
49738         (tests-special): Likewise.
49739         (xtests-special): Likewise.
49740         (generated): Likewise.
49741         ($(objpfx)mtrace-tst-leaks): Likewise.
49742         ($(objpfx)mtrace-tst-leaks2): Likewise.
49744         * scripts/merge-test-results.sh: New file.
49745         * Makefile (tests-special-notdir): New variable.
49746         (tests): Run merge-test-results.sh.
49747         (xtests): Likewise.
49748         * Rules (tests-special-notdir): New variable.
49749         (xtests-special-notdir): Likewise.
49750         (tests): Run merge-test-results.sh
49751         (xtests): Likewise.
49753         * Makeconfig (test-xfail-name): New variable.
49754         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
49755         compute variable name for expected failures.
49756         * conform/Makefile (conformtest-headers-data): New variable.
49757         (conformtest-standards): Likewise.
49758         (conformtest-headers-ISO): Likewise.
49759         (conformtest-headers-ISO99): Likewise.
49760         (conformtest-headers-ISO11): Likewise.
49761         (conformtest-headers-POSIX): Likewise.
49762         (conformtest-headers-XPG3): Likewise.
49763         (conformtest-headers-XPG4): Likewise.
49764         (conformtest-headers-UNIX98): Likewise.
49765         (conformtest-headers-XOPEN2K): Likewise.
49766         (conformtest-headers-POSIX2008): Likewise.
49767         (conformtest-headers-XOPEN2K8): Likewise.
49768         (conformtest-header-list-base): Likewise.
49769         (conformtest-header-list-tests): Likewise.
49770         (conformtest-header-base): Likewise.
49771         (conformtest-header-tests): Likewise.
49772         (tests-special): Add $(conformtest-header-list-tests).  If
49773         [$(fast-check) && !$(cross-compiling)], add
49774         $(conformtest-header-tests) instead of
49775         $(objpfx)run-conformtest.out.
49776         (generated): Add $(conformtest-header-list-base).  If
49777         [$(fast-check) && !$(cross-compiling)], add
49778         $(conformtest-header-base).  Remove previous setting.
49779         ($(conformtest-header-list-tests)): New target.
49780         (test-xfail-run-conformtest): Remove variable.
49781         ($(objpfx)run-conformtest.out): Remove target.
49782         (test-xfail-ISO11/complex.h/conform): New variable.
49783         (test-xfail-ISO11/stdalign.h/conform): Likewise.
49784         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
49785         (test-xfail-XPG3/varargs.h/conform): Likewise.
49786         (test-xfail-XPG4/varargs.h/conform): Likewise.
49787         (test-xfail-UNIX98/varargs.h/conform): Likewise.
49788         (test-xfail-XPG4/ndbm.h/conform): Likewise.
49789         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
49790         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
49791         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
49792         (test-xfail-XPG3/fcntl.h/conform): Likewise.
49793         (test-xfail-XPG3/ftw.h/conform): Likewise.
49794         (test-xfail-XPG3/grp.h/conform): Likewise.
49795         (test-xfail-XPG3/langinfo.h/conform): Likewise.
49796         (test-xfail-XPG3/limits.h/conform): Likewise.
49797         (test-xfail-XPG3/pwd.h/conform): Likewise.
49798         (test-xfail-XPG3/search.h/conform): Likewise.
49799         (test-xfail-XPG3/signal.h/conform): Likewise.
49800         (test-xfail-XPG3/stdio.h/conform): Likewise.
49801         (test-xfail-XPG3/stdlib.h/conform): Likewise.
49802         (test-xfail-XPG3/string.h/conform): Likewise.
49803         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
49804         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
49805         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
49806         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
49807         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
49808         (test-xfail-XPG3/sys/types.h/conform): Likewise.
49809         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
49810         (test-xfail-XPG3/termios.h/conform): Likewise.
49811         (test-xfail-XPG3/time.h/conform): Likewise.
49812         (test-xfail-XPG3/unistd.h/conform): Likewise.
49813         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
49814         (test-xfail-XPG4/fcntl.h/conform): Likewise.
49815         (test-xfail-XPG4/langinfo.h/conform): Likewise.
49816         (test-xfail-XPG4/netdb.h/conform): Likewise.
49817         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
49818         (test-xfail-XPG4/signal.h/conform): Likewise.
49819         (test-xfail-XPG4/stdio.h/conform): Likewise.
49820         (test-xfail-XPG4/stdlib.h/conform): Likewise.
49821         (test-xfail-XPG4/stropts.h/conform): Likewise.
49822         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
49823         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
49824         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
49825         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
49826         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
49827         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
49828         (test-xfail-XPG4/sys/time.h/conform): Likewise.
49829         (test-xfail-XPG4/sys/types.h/conform): Likewise.
49830         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
49831         (test-xfail-XPG4/termios.h/conform): Likewise.
49832         (test-xfail-XPG4/ucontext.h/conform): Likewise.
49833         (test-xfail-XPG4/unistd.h/conform): Likewise.
49834         (test-xfail-XPG4/utmpx.h/conform): Likewise.
49835         (test-xfail-POSIX/sched.h/conform): Likewise.
49836         (test-xfail-POSIX/signal.h/conform): Likewise.
49837         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49838         (test-xfail-POSIX/tar.h/conform): Likewise.
49839         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
49840         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
49841         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
49842         (test-xfail-UNIX98/netdb.h/conform): Likewise.
49843         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
49844         (test-xfail-UNIX98/sched.h/conform): Likewise.
49845         (test-xfail-UNIX98/signal.h/conform): Likewise.
49846         (test-xfail-UNIX98/stdio.h/conform): Likewise.
49847         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
49848         (test-xfail-UNIX98/stropts.h/conform): Likewise.
49849         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
49850         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
49851         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
49852         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
49853         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
49854         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
49855         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
49856         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
49857         (test-xfail-UNIX98/unistd.h/conform): Likewise.
49858         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
49859         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
49860         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
49861         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
49862         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
49863         (test-xfail-XOPEN2K/math.h/conform): Likewise.
49864         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
49865         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
49866         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
49867         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
49868         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
49869         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
49870         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
49871         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
49872         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
49873         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
49874         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
49875         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
49876         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
49877         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
49878         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
49879         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
49880         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
49881         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
49882         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
49883         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
49884         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
49885         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
49886         (test-xfail-POSIX2008/signal.h/conform): Likewise.
49887         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
49888         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
49889         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
49890         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
49891         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
49892         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
49893         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
49894         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
49895         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
49896         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
49897         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
49898         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
49899         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
49900         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
49901         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
49902         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
49903         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
49904         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
49905         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
49906         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
49907         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
49908         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
49909         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
49910         (conformtest-cc-flags): Likewise.
49911         ($(conformtest-header-tests): New target.
49912         * conform/check-header-lists.sh: New file.
49913         * conform/run-conformtest.sh: Remove.
49915         * conform/conformtest.pl: Allow ' and \ in values given for
49916         constants.
49917         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
49918         inclusion.
49919         [POSIX] (sys/types.h): Likewise.
49920         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
49921         inclusion.
49922         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
49923         inclusion.
49924         * conform/data/signal.h-data (SIGIO): Remove expectation.
49925         [XPG3] (SIGBUS): Do not expect.
49926         [POSIX || XPG3] (SIGPOLL): Likewise.
49927         [POSIX || XPG3] (SIGPROF): Likewise.
49928         [POSIX || XPG3] (SIGSYS): Likewise.
49929         [XPG3] (SIGTRAP): Likewise.
49930         [POSIX || XPG3] (SIGURG): Likewise.
49931         [POSIX || XPG3] (SIGVTALRM): Likewise.
49932         [POSIX || XPG3] (SIGXCPU): Likewise.
49933         [POSIX || XPG3] (SIGXFSZ): Likewise.
49934         [POSIX] (SA_SIGINFO): Expect.
49935         [XPG3] (siginfo_t): Do not expect type or contents.
49936         [POSIX] (si_pid): Do not expect element.
49937         [POSIX] (si_uid): Likewise.
49938         [POSIX] (si_addr): Likewise.
49939         [POSIX] (si_status): Likewise.
49940         [POSIX] (si_band): Likewise.
49941         [XPG4] (si_value): Likewise.
49942         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
49943         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
49944         [POSIX || XPG3] (ILL_ILLADR): Likewise.
49945         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
49946         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
49947         [POSIX || XPG3] (ILL_PRVREG): Likewise.
49948         [POSIX || XPG3] (ILL_COPROC): Likewise.
49949         [POSIX || XPG3] (ILL_BADSTK): Likewise.
49950         [POSIX || XPG3] (FPE_INTDIV): Likewise.
49951         [POSIX || XPG3] (FPE_INTOVF): Likewise.
49952         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
49953         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
49954         [POSIX || XPG3] (FPE_FLTUND): Likewise.
49955         [POSIX || XPG3] (FPE_FLTRES): Likewise.
49956         [POSIX || XPG3] (FPE_FLTINV): Likewise.
49957         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
49958         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
49959         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
49960         [POSIX || XPG3] (BUS_ADRALN): Likewise.
49961         [POSIX || XPG3] (BUS_ADRERR): Likewise.
49962         [POSIX || XPG3] (BUS_OBJERR): Likewise.
49963         [POSIX || XPG3] (CLD_EXITED): Likewise.
49964         [POSIX || XPG3] (CLD_KILLED): Likewise.
49965         [POSIX || XPG3] (CLD_DUMPED): Likewise.
49966         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
49967         [POSIX || XPG3] (CLD_STOPPED): Likewise.
49968         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
49969         [POSIX || XPG3] (POLL_IN): Likewise.
49970         [POSIX || XPG3] (POLL_OUT): Likewise.
49971         [POSIX || XPG3] (POLL_MSG): Likewise.
49972         [POSIX || XPG3] (POLL_ERR): Likewise.
49973         [POSIX || XPG3] (POLL_PRI): Likewise.
49974         [POSIX || XPG3] (POLL_HUP): Likewise.
49975         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
49976         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
49977         (SIG*): Do not allow.
49978         [XPG3] (si_*): Likewise.
49979         [XPG3] (SI_*): Likewise.
49980         [XPG3 || XPG4] (sigev_*): Likewise.
49981         [XPG3 || XPG4] (SIGEV_*): Likewise.
49982         [XPG3 || XPG4] (sival_*): Likewise.
49983         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
49984         [POSIX || XPG3] (BUS_*): Likewise.
49985         [POSIX || XPG3] (CLD_*): Likewise.
49986         [POSIX || XPG3] (FPE_*): Likewise.
49987         [POSIX || XPG3] (ILL_*): Likewise.
49988         [POSIX || XPG3] (POLL_*): Likewise.
49989         [POSIX || XPG3] (SEGV_*): Likewise.
49990         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
49991         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
49992         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
49993         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
49994         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
49995         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
49996         Specify type and value.
49997         (TVERSLEN): Likewise.
49998         (REGTYPE): Likewise.
49999         (AREGTYPE): Likewise.
50000         (LNKTYPE): Likewise.
50001         (SYMTYPE): Likewise.
50002         (CHRTYPE): Likewise.
50003         (BLKTYPE): Likewise.
50004         (DIRTYPE): Likewise.
50005         (FIFOTYPE): Likewise.
50006         (CONTTYPE): Likewise.
50007         (TSUID): Likewise.
50008         (TSGID): Likewise.
50009         (TSVTX): Likewise.
50010         (TUREAD): Likewise.
50011         (TUWRITE): Likewise.
50012         (TUEXEC): Likewise.
50013         (TGREAD): Likewise.
50014         (TGWRITE): Likewise.
50015         (TGEXEC): Likewise.
50016         (TOREAD): Likewise.
50017         (TOWRITE): Likewise.
50018         (TOEXEC): Likewise.
50019         [POSIX] (TSVTX): Expect constant.
50021 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
50023         * Makefile (tests): Change dependencies to ....
50024         (tests-special): ... additions to this variable.
50025         (tests): Depend on $(tests-special).
50026         * Makerules (check-abi-list): New variable.
50027         (check-abi): Depend on $(check-abi-list).
50028         [$(subdir) = elf] (tests-special): Add
50029         $(objpfx)check-abi-libc.out.
50030         [$(build-shared) = yes && subdir] (tests-special): Add
50031         $(check-abi-list).
50032         [$(build-shared) = yes && subdir] (tests): Do not depend on
50033         check-abi.
50034         * Rules (tests): Depend on $(tests-special).
50035         (xtests): Depend on $(xtests-special).
50036         * catgets/Makefile (tests): Change dependencies to ....
50037         (tests-special): ... additions to this variable.
50038         * conform/Makefile (tests): Change dependencies to ....
50039         (tests-special): ... additions to this variable.
50040         * elf/Makefile (tests): Change dependencies to ....
50041         (tests-special): ... additions to this variable.
50042         * grp/Makefile (tests): Change dependencies to ....
50043         (tests-special): ... additions to this variable.
50044         * iconv/Makefile (xtests): Change dependencies to ....
50045         (xtests-special): ... additions to this variable.
50046         * iconvdata/Makefile (tests): Change dependencies to ....
50047         (tests-special): ... additions to this variable.
50048         * intl/Makefile (tests): Change dependencies to ....
50049         (tests-special): ... additions to this variable.  Also add
50050         $(objpfx)tst-gettext.out.
50051         * io/Makefile (tests): Change dependencies to ....
50052         (tests-special): ... additions to this variable.
50053         * libio/Makefile (tests): Change dependencies to ....
50054         (tests-special): ... additions to this variable.
50055         * malloc/Makefile (tests): Change dependencies to ....
50056         (tests-special): ... additions to this variable.
50057         * misc/Makefile (tests): Change dependencies to ....
50058         (tests-special): ... additions to this variable.
50059         * nptl/Makefile (tests): Change dependencies to ....
50060         (tests-special): ... additions to this variable.
50061         * nptl_db/Makefile (tests): Change dependencies to ....
50062         (tests-special): ... additions to this variable.
50063         * posix/Makefile (tests): Change dependencies to ....
50064         (tests-special): ... additions to this variable.
50065         (xtests): Change dependencies to ....
50066         (xtests-special): ... additions to this variable.
50067         * resolv/Makefile (tests): Change dependencies to ....
50068         (tests-special): ... additions to this variable.
50069         (xtests): Change dependencies to ....
50070         (xtests-special): ... additions to this variable.
50071         * stdio-common/Makefile (tests): Change dependencies to ....
50072         (tests-special): ... additions to this variable.
50073         (do-tst-unbputc): Remove target.
50074         (do-tst-printf): Likewise.
50075         * stdlib/Makefile (tests): Change dependencies to ....
50076         (tests-special): ... additions to this variable.
50077         * string/Makefile (tests): Change dependencies to ....
50078         (tests-special): ... additions to this variable.
50079         * sysdeps/x86/Makefile (tests): Change dependencies to ....
50080         (tests-special): ... additions to this variable.
50082         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
50083         whole file.
50084         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
50085         whole file.
50086         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
50087         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
50089         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
50090         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
50091         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
50092         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
50093         * conform/data/libgen.h-data [XPG3]: Likewise.
50094         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
50095         * conform/data/ndbm.h-data [XPG3]: Likewise.
50096         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
50097         * conform/data/netdb.h-data [XPG3]: Likewise.
50098         * conform/data/netinet/in.h-data [XPG3]: Likewise.
50099         * conform/data/poll.h-data [XPG3]: Likewise.
50100         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
50101         * conform/data/strings.h-data [XPG3]: Likewise.
50102         * conform/data/stropts.h-data [XPG3]: Likewise.
50103         * conform/data/sys/mman.h-data [XPG3]: Likewise.
50104         * conform/data/sys/resource.h-data [XPG3]: Likewise.
50105         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
50106         Likewise.
50107         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
50108         * conform/data/sys/time.h-data [XPG3]: Likewise.
50109         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
50110         * conform/data/sys/uio.h-data [XPG3]: Likewise.
50111         * conform/data/sys/un.h-data [XPG3]: Likewise.
50112         * conform/data/syslog.h-data [XPG3]: Likewise.
50113         * conform/data/ucontext.h-data [XPG3]: Likewise.
50114         * conform/data/utmpx.h-data [XPG3]: Likewise.
50115         * conform/data/varargs.h-data [UNIX98]: Enable file.
50117         * manual/Makefile (INSTALL_INFO): Remove variable setting.
50119         * math/libm-test.inc (struct test_f_f_data): Move expected results
50120         into structure for each rounding mode.
50121         (struct test_ff_f_data): Likewise.
50122         (struct test_ff_f_data_nexttoward): Likewise.
50123         (struct test_fi_f_data): Likewise.
50124         (struct test_fl_f_data): Likewise.
50125         (struct test_if_f_data): Likewise.
50126         (struct test_fff_f_data): Likewise.
50127         (struct test_c_f_data): Likewise.
50128         (struct test_f_f1_data): Likewise.
50129         (struct test_fF_f1_data): Likewise.
50130         (struct test_ffI_f1_data): Likewise.
50131         (struct test_c_c_data): Likewise.
50132         (struct test_cc_c_data): Likewise.
50133         (struct test_f_i_data): Likewise.
50134         (struct test_ff_i_data): Likewise.
50135         (struct test_f_l_data): Likewise.
50136         (struct test_f_L_data): Likewise.
50137         (struct test_fFF_11_data): Likewise.
50138         (RM_): New macro.
50139         (RM_FE_DOWNWARD): Likewise.
50140         (RM_FE_TONEAREST): Likewise.
50141         (RM_FE_TOWARDZERO): Likewise.
50142         (RM_FE_UPWARD): Likewise.
50143         (RUN_TEST_LOOP_f_f): Update references to expected results.
50144         (RUN_TEST_LOOP_2_f): Likewise.
50145         (RUN_TEST_LOOP_fff_f): Likewise.
50146         (RUN_TEST_LOOP_c_f): Likewise.
50147         (RUN_TEST_LOOP_f_f1): Likewise.
50148         (RUN_TEST_LOOP_fF_f1): Likewise.
50149         (RUN_TEST_LOOP_fI_f1): Likewise.
50150         (RUN_TEST_LOOP_ffI_f1): Likewise.
50151         (RUN_TEST_LOOP_c_c): Likewise.
50152         (RUN_TEST_LOOP_cc_c): Likewise.
50153         (RUN_TEST_LOOP_f_i): Likewise.
50154         (RUN_TEST_LOOP_f_i_tg): Likewise.
50155         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50156         (RUN_TEST_LOOP_f_b): Likewise.
50157         (RUN_TEST_LOOP_f_b_tg): Likewise.
50158         (RUN_TEST_LOOP_f_l): Likewise.
50159         (RUN_TEST_LOOP_f_L): Likewise.
50160         (RUN_TEST_LOOP_fFF_11): Likewise.
50161         * math/gen-libm-test.pl (parse_args): Output four copies of
50162         expected results for each test.
50164         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50165         (__ASSUME_UTIMES): Remove.
50166         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50167         (__ASSUME_UTIMES): Likewise.
50169         * math/gen-auto-libm-tests.c: Update comment on output format.
50170         (output_for_one_input_case): Generate before-rounding and
50171         after-rounding information as conditions on output flags not
50172         floating-point format.
50173         * math/auto-libm-test-out: Regenerated.
50174         * math/gen-libm-test.pl (cond_value): New function.
50175         (or_cond_value): Use cond_value.
50176         (generate_testfile): Handle conditional exceptions.
50178 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
50180         * math/libm-test.inc (max_valid_error): New variable.
50181         (init_max_error): Take new argument specifying whether function
50182         results are exactly determined.  Set max_valid_error and bound
50183         other variables for errors based on this argument.
50184         (set_max_error): Do not record results above max_valid_error.
50185         (check_float_internal): Only accept errors of up to 0.5ulps if
50186         also at most max_valid_error.
50187         (START): Take new argument EXACT and pass it to init_max_error.
50188         (acos_test): Update call to START.
50189         (acos_test_tonearest): Likewise.
50190         (acos_test_towardzero): Likewise.
50191         (acos_test_downward): Likewise.
50192         (acos_test_upward): Likewise.
50193         (acosh_test): Likewise.
50194         (asin_test): Likewise.
50195         (asin_test_tonearest): Likewise.
50196         (asin_test_towardzero): Likewise.
50197         (asin_test_downward): Likewise.
50198         (asin_test_upward): Likewise.
50199         (asinh_test): Likewise.
50200         (atan_test): Likewise.
50201         (atanh_test): Likewise.
50202         (atan2_test): Likewise.
50203         (cabs_test): Likewise.
50204         (cacos_test): Likewise.
50205         (cacosh_test): Likewise.
50206         (carg_test): Likewise.
50207         (casin_test): Likewise.
50208         (casinh_test): Likewise.
50209         (catan_test): Likewise.
50210         (catanh_test): Likewise.
50211         (cbrt_test): Likewise.
50212         (ccos_test): Likewise.
50213         (ccosh_test): Likewise.
50214         (ceil_test): Likewise.
50215         (cexp_test): Likewise.
50216         (cimag_test): Likewise.
50217         (clog_test): Likewise.
50218         (clog10_test): Likewise.
50219         (conj_test): Likewise.
50220         (copysign_test): Likewise.
50221         (cos_test): Likewise.
50222         (cos_test_tonearest): Likewise.
50223         (cos_test_towardzero): Likewise.
50224         (cos_test_downward): Likewise.
50225         (cos_test_upward): Likewise.
50226         (cosh_test): Likewise.
50227         (cosh_test_tonearest): Likewise.
50228         (cosh_test_towardzero): Likewise.
50229         (cosh_test_downward): Likewise.
50230         (cosh_test_upward): Likewise.
50231         (cpow_test): Likewise.
50232         (cproj_test): Likewise.
50233         (creal_test): Likewise.
50234         (csin_test): Likewise.
50235         (csinh_test): Likewise.
50236         (csqrt_test): Likewise.
50237         (ctan_test): Likewise.
50238         (ctan_test_tonearest): Likewise.
50239         (ctan_test_towardzero): Likewise.
50240         (ctan_test_downward): Likewise.
50241         (ctan_test_upward): Likewise.
50242         (ctanh_test): Likewise.
50243         (ctanh_test_tonearest): Likewise.
50244         (ctanh_test_towardzero): Likewise.
50245         (ctanh_test_downward): Likewise.
50246         (ctanh_test_upward): Likewise.
50247         (erf_test): Likewise.
50248         (erfc_test): Likewise.
50249         (exp_test): Likewise.
50250         (exp_test_tonearest): Likewise.
50251         (exp_test_towardzero): Likewise.
50252         (exp_test_downward): Likewise.
50253         (exp_test_upward): Likewise.
50254         (exp10_test): Likewise.
50255         (exp10_test_tonearest): Likewise.
50256         (exp10_test_towardzero): Likewise.
50257         (exp10_test_downward): Likewise.
50258         (exp10_test_upward): Likewise.
50259         (pow10_test): Likewise.
50260         (exp2_test): Likewise.
50261         (expm1_test): Likewise.
50262         (expm1_test_tonearest): Likewise.
50263         (expm1_test_towardzero): Likewise.
50264         (expm1_test_downward): Likewise.
50265         (expm1_test_upward): Likewise.
50266         (fabs_test): Likewise.
50267         (fdim_test): Likewise.
50268         (floor_test): Likewise.
50269         (fma_test): Likewise.
50270         (fma_test_towardzero): Likewise.
50271         (fma_test_downward): Likewise.
50272         (fma_test_upward): Likewise.
50273         (fmax_test): Likewise.
50274         (fmin_test): Likewise.
50275         (fmod_test): Likewise.
50276         (fpclassify_test): Likewise.
50277         (frexp_test): Likewise.
50278         (hypot_test): Likewise.
50279         (ilogb_test): Likewise.
50280         (isfinite_test): Likewise.
50281         (finite_test): Likewise.
50282         (isgreater_test): Likewise.
50283         (isgreaterequal_test): Likewise.
50284         (isinf_test): Likewise.
50285         (isless_test): Likewise.
50286         (islessequal_test): Likewise.
50287         (islessgreater_test): Likewise.
50288         (isnan_test): Likewise.
50289         (isnormal_test): Likewise.
50290         (issignaling_test): Likewise.
50291         (isunordered_test): Likewise.
50292         (j0_test): Likewise.
50293         (j1_test): Likewise.
50294         (jn_test): Likewise.
50295         (ldexp_test): Likewise.
50296         (lgamma_test): Likewise.
50297         (gamma_test): Likewise.
50298         (lrint_test): Likewise.
50299         (lrint_test_tonearest): Likewise.
50300         (lrint_test_towardzero): Likewise.
50301         (lrint_test_downward): Likewise.
50302         (lrint_test_upward): Likewise.
50303         (llrint_test): Likewise.
50304         (llrint_test_tonearest): Likewise.
50305         (llrint_test_towardzero): Likewise.
50306         (llrint_test_downward): Likewise.
50307         (llrint_test_upward): Likewise.
50308         (log_test): Likewise.
50309         (log10_test): Likewise.
50310         (log1p_test): Likewise.
50311         (log2_test): Likewise.
50312         (logb_test): Likewise.
50313         (logb_test_downward): Likewise.
50314         (lround_test): Likewise.
50315         (llround_test): Likewise.
50316         (modf_test): Likewise.
50317         (nearbyint_test): Likewise.
50318         (nextafter_test): Likewise.
50319         (nexttoward_test): Likewise.
50320         (pow_test): Likewise.
50321         (pow_test_tonearest): Likewise.
50322         (pow_test_towardzero): Likewise.
50323         (pow_test_downward): Likewise.
50324         (pow_test_upward): Likewise.
50325         (remainder_test): Likewise.
50326         (drem_test): Likewise.
50327         (remainder_test_tonearest): Likewise.
50328         (drem_test_tonearest): Likewise.
50329         (remainder_test_towardzero): Likewise.
50330         (drem_test_towardzero): Likewise.
50331         (remainder_test_downward): Likewise.
50332         (drem_test_downward): Likewise.
50333         (remainder_test_upward): Likewise.
50334         (drem_test_upward): Likewise.
50335         (remquo_test): Likewise.
50336         (rint_test): Likewise.
50337         (rint_test_tonearest): Likewise.
50338         (rint_test_towardzero): Likewise.
50339         (rint_test_downward): Likewise.
50340         (rint_test_upward): Likewise.
50341         (round_test): Likewise.
50342         (scalb_test): Likewise.
50343         (scalbn_test): Likewise.
50344         (scalbln_test): Likewise.
50345         (signbit_test): Likewise.
50346         (sin_test): Likewise.
50347         (sin_test_tonearest): Likewise.
50348         (sin_test_towardzero): Likewise.
50349         (sin_test_downward): Likewise.
50350         (sin_test_upward): Likewise.
50351         (sincos_test): Likewise.
50352         (sinh_test): Likewise.
50353         (sinh_test_tonearest): Likewise.
50354         (sinh_test_towardzero): Likewise.
50355         (sinh_test_downward): Likewise.
50356         (sinh_test_upward): Likewise.
50357         (sqrt_test): Likewise.
50358         (sqrt_test_tonearest): Likewise.
50359         (sqrt_test_towardzero): Likewise.
50360         (sqrt_test_downward): Likewise.
50361         (sqrt_test_upward): Likewise.
50362         (tan_test): Likewise.
50363         (tan_test_tonearest): Likewise.
50364         (tan_test_towardzero): Likewise.
50365         (tan_test_downward): Likewise.
50366         (tan_test_upward): Likewise.
50367         (tanh_test): Likewise.
50368         (tgamma_test): Likewise.
50369         (trunc_test): Likewise.
50370         (y0_test): Likewise.
50371         (y1_test): Likewise.
50372         (yn_test): Likewise.
50373         (significand_test): Likewise.
50375         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
50376         individual tests in comment.
50377         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
50378         (prev_max_error): New variable.
50379         (prev_real_max_error): Likewise.
50380         (prev_imag_max_error): Likewise.
50381         (compare_ulp_data): Don't refer to test names in comment.
50382         (find_test_ulps): Remove function.
50383         (find_function_ulps): Likewise.
50384         (find_complex_function_ulps): Likewise.
50385         (init_max_error): Take function name as argument.  Look up ulps
50386         for that function.
50387         (print_ulps): Remove function.
50388         (print_max_error): Use prev_max_error instead of calling
50389         find_function_ulps.
50390         (print_complex_max_error): Use prev_real_max_error and
50391         prev_imag_max_error instead of calling find_complex_function_ulps.
50392         (check_float_internal): Take max_ulp parameter instead of calling
50393         find_test_ulps.  Don't call print_ulps.
50394         (check_float): Update call to check_float_internal.
50395         (check_complex): Update calls to check_float_internal.
50396         (START): Pass argument to init_max_error.
50397         * math/gen-libm-test.pl (%results): Don't include "kind"
50398         information.
50399         (parse_ulps): Don't handle ulps of individual tests.
50400         (print_ulps_file): Likewise.
50401         (output_ulps): Likewise.
50402         * math/README.libm-test: Update.
50403         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
50404         individual tests.
50405         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
50406         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
50407         * sysdeps/arm/libm-test-ulps: Likewise.
50408         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
50409         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
50410         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
50411         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
50412         * sysdeps/microblaze/libm-test-ulps: Likewise.
50413         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
50414         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
50415         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50416         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
50417         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50418         * sysdeps/sh/libm-test-ulps: Likewise.
50419         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50420         * sysdeps/tile/libm-test-ulps: Likewise.
50421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50423 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
50425         * math/libm-test.inc (print_complex_max_error): Check separately
50426         whether real and imaginary errors are within allowed range and
50427         pass 0 to print_complex_function_ulps instead of value within
50428         allowed range.
50430 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50432         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
50433         formatting.
50434         (get_handles_fopen): Likewise.
50435         (do_write_test): Likewise.
50437         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
50439         * libio/fileops.c (do_ftell): Use cached offset when
50440         available.
50441         * libio/iofwide.c (do_ftell_wide): Likewise.
50442         * libio/iofdopen.c (_IO_new_fdopen): Don't use
50443         _IO_file_attach.
50444         * libio/wfileops.c (_IO_fwide): Don't cache offset.
50446         [BZ #16532]
50447         * libio/libioP.h (get_file_offset): New function.
50448         * libio/fileops.c (get_file_offset): Likewise.
50449         (do_ftell): Likewise.
50450         (_IO_new_file_seekoff): Split out ftell logic.
50451         * libio/wfileops.c (do_ftell_wide): Likewise.
50452         (_IO_wfile_seekoff): Split out ftell logic.
50453         * libio/tst-ftell-active-handler.c: New test case.
50454         * libio/Makefile (tests): Add it.
50456 2014-03-03  Roland McGrath  <roland@hack.frob.com>
50458         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
50459         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
50461 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50463         [BZ #16639]
50464         * nscd/connections.c (nscd_init): Call do_exit.
50465         (start_threads): Call do_exit and notify_parent.
50466         (begin_drop_privileges): Call do_exit.
50467         (finish_drop_privileges): Likewise.
50468         * nscd/selinux.c (preserve_capabilities): Likewise.
50469         (install_real_capabilities): Likewise.
50470         (nscd_selinux_enabled): Likewise.
50471         (avc_create_thread): Likewise.
50472         (avc_alloc_lock): Likewise.
50473         (nscd_avc_init): Likewise.
50474         * nscd/nscd.c (parent_fd): New static variable.
50475         (main): Create a pipe between parent and child processes.
50476         Skip closing parent_fd.
50477         (monitor_child): New function.
50478         (do_exit): Likewise.
50479         (notify_parent): Likewise.
50480         * nscd/nscd.h (notify_parent): Likewise.
50481         (do_exit): Likewise.
50483 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
50485         * malloc/malloc.c (__libc_calloc): Revert last change.
50487 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50491 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50493         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
50494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
50495         implementation.
50496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50497         (__libc_ifunc_impl_list): Likewise.
50498         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
50499         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
50500         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
50501         * string/strrchr.c: Define STRRCHR.
50503 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
50505         * benchtest/bench-strtok.c (simple_strtok): Delete.
50506         (strtok_string): Use as benchmark.
50507         * string/strtok (STRTOK): New macro.
50509 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
50511         * manual/threads.texi: Add header and standard comments to all
50512         functions.
50514         * elf/dl-lookup.c (check_match): New function.
50515         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
50516         (do_lookup_x): Remove nested function check_match. Use non-nested
50517         function check_match.
50519 2014-02-28  Roland McGrath  <roland@hack.frob.com>
50521         * csu/Makefile (generated, before-compile): Use += rather than =.
50522         * catgets/Makefile (generated, generated-dirs): Likewise.
50523         * debug/Makefile (generated): Likewise.
50524         * dlfcn/Makefile (generated): Likewise.
50525         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
50526         * iconvdata/Makefile (before-compile, generated): Likewise.
50527         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
50528         * libio/Makefile (generated): Likewise.
50529         * malloc/Makefile (generated): Likewise.
50530         * manual/Makefile (generated, generated-dirs): Likewise.
50531         * misc/Makefile (generated): Likewise.
50532         * posix/Makefile (generated): Likewise.
50533         * resolv/Makefile (generated): Likewise.
50534         * sunrpc/Makefile (generated, generated-dirs): Likewise.
50535         * timezone/Makefile (generated, generated-dirs): Likewise.
50537         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
50539 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50541         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
50542         power8 implementation.
50543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
50544         file: POWER8 llround ifunc implementation.
50545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
50546         (__lllround): Add POWER8 implementation.
50547         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
50548         POWER8 llround implementation.
50550         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
50551         power8 implementation.
50552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
50553         file: POWER8 llrint ifunc implementation.
50554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
50555         Add POWER8 implementation.
50556         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
50557         POWER8 llrint implementation.
50559         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
50560         power8 implementation.
50561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
50562         file: POWER8 finite ifunc implementation.
50563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
50564         Add POWER8 implementation.
50565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
50566         Likewise.
50567         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
50568         POWER8 finite implementation.
50569         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
50571         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
50572         power8 implementation.
50573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
50574         file: POWER8 isinf ifunc implementation.
50575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
50576         POWER8 implementation.
50577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
50578         Likewise.
50579         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
50580         isinf implementation.
50581         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
50583         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
50584         (INIT_ARCH): Add hwcap2 initialization.
50585         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
50586         power8 implementation.
50587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
50588         file: POWER8 isnan ifunc implementation.
50589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
50590         POWER8 implementation.
50591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
50592         Likewise.
50593         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
50594         isnan implementation.
50595         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
50597 2014-02-27  Joey Ye  <joey.ye@arm.com>
50599         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
50600         (_FP_NANFRAC_Q): Set to zero.
50602 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50604         [BZ #16623]
50605         * math/auto-libm-test-in: New test inputs.
50606         * math/auto-libm-test-out: Regenerate.
50607         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
50608         and DA.
50609         (__cos): Likewise.
50610         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50612 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
50614         * scripts/evaluate-test.sh: Take new argument indicating whether
50615         failure is expected.
50616         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
50617         indicating whether failure is expected.
50618         * conform/Makefile (test-xfail-run-conformtest): New variable.
50619         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
50620         level.
50621         * posix/Makefile (test-xfail-annexc): New variable.
50622         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
50624 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
50626         * argp/Makefile: Include Makeconfig immediately after defining
50627         subdir.
50628         * assert/Makefile: Likewise.
50629         * benchtests/Makefile: Likewise.
50630         * catgets/Makefile: Likewise.
50631         * conform/Makefile: Likewise.
50632         * crypt/Makefile: Likewise.
50633         * csu/Makefile: Likewise.
50634         (all): Remove target.
50635         * ctype/Makefile: Include Makeconfig immediately after defining
50636         subdir.
50637         * debug/Makefile: Likewise.
50638         * dirent/Makefile: Likewise.
50639         * dlfcn/Makefile: Likewise.
50640         * gmon/Makefile: Likewise.
50641         * gnulib/Makefile: Likewise.
50642         * grp/Makefile: Likewise.
50643         * gshadow/Makefile: Likewise.
50644         * hesiod/Makefile: Likewise.
50645         * hurd/Makefile: Likewise.
50646         (all): Remove target.
50647         * iconvdata/Makefile: Include Makeconfig immediately after
50648         defining subdir.
50649         * inet/Makefile: Likewise.
50650         * intl/Makefile: Likewise.
50651         * io/Makefile: Likewise.
50652         * libio/Makefile: Likewise.
50653         (all): Remove target.
50654         * locale/Makefile: Include Makeconfig immediately after defining
50655         subdir.
50656         * login/Makefile: Likewise.
50657         * mach/Makefile: Likewise.
50658         (all): Remove target.
50659         * malloc/Makefile: Include Makeconfig immediately after defining
50660         subdir.
50661         (all): Remove target.
50662         * manual/Makefile: Include Makeconfig immediately after defining
50663         subdir.
50664         * math/Makefile: Likewise.
50665         * misc/Makefile: Likewise.
50666         * nis/Makefile: Likewise.
50667         * nss/Makefile: Likewise.
50668         * po/Makefile: Likewise.
50669         (all): Remove target.
50670         * posix/Makefile: Include Makeconfig immediately after defining
50671         subdir.
50672         * pwd/Makefile: Likewise.
50673         * resolv/Makefile: Likewise.
50674         * resource/Makefile: Likewise.
50675         * rt/Makefile: Likewise.
50676         * setjmp/Makefile: Likewise.
50677         * shadow/Makefile: Likewise.
50678         * signal/Makefile: Likewise.
50679         * socket/Makefile: Likewise.
50680         * soft-fp/Makefile: Likewise.
50681         * stdio-common/Makefile: Likewise.
50682         * stdlib/Makefile: Likewise.
50683         * streams/Makefile: Likewise.
50684         * string/Makefile: Likewise.
50685         * sunrpc/Makefile: Likewise.
50686         (all): Remove target.
50687         * sysvipc/Makefile: Include Makeconfig immediately after defining
50688         subdir.
50689         * termios/Makefile: Likewise.
50690         * time/Makefile: Likewise.
50691         * timezone/Makefile: Likewise.
50692         (all): Remove target.
50693         * wcsmbs/Makefile: Include Makeconfig immediately after defining
50694         subdir.
50695         * wctype/Makefile: Likewise.
50697 2014-02-26  Steve Ellcey  <sellcey@mips.com>
50699         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
50700         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
50701         (libc_feholdexcept_setround_mips): Ditto.
50702         (libc_feholdsetround): New.
50703         (libc_feholdsetroundf): New.
50704         (libc_feholdsetroundl): New.
50705         (libc_feupdateenv_test_mips): New.
50706         (libc_feupdateenv_test): New.
50707         (libc_feupdateenv_testf): New.
50708         (libc_feupdateenv_testl): New.
50709         (libc_feresetround): New.
50710         (libc_feresetroundf): New.
50711         (libc_feresetroundl): New.
50712         (libc_fetestexcept_mips): New.
50713         (libc_fetestexcept): New.
50714         (libc_fetestexceptf): New.
50715         (libc_fetestexceptl): New.
50716         (HAVE_RM_CTX): New.
50717         (libc_feholdexcept_setround_mips_ctx): New.
50718         (libc_feholdexcept_setround_ctx): New.
50719         (libc_feholdexcept_setroundf_ctx): New.
50720         (libc_feholdexcept_setroundl_ctx): New.
50721         (libc_fesetenv_mips_ctx): New.
50722         (libc_fesetenv_ctx): New.
50723         (libc_fesetenv_ctxf): New.
50724         (libc_fesetenv_ctxl): New.
50725         (libc_feupdateenv_mips_ctx): New.
50726         (libc_feupdateenv_ctx): New.
50727         (libc_feupdateenvf_ctx): New.
50728         (libc_feupdateenvl_ctx): New.
50729         (libc_feholdsetround_mips_ctx): New.
50730         (libc_feholdsetround_ctx): New.
50731         (libc_feholdsetroundf_ctx): New.
50732         (libc_feholdsetroundl_ctx): New.
50733         (libc_feresetround_mips_ctx): New.
50734         (libc_feresetround_ctx): New.
50735         (libc_feresetroundf_ctx): New.
50736         (libc_feresetroundl_ctx): New.
50738 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
50740         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
50742         * manual/ipc.texi: New file.
50743         * manual/Makefile (chapters): Add ipc.
50744         * manual/job.texi: Add "Inter-Process Communication" to next.
50745         * manual/process.texi: Add "Inter-Process Communication" to prev.
50747 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50749         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50751 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
50753         * malloc/malloc.c (__libc_calloc): Simplify implementation.
50755         * manual/arith.texi: Fix spaces after sentences.
50756         * manual/charset.texi: Likewise.
50757         * manual/errno.texi: Likewise.
50758         * manual/install.texi: Likewise.
50759         * manual/llio.texi: Likewise.
50760         * manual/locale.texi: Likewise.
50761         * manual/maint.texi: Likewise.
50762         * manual/math.texi: Likewise.
50763         * manual/memory.texi: Likewise.
50764         * manual/message.texi: Likewise.
50765         * manual/probes.texi: Likewise.
50766         * manual/resource.texi: Likewise.
50767         * manual/signal.texi: Likewise.
50768         * manual/socket.texi: Likewise.
50769         * manual/stdio.texi: Likewise.
50770         * manual/string.texi: Likewise.
50771         * manual/time.texi: Likewise.
50772         * manual/users.texi: Likewise.
50774 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
50776         [BZ #16632]
50777         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
50778         _DEFAULT_SOURCE is defined.
50780 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
50781             Carlos O'Donell  <carlos@redhat.com>
50783         [BZ #16613]
50784         * elf/dl-tls.c (_dl_count_modids): New function.
50785         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
50786         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
50787         audit library and increment generation counter.
50788         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
50789         * elf/tst-audit9.c: New file.
50790         * elf/tst-auditmod9a.c: New file.
50791         * elf/tst-auditmod9b.c: New file.
50792         * elf/Makefile: Add rules to build and run tst-audit9.
50794 2014-02-25  Florian Weimer  <fweimer@redhat.com>
50796         [BZ #15347]
50797         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
50799 2014-02-25  Will Newton  <will.newton@linaro.org>
50801         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
50802         (__longjmp): Restore sp and lr before restoring callee
50803         saved registers.  Add longjmp and longjmp_target
50804         SystemTap probe point.
50805         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
50806         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
50807         Define to zero to match jmpbuf layout.
50808         * sysdeps/arm/setjmp.S: Include stap-probe.h.
50809         (__sigsetjmp): Save sp and lr before saving callee
50810         saved registers.  Add setjmp SystemTap probe point.
50812 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
50814         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50816 2014-02-24  Andreas Schwab  <schwab@suse.de>
50818         [BZ #15804]
50819         * elf/pldd.c (wait_for_ptrace_stop): New function.
50820         (main): Call it after attaching.
50822 2014-02-22  Roland McGrath  <roland@hack.frob.com>
50824         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
50825         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
50826         Versions files is now verboten.
50827         * hurd/Versions (libc: GLIBC_2.0):
50828         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
50829         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
50830         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
50831         * mach/Versions: Likewise.
50833         * csu/Versions: Remove unused %include.
50834         * resolv/Versions: Likewise.
50836 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
50838         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
50839         ($(objpfx)check-local-headers.out): Likewise.
50840         ($(objpfx)begin-end-check.out): Likewise.
50841         * Makerules (check-abi-%.out): Likewise.
50842         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
50843         ($(objpfx)test2.cat): Likewise.
50844         ($(objpfx)de/libc.cat): Likewise.
50845         ($(objpfx)test-gencat.out): Likewise.
50846         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
50847         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
50848         ($(objpfx)noload-mem): Likewise.
50849         ($(objpfx)tst-pathopt.out): Likewise.
50850         ($(objpfx)tst-rtld-load-self.out): Likewise.
50851         ($(objpfx)tst-array1-cmp.out): Likewise.
50852         ($(objpfx)tst-array1-static-cmp.out): Likewise.
50853         ($(objpfx)tst-array2-cmp.out): Likewise.
50854         ($(objpfx)tst-array3-cmp.out): Likewise.
50855         ($(objpfx)tst-array4-cmp.out): Likewise.
50856         ($(objpfx)tst-array5-cmp.out): Likewise.
50857         ($(objpfx)tst-array5-static-cmp.out): Likewise.
50858         ($(objpfx)check-textrel.out): Likewise.
50859         ($(objpfx)check-execstack.out): Likewise.
50860         ($(objpfx)check-localplt.out): Likewise.
50861         ($(objpfx)order2-cmp.out): Likewise.
50862         ($(objpfx)tst-leaks1-mem): Likewise.
50863         ($(objpfx)tst-leaks1-static-mem): Likewise.
50864         ($(objpfx)tst-initorder-cmp.out): Likewise.
50865         ($(objpfx)tst-initorder2-cmp.out): Likewise.
50866         ($(objpfx)tst-unused-dep.out): Likewise.
50867         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
50868         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
50869         * iconv/Makefile (test-iconvconfig): Likewise.
50870         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
50871         ($(objpfx)iconv-test.out): Likewise.
50872         ($(objpfx)tst-tables.out): Likewise.
50873         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
50874         ($(objpfx)tst-gettext.out): Likewise.
50875         ($(objpfx)tst-translit.out): Likewise.
50876         ($(objpfx)tst-gettext2.out): Likewise.
50877         ($(objpfx)tst-gettext4.out): Likewise.
50878         ($(objpfx)tst-gettext6.out): Likewise.
50879         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
50880         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
50881         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
50882         ($(objpfx)tst-fopenloc-mem.out): Likewise.
50883         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
50884         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
50885         * posix/Makefile ($(objpfx)globtest.out): Likewise.
50886         ($(objpfx)wordexp-tst.out): Likewise.
50887         ($(objpfx)annexc.out): Likewise.
50888         ($(objpfx)tst-fnmatch-mem): Likewise.
50889         ($(objpfx)bug-regex2-mem): Likewise.
50890         ($(objpfx)bug-regex14-mem): Likewise.
50891         ($(objpfx)bug-regex21-mem): Likewise.
50892         ($(objpfx)bug-regex31-mem): Likewise.
50893         ($(objpfx)tst-vfork3-mem): Likewise.
50894         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
50895         ($(objpfx)tst-pcre-mem): Likewise.
50896         ($(objpfx)tst-boost-mem): Likewise.
50897         ($(objpfx)tst-getconf.out): Likewise.
50898         ($(objpfx)bug-ga2-mem): Likewise.
50899         ($(objpfx)bug-glob2-mem): Likewise.
50900         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
50901         ($(objpfx)mtrace-tst-leaks2): Likewise.
50902         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
50903         ($(objpfx)tst-printf.out): Likewise.
50904         ($(objpfx)tst-setvbuf1.out): Likewise.
50905         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
50906         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
50907         ($(objpfx)tst-fmtmsg.out): Likewise.
50908         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
50909         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
50911         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
50912         * bits/sigaction.h [__USE_MISC]: Likewise.
50913         * bits/waitstatus.h: Update #endif comments.
50914         * ctype/ctype.h: Likewise.
50915         * dirent/dirent.h: Likewise.
50916         [__USE_MISC]: Remove redundant conditionals.
50917         * grp/grp.h: Update #endif comments.
50918         [__USE_GNU]: Remove redundant conditionals.
50919         [__USE_MISC]: Likewise.
50920         * inet/netinet/in.h [__USE_GNU]: Likewise.
50921         * io/sys/stat.h [__USE_MISC]: Likewise.
50922         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
50923         * libio/bits/stdio.h: Update #endif comments.
50924         [__USE_MISC]: Remove redundant conditionals.
50925         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
50926         * libio/stdio.h: Update #endif comments.
50927         [__USE_MISC]: Remove redundant conditionals.
50928         * math/bits/math-finite.h [__USE_MISC]: Likewise.
50929         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
50930         * math/math.h: Update #else and #endif comments.
50931         [__USE_MISC]: Remove redundant conditionals.
50932         * misc/sys/uio.h: Update #endif comments.
50933         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
50934         * posix/glob.h [__USE_MISC]: Likewise.
50935         * posix/sys/types.h: Update #endif comments.
50936         [__USE_MISC]: Remove redundant conditionals.
50937         * posix/sys/wait.h: Update #endif comments.
50938         [__USE_MISC]: Remove redundant conditionals.
50939         * posix/unistd.h: Update #endif comments.
50940         [__USE_MISC]: Remove redundant conditionals.
50941         * pwd/pwd.h [__USE_GNU]: Likewise.
50942         [__USE_MISC]: Likewise.
50943         * resolv/netdb.h [__USE_GNU]: Likewise.
50944         * signal/signal.h: Update #endif comments.
50945         [__USE_MISC]: Remove redundant conditionals.
50946         * stdlib/stdlib.h: Update #else and #endif comments.
50947         [__USE_MISC]: Remove redundant conditionals.
50948         [__USE_GNU]: Likewise.
50949         * string/bits/string2.h [__USE_MISC]: Likewise.
50950         * string/string.h: Update #endif comments.
50951         [__USE_MISC]: Remove redundant conditionals.
50952         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
50953         Likewise.
50954         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
50955         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
50956         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
50957         Likewise.
50958         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
50959         Likewise.
50960         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
50961         comments.
50962         [__USE_MISC]: Remove redundant conditionals.
50963         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
50964         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
50965         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
50966         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
50967         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
50968         Likewise.
50969         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
50970         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
50971         Likewise.
50972         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
50973         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
50974         Likewise.
50975         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
50976         Likewise.
50977         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
50978         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
50979         Likewise.
50980         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
50981         Likewise.
50982         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
50983         * sysdeps/x86/bits/string.h: Update #endif comments.
50984         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
50985         conditionals.
50986         * time/sys/time.h: Update #endif comments.
50987         * time/time.h: Likewise.
50988         [__USE_MISC]: Remove redundant conditionals.
50990 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
50992         [BZ #16600]
50993         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
50995 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
50997         * Versions.def (librt): Add GLIBC_2.17.
50999 2014-02-21  Adam Conrad  <adconrad@0c3.net>
51001         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
51002         synonym for _SYS_AUXV_H to allow direct inclusion.
51003         * sysdeps/sparc/bits/hwcap.h: Likewise.
51004         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
51005         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
51006         * sysdeps/sparc/sysdep.h: Likewise.
51008 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51010         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
51012 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
51014         * benchtests/bench-strrchr.c: Print length instead of position.
51016 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
51018         [BZ #16611]
51019         * sysdeps/unix/sysv/linux/kernel-features.h
51020         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
51021         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
51022         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
51023         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
51024         Likewise.
51025         [__i386__ || __powerpc__ || __sh__ || __sparc__]
51026         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
51027         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
51028         (__ASSUME_SENDMMSG): Define instead of using previous
51029         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
51030         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51031         (__ASSUME_SENDMMSG_SYSCALL): Define.
51032         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51033         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
51034         Likewise.
51035         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51036         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
51037         Likewise.
51038         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51039         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
51040         Likewise.
51041         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
51042         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
51043         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
51044         [__ASSUME_SENDMMSG]: Change conditionals to
51045         [__ASSUME_SENDMMSG_SOCKETCALL].
51046         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51047         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
51048         Define.
51049         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51050         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
51051         Likewise.
51052         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
51053         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
51054         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
51055         [!__ASSUME_SENDMMSG]: Change conditional to
51056         [!__ASSUME_SENDMMSG_SOCKETCALL].
51057         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51058         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
51059         Define.
51061         [BZ #16610]
51062         * sysdeps/unix/sysv/linux/kernel-features.h
51063         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
51064         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
51065         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
51066         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
51067         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
51068         [__i386__ || __sparc__]
51069         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
51070         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
51071         (__ASSUME_RECVMMSG): Define instead of using previous
51072         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
51073         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51074         (__ASSUME_RECVMMSG_SYSCALL): Define.
51075         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51076         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51077         Likewise.
51078         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51079         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51080         Likewise.
51081         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51082         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51083         Likewise.
51084         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
51085         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
51086         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
51087         [__ASSUME_RECVMMSG]: Change condition to
51088         [__ASSUME_RECVMMSG_SOCKETCALL].
51089         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51090         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51091         Define.
51092         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
51093         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51094         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51095         Likewise.
51096         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
51097         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
51098         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
51099         [!__ASSUME_RECVMMSG]: Change condition to
51100         [!__ASSUME_RECVMMSG_SOCKETCALL].
51101         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51102         (__ASSUME_RECVMMSG_SYSCALL): Define.
51104         [BZ #16609]
51105         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
51106         __powerpc__ || __s390__ || __sh__ || __sparc__]
51107         (__ASSUME_SOCKETCALL): Define.
51108         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
51109         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
51110         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
51111         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
51112         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51113         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
51114         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
51115         (__ASSUME_ACCEPT4): Define instead of using previous
51116         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
51117         __powerpc__ || __sparc__ || __s390__)] condition.
51118         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51119         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
51120         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
51121         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
51122         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
51123         [!__ASSUME_ACCEPT4]: Change condition to
51124         [!__ASSUME_ACCEPT4_SOCKETCALL].
51125         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51126         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
51127         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
51128         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51129         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
51130         __ASSUME_ACCEPT4_SYSCALL.
51131         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
51132         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
51133         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51134         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
51135         __ASSUME_ACCEPT4_SYSCALL.
51136         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
51137         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
51138         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
51139         [__ASSUME_ACCEPT4]: Change condition to
51140         [__ASSUME_ACCEPT4_SOCKETCALL].
51141         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51142         (__ASSUME_SOCKETCALL): Define.
51143         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
51144         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51145         (__ASSUME_SOCKETCALL): Define.
51146         (__ASSUME_ACCEPT4): Remove.
51147         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
51148         Define.
51149         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51150         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
51151         Likewise.
51152         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51153         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
51155         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
51156         macro.
51157         (HWCAP_ARM_LPAE): Likewise.
51158         (HWCAP_ARM_EVTSTRM): Likewise.
51159         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
51160         Add vpfd32, lpae and evtstrm.
51161         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
51162         Increase to 22.
51164 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
51166         * math/auto-libm-test-in: Add tests of clog10.
51167         * math/auto-libm-test-out: Regenerated.
51168         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
51169         * sysdeps/i386/fpu/libm-test-ulps: Update.
51170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51172 2014-02-18  Andreas Schwab  <schwab@suse.de>
51174         [BZ #16574]
51175         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
51176         Store non-zero if the second buffer was newly allocated.
51177         (send_dg): Likewise.
51178         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
51179         to send_vc and send_dg.
51180         (res_nsend): Pass NULL for ansp2_malloced.
51181         * resolv/res_query.c (__libc_res_nquery): Add parameter
51182         answerp2_malloced and pass it down to __libc_res_nsend.
51183         (res_nquery): Pass additional NULL to __libc_res_nquery.
51184         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
51185         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
51186         second answer buffer if answerp2_malloced was set.
51187         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
51188         (__libc_res_nquerydomain): Add parameter
51189         answerp2_malloced and pass it down to __libc_res_nquery.
51190         (res_nquerydomain): Pass additional NULL to
51191         __libc_res_nquerydomain.
51192         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
51193         additional NULL to __libc_res_nsend and __libc_res_nquery.
51194         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
51195         additional NULL to __libc_res_nsearch.
51196         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
51197         parameter of __libc_res_nsearch to check for separately allocated
51198         second buffer.
51199         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
51200         __libc_res_nquery.
51201         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
51202         additional NULL to __libc_res_nquery.
51203         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
51204         __libc_res_nsearch.
51205         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
51206         * include/resolv.h: Update prototypes of __libc_res_nquery,
51207         __libc_res_nsearch, __libc_res_nsend.
51209 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
51211         * math/auto-libm-test-in: Add tests of fma.
51212         * math/auto-libm-test-out: Regenerated.
51213         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
51214         (fma_towardzero_test_data): Likewise.
51215         (fma_downward_test_data): Likewise.
51216         (fma_upward_test_data): Likewise.
51217         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
51218         mpc_mode.
51219         (rounding_modes): Add values for new field.
51220         (func_calc_method): Add value mpfr_fff_f.
51221         (func_calc_desc): Add mpfr_fff_f union field.
51222         (test_function): Add field exact_args.
51223         (FUNC): Add macro argument EXACT_ARGS.
51224         (FUNC_mpfr_f_f): Update call to FUNC.
51225         (FUNC_mpfr_f_f): Likewise.
51226         (FUNC_mpfr_ff_f): Likewise.
51227         (FUNC_mpfr_if_f): Likewise.
51228         (FUNC_mpc_c_f): Likewise.
51229         (FUNC_mpc_c_c): Likewise.
51230         (test_functions): Add fma.  Update calls to FUNC.
51231         (handle_input_arg): Add argument exact_args.
51232         (add_test): Update call to handle_input_arg.
51233         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
51234         (output_for_one_input_case): Update call to calc_generic_results.
51235         Recalculate exact zero results in each rounding mode.
51237         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
51238         non-negative before setting low bit.
51239         * math/auto-libm-test-in: Mark one asin test possibly having
51240         spurious underflow.
51241         * math/auto-libm-test-out: Regenerated.
51242         * sysdeps/i386/fpu/libm-test-ulps: Update.
51243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51245 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
51247         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
51248         * sysdeps/unix/sysv/linux/microblaze: Move directory from
51249         ports/sysdeps/unix/sysv/linux/microblaze.
51250         * README: Add missing listing for microblaze*-*-linux-gnu.
51252 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
51254         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
51255         duplicate code
51257 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
51259         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
51260         * sysdeps/unix/sysv/linux/ia64: Move directory from
51261         ports/sysdeps/unix/sysv/linux/ia64.
51262         * README: Update listing for ia64-*-linux-gnu.
51264 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
51265             Joseph Myers  <joseph@codesourcery.com>
51267         * Makeconfig (test-name): New variable.
51268         (evaluate-test): Likewise.
51269         * Makerules (do-test-clean): Remove .test-result files.
51270         (common-mostlyclean): Likewise.
51271         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
51272         * scripts/evaluate-test.sh: New file.
51274 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
51276         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
51277         separate $(objpfx)tst-fopenloc-cmp.out and
51278         $(objpfx)tst-fopenloc-mem.out targets.
51279         (tests): Update dependencies.
51280         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
51281         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
51282         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
51283         (tst-rxspencer-no-utf8-ARGS): New variable.
51284         (tst-rxspencer-no-utf8-ENV): Likewise.
51285         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
51286         instead of $(objpfx)tst-rxspencer-mem.
51287         ($(objpfx)tst-rxspencer-mem): Change target to
51288         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
51289         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
51290         * posix/tst-rxspencer-no-utf8.c: New file.
51292         * elf/Makefile ($(objpfx)order.out): Remove rule.
51293         [$(run-built-tests) = yes] (tests): Depend on
51294         $(objpfx)order-cmp.out.
51295         ($(objpfx)order-cmp.out): New rule.
51296         [$(run-built-tests) = yes] (tests): Depend on
51297         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
51298         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
51299         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
51300         $(objpfx)tst-array5-static-cmp.out.
51301         ($(objpfx)tst-array1.out): Remove rule.
51302         ($(objpfx)tst-array1-cmp.out): New rule.
51303         ($(objpfx)tst-array1-static.out): Remove rule.
51304         ($(objpfx)tst-array1-static-cmp.out): New rule.
51305         ($(objpfx)tst-array2.out): Remove rule.
51306         ($(objpfx)tst-array2-cmp.out): New rule.
51307         ($(objpfx)tst-array3.out): Remove rule.
51308         ($(objpfx)tst-array3-cmp.out): New rule.
51309         ($(objpfx)tst-array4.out): Remove rule.
51310         ($(objpfx)tst-array4-cmp.out): New rule.
51311         ($(objpfx)tst-array5.out): Remove rule.
51312         ($(objpfx)tst-array5-cmp.out): New rule.
51313         ($(objpfx)tst-array5-static.out): Remove rule.
51314         ($(objpfx)tst-array5-static-cmp.out): New rule.
51315         [$(run-built-tests) = yes] (tests): Depend on
51316         $(objpfx)order2-cmp.out.
51317         ($(objpfx)order2.out): Remove rule.
51318         ($(objpfx)order2-cmp.out): New rule.
51319         ($(objpfx)tst-initorder.out): Remove rule.
51320         [$(run-built-tests) = yes] (tests): Depend on
51321         $(objpfx)tst-initorder-cmp.out.
51322         ($(objpfx)tst-initorder-cmp.out): New rule.
51323         ($(objpfx)tst-initorder2.out): Remove rule.
51324         [$(run-built-tests) = yes] (tests): Depend on
51325         $(objpfx)tst-initorder2-cmp.out.
51326         ($(objpfx)tst-initorder2-cmp.out): New rule.
51327         [$(run-built-tests) = yes] (tests): Depend on
51328         $(objpfx)tst-unused-dep-cmp.out.
51329         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
51330         ($(objpfx)tst-unused-dep-cmp.out): New rule.
51331         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
51332         on $(objpfx)tst-setvbuf1-cmp.out.
51333         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
51334         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
51335         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
51336         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
51337         ($(objpfx)tst-svc.out): Remove rule.
51338         ($(objpfx)tst-svc-cmp.out): New rule.
51340 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
51342         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
51343         * ctype/ctype.h [__USE_MISC]: Likewise.
51344         * dirent/dirent.h [__USE_MISC]: Likewise.
51345         * grp/grp.h [__USE_MISC]: Likewise.
51346         * io/fcntl.h [__USE_MISC]: Likewise.
51347         * io/sys/stat.h [__USE_MISC]: Likewise.
51348         * libio/stdio.h [__USE_MISC]: Likewise.
51349         * posix/unistd.h [__USE_MISC]: Likewise.
51350         * pwd/pwd.h [__USE_MISC]: Likewise.
51351         * stdlib.h [__USE_MISC]: Likewise.
51352         * string/bits/string2.h [__USE_MISC]: Likewise.
51353         * string/string.h [__USE_MISC]: Likewise.
51354         * time/time.h [__USE_MISC]: Likewise.
51356 2014-02-13  Andreas Schwab  <schwab@suse.de>
51358         [BZ #16574]
51359         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
51360         second answer buffer if it was separately allocated.
51362 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
51364         * sysdeps/mips/math-tests.h: Include <features.h>.
51365         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
51366         (ROUNDING_TESTS_long_double): Do not define.
51367         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
51368         (EXCEPTION_TESTS_long_double): Likewise.
51369         * sysdeps/mips/mips64/libm-test-ulps: Update.
51371         * include/features.h (__USE_BSD): Remove macro definitions.
51372         (__USE_SVID): Likewise.
51373         (_BSD_SOURCE): Likewise.
51374         (_SVID_SOURCE): Likewise.
51375         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
51376         from definition of _DEFAULT_SOURCE.
51377         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
51378         [_DEFAULT_SOURCE].
51379         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
51380         * bits/mman.h [__USE_BSD]: Likewise.
51381         * bits/termios.h [__USE_BSD]: Likewise.
51382         * bits/waitstatus.h [__USE_BSD]: Likewise.
51383         * ctype/ctype.h [__USE_SVID]: Likewise.
51384         * dirent/dirent.h [__USE_BSD]: Likewise.
51385         * grp/grp.h [__USE_SVID]: Likewise.
51386         [__USE_BSD]: Likewise.
51387         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
51388         * io/fcntl.h [__USE_BSD]: Likewise.
51389         * io/ftw.h [__USE_BSD]: Likewise.
51390         * io/sys/stat.h [__USE_BSD]: Likewise.
51391         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
51392         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
51393         * libio/stdio.h [__USE_SVID]: Likewise.
51394         [__USE_BSD]: Likewise.
51395         * math/math.h [__USE_SVID]: Likewise.
51396         [__USE_BSD]: Likewise.
51397         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
51398         * misc/bits/syslog.h [__USE_BSD]: Likewise.
51399         * misc/search.h [__USE_SVID]: Likewise.
51400         * misc/sys/mman.h [__USE_BSD]: Likewise.
51401         * misc/sys/syslog.h [__USE_BSD]: Likewise.
51402         * misc/sys/uio.h [__USE_BSD]: Likewise.
51403         * posix/bits/unistd.h [__USE_BSD]: Likewise.
51404         * posix/glob.h [__USE_BSD]: Likewise.
51405         * posix/regex.h [__USE_BSD]: Likewise.
51406         * posix/sys/types.h [__USE_BSD]: Likewise.
51407         [__USE_SVID]: Likewise.
51408         * posix/sys/utsname.h [__USE_SVID]: Likewise.
51409         * posix/sys/wait.h [__USE_BSD]: Likewise.
51410         [__USE_SVID]: Likewise.
51411         * posix/unistd.h [__USE_BSD]: Likewise.
51412         [__USE_SVID]: Likewise.
51413         * pwd/pwd.h [__USE_SVID]: Likewise.
51414         * resolv/netdb.h [__USE_BSD]: Likewise.
51415         * setjmp/setjmp.h [__USE_BSD]: Likewise.
51416         * signal/signal.h [__USE_BSD]: Likewise.
51417         [__USE_SVID]: Likewise.
51418         * socket/sys/socket.h [__USE_BSD]: Likewise.
51419         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
51420         * stdlib/stdlib.h [__USE_BSD]: Likewise.
51421         [__USE_SVID]: Likewise.
51422         * string/bits/string2.h [__USE_BSD]: Likewise.
51423         [__USE_SVID]: Likewise.
51424         * string/bits/string3.h [__USE_BSD]: Likewise.
51425         * string/endian.h [__USE_BSD]: Likewise.
51426         * string/string.h [__USE_SVID]: Likewise.
51427         [__USE_BSD]: Likewise.
51428         * string/strings.h [__USE_BSD]: Likewise.
51429         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
51430         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
51431         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
51432         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
51433         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
51434         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
51435         Likewise.
51436         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
51437         Likewise.
51438         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
51439         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
51440         Likewise.
51441         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
51442         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
51443         Likewise.
51444         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
51445         Likewise.
51446         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
51447         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
51448         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
51449         Likewise.
51450         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
51451         Likewise.
51452         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
51453         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
51454         * termios/termios.h [__USE_BSD]: Likewise.
51455         * time/sys/time.h [__USE_BSD]: Likewise.
51456         * time/time.h [__USE_BSD]: Likewise.
51457         [__USE_SVID]: Likewise.
51459         * Makefile (subdir_targets): Remove subdir_lint.out.
51461         * stdio-common/Makefile (do-tst-unbputc): Remove target.
51462         (do-tst-printf): Likewise.
51463         (tests): Depend directly on $(objpfx)tst-unbputc.out and
51464         $(objpfx)tst-printf.out.
51466         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
51468         * Makerules (check-abi-%): Change target to
51469         $(objpfx)check-abi-%.out.
51470         (check-abi target): Update dependencies.
51471         (check-abi-pattern variable): Redirect output of diff to $@.
51472         (check-abi variable): Likewise.
51473         * elf/Makefile (check-abi): Update dependencies.
51475         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
51476         unused.
51477         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
51478         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
51479         subnormal range.
51480         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
51481         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
51482         value has largest subnormal exponent.
51483         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
51484         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
51485         * sysdeps/aarch64/soft-fp/sfp-machine.h
51486         (_FP_TININESS_AFTER_ROUNDING): New macro.
51487         * sysdeps/alpha/soft-fp/sfp-machine.h
51488         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51489         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51490         Likewise.
51491         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
51492         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51493         * sysdeps/mips/soft-fp/sfp-machine.h
51494         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51495         * sysdeps/powerpc/soft-fp/sfp-machine.h
51496         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51497         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51498         Likewise.
51499         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
51500         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51501         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
51502         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51503         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51504         Likewise.
51506 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
51508         [BZ #16545]
51509         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
51510         model 1.
51512 2014-02-12  Richard Henderson  <rth@redhat.com>
51514         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
51515         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
51516         * sysdeps/unix/sysv/linux/alpha: Move directory from
51517         ports/sysdeps/unix/sysv/linux/alpha.
51518         * README: Update listing for alpha-*-linux-gnu.
51520 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
51522         * include/features.h: Update comment documenting feature test
51523         macros.
51524         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
51525         _DEFAULT_SOURCE.
51526         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
51527         (_SVID_SOURCE): Likewise.
51528         (_DEFAULT_SOURCE): Update description of default features.
51529         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
51530         with _GNU_SOURCE.
51531         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
51532         (S_ISVTX): Likewise.
51533         * manual/math.texi (Mathematical Constants): Likewise.
51534         * manual/signal.texi (Interrupted Primitives): Likewise.
51535         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
51536         * math/test-matherr.c (_SVID_SOURCE): Do not define.
51537         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
51538         Don't refer to _SVID_SOURCE in warning text.
51540         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51542         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
51543         already defined.
51544         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
51545         * sysdeps/mips/dl-lookup.c: Remove.
51546         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
51548 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
51550         [BZ #16447]
51551         * math/auto-libm-test-in: Add testcase for expl.
51552         * math/auto-libm-test-out: Regenerate.
51553         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
51554         calculation of unsafe.
51555         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
51557 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51559         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
51560         * sysdeps/unix/sysv/linux/aarch64: Move directory from
51561         ports/sysdeps/unix/sysv/linux/aarch64.
51562         * README: Update listing for aarch64*-*-linux-gnu.
51564 2014-02-11  Will Newton  <will.newton@linaro.org>
51566         * manual/probes.texi (Mathematical Function Probes): Use
51567         "triggered" instead of "hit".
51569         * manual/probes.texi (Internal Probes): Add documentation
51570         of setjmp, longjmp and longjmp_target probes.
51572         * include/stap-probe.h: Add comment about probe argument
51573         format.
51575         * malloc/mtrace.c (attribute_hidden): Remove unused macro
51576         definition.  (tr_where, tr_freehook, tr_mallochook,
51577         tr_reallochook, tr_memalignhook): Use ANSI protoype.
51579 2014-02-11  David S. Miller  <davem@davemloft.net>
51581         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
51582         processing int_tests.
51584 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
51586         * sysdeps/mips: Move directory from ports/sysdeps/mips.
51587         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
51588         * sysdeps/unix/sysv/linux/mips: Move directory from
51589         ports/sysdeps/unix/sysv/linux/mips.
51590         * README: Update listing for mips-*-linux-gnu and
51591         mips64-*-linux-gnu.
51593 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
51595         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
51596         * sysdeps/unix/sysv/linux/m68k: Move directory from
51597         ports/sysdeps/unix/sysv/linux/m68k.
51598         * README: Update listing for m68k-*-linux-gnu.
51600 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
51602         * sysdeps/tile: Move directory from ports/sysdeps/tile.
51603         * sysdeps/unix/sysv/linux/generic: Move directory from
51604         ports/sysdeps/unix/sysv/linux/generic.
51605         * sysdeps/unix/sysv/linux/tile: Move directory from
51606         ports/sysdeps/unix/sysv/linux/tile.
51607         * README: Update listing for tile*-*-linux-gnu.
51609 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
51611         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
51612         __builtin_expect.
51613         * benchtests/bench-memmem.c (simple_memmem): Likewise.
51614         * catgets/open_catalog.c (__open_catalog): Likewise.
51615         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
51616         * debug/confstr_chk.c: Likewise.
51617         * debug/fread_chk.c (__fread_chk): Likewise.
51618         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
51619         * debug/getgroups_chk.c: Likewise.
51620         * debug/mbsnrtowcs_chk.c: Likewise.
51621         * debug/mbsrtowcs_chk.c: Likewise.
51622         * debug/mbstowcs_chk.c: Likewise.
51623         * debug/memcpy_chk.c: Likewise.
51624         * debug/memmove_chk.c: Likewise.
51625         * debug/mempcpy_chk.c: Likewise.
51626         * debug/memset_chk.c: Likewise.
51627         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
51628         * debug/strcat_chk.c (__strcat_chk): Likewise.
51629         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
51630         * debug/strncat_chk.c (__strncat_chk): Likewise.
51631         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
51632         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
51633         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
51634         * debug/wcpncpy_chk.c: Likewise.
51635         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
51636         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
51637         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
51638         * debug/wcsncpy_chk.c: Likewise.
51639         * debug/wcsnrtombs_chk.c: Likewise.
51640         * debug/wcsrtombs_chk.c: Likewise.
51641         * debug/wcstombs_chk.c: Likewise.
51642         * debug/wmemcpy_chk.c: Likewise.
51643         * debug/wmemmove_chk.c: Likewise.
51644         * debug/wmempcpy_chk.c: Likewise.
51645         * debug/wmemset_chk.c: Likewise.
51646         * dirent/scandirat.c (SCANDIRAT): Likewise.
51647         * dlfcn/dladdr1.c (dladdr1): Likewise.
51648         * dlfcn/dladdr.c (dladdr): Likewise.
51649         * dlfcn/dlclose.c (dlclose_doit): Likewise.
51650         * dlfcn/dlerror.c (__dlerror): Likewise.
51651         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
51652         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
51653         * dlfcn/dlopen.c (dlopen_doit): Likewise.
51654         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
51655         * dlfcn/dlsym.c (dlsym_doit): Likewise.
51656         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
51657         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
51658         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
51659         Likewise.
51660         * elf/dl-conflict.c: Likewise.
51661         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
51662         * elf/dl-dst.h: Likewise.
51663         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
51664         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
51665         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
51666         * elf/dl-init.c (call_init, _dl_init): Likewise.
51667         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
51668         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
51669         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
51670         Likewise.
51671         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
51672         Likewise.
51673         * elf/dl-minimal.c (__libc_memalign): Likewise.
51674         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
51675         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
51676         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
51677         * elf/dl-sym.c (do_sym): Likewise.
51678         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
51679         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
51680         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
51681         * elf/dl-writev.h (_dl_writev): Likewise.
51682         * elf/ldconfig.c (search_dir): Likewise.
51683         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
51684         (dl_main): Likewise.
51685         * elf/setup-vdso.h (setup_vdso): Likewise.
51686         * grp/compat-initgroups.c (compat_call): Likewise.
51687         * grp/fgetgrent.c (fgetgrent): Likewise.
51688         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
51689         * grp/putgrent.c (putgrent): Likewise.
51690         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51691         Likewise.
51692         * hurd/hurdinit.c: Likewise.
51693         * iconvdata/8bit-gap.c (struct): Likewise.
51694         * iconvdata/ansi_x3.110.c : Likewise.
51695         * iconvdata/big5.c : Likewise.
51696         * iconvdata/big5hkscs.c : Likewise.
51697         * iconvdata/cp1255.c: Likewise.
51698         * iconvdata/cp1258.c : Likewise.
51699         * iconvdata/cp932.c : Likewise.
51700         * iconvdata/euc-cn.c: Likewise.
51701         * iconvdata/euc-jisx0213.c : Likewise.
51702         * iconvdata/euc-jp.c: Likewise.
51703         * iconvdata/euc-jp-ms.c : Likewise.
51704         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
51705         * iconvdata/gb18030.c : Likewise.
51706         * iconvdata/gbbig5.c (const): Likewise.
51707         * iconvdata/gbgbk.c: Likewise.
51708         * iconvdata/gbk.c : Likewise.
51709         * iconvdata/ibm1364.c : Likewise.
51710         * iconvdata/ibm930.c : Likewise.
51711         * iconvdata/ibm932.c: Likewise.
51712         * iconvdata/ibm933.c : Likewise.
51713         * iconvdata/ibm935.c : Likewise.
51714         * iconvdata/ibm937.c : Likewise.
51715         * iconvdata/ibm939.c : Likewise.
51716         * iconvdata/ibm943.c: Likewise.
51717         * iconvdata/iso_11548-1.c: Likewise.
51718         * iconvdata/iso-2022-cn.c : Likewise.
51719         * iconvdata/iso-2022-cn-ext.c : Likewise.
51720         * iconvdata/iso-2022-jp-3.c: Likewise.
51721         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
51722         * iconvdata/iso-2022-kr.c : Likewise.
51723         * iconvdata/iso646.c (gconv_end): Likewise.
51724         * iconvdata/iso_6937-2.c : Likewise.
51725         * iconvdata/iso_6937.c : Likewise.
51726         * iconvdata/iso8859-1.c: Likewise.
51727         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
51728         * iconvdata/shift_jisx0213.c : Likewise.
51729         * iconvdata/sjis.c : Likewise.
51730         * iconvdata/t.61.c : Likewise.
51731         * iconvdata/tcvn5712-1.c : Likewise.
51732         * iconvdata/tscii.c: Likewise.
51733         * iconvdata/uhc.c : Likewise.
51734         * iconvdata/unicode.c (gconv_end): Likewise.
51735         * iconvdata/utf-16.c (gconv_end): Likewise.
51736         * iconvdata/utf-32.c (gconv_end): Likewise.
51737         * iconvdata/utf-7.c (base64): Likewise.
51738         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
51739         * iconv/gconv_close.c (__gconv_close): Likewise.
51740         * iconv/gconv_open.c (__gconv_open): Likewise.
51741         * iconv/gconv_simple.c (internal_ucs4_loop_single)
51742         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
51743         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
51744         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
51745         (ucs4le_internal_loop_single): Likewise.
51746         * iconv/iconv.c (iconv): Likewise.
51747         * iconv/iconv_close.c: Likewise.
51748         * iconv/loop.c (SINGLE): Likewise.
51749         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
51750         * include/atomic.h: Likewise.
51751         * inet/inet6_option.c (option_alloc): Likewise.
51752         * intl/bindtextdom.c (set_binding_values): Likewise.
51753         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
51754         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
51755         * intl/localealias.c (read_alias_file): Likewise.
51756         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
51757         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
51758         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
51759         * libio/fmemopen.c (fmemopen): Likewise.
51760         * libio/iofgets.c (_IO_fgets): Likewise.
51761         * libio/iofgets_u.c (fgets_unlocked): Likewise.
51762         * libio/iofgetws.c (fgetws): Likewise.
51763         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
51764         * libio/iogetdelim.c (_IO_getdelim): Likewise.
51765         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
51766         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
51767         * locale/findlocale.c (_nl_find_locale): Likewise.
51768         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
51769         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
51770         Likewise.
51771         * locale/setlocale.c (setlocale): Likewise.
51772         * login/programs/pt_chown.c (main): Likewise.
51773         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
51774         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
51775         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
51776         (mmap, mmap64, mremap, munmap): Likewise.
51777         * math/e_exp2l.c: Likewise.
51778         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
51779         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
51780         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
51781         * math/s_catan.c (__catan): Likewise.
51782         * math/s_catanf.c (__catanf): Likewise.
51783         * math/s_catanh.c (__catanh): Likewise.
51784         * math/s_catanhf.c (__catanhf): Likewise.
51785         * math/s_catanhl.c (__catanhl): Likewise.
51786         * math/s_catanl.c (__catanl): Likewise.
51787         * math/s_ccosh.c (__ccosh): Likewise.
51788         * math/s_ccoshf.c (__ccoshf): Likewise.
51789         * math/s_ccoshl.c (__ccoshl): Likewise.
51790         * math/s_cexp.c (__cexp): Likewise.
51791         * math/s_cexpf.c (__cexpf): Likewise.
51792         * math/s_cexpl.c (__cexpl): Likewise.
51793         * math/s_clog10.c (__clog10): Likewise.
51794         * math/s_clog10f.c (__clog10f): Likewise.
51795         * math/s_clog10l.c (__clog10l): Likewise.
51796         * math/s_clog.c (__clog): Likewise.
51797         * math/s_clogf.c (__clogf): Likewise.
51798         * math/s_clogl.c (__clogl): Likewise.
51799         * math/s_csin.c (__csin): Likewise.
51800         * math/s_csinf.c (__csinf): Likewise.
51801         * math/s_csinh.c (__csinh): Likewise.
51802         * math/s_csinhf.c (__csinhf): Likewise.
51803         * math/s_csinhl.c (__csinhl): Likewise.
51804         * math/s_csinl.c (__csinl): Likewise.
51805         * math/s_csqrt.c (__csqrt): Likewise.
51806         * math/s_csqrtf.c (__csqrtf): Likewise.
51807         * math/s_csqrtl.c (__csqrtl): Likewise.
51808         * math/s_ctan.c (__ctan): Likewise.
51809         * math/s_ctanf.c (__ctanf): Likewise.
51810         * math/s_ctanh.c (__ctanh): Likewise.
51811         * math/s_ctanhf.c (__ctanhf): Likewise.
51812         * math/s_ctanhl.c (__ctanhl): Likewise.
51813         * math/s_ctanl.c (__ctanl): Likewise.
51814         * math/w_pow.c: Likewise.
51815         * math/w_powf.c: Likewise.
51816         * math/w_powl.c: Likewise.
51817         * math/w_scalb.c (sysv_scalb): Likewise.
51818         * math/w_scalbf.c (sysv_scalbf): Likewise.
51819         * math/w_scalbl.c (sysv_scalbl): Likewise.
51820         * misc/error.c (error_tail): Likewise.
51821         * misc/pselect.c (__pselect): Likewise.
51822         * nis/nis_callback.c (__nis_create_callback): Likewise.
51823         * nis/nis_call.c (__nisfind_server): Likewise.
51824         * nis/nis_creategroup.c (nis_creategroup): Likewise.
51825         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
51826         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
51827         * nis/nis_getservlist.c (nis_getservlist): Likewise.
51828         * nis/nis_lookup.c (nis_lookup): Likewise.
51829         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
51830         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
51831         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
51832         * nis/nis_xdr.c (xdr_endpoint): Likewise.
51833         * nis/nss_compat/compat-grp.c (getgrent_next_file)
51834         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
51835         * nis/nss_compat/compat-initgroups.c (add_group)
51836         (internal_getgrent_r): Likewise.
51837         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
51838         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
51839         * nis/nss_compat/compat-spwd.c (getspent_next_file)
51840         (internal_getspnam_r): Likewise.
51841         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
51842         (_nss_nis_getaliasbyname_r): Likewise.
51843         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
51844         (_nss_nis_getntohost_r): Likewise.
51845         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
51846         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
51847         (_nss_nis_getgrgid_r): Likewise.
51848         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
51849         (internal_nis_gethostent_r, internal_gethostbyname2_r)
51850         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
51851         (_nss_nis_gethostbyname4_r): Likewise.
51852         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
51853         (initgroups_netid): Likewise.
51854         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
51855         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
51856         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
51857         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
51858         (_nss_nis_getprotobynumber_r): Likewise.
51859         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
51860         (_nss_nis_getsecretkey): Likewise.
51861         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
51862         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
51863         (_nss_nis_getpwuid_r): Likewise.
51864         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
51865         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
51866         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
51867         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
51868         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
51869         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
51870         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
51871         Likewise.
51872         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
51873         (_nss_nisplus_getntohost_r): Likewise.
51874         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
51875         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
51876         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
51877         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
51878         Likewise.
51879         * nis/nss_nisplus/nisplus-initgroups.c
51880         (_nss_nisplus_initgroups_dyn): Likewise.
51881         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
51882         (_nss_nisplus_getnetbyaddr_r): Likewise.
51883         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
51884         (_nss_nisplus_getprotobynumber_r): Likewise.
51885         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
51886         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
51887         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
51888         Likewise.
51889         * nis/nss_nisplus/nisplus-service.c
51890         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
51891         (_nss_nisplus_getservbyport_r): Likewise.
51892         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
51893         (_nss_nisplus_getspnam_r): Likewise.
51894         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
51895         Likewise.
51896         * nscd/aicache.c (addhstaiX): Likewise.
51897         * nscd/cache.c (cache_search, prune_cache): Likewise.
51898         * nscd/connections.c (register_traced_file, send_ro_fd)
51899         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
51900         (main_loop_epoll): Likewise.
51901         * nscd/grpcache.c (addgrbyX): Likewise.
51902         * nscd/hstcache.c (addhstbyX): Likewise.
51903         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51904         * nscd/mem.c (gc, mempool_alloc): Likewise.
51905         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
51906         (addinnetgrX): Likewise.
51907         * nscd/nscd-client.h (__nscd_acquire_maplock)
51908         (__nscd_drop_map_ref): Likewise.
51909         * nscd/nscd_getai.c (__nscd_getai): Likewise.
51910         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
51911         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
51912         Likewise.
51913         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
51914         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51915         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
51916         (__nscd_get_map_ref): Likewise.
51917         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
51918         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
51919         Likewise.
51920         * nscd/pwdcache.c (addpwbyX): Likewise.
51921         * nscd/selinux.c (preserve_capabilities): Likewise.
51922         * nscd/servicescache.c (addservbyX): Likewise.
51923         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
51924         * posix/fnmatch.c (fnmatch): Likewise.
51925         * posix/getopt.c (_getopt_internal_r): Likewise.
51926         * posix/glob.c (glob, glob_in_dir): Likewise.
51927         * posix/wordexp.c (exec_comm_child): Likewise.
51928         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
51929         (getanswer_r, gaih_getanswer_slice): Likewise.
51930         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
51931         * resolv/res_init.c: Likewise.
51932         * resolv/res_mkquery.c (res_nmkquery): Likewise.
51933         * resolv/res_query.c (__libc_res_nquery): Likewise.
51934         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
51935         Likewise.
51936         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
51937         * stdio-common/perror.c (perror): Likewise.
51938         * stdio-common/printf_fp.c (___printf_fp): Likewise.
51939         * stdio-common/tmpnam.c (tmpnam): Likewise.
51940         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
51941         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
51942         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
51943         Likewise.
51944         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
51945         * stdlib/putenv.c (putenv): Likewise.
51946         * stdlib/setenv.c (__add_to_environ): Likewise.
51947         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
51948         * stdlib/strtol_l.c (INTERNAL): Likewise.
51949         * string/memmem.c (memmem): Likewise.
51950         * string/strerror.c (strerror): Likewise.
51951         * string/strnlen.c (__strnlen): Likewise.
51952         * string/test-memmem.c (simple_memmem): Likewise.
51953         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
51954         * sunrpc/pm_getport.c (__get_socket): Likewise.
51955         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
51956         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
51957         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
51958         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
51959         Likewise.
51960         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
51961         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
51962         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
51963         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
51964         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
51965         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
51966         Likewise.
51967         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
51968         Likewise.
51969         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
51970         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
51971         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51972         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
51973         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
51974         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
51975         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51976         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
51977         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
51978         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
51979         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51980         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
51981         Likewise.
51982         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
51983         Likewise.
51984         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
51985         Likewise.
51986         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
51987         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51988         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
51989         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
51990         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
51991         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
51992         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
51993         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
51994         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
51995         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
51996         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
51997         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51998         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
51999         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
52000         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52001         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
52002         Likewise.
52003         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
52004         Likewise.
52005         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
52006         Likewise.
52007         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
52008         Likewise.
52009         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52010         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52011         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
52012         Likewise.
52013         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
52014         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
52015         * sysdeps/posix/opendir.c (__opendirat): Likewise.
52016         * sysdeps/posix/sleep.c: Likewise.
52017         * sysdeps/posix/tempname.c: Likewise.
52018         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
52019         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52020         Likewise.
52021         * sysdeps/powerpc/powerpc32/dl-machine.h
52022         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
52023         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
52024         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52025         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
52026         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
52027         Likewise.
52028         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
52029         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
52030         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
52031         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
52032         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
52033         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
52034         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
52035         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
52036         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52037         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
52038         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
52039         (elf_machine_lazy_rel): Likewise.
52040         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52041         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
52042         (elf_machine_lazy_rel): Likewise.
52043         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
52044         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
52045         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
52046         * sysdeps/unix/grantpt.c (grantpt): Likewise.
52047         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
52048         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
52049         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
52050         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52051         Likewise.
52052         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
52053         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
52054         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
52055         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
52056         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52057         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52058         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
52059         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
52060         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
52061         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52062         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52063         Likewise.
52064         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
52065         (__posix_fallocate64_l64): Likewise.
52066         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
52067         (posix_fallocate): Likewise.
52068         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
52069         Likewise.
52070         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52071         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
52072         (getifaddrs_internal): Likewise.
52073         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
52074         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
52075         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
52076         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
52077         * sysdeps/unix/sysv/linux/posix_fallocate64.c
52078         (__posix_fallocate64_l64): Likewise.
52079         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
52080         Likewise.
52081         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
52082         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
52083         (__get_clockfreq): Likewise.
52084         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
52085         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
52086         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
52087         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52088         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52089         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
52090         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
52091         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
52092         Likewise.
52093         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
52094         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
52095         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
52096         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
52097         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52098         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
52099         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
52100         Likewise.
52101         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
52102         (posix_fallocate): Likewise.
52103         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52104         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
52105         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
52106         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
52107         (elf_machine_rela, elf_machine_rela_relative)
52108         (elf_machine_lazy_rel): Likewise.
52109         * time/asctime.c (asctime_internal): Likewise.
52110         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
52111         * time/tzset.c (__tzset_parse_tz): Likewise.
52112         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
52113         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
52114         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
52115         * wcsmbs/wcsmbsload.h: Likewise.
52117         [BZ #15894]
52118         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
52120         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
52121         (arena_get2): Remove THREAD_STATS conditionals.
52122         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
52123         (__malloc_stats, int): Likewise.
52125 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
52127         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
52128         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
52130         * manual/setjmp.texi: Fix typos/grammar errors.
52132         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
52133         Only return early when n is <= 0.  Delete unused return statement.
52135         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
52136         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
52137         * debug/tst-longjmp_chk3.c: New file.
52139         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
52140         (test_main): Replace code with set_fortify_handler call.
52141         * debug/test-strcpy_chk.c: Likewise.
52142         * debug/tst-chk1.c: Likewise.
52143         * debug/tst-longjmp_chk.c: Likewise.
52144         * test-skeleton.c: Include fcntl.h & paths.h
52145         (set_fortify_handler): Define.
52147         * debug/tst-longjmp_chk.c: Add header comment and include
52148         ../test-skeleton.c.
52149         (do_test): Mark static.
52150         (TEST_FUNCTION): Define.
52152         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
52153         (IP_PMTUDISC_INTERFACE): Likewise.
52154         (IP_MULTICAST_IF): Likewise.
52155         (IP_MULTICAST_TTL): Likewise.
52156         (IP_MULTICAST_LOOP): Likewise.
52157         (IP_ADD_MEMBERSHIP): Likewise.
52158         (IP_DROP_MEMBERSHIP): Likewise.
52159         (IP_UNBLOCK_SOURCE): Likewise.
52160         (IP_BLOCK_SOURCE): Likewise.
52161         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
52162         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
52163         (IP_MSFILTER): Likewise.
52164         (MCAST_JOIN_GROUP): Likewise.
52165         (MCAST_BLOCK_SOURCE): Likewise.
52166         (MCAST_UNBLOCK_SOURCE): Likewise.
52167         (MCAST_LEAVE_GROUP): Likewise.
52168         (MCAST_JOIN_SOURCE_GROUP): Likewise.
52169         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
52170         (MCAST_MSFILTER): Likewise.
52171         (IP_MULTICAST_ALL): Likewise.
52172         (IP_UNICAST_IF): Likewise.
52174         * timezone/Makefile: Delete $(have-ksh) check.
52175         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
52176         * timezone/tzselect.ksh: Add +x mode bits.
52178         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
52179         (ANON_INODE_FS_MAGIC): Likewise.
52180         (BDEVFS_MAGIC): Likewise.
52181         (BINFMTFS_MAGIC): Likewise.
52182         (BTRFS_TEST_MAGIC): Likewise.
52183         (CRAMFS_MAGIC_WEND): Likewise.
52184         (DEBUGFS_MAGIC): Likewise.
52185         (ECRYPTFS_SUPER_MAGIC): Likewise.
52186         (EXT3_SUPER_MAGIC): Likewise.
52187         (EXT4_SUPER_MAGIC): Likewise.
52188         (FUTEXFS_SUPER_MAGIC): Likewise.
52189         (HOSTFS_SUPER_MAGIC): Likewise.
52190         (HUGETLBFS_MAGIC): Likewise.
52191         (MINIX3_SUPER_MAGIC): Likewise.
52192         (MTD_INODE_FS_MAGIC): Likewise.
52193         (NILFS_SUPER_MAGIC): Likewise.
52194         (OPENPROM_SUPER_MAGIC): Likewise.
52195         (PIPEFS_MAGIC): Likewise.
52196         (PSTOREFS_MAGIC): Likewise.
52197         (QNX6_SUPER_MAGIC): Likewise.
52198         (RAMFS_MAGIC): Likewise.
52199         (REISERFS_SUPER_MAGIC_STRING): Likewise.
52200         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
52201         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
52202         (SECURITYFS_MAGIC): Likewise.
52203         (SELINUX_MAGIC): Likewise.
52204         (SMACK_MAGIC): Likewise.
52205         (SOCKFS_MAGIC): Likewise.
52206         (SQUASHFS_MAGIC): Likewise.
52207         (STACK_END_MAGIC): Likewise.
52208         (TMPFS_MAGIC): Likewise.
52209         (USBDEVICE_SUPER_MAGIC): Likewise.
52210         (V9FS_MAGIC): Likewise.
52211         (XENFS_SUPER_MAGIC): Likewise.
52212         (CRAMFS_MAGIC): Fix typo in comment.
52213         (EXT2_SUPER_MAGIC): Update comment.
52214         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
52216 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
52218         * sysdeps/arm: Move directory from ports/sysdeps/arm.
52219         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
52220         * sysdeps/unix/sysv/linux/arm: Move directory from
52221         ports/sysdeps/unix/sysv/linux/arm.
52222         * README: Update listing for arm-*-linux-gnueabi.
52224         * README: Remove mention of am33.
52226 2014-02-07  Roland McGrath  <roland@hack.frob.com>
52228         * bits/sigset.h (__sigemptyset): Use a statement expression rather
52229         than the comma operator, to avoid "rhs of comma has no effect"
52230         compiler warnings.
52231         (__sigfillset, __sigandset, __sigorset): Likewise.
52232         * include/signal.h (__sigemptyset): Likewise.
52233         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
52235 2014-02-07  Allan McRae  <allan@archlinux.org>
52237         * version.h (RELEASE): Set to "development".
52238         (VERSION): Set to "2.19.90"
52239         * NEWS: Add 2.20 section.
52241 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
52243         [BZ #16529]
52244         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
52246 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52248         * manual/contrib.texi: Update entry for Carlos O'Donell,
52249         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
52251 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
52253         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
52255         * sysdeps/unix/sysv/linux/kernel-features.h
52256         [__LINUX_KERNEL_VERSION >= 0x020621]
52257         (__ASSUME_PROC_PID_TASK_COMM): Define.
52259 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52261         [BZ #16398]
52262         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
52263         conversion when destination buffer does not have enough space.
52264         * libio/tst-ftell-partial-wide.c: New test case.
52265         * libio/Makefile (tests): Add tst-ftell-partial-wide.
52267         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
52268         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
52269         Leonard and Allan McRae.
52271 2014-02-04  David S. Miller  <davem@davemloft.net>
52273         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
52274         32-bit.
52276 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
52279         New file
52280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
52281         New file
52282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
52283         New file.
52284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
52285         New file.
52286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
52287         New file.
52288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
52289         New file.
52290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
52291         New file.
52292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
52293         New file.
52294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
52295         New file.
52296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
52297         New file.
52298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
52299         New file.
52300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
52301         New file.
52302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
52303         New file.
52305 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52307         * nptl/shlib-versions: Change powerpc*le start to 2.17.
52308         * shlib-versions: Likewise.
52310 2014-02-04  Roland McGrath  <roland@hack.frob.com>
52311             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52313         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
52314         (abilist-pattern): New variable, set to %-le.abilist.
52316         * Makerules (abilist-pattern): New variable.
52317         (vpath): Use $(abilist-pattern) in place of %.abilist.
52318         (check-abi-% pattern rule): Likewise.
52319         (check-abi, update-abi): Likewise.
52321 2014-02-04  Eric Wong  <normalperson@yhbt.net>
52323         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52325 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
52327         * manual/startup.texi: Add next, previous, and top entries for
52328         the `Program Arguments' and `Environment Variables' nodes.
52330 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
52332         * manual/macros.texi: Add comments before MTASC-safety macros.
52334         * manual/users.texi: Document MTASC-safety properties.
52336         * manual/threads.texi (pthread_key_create, pthread_key_delete)
52337         (pthread_getspecific, pthread_setspecific): Format with
52338         @deftypefun, and add @safety note.
52339         * manual/signal.texi: Move comments that analyze the above
52340         functions to their home place.
52342 2014-02-03  Allan McRae  <allan@archlinux.org>
52344         * po/sl.po: Update Slovenian translation from translation project.
52346 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
52348         * manual/time.texi (timegm): Add missing blank after @c.
52349         Reported by Joseph Myers <joseph@codesourcery.com>.
52351 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
52353         * manual/check-safety.sh: New.
52354         * manual/Makefile ($(objpfx)stamp-summary): Run it.
52356         * manual/terminal.texi: Document MTASC-safety properties.
52358         * manual/filesys.texi: Document MTASC-safety properties.
52360         * manual/errno.texi: Document MTASC-safety properties.
52362         * manual/intro.texi: Document safety identifiers and
52363         conditionals.
52365         * manual/string.texi (wcstok): Fix prototype.
52366         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
52368         * manual/time.texi: Document MTASC-safety properties.
52370         * manual/string.texi: Document MTASC-safety properties.
52372         * manual/threads.texi: Document MTASC-safety properties.
52374         * manual/stdio.texi: Document MTASC-safety properties.
52376         * manual/syslog.texi: Document MTASC-safety properties.
52378         * manual/sysinfo.texi: Document MTASC-safety properties.
52380         * manual/startup.texi: Document MTASC-safety properties.
52382         * manual/socket.texi: Document MTASC-safety properties.
52384         * manual/signal.texi: Document MTASC-safety properties.
52386 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
52388         * manual/setjmp.texi: Document MTASC-safety properties.
52390         * manual/search.texi: Document MTASC-safety properties.
52392         * manual/resource.texi: Document MTASC-safety properties.
52394         * manual/process.texi: Document MTASC-safety properties.
52396         * manual/platform.texi: Document MTASC-safety properties.
52398         * manual/pipe.texi: Document MTASC-safety properties.
52400         * manual/pattern.texi: Document MTASC-safety properties.
52402         * manual/message.texi: Document MTASC-safety properties.
52404         [BZ #12751]
52405         * manual/memory.texi: Document MTASC-safety properties.
52407         * manual/math.texi: Document MTASC-safety properties.
52409         * manual/locale.texi: Document MTASC-safety properties.
52411         * manual/llio.texi: Document MTASC-safety properties.
52413         * manual/libdl.texi: New.
52415         * manual/lang.texi: Document MTASC-safety properties.
52417         * manual/job.texi: Document MTASC-safety properties.
52419         * manual/getopt.texi: Document MTASC-safety properties.
52421         * manual/ctype.texi: Document MTASC-safety properties.
52423 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
52425         [BZ #16046]
52426         * csu/libc-tls.c (static_map): Remove variable.
52427         (__libc_setup_tls): Use main executable's link map for TLS data.
52428         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
52429         casing for LM_ID_BASE and GL(dl_nns).
52430         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
52431         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
52432         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
52433         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
52434         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
52435         member.
52436         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
52437         l_phnum members.
52439 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
52441         * manual/debug.texi: Document MTASC-safety properties.
52443 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
52445         [BZ #16510]
52446         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
52447         of __x86_64__ when disabling x87 inline functions.
52449 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
52451         * manual/charset.texi: Document MTASC-safety properties.
52453         * manual/crypt.texi: Document MTASC-safety properties.
52455         * manual/conf.texi: Document MTASC-safety properties.
52457         * manual/arith.texi: Document MTASC-safety properties.
52459         * manual/argp.texi: Document MTASC-safety properties.
52461         * manual/macros.texi: Introduce macros to document multi
52462         thread, asynchronous signal and asynchronous cancellation
52463         safety properties.
52464         * manual/intro.texi: Introduce the properties themselves.
52466 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52468         * sysdeps/sh/sh4/Makefile: New file.
52470 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
52472         * math/gen-libm-test.pl ($srcdir): New variable.
52473         ($auto_input): Use it.
52475 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52477         [BZ #16506]
52478         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
52479         access beyond array bounds when parsing netgroups file.
52481         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
52482         the old buffer before realloc.
52484 2014-01-27  Allan McRae  <allan@archlinux.org>
52486         * po/fr.po: Update French translation from translation project.
52488 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52490         * sysdeps/sh/libm-test-ulps: Regenerate.
52492 2014-01-24  David S. Miller  <davem@davemloft.net>
52494         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
52496 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52498         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
52499         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
52501 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52503         [BZ #16474]
52504         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
52505         string pointers after reallocation.
52507 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52509         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
52510         __SH4A__ instead of __SH_FPU_ANY__.
52512 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52514         * sysdeps/sh/fpu_control.h: New file.
52515         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
52516         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
52517         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
52518         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
52519         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
52520         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
52521         * sysdeps/sh/sys/ucontext.h: Remove.
52522         * sysdeps/sh/sys: Remove directory.
52524 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52526         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
52527         s390/sys/ucontext.h.
52528         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
52529         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
52531 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
52533         [BZ #15605]
52534         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
52536 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52538         [BZ #16431]
52539         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52540         Adjust the vDSO correctly for internal calls.
52541         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
52543 2014-01-20  Allan McRae  <allan@archlinux.org>
52545         * po/ca.po: Update Catalan translation from translation project.
52547 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
52549         * sysdeps/s390/sotruss-lib.c: New file.
52551 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52553         [BZ #16430]
52554         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
52555         (__GI___gettimeofday): Alias for a different internal symbol to avoid
52556         local calls issues by not having a PLT stub required for IFUNC calls.
52557         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
52559 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
52561         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
52562         * math/test-fpucw-static.c: Likewise.
52564 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52566         [BZ #16453]
52567         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
52569 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52571         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
52572         implementation for powerpc.
52574 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
52576         [BZ #14782]
52577         * sysdeps/posix/system.c (__libc_system): Do not enable
52578         asynchronous cancellation.
52580 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52582         [BZ #16427]
52583         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
52584         handling only for numbers special also in the IEEE case.
52586 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52588         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52590 2014-01-11  Allan McRae  <allan@archlinux.org>
52592         * po/bg.po: Update Bulgarian translation from translation project.
52594         * po/de.po: Update German translation from translation project.
52596 2014-01-10  Roland McGrath  <roland@hack.frob.com>
52598         * sysdeps/generic/gcc-compat.h: New file.
52600 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52602         * benchtests/asin-inputs: Correct slow inputs.
52603         * benchtests/acos-inputs: Likewise.
52605 2014-01-10  Allan McRae  <allan@archlinux.org>
52607         * po:sv.po: Update Swedish translation from translation project.
52609         * po/vi.po: Update Vietnamese translation from translation project.
52611         * po/eo.po: Update Esperanto translation from translation project.
52613         * po/cs.po: Update Czech translation from translation project.
52615         * po/nl.po: Update Dutch translation from translation project.
52617         * po/pl.po: Update Polish translation from translation project.
52619         * po/ru.po: Update Russian translation from translation project.
52621         * po/uk.po: Update Ukrainian translation from translation project.
52623 2014-01-08  Brooks Moses  <bmoses@google.com>
52625         * elf/dl-load.c: Fix comment typo.
52627 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
52629         * po/header.pot: Rename to...
52630         * po/pot.header: ... this.
52631         * po/Makefile: Use pot.header.
52633 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
52634             Maxim Kuvyrkov  <maxim@kugelworks.com>
52636         [BZ #16394]
52637         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
52638         SRC and DEST against LEN.
52640 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52642         [BZ #16414]
52643         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
52644         implementation.
52645         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
52647 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52651 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
52653         [BZ #16408]
52654         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
52655         for large positive arguments.
52657 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
52659         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52661         * math/auto-libm-test-in: Mark various tests with
52662         xfail-rounding:ldbl-128ibm.
52663         * math/auto-libm-test-out: Regenerated.
52665         [BZ #16407]
52666         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
52667         Increase overflow threshold.
52669 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
52671         [BZ #14286]
52672         * stdio-common/vfprintf.c: Check for integer overflow.
52674 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52676         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
52677         the first argument and return value of __tls_get_addr_internal.
52679 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52681         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
52682         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
52684 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52686         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
52687         * sysdeps/s390/rtld-global-offsets.sym: New file.
52688         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
52689         GLIBC_2.19 symbol.
52690         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
52691         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
52692         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
52693         ... this.
52694         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
52695         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
52696         ... this.
52697         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52698         Regenerate.
52699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52700         Regenerate.
52701         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
52702         halfs of GPRs for high_gprs contexts.
52703         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
52704         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
52705         field.
52706         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
52707         uc_flags field.
52708         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
52709         64 bit versions:
52710         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
52711         for high GPRs (uc_high_gprs) and for future extensions
52712         (__reserved).
52713         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
52714         for future extensions (__reserved).
52715         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
52716         64 bit versions:
52717         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
52718         SC_HIGHGPRS offset definition.
52719         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
52720         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
52722         * Versions.def: Add GLIBC_2.19 for libpthread.
52723         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
52724         siglongjmp for libpthread with GLIBC_2.19 symver.
52725         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
52726         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
52727         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
52728         * sysdeps/s390/__longjmp.c: New file.
52729         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
52730         * sysdeps/s390/longjmp.c: New file.
52731         * sysdeps/s390/setjmp.S: New file.
52732         * sysdeps/s390/sigjmp.S: New file.
52733         * sysdeps/s390/v1-longjmp.c: New file.
52734         * sysdeps/s390/v1-setjmp.h: New file.
52735         * sysdeps/s390/v1-sigjmp.c: New file.
52736         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
52737         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
52738         GLIBC_2.19 version.
52739         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
52740         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
52741         versioned symbols for ____longjmp_chk.
52742         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
52743         Likewise.
52744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52745         Regenerate.
52746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52747         Regenerate.
52748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52749         Regenerate.
52750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52751         Regenerate.
52752         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
52753         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
52754         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
52755         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
52756         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
52757         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
52758         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
52759         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
52760         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
52761         * sysdeps/s390/rtld-__longjmp.c: New file.
52762         * sysdeps/s390/rtld-setjmp.S: New file.
52764 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
52766         [BZ #16400]
52767         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52768         Return -__logl (x) for small positive arguments without evaluating
52769         a polynomial.
52771 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
52773         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
52774         Rename to ...
52775         (__ptrace_peeksiginfo_args): ... this.
52776         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52777         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52778         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52780 2014-01-06  Allan McRae  <allan@archlinux.org>
52782         * inet/netinet/in.h: Fix typo in comment.
52784 2014-01-05  Andreas Jaeger  <aj@suse.de>
52786         * sysdeps/i386/fpu/libm-test-ulps: Update.
52788 2014-01-05  Allan McRae  <allan@archlinux.org>
52790         * po/libc.pot: Regenerated.
52792         * malloc/memusagestat.c: Fix gettext call formatting.
52794 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
52796         * nscd/nscd.c: Improve usage() output.
52798 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
52800         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
52801         * sysdeps/unix/sysv/linux/configure: Regenerated.
52802         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
52803         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
52805 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52807         [BZ #16390]
52808         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
52809         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
52811 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52813         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
52814         extra tokens at end of #undef directive.
52815         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
52816         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
52817         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
52819 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52821         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52823         * math/auto-libm-test-in: Mark various tests with
52824         xfail-rounding:ldbl-128ibm.
52825         * math/auto-libm-test-out: Regenerated.
52827 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
52829         [BZ #16386]
52830         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
52831         numbers with subnormal high part when calculating exponent.
52833         [BZ #16385]
52834         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
52835         fabs.
52837         [BZ #16384]
52838         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
52839         M_LN2l.
52840         (__ieee754_acoshl): Use __log1pl not __log1p.
52842 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
52844         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
52845         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
52846         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
52847         (grow_heap, heap_trim, _int_new_arena, get_free_list)
52848         (reused_arena, arena_get2): Convert to GNU style.
52849         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
52850         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
52851         (memalign_check, __malloc_set_state): Likewise.
52852         * malloc/mallocbug.c (main): Likewise.
52853         * malloc/malloc.c (__malloc_assert, malloc_init_state)
52854         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
52855         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
52856         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
52857         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
52858         (__posix_memalign, malloc_info): Likewise.
52859         * malloc/malloc.h: Likewise.
52860         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
52861         (mallochook, memalignhook, reallochook, mabort): Likewise.
52862         * malloc/mcheck.h: Likewise.
52863         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
52864         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
52865         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
52866         * malloc/morecore.c (__default_morecore): Likewise.
52867         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
52868         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
52869         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
52870         (print_and_abort): Likewise.
52871         * malloc/obstack.h: Likewise.
52872         * malloc/set-freeres.c (__libc_freeres): Likewise.
52873         * malloc/tst-mallocstate.c (main): Likewise.
52874         * malloc/tst-mtrace.c (main): Likewise.
52875         * malloc/tst-realloc.c (do_test): Likewise.
52877 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52879         [BZ #16366]
52880         * nscd/netgroupcache.c (do_notfound): New function.
52881         (addgetnetgrentX): Use it.
52883         [BZ # 16365]
52884         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
52885         NSS_STATUS_NOTFOUND.
52887 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
52889         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
52890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52892 2014-01-01  Allan McRae  <allan@archlinux.org>
52894         * scripts/update-copyrights: Update configure input file suffix.
52896         * NEWS: Update copyright year.
52897         * catgets/gencat.c: Likewise.
52898         * csu/version.c: Likewise.
52899         * debug/catchsegv.sh: Likewise.
52900         * debug/pcprofiledump.c: Likewise.
52901         * debug/xtrace.sh: Likewise.
52902         * elf/ldconfig.c: Likewise.
52903         * elf/ldd.bash.in: Likewise.
52904         * elf/pldd.c: Likewise.
52905         * elf/sotruss.ksh: Likewise.
52906         * elf/sprof.c: Likewise.
52907         * iconv/iconv_prog.c: Likewise.
52908         * iconv/iconvconfig.c: Likewise.
52909         * locale/programs/locale.c: Likewise.
52910         * locale/programs/localedef.c: Likewise.
52911         * login/programs/pt_chown.c: Likewise.
52912         * malloc/memusage.sh: Likewise.
52913         * malloc/memusagestat.c: Likewise.
52914         * malloc/mtrace.pl: Likewise.
52915         * manual/libc.texinfo: Likewise.
52916         * nscd/nscd.c: Likewise.
52917         * nss/getent.c: Likewise.
52918         * nss/makedb.c: Likewise.
52919         * posix/getconf.c: Likewise.
52920         * scripts/test-installation.pl: Likewise.
52922         * All files with FSF copyright notices: Update copyright dates
52923         using scripts/update-copyrights.
52924         * intl/plural.c: Regenerated.
52925         * locale/programs/charmap-kw.h: Likewise.
52926         * locale/programs/locfile-kw.h: Likewise.
52928 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
52930         * sysdeps/unix/sysv/linux/configure: Regenerated.
52931         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
52932         the linux/fanotify.h header.
52933         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
52934         HAVE_LINUX_FANOTIFY_H is defined.
52936 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52938         * benchtests/cos-inputs: New inputs.
52939         * benchtests/sin-inputs: Likewise.
52941         * benchtests/atan-inputs: New inputs. Fix name of multiple
52942         precision fallback inputs.
52944         * benchtests/atanh-inputs: New inputs.
52945         * benchtests/tanh-inputs: Likewise.
52947         * benchtests/acosh-inputs: New inputs.
52948         * benchtests/asinh-inputs: Likewise.
52950         * benchtests/cosh-inputs: New inputs.
52951         * benchtests/sinh-inputs: Likewise.
52953         * benchtests/acos-inputs: Add more inputs.
52954         * benchtests/asin-inputs: Likewise.
52956 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
52958         [BZ #16375]
52959         * manual/arith.texi: Fix spelling.
52960         * manual/charset.texi: Likewise.
52961         * manual/errno.texi: Likewise.
52962         * manual/filesys.texi: Likewise.
52963         * manual/lang.texi: Likewise.
52964         * manual/llio.texi: Likewise.
52965         * manual/locale.texi: Likewise.
52966         * manual/message.texi: Likewise.
52967         * manual/resource.texi: Likewise.
52968         * manual/search.texi: Likewise.
52969         * manual/setjmp.texi: Likewise.
52970         * manual/stdio.texi: Likewise.
52971         * manual/string.texi: Likewise.
52972         * manual/sysinfo.texi: Likewise.
52973         * manual/time.texi: Likewise.
52975 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
52977         * po/sl.po: New file.
52979 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
52981         * .gitignore: Add core/.gdbinit/.gdb_history.
52983 2013-12-27  Allan McRae  <allan@archlinux.org>
52985         [BZ #16369]
52986         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
52987         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
52989 2013-12-24  Brooks Moses  <bmoses@google.com>
52991         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
52992         all compilers that claim C++98 compliance, not just GCC.
52993         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
52994         Likewise.
52996 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52998         * NEWS: Restore accidentally deleted bug-fix entries.
53000 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
53001             Ondřej Bílka  <neleai@seznam.cz>
53003         [BZ #15073]
53004         * malloc/malloc.c (_int_free): Perform sanity check only if we
53005         have_lock.
53007 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
53009         [BZ #12986]
53010         * manual/stdio.texi (String Input Conversions): Clarify that character
53011         classes are not supported.
53013 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53017 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
53019         [BZ #16337]
53020         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
53021         Calculate results for small negative arguments directly rather
53022         than using reflection formula with special underflow handling.
53024         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
53025         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
53026         sysdeps/unix/bsd/bsd4.4/syscalls.list.
53027         (fchflags): Likewise.
53028         (revoke): Likewise.
53029         (setlogin): Likewise.
53030         (sigaltstack): Likewise.
53031         (wait4): Likewise.
53032         (sigblock): Remove.
53033         (sigsetmask): Likewise.
53034         (wait3): Likewise.
53035         (waitpid): Likewise.
53036         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
53037         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
53038         file.
53039         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
53040         * sysdeps/unix/bsd/Makefile: ... here.
53041         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
53042         * sysdeps/unix/bsd/Versions: ... here.
53043         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
53044         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
53045         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
53046         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
53047         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
53048         * sysdeps/unix/bsd/sigblock.c: ... here.
53049         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
53050         * sysdeps/unix/bsd/sigsetmask.c: ... here.
53051         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
53052         * sysdeps/unix/bsd/sigvec.c: ... here.
53053         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
53054         * sysdeps/unix/bsd/tcdrain.c: ... here.
53055         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
53056         * sysdeps/unix/bsd/tcgetattr.c: ... here.
53057         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
53058         * sysdeps/unix/bsd/tcsetattr.c: ... here.
53059         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
53060         * sysdeps/unix/bsd/wait.c: ... here.
53061         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
53062         * sysdeps/unix/bsd/wait3.c: ... here.
53063         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
53064         * sysdeps/unix/bsd/waitpid.c: ... here.
53066 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
53068         [BZ #16356]
53069         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
53070         round-to-nearest for [!USE_AS_EXPM1L].
53071         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
53072         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
53073         more tests of exp and exp10.  Expect some exp10 tests to miss
53074         exceptions or fail in directed rounding modes.
53075         * math/auto-libm-test-out: Regenerated.
53076         * math/libm-test.inc (exp10_tonearest_test_data): New array.
53077         (exp10_test_tonearest): New function.
53078         (exp10_towardzero_test_data): New array.
53079         (exp10_test_towardzero): New function.
53080         (exp10_downward_test_data): New array.
53081         (exp10_test_downward): New function.
53082         (exp10_upward_test_data): New array.
53083         (exp10_test_upward): New function.
53084         (main): Call the new functions.
53085         * sysdeps/i386/fpu/libm-test-ulps: Update.
53086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53088 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
53090         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
53091         asinh, atan, atan2, atanh, cbrt, cos and cosh.
53092         * math/auto-libm-test-out: Regenerated.
53093         * math/libm-test.inc (acosh_test_data): Add more tests.
53094         (atanh_test_data): Likewise.
53095         (ceil_test_data): Likewise.
53096         (copysign_test_data): Likewise.
53097         * sysdeps/i386/fpu/libm-test-ulps: Update.
53098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53100         * timezone/checktab.awk: Update from tzcode 2013i.
53101         * timezone/private.h: Likewise.
53102         * timezone/scheck.c: Likewise.
53103         * timezone/tzfile.h: Likewise.
53104         * timezone/tzselect.ksh: Likewise.
53105         * timezone/zdump.c: Likewise.
53106         * timezone/zic.c: Likewise.
53108         * math/auto-libm-test-in: Add tests of cpow.
53109         * math/auto-libm-test-out: Regenerated.
53110         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
53111         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53112         mpc_cc_c.
53113         (func_calc_desc): Add mpc_cc_c union field.
53114         (test_functions): Add cpow.
53115         (special_fill_2pi): New function.
53116         (special_real_inputs): Add 2pi.
53117         (calc_generic_results): Handle mpc_cc_c.
53118         * sysdeps/i386/fpu/libm-test-ulps: Update.
53119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53121         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
53122         csqrt, ctan and ctanh.
53123         * math/auto-libm-test-out: Regenerated.
53124         * math/libm-test.inc (TEST_COND_x86_64): New macro.
53125         (TEST_COND_x86): Likewise.
53126         (ccos_test_data): Use AUTO_TESTS_c_c.
53127         (ccosh_test_data): Likewise.
53128         (cexp_test_data): Likewise.
53129         (clog_test_data): Likewise.
53130         (csqrt_test_data): Likewise.
53131         (ctan_test_data): Likewise.
53132         (ctan_tonearest_test_data): Likewise.
53133         (ctan_towardzero_test_data): Likewise.
53134         (ctan_downward_test_data): Likewise.
53135         (ctan_upward_test_data): Likewise.
53136         (ctanh_test_data): Likewise.
53137         (ctanh_tonearest_test_data): Likewise.
53138         (ctanh_towardzero_test_data): Likewise.
53139         (ctanh_downward_test_data): Likewise.
53140         (ctanh_upward_test_data): Likewise.
53141         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53142         mpc_c_c.
53143         (func_calc_desc): Add mpc_c_c union field.
53144         (FUNC_mpc_c_c): New macro.
53145         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
53146         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
53147         ctanh.
53148         (special_fill_min_subnorm_p120): New function.
53149         (special_real_inputs): Add min_subnorm_p120.
53150         (calc_generic_results): Handle mpc_c_c.
53151         * sysdeps/i386/fpu/libm-test-ulps: Update.
53152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53154 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53156         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
53157         (do_sin_slow): New functions.
53158         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
53159         (cslow2, csloww1, csloww2): Use the new functions.
53161         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
53162         Use M to change sign of result instead of X.  Assume X is
53163         positive.
53164         (csloww1): Likewise.
53165         (__sin): Adjust.
53166         (__cos): Adjust.
53168         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
53169         arguments A and DA.
53170         (__sin): Adjust.
53171         (__cos): Likewise.
53173         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
53174         (__cos): Likewise.
53175         (sloww1): Don't adjust sign of DX.
53176         (csloww1): Likewise.
53177         (sloww2): Use X directly and don't adjust sign of DX.
53178         (csloww2): Likewise.
53180 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
53182         * math/auto-libm-test-in: Add tests of cabs and carg.
53183         * math/auto-libm-test-out: Regenerated.
53184         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
53185         (carg_test_data): Likewise.
53186         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53187         mpc_c_f.
53188         (func_calc_desc): Add mpc_c_f union field.
53189         (test_functions): Add cabs and carg.
53190         (calc_generic_results): Handle mpc_c_f.
53192         * sysdeps/powerpc/powerpc32/libgcc-compat.S
53193         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
53194         as a macro and a compat symbol.
53195         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
53196         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
53197         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
53198         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
53199         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
53200         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
53201         not use .hidden.
53202         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
53203         Likewise.
53204         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
53205         Likewise.
53206         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
53207         Likewise.
53208         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
53209         Likewise.
53210         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
53211         Likewise.
53212         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
53213         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
53214         from GLIBC_2.3.2.
53216 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53220 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
53222         * manual/texinfo.tex: Update to version 2013-11-26.10 with
53223         trailing whitespace removed.
53224         * scripts/config.guess: Update to version 2013-11-29.
53225         * scripts/config.sub: Update to version 2013-10-01.
53227         * math/auto-libm-test-in: Add tests of sincos.
53228         * math/auto-libm-test-out: Regenerated.
53229         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
53230         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53231         mpfr_f_11.
53232         (func_calc_desc): Add mpfr_f_11 union field.
53233         (test_functions): Add sincos.
53234         (calc_generic_results): Handle mpfr_f_11.
53235         * sysdeps/i386/fpu/libm-test-ulps: Update.
53236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53238 2013-12-19  Andreas Schwab  <schwab@suse.de>
53240         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
53241         CALL_MCOUNT.
53242         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
53243         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
53244         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
53246 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
53248         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
53249         * sysdeps/i386/fpu/libm-test-ulps: Update.
53250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53252         [BZ #16293]
53253         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
53254         round-to-nearest mode when using frndint.
53255         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
53256         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
53257         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
53258         Likewise.
53259         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
53260         sinh test to fail.
53261         * math/auto-libm-test-out: Regenerated.
53262         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
53263         (TEST_COND_x86): Likewise.
53264         (expm1_tonearest_test_data): New array.
53265         (expm1_test_tonearest): New function.
53266         (expm1_towardzero_test_data): New array.
53267         (expm1_test_towardzero): New function.
53268         (expm1_downward_test_data): New array.
53269         (expm1_test_downward): New function.
53270         (expm1_upward_test_data): New array.
53271         (expm1_test_upward): New function.
53272         (main): Run the new test functions.
53273         * sysdeps/i386/fpu/libm-test-ulps: Update.
53274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53276         * include/features.h: Update comment documenting feature test
53277         macros.  Mention _DEFAULT_SOURCE in comment.
53278         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
53279         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
53280         _BSD_SOURCE and _SVID_SOURCE.
53281         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
53282         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
53283         !_SVID_SOURCE]: Likewise.
53284         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
53285         (__USE_POSIX_IMPLICITLY): Define.
53286         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
53287         (_POSIX_SOURCE): Undefine and redefine.
53288         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
53289         (_POSIX_C_SOURCE): Likewise.
53290         * manual/creature.texi (_DEFAULT_SOURCE): Document.
53291         (Feature Test Macros): Update documentation of default features.
53293 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53295         * benchtests/Makefile: Add bench-strtok.
53296         * benchtests/bench-strtok.c: New file: strtok benchtest.
53298 2013-12-19  Allan McRae  <allan@archlinux.org>
53300         * manual/install.texi: Suppress menu for plain text output.
53301         * INSTALL: Regenerated.
53303 2013-12-18  Brooks Moses  <bmoses@google.com>
53305         [BZ #15846]
53306         * misc/getauxval.c: Include errno.h.
53307         (__getauxval): Set errno to ENOENT if the requested type is not
53308         found.
53309         * misc/sys/auxv.h (getauxval): Document that it may set errno;
53310         don't declare with __attribute_const__.
53311         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
53312         * manual/startup.texi: Document that getauxval sets errno.
53314 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
53316         * math/auto-libm-test-in: Add tests of jn and yn.
53317         * math/auto-libm-test-out: Regenerated.
53318         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
53319         (yn_test_data): Likewise.
53320         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53321         mpfr_if_f.
53322         (func_calc_desc): Add mpfr_if_f union field.
53323         (FUNC_mpfr_if_f): New macro.
53324         (test_functions): Add jn and yn.
53325         (calc_generic_results): Assert type of second input for
53326         mpfr_ff_f.  Handle mpfr_if_f.
53327         (output_for_one_input_case): Disable all checking for arguments
53328         fitting floating-point types in case of an integer argument.
53329         * sysdeps/i386/fpu/libm-test-ulps: Update.
53330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
53333         Don't expect fegetround reference in libm.so.
53335 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53337         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
53338         $(config-cflags-nofma).
53340 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
53342         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
53343         * math/auto-libm-test-out: Regenerated.
53345         [BZ #16338]
53346         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
53347         to determine exponent and adjust argument to have exponent of -1.
53348         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
53349         log2.
53350         * math/auto-libm-test-out: Regenerated.
53351         * sysdeps/i386/fpu/libm-test-ulps: Update.
53352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53354 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
53356         * manual/probes.texi: Remove cases when per-thread arenas are
53357         disabled.
53359 2013-12-18  Andreas Schwab  <schwab@suse.de>
53361         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
53362         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
53363         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
53364         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
53365         * sysdeps/i386/i686/multiarch/Makefile: Update.
53366         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
53368 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
53370         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
53371         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
53373 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
53375         [BZ #15968]
53376         Support TZ transition times < 00:00:00.
53377         This is needed for version-3 tz-format files; it supports time
53378         stamps past 2037 for America/Godthab (the only entry in the tz
53379         database for which this change is relevant).
53380         * manual/time.texi (TZ Variable): Document transition times
53381         from -167:59:59 through -00:00:01.
53382         * time/tzset.c (tz_rule): Time of day is now signed.
53383         (__tzset_parse_tz): Parse negative time of day.
53385         Document TZ transition times >= 25:00:00.
53386         * manual/time.texi (TZ Variable): Document transition times from
53387         25:00:00 through 167:59:59.  These are already supported, and this
53388         support will help with version-3 tz-format files.
53390         * manual/time.texi (TZ Variable): Modernize North America example
53391         to reflect current (i.e., 2007-and-later) daylight saving rules.
53393         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
53395 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
53397         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
53398         * sysdeps/unix/bsd/bits/stat.h: Likewise.
53399         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
53400         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
53401         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
53402         * sysdeps/unix/bsd/bsdstat.h: Likewise.
53403         * sysdeps/unix/bsd/clock.c: Likewise.
53404         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
53405         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
53406         * sysdeps/unix/bsd/init-posix.c: Likewise.
53407         * sysdeps/unix/bsd/poll.c: Likewise.
53408         * sysdeps/unix/bsd/ptsname.c: Likewise.
53409         * sysdeps/unix/bsd/seekdir.c: Likewise.
53410         * sysdeps/unix/bsd/setegid.c: Likewise.
53411         * sysdeps/unix/bsd/seteuid.c: Likewise.
53412         * sysdeps/unix/bsd/setgid.c: Likewise.
53413         * sysdeps/unix/bsd/setrgid.c: Likewise.
53414         * sysdeps/unix/bsd/setruid.c: Likewise.
53415         * sysdeps/unix/bsd/setsid.c: Likewise.
53416         * sysdeps/unix/bsd/setuid.c: Likewise.
53417         * sysdeps/unix/bsd/sigaction.c: Likewise.
53418         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
53419         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
53420         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
53421         * sysdeps/unix/bsd/telldir.c: Likewise.
53422         * sysdeps/unix/bsd/times.c: Likewise.
53423         * sysdeps/unix/bsd/usleep.c: Likewise.
53425         * misc/Makefile (install-lib): Remove libbsd-compat.a.
53426         ($(objpfx)libbsd-compat.a): Remove rule.
53428         * include/features.h (__FAVOR_BSD): Do not define.
53429         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
53430         features conflicting with POSIX.
53431         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
53432         (_BSD_SOURCE): Remove description of not being a subset of other
53433         feature test macros.
53434         * manual/job.texi (getpgrp): Do not document BSD version.
53435         (getpgid): Do not document by reference to BSD getpgrp.
53436         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
53437         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
53438         * signal/signal.h [__FAVOR_BSD]: Likewise.
53439         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
53440         instead of making contents conditional on [__FAVOR_BSD].
53441         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
53443 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53447 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
53449         [BZ #16314]
53450         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
53451         values below 2**-450, not 2**-500.
53452         * math/auto-libm-test-in: Don't allow spurious underflow from
53453         hypot.
53454         * math/auto-libm-test-out: Regenerated.
53456         [BZ #16316]
53457         [BZ #16330]
53458         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
53459         values of ha and hb and sort them after adjusting subnormal
53460         arguments.
53461         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
53462         Likewise.
53463         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
53464         values of ea and eb and sort them after adjusting subnormal
53465         arguments.
53466         * math/auto-libm-test-in: Do not expect some hypot tests of
53467         subnormals to fail.  Add more hypot tests.
53468         * math/auto-libm-test-out: Regenerated.
53470 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53472         [BZ #13304]
53473         * sysdeps/sh/s_fma.c: New file.
53474         * sysdeps/sh/s_fmaf.c: New file.
53475         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
53476         version.
53477         * sysdeps/sh/Implies: Add sh/soft-fp.
53479 2013-12-16  Roland McGrath  <roland@hack.frob.com>
53481         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
53482         level of indirection to members `objname', `errstring', `malloced'.
53483         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
53484         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
53485         it as the __longjmp argument (just pass 1 instead).
53486         (_dl_catch_error): Initialize C with argument pointers and address of
53487         volatile local ERRCODE rather than copying values out of C at return.
53489 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
53491         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
53492         * math/auto-libm-test-out: Regenerated.
53493         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
53494         (hypot_test_data): Likewise.
53495         (pow_test_data): Likewise.
53496         (pow_tonearest_test_data): Likewise.
53497         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53498         mpfr_ff_f.
53499         (func_calc_desc): Add mpfr_ff_f union field.
53500         (FUNC_mpfr_ff_f): New macro.
53501         (test_functions): Add atan2, hypot and pow.
53502         (special_fill_min): New function.
53503         (special_fill_minus_min): Likewise.
53504         (special_fill_min_subnorm): Likewise.
53505         (special_fill_minus_min_subnorm): Likewise.
53506         (special_real_inputs): Add min, -min, min_subnorm and
53507         -min_subnorm.
53508         (calc_generic_results): Handle mpfr_ff_f.
53509         * sysdeps/i386/fpu/libm-test-ulps: Update.
53510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53512 2013-12-16  Will Newton  <will.newton@linaro.org>
53514         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
53515         (Aligned Memory Blocks): Add documentation for aligned_alloc
53516         and suggest it as an alternative to posix_memalign.
53517         (Hooks for Malloc): Document __memalign_hook is also called
53518         for aligned_alloc.  (Summary of Malloc): Add summary for
53519         aligned alloc.  Document __memalign_hook is also called
53520         for aligned_alloc.
53522 2013-12-16  Will Newton  <will.newton@linaro.org>
53524         * manual/memory.texi (Malloc Examples): Clarify default
53525         alignment documentation.  Suggest posix_memalign rather
53526         than memalign or valloc.
53527         (Aligned Memory Blocks): Remove suggestion to use memalign
53528         or valloc.  Remove obsolete comment about BSD.
53529         Document memalign errno values and mark the function obsolete.
53530         Document posix_memalign returned error codes.  Mark valloc
53531         as obsolete.  (Hooks for Malloc): __memalign_hook is also
53532         called for posix_memalign and valloc.
53533         (Summary of Malloc): Add posix_memalign to function summary.
53534         __memalign_hook is also called for posix_memalign and valloc.
53536 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53538         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
53539         TAYLOR_SIN.
53540         (__sin): Adjust.
53541         (__cos): Likewise.
53542         (sloww): Use mynumber union.  Expand ternary operator into
53543         if-else statements.
53544         (cslow): use mynumber union.
53546 2013-12-16  Allan McRae  <allan@archlinux.org>
53548         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
53549         * configure: Regenerated.
53551         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
53553         [BZ #14120]
53554         * configure.ac: Added --enable-maintainer-mode. Check for
53555         autoconf when enabled.
53556         * configure: Regenerated.
53558         * nscd/nscd.service: New file.
53559         * nscd/nscd.tmpfiles: New file.
53561 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
53563         [BZ #12100]
53564         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
53565         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
53566         * sysdeps/x86_64/multiarch/strstr.c: ... here.
53567         (strstr): Add __strstr_sse2_unaligned ifunc.
53568         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
53569         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
53570         (strcasestr): Remove __strcasestr_sse42 ifunc.
53571         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
53572         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53573         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
53575 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53577         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
53578         * sysdeps/sh/bits/fenv.h: ... here.
53579         * sysdeps/sh/sh4/fpu/bits: Remove directory.
53581 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53583         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
53585         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
53586         hypotf multiarch implementations.
53587         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
53588         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
53589         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
53590         multiarch hypot for PPC64.
53591         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
53592         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
53593         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
53594         multiarch hypotf for PPC64.
53596         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
53597         modff multiarch implementations.
53598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
53599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
53600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
53601         multiarch modf for PPC64.
53602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
53603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
53604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
53605         multiarch modff for PPC64.
53607         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
53608         and logl multiarch implementations.
53609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
53610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
53611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
53612         multiarch logb for PPC64.
53613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
53614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
53615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
53616         multiarch logb for PPC64.
53617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
53618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
53619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
53620         multiarch logb for PPC64.
53622         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
53623         isinff multiarch implementation.
53624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
53625         file.
53626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
53627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
53628         multiarch isinf for PPC64.
53629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
53630         file.
53631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
53632         multiarch isinff for PPC64.
53634         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
53635         finitef multiarch implementation.
53636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
53637         file.
53638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
53639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
53640         multiarch finite for PPC64.
53641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
53642         file.
53643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
53644         multiarch finitef for PPC64.
53646         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
53647         lrint multiarch implementation.
53648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
53649         file.
53650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
53651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
53652         multiarch llrint for PPC64.
53653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
53654         multiarch lrint for PPC64.
53656         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
53657         copysignf multiarch implementation.
53658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
53659         file.
53660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
53661         file.
53662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
53663         multiarch copysign for PPC64.
53664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
53665         multiarch copysignf for PPC64.
53667         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
53668         multiarch implementation.
53669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
53670         file.
53671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
53672         file.
53673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
53674         file.
53675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
53676         file.
53677         multiarch llround for PPC64.
53678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
53679         multiarch trunc for PPC64.
53680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
53681         multiarch truncf for PPC64.
53683         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
53684         multiarch implementation.
53685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
53686         file.
53687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
53688         file.
53689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
53690         file.
53691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
53692         file.
53693         multiarch llround for PPC64.
53694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
53695         multiarch round for PPC64.
53696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
53697         multiarch roundf for PPC64.
53699         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
53700         multiarch implementation.
53701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
53702         file.
53703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
53704         file.
53705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
53706         file.
53707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
53708         file.
53709         multiarch llround for PPC64.
53710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
53711         multiarch floor for PPC64.
53712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
53713         multiarch floorf for PPC64.
53715         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
53716         multiarch implementation.
53717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
53718         file.
53719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
53720         file.
53721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
53722         file.
53723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
53724         file.
53725         multiarch llround for PPC64.
53726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
53727         multiarch ceil for PPC64.
53728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
53729         multiarch ceilf for PPC64.
53731         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
53732         multiarch implementation.
53733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
53734         file.
53735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
53736         file.
53737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
53738         file.
53739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
53740         multiarch llround for PPC64.
53741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
53742         multiarch lround for PPC64.
53744         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
53745         multiarch implementation.
53746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
53747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
53748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
53749         file.
53750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
53751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
53752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
53753         multiarch isnan for PPC64.
53754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
53755         multiarch isnanf for PPC64.
53757         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
53758         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
53759         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
53760         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
53761         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
53762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
53764         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
53765         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53766         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53767         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53769         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
53770         multiarch implementations.
53771         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53772         (__libc_ifunc_impl_list): Likewise.
53773         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
53774         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
53775         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
53776         multiarch stpcpy for PPC64.
53778         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
53779         multiarch implementations.
53780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53781         (__libc_ifunc_impl_list): Likewise.
53782         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
53783         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
53784         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
53785         multiarch strcpy for PPC64.
53787         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
53788         redefine function name.
53789         (_wordcopy_fwd_dest_aligned): Likewise.
53790         (_wordcopy_bwd_aligned): Likewise.
53791         (_wordcopy_bwd_dest_aligned): Likewise.
53792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
53793         multiarch implementations.
53794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53795         (__libc_ifunc_impl_list): Likewise.
53796         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
53797         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
53798         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
53799         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
53800         multiarch wcscpy for PPC64.
53802         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
53803         multiarch implementations.
53804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53805         (__libc_ifunc_impl_list): Likewise.
53806         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
53807         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
53808         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
53809         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
53810         multiarch wcscpy for PPC64.
53812         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
53813         multiarch implementations.
53814         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53815         (__libc_ifunc_impl_list): Likewise.
53816         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
53817         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
53818         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
53819         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
53820         multiarch wcsrchr for PPC64.
53822         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
53823         multiarch implementations.
53824         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53825         (__libc_ifunc_impl_list): Likewise.
53826         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
53827         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
53828         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
53829         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
53830         multiarch wcschr for PPC64.
53832         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
53833         multiarch implementations.
53834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53835         (__libc_ifunc_impl_list): Likewise.
53836         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
53837         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
53838         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
53839         multiarch strchrnul for PPC64.
53841         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
53842         implementations.
53843         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53844         (__libc_ifunc_impl_list): Likewise.
53845         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
53846         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
53847         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
53848         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
53849         strchr for PPC64.
53851         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
53852         implementations.
53853         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53854         (__libc_ifunc_impl_list): Likewise.
53855         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
53856         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
53857         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
53858         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
53859         strncmp for PPC64.
53861         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
53862         multiarch implementations.
53863         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53864         (__libc_ifunc_impl_list): Likewise.
53865         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
53866         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
53867         strncasecmp for PPC64.
53868         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
53869         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
53870         multiarch strncasecmp_l for PPC64.
53872         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
53873         multiarch implementations.
53874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53875         (__libc_ifunc_impl_list): Likewise.
53876         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
53877         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
53878         multiarch strcasecmp for PPC64.
53879         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
53880         file.
53881         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
53882         multiarch strcasecmp_l for PPC64.
53884         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
53885         implementations.
53886         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53887         (__libc_ifunc_impl_list): Likewise.
53888         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
53889         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
53890         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
53891         strnlen for PPC64.
53893         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
53894         implementations.
53895         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53896         (__libc_ifunc_impl_list): Likewise.
53897         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
53898         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
53899         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
53900         strlen for PPC64.
53902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
53903         implementations.
53904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53905         (__libc_ifunc_impl_list): Likewise.
53906         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
53907         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
53908         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
53909         rawmemrchr for PPC64.
53911         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
53912         implementation.
53913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53914         (__libc_ifunc_impl_list): Likewise.
53915         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
53916         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
53917         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
53918         memrchr for PPC64.
53920         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
53921         implementation.
53922         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53923         (__libc_ifunc_impl_list): Likewise.
53924         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
53925         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
53926         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
53927         memchr for PPC64.
53929         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
53930         implementation.
53931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53932         (__libc_ifunc_impl_list): Likewise.
53933         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
53934         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
53935         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
53936         mempcpy for PPC64.
53938         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
53939         avoid cretion of __bzero symbol.
53940         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
53941         Likewise.
53942         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
53943         Likewise.
53944         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
53945         Likewise.
53946         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
53947         multiarch implementations.
53948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53949         (__libc_ifunc_impl_list): Likewise.
53950         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
53951         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
53952         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
53953         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
53954         bzero for PPC32.
53955         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
53956         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
53957         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
53958         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
53959         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
53960         memset for PPC64.
53961         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
53963         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
53964         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
53965         implementations.
53966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53967         (__libc_ifunc_impl_list): Likewise.
53968         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
53969         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
53970         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
53971         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
53972         memcmp for PPC64.
53974         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
53975         multiarch for POWER/PPC64.
53976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
53977         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
53978         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
53979         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
53980         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
53981         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
53982         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
53983         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
53984         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
53985         memcpy for PPC64.
53987         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
53988         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
53989         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
53990         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
53991         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
53992         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
53993         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
53994         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
53995         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
53996         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
53997         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
53998         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
53999         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
54000         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
54001         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
54002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
54003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
54004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
54005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
54006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
54007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
54008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
54010 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54012         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
54014 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54016         * benchtests/Makefile (bench): Add exp2 and log2.
54017         (LDLIBS-bench-exp2): Add -lm.
54018         (LDLIBS-bench-log2): Likewise.
54019         * benchtests/exp2-inputs: New inputs file.
54020         * benchtests/log2-inputs: New inputs file.
54021         * benchtests/log-inputs: Add new inputs.
54022         * benchtests/tan-inputs: Likewise.
54024 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54026         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
54027         definition...
54028         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
54029         (csloww2): ... from here.
54031         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
54032         instead of structures.
54033         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
54034         (POLYNOMIAL): Likewise.
54035         (TAYLOR_SLOW): Likewise.
54036         (__sin): Likewise.
54037         (__cos): Likewise.
54038         (slow1): Likewise.
54039         (slow2): Likewise.
54040         (sloww): Likewise.
54041         (sloww1); Likewise.
54042         (sloww2): Likewise.
54043         (bsloww1): Likewise.
54044         (bsloww2): Likewise.
54045         (cslow2): Likewise.
54046         (csloww): Likewise.
54047         (csloww1): Likewise.
54048         (csloww2): Likewise.
54050 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
54052         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
54053         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
54054         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
54055         * malloc/hooks.c (realloc_check): Likewise.
54057         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
54058         * malloc/arena.c: Remove PER_THREAD conditional.
54059         [!PER_THREAD]: Remove code.
54060         (ptmalloc_unlock_all2): Likewise.
54061         (ptmalloc_init): Likewise.
54062         (_int_new_arena): Likewise.
54063         (arena_get2): Likewise.
54064         * malloc/hooks.c (__malloc_get_state): Likewise.
54065         (__malloc_set_state): Likewise.
54066         * malloc/malloc.c: Likewise.
54067         (struct malloc_state): Likewise.
54068         (struct malloc_par): Likewise.
54069         (__libc_realloc): Likewise.
54070         (__libc_mallopt): Likewise.
54072 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54074         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
54076 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
54078         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
54079         macro to a function.  Check for zero perturb_byte.
54080         (_int_malloc, _int_free): Remove zero perturb_byte checks.
54082         * malloc/malloc.c: (force_reg): Remove.
54083         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
54084         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
54085         force_reg by atomic_forced_read.
54086         * malloc/arena.c (ptmalloc_init): Likewise.
54087         * malloc/hooks.c (top_check): Likewise.
54089 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54093 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
54095         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54097 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
54099         * math/auto-libm-test-in: Add tests of lgamma.
54100         * math/auto-libm-test-out: Regenerated.
54101         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
54102         (M_LOG_2_SQRT_PIl): Likewise.
54103         (lgamma_test_data): Use AUTO_TESTS_f_f1.
54104         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54105         mpfr_f_f1.
54106         (func_calc_desc): Add mpfr_f_f1 union field.
54107         (ARGS1): New macro.
54108         (ARGS2): Likewise.
54109         (ARGS3): Likewise.
54110         (ARGS4): Likewise.
54111         (RET1): Likewise.
54112         (RET2): Likewise.
54113         (CALC): Likewise.
54114         (FUNC): Likewise.
54115         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
54116         (test_functions): Add lgamma.
54117         (calc_generic_results): Handle mpfr_f_f1.
54118         * sysdeps/i386/fpu/libm-test-ulps: Update.
54119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54121 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54123         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
54124         __mpn_add_n for PowerPC64/POWER7.
54125         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
54126         __mpn_sub_n for PowerPC64/POWER7.
54128         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
54129         __mpn_addmul_1 for PowerPC64.
54130         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
54131         __mpn_submul_1 for PowerPC64.
54132         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
54133         for PowerPC64.
54134         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
54135         for PowerPC64.
54137 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
54139         [BZ #15089]
54140         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
54142 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54144         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
54146         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
54147         add multiarch folders.
54148         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
54149         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
54150         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
54151         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
54152         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
54153         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
54154         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
54155         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
54156         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
54157         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
54158         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
54159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
54160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
54161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
54162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
54163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
54164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
54166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
54167         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
54168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
54169         New file.
54170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
54171         New file.
54172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
54173         multiarch __ieee754_hypot for PowerPC32.
54174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
54175         New file.
54176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
54177         New file.
54178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
54179         multiarch __ieee754_hypotf for PowerPC32.
54181         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
54182         long_double_symbol only if __logbl is defined.
54183         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
54184         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
54185         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
54186         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
54187         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
54188         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
54189         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
54190         path for implementation.
54191         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
54192         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
54193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
54194         logb, and logbl multiarch implementations for PowerPC32.
54195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
54196         file.
54197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
54198         file.
54199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
54200         multiarch logb for PowerPC32.
54201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
54202         file.
54203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
54204         file.
54205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
54206         multiarch logbf for PowerPC32.
54207         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
54208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
54209         file.
54210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
54211         multiarch logbl implementation for PowerPC32.
54213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
54214         and modff multiarch implementations.
54215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
54216         New file.
54217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
54218         New file.
54219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
54220         multiarch modf for PowerPC32.
54221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
54222         New file.
54223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
54224         New file.
54225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
54226         multiarch modff for PowerPC32.
54228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
54229         and lrintf multiarch implementations.
54230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
54231         New file.
54232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
54233         New file.
54234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
54235         multiarch lrint for PowerPC32.
54236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
54237         file: multiarch lrintf for PowerPC32.
54239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
54240         and lroundf multiarch implementations.
54241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
54242         New file.
54243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
54244         New file.
54245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
54246         New file.
54247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
54248         multiarch lround for PowerPC32.
54249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
54250         file: multiarch lroundf for PowerPC32.
54252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
54253         copysign and copysignf multiarch implementations.
54254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
54255         New file.
54256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
54257         New file.
54258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
54259         file: multiarch copysign for PowerPC32.
54260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
54261         file: multiarch copysignf for PowerPC32.
54263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
54264         and truncf multiarch implementations.
54265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
54266         New file.
54267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
54268         file.
54269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
54270         multiarch trunc for PowerPC32.
54271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
54272         New file.
54273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
54274         New file.
54275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
54276         multiarch truncf for PowerPC32.
54278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
54279         and roundf multiarch implementations.
54280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
54281         New file.
54282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
54283         file.
54284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
54285         multiarch round for PowerPC32.
54286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
54287         New file.
54288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
54289         New file.
54290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
54291         multiarch roundf for PowerPC32.
54293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
54294         and floorf multiarch implementations.
54295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
54296         New file.
54297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
54298         file.
54299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
54300         multiarch floor for PowerPC32.
54301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
54302         New file.
54303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
54304         New file.
54305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
54306         multiarch floorf for PowerPC32.
54308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
54309         and ceilf multiarch implementations.
54310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
54311         New file.
54312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
54313         file.
54314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
54315         multiarch ceil for PowerPC32.
54316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
54317         New file.
54318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
54319         file.
54320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
54321         multiarch ceilf for PowerPC32.
54323         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
54324         is defined.
54325         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
54326         FINITEF is defined.
54327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
54328         and finitef multiarch implementations.
54329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
54330         New file.
54331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
54332         file.
54333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
54334         multiarch finite for PowerPC32.
54335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
54336         New file.
54337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
54338         file: multiarch finitef for PowerPC32.
54340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
54341         and isinff multiarch implementations.
54342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
54343         file.
54344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
54345         file.
54346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
54347         multiarch isinf for PowerPC32.
54348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
54349         New file.
54350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
54351         multiarch isinff for PowerPC32.
54353         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
54354         alias when __isnan is defined.
54355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
54356         and isnanf multiarch implementations.
54357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
54358         file.
54359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
54360         file.
54361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
54362         file.
54363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
54364         file.
54365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
54366         multiarch isnan for PowerPC32.
54367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
54368         New file.
54369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
54370         New file.
54371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
54372         multiarch isnanf for PowerPC32.
54374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
54375         and sqrtf multiarch implementations.
54376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
54377         file.
54378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
54379         file.
54380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
54381         multiarch sqrt for PowerPC32.
54382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
54383         file.
54384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
54385         file.
54386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
54387         multiarch sqrtf for PowerPC32.
54389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
54390         and llroundf multiarch implementations.
54391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
54392         New file.
54393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
54394         New file.
54395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
54396         New file.
54397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
54398         file: multiarch llround for PowerPC32.
54399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
54400         file: multiarch llroundf for PowerPC32.
54402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
54403         multiarch PowerPC32 fpu implementations.
54404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
54405         New file.
54406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
54407         New file.
54408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
54409         multiarch llrint for PowerPC32.
54410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
54411         New file.
54412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
54413         New file.
54414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
54415         file.
54417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
54419         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
54420         file.
54421         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
54422         file.
54423         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
54424         file.
54425         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
54426         multiarch wordcopy for PPC32.
54427         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
54428         wordcopy objects.
54429         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54430         (__libc_ifunc_impl_list): Likewise.
54431         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
54432         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
54433         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
54434         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
54435         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
54436         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
54438         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
54439         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
54440         file.
54441         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
54442         file.
54443         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
54444         file.
54445         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
54446         multiarch wcscpy for PPC32.
54447         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
54448         multiarch objects.
54449         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54450         (__libc_ifunc_impl_list): Likewise.
54451         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
54452         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
54453         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
54454         sysdeps/powerpc/power6/wcscpy.c.
54456         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
54457         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
54458         file.
54459         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
54460         file.
54461         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
54462         file.
54463         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
54464         multiarch wcsrchr for PPC32.
54465         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
54466         multiarch objects.
54467         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54468         (__libc_ifunc_impl_list): Likewise.
54469         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
54470         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
54471         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
54472         sysdeps/powerpc/power6/wcsrchr.c.
54474         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
54475         file.
54476         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
54477         file.
54478         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
54479         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
54480         multiarch wcschr for PPc32.
54481         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
54482         multiarch objects.
54483         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54484         (__libc_ifunc_impl_list): Likewise.
54485         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
54486         * sysdeps/powerpc/power6/wcschr.c: ... to here.
54487         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
54488         sysdeps/powerpc/power6/wcschr.c.
54490         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
54491         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
54492         file.
54493         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
54494         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
54495         file: multiarch strchr for PPC32.
54496         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
54497         multiarch objects.
54498         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54499         (__libc_ifunc_impl_list): Likewise.
54501         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
54502         name.
54503         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
54504         file.
54505         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
54506         file.
54507         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
54508         multiarch strchrnul for PPC32.
54509         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
54510         multiarch objects.
54511         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54512         (__libc_ifunc_impl_list): Likewise.
54514         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
54515         file.
54516         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
54517         multiarch strncasecmp for PPC32.
54518         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
54519         file.
54520         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
54521         multiarch strncasecmp_l for PPC32.
54522         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
54523         strncasecmp multiarch objects.
54524         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54525         (__libc_ifunc_impl_list): Likewise.
54527         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
54528         file.
54529         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
54530         multiarch strncasecmp for PPC32.
54531         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
54532         New file.
54533         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
54534         multiarch strcasecmp_l for PPC32.
54535         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
54536         multiarch objects.
54537         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54538         (__libc_ifunc_impl_list): Likewise.
54540         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
54541         file.
54542         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
54543         file.
54544         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
54545         multiarch strncmp for PPC32.
54546         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
54547         multiarch objects.
54548         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54549         (__libc_ifunc_impl_list): Likewise.
54551         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
54552         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
54553         file.
54554         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
54555         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
54556         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
54557         multiarch objects.
54558         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54559         (__libc_ifunc_impl_list): Likewise.
54561         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
54562         file.
54563         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
54564         file.
54565         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
54566         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
54567         multiarch objects.
54568         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54569         (__libc_ifunc_impl_list): Likewise.
54571         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
54572         file.
54573         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
54574         file.
54575         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
54576         multiarch rawmemchr for PPC32.
54577         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
54578         multiarch objects.
54579         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54580         (__libc_ifunc_impl_list): Likewise.
54582         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
54583         file.
54584         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
54585         file.
54586         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
54587         file: memrchr multiarch for PPC32.
54588         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
54589         multiarch objects.
54590         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54591         (__libc_ifunc_impl_list): Likewise.
54593         * string/memchr.c (__memchr): Using macro to redefine symbol name.
54594         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
54595         file.
54596         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
54597         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
54598         multiarch memchr for PPC32.
54599         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
54600         multiarch objects.
54601         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54602         (__libc_ifunc_impl_list): Likewise.
54604         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
54605         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
54606         file.
54607         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
54608         file.
54609         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
54610         file: multiarch mempcpy for PPC32.
54611         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
54612         multiarch objects.
54613         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54614         (__libc_ifunc_impl_list): Likewise.
54616         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
54617         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
54618         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
54619         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
54620         multiarch bzero for PPC32.
54621         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
54622         file.
54623         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
54624         file.
54625         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
54626         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
54627         file: multiarch memset for PPC32.
54628         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
54629         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
54630         memset multiarch objects.
54631         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54632         (__libc_ifunc_impl_list): Likewise.
54634         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
54635         file.
54636         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
54637         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
54638         memcmp for PPC32.
54639         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
54640         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
54641         multiarch objects.
54642         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54643         (__libc_ifunc_impl_list): Likewise.
54645         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
54646         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
54647         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
54648         file.
54649         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
54650         file.
54651         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
54652         file.
54653         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
54654         multiarch memcpy for PPC32.
54655         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
54656         multiarch objects.
54657         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54658         (__libc_ifunc_impl_list): Likewise.
54660         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
54661         support multiarch for POWER/PPC32.
54662         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
54663         Likewise.
54664         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
54665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
54666         Implies file to make multiarch folder appers before the fpu and
54667         default folder for power4 configuration.
54669 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54671         * scripts/bench.pl: Append volatile keyword to type.
54673 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54675         * sysdeps/sh/sotruss-lib.c: New file.
54676         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
54678 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54682 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
54684         [BZ #6810]
54685         * math/w_tgamma.c: Include <errno.h>.
54686         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
54687         * math/w_tgammaf.c: Include <errno.h>.
54688         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
54689         * math/w_tgammal.c: Include <errno.h>.
54690         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
54691         * math/auto-libm-test-in: Do not allow missing errno on tgamma
54692         underflow.  Add more tgamma tests.
54693         * math/auto-libm-test-out: Regenerated.
54694         * sysdeps/i386/fpu/libm-test-ulps: Update.
54695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54697         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
54698         sin, sinh, tan, tanh, tgamma, y0 and y1.
54699         * math/auto-libm-test-out: Regenerated.
54700         * math/libm-test.inc (TEST_COND_x86_64): New macro.
54701         (TEST_COND_x86): Likewise.
54702         (M_E2l): Remove macro.
54703         (M_E3l): Likewise.
54704         (M_2_SQRT_PIl): Likewise.
54705         (M_SQRT_PIl): Likewise.
54706         (M_1_DIV_El): Likewise.
54707         (log_test_data): Use AUTO_TESTS_f_f.
54708         (log10_test_data): Likewise.
54709         (log1p_test_data): Likewise.
54710         (log2_test_data): Likewise.
54711         (sin_test_data): Likewise.
54712         (sin_tonearest_test_data): Likewise.
54713         (sin_towardzero_test_data): Likewise.
54714         (sin_downward_test_data): Likewise.
54715         (sin_upward_test_data): Likewise.
54716         (sinh_test_data): Likewise.
54717         (sinh_tonearest_test_data): Likewise.
54718         (sinh_towardzero_test_data): Likewise.
54719         (sinh_downward_test_data): Likewise.
54720         (sinh_upward_test_data): Likewise.
54721         (tan_test_data): Likewise.
54722         (tan_tonearest_test_data): Likewise.
54723         (tan_towardzero_test_data): Likewise.
54724         (tan_downward_test_data): Likewise.
54725         (tan_upward_test_data): Likewise.
54726         (tanh_test_data): Likewise.
54727         (tgamma_test_data): Likewise.
54728         (y0_test_data): Likewise.
54729         (y1_test_data): Likewise.
54730         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
54731         (special_real_inputs): Add pi/4.
54732         * sysdeps/i386/fpu/libm-test-ulps: Update.
54733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54735 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54737         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
54738         "longjmp_target" static probes.
54739         (__longjmp): Rename to __longjmp_symbol.
54740         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54741         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
54742         on which longjmp to generate.
54743         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
54744         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
54745         probe.
54746         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54747         (__sigjmp_save): Rename to __sigjmp_save_symbol.
54748         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
54749         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
54750         and __sigjmp_save_symbol based on which sigsetjmp to generated.
54751         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
54753         __longjmp_symbol based on which __longjmp to generate.
54754         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
54755         probe.
54756         (setjmp): Rename to setjmp_symbol.
54757         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54758         (_setjmp): Rename to _setjmp_symbol.
54759         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54760         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
54761         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
54762         which setjmp to generate.
54763         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
54764         "longjmp_target" static probes.
54766 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54768         * benchtests/README: Add note about output arguments.
54769         * benchtests/bench-sincos.c: Remove file.
54770         * benchtests/sincos-inputs: New file.
54771         * scripts/bench.pl: Identify output arguments and define
54772         static variables for them.
54774         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
54776         [BZ #15941]
54777         * Makefile (INSTALL): Add install-plain.texi as the primary
54778         dependency.
54779         * manual/install-plain.texi: New file.
54780         * manual/install.texi: Include node directive only for
54781         non-plaintext output.
54783 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
54785         * stdlib/longlong.h: Update from GCC.
54787         [BZ #6807]
54788         [BZ #15901]
54789         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
54790         * math/w_j0f.c (y0f): Likewise.
54791         * math/w_j0l.c (__y0l): Likewise.
54792         * math/w_j1.c (y1): Likewise.
54793         * math/w_j1f.c (y1f): Likewise.
54794         * math/w_j1l.c (__y1l): Likewise.
54795         * math/w_jn.c (yn): Likewise.
54796         * math/w_jnf.c (ynf): Likewise.
54797         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
54798         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
54799         value for Bessel function domain errors outside _SVID_ mode.
54800         Adjust sign of return value for yn (negative integer, 0).
54801         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
54802         by zero in return for negative x and set sign appropriately for
54803         negative n.
54804         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
54805         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54806         * math/libm-test.inc (y0_test_data): Add more tests and adjust
54807         expectations in error cases.
54808         (y1_test_data): Likewise.
54809         (yn_test_data): Likewise.
54810         * sysdeps/i386/fpu/libm-test-ulps: Update.
54811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54813 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54815         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
54816         "64" to "64-v1".  Add "64-v2".
54817         (abi-64-options): Rename to ...
54818         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
54819         (abi-64-condition): Rename to ...
54820         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
54821         (abi-64-ld-soname): Rename to ...
54822         (abi-64-v1-ld-soname): ... this.
54823         (abi-64-v2-options): Define.
54824         (abi-64-v2-condition): Likewise.
54825         (abi-64-v2-ld-soname): Likewise.
54826         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
54827         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
54828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
54829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
54830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
54832 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54833             Alan Modra  <amodra@gmail.com>
54835         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
54836         New versions for use with the ELFv2 ABI.
54837         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
54838         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
54839         declaration.
54840         (struct La_ppc64v2_retval): Likewise.
54841         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
54842         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
54843         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
54844         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
54845         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
54846         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54847         Do not save or restore CR.
54848         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
54849         (_dl_profile_resolve): Do no save or restore CR.  Support extended
54850         return values for ELFv2 ABI.  Fix location of FPR return registers.
54851         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
54852         updated values for _CALL_ELF == 2.
54853         (La_regs, La_retval, int_retval): Likewise.
54855 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54857         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
54858         (FRAME_MIN_SIZE_PARM): Likewise.
54859         (FRAME_BACKCHAIN): Likewise.
54860         (FRAME_CR_SAVE): Likewise.
54861         (FRAME_LR_SAVE): Likewise.
54862         (FRAME_TOC_SAVE): Likewise.
54863         (FRAME_PARM_SAVE): Likewise.
54864         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
54865         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
54866         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54867         (call_mcount_parm_offset): New macro.
54868         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
54869         (PROF): Use symbolic stack frame offsets.
54870         (TAIL_CALL_SYSCALL_ERROR): Likewise.
54871         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
54872         Redefine in terms of FRAME_MIN_SIZE.
54873         (_dl_runtime_resolve): Use symbolic stack frame offsets.
54874         (_dl_profile_resolve): Likewise.  Update comment.
54875         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
54876         symbols stack frame offsets.
54877         (__sigsetjmp): Likewise.
54878         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
54879         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
54880         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
54881         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
54883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
54884         (FRAME_BACKCHAIN): Remove.
54885         (FRAME_CR_SAVE): Likewise.
54886         (FRAME_LR_SAVE): Likewise.
54887         (FRAME_COMPILER_DW): Likewise.
54888         (FRAME_LINKER_DW): Likewise.
54889         (FRAME_TOC_SAVE): Likewise.
54890         (FRAME_PARM_SAVE): Likewise.
54891         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
54892         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
54893         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
54895         (CHECK_SP): Use symbolic stack frame offsets.
54896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
54897         zone" instead of caller's parameter save area for temp storage.
54898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54899         Likewise.  Also, use symbolic stack frame offsets.
54900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
54901         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
54902         our own stack frame instead of the caller's.
54903         (__socket): Use symbolic stack frame offsets.
54905 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54906             Alan Modra  <amodra@gmail.com>
54908         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
54909         Define.
54910         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
54911         (PPC64_LOCAL_ENTRY_OFFSET): Define.
54912         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
54913         New function.
54914         (elf_machine_fixup_plt): Call it.
54915         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
54916         reloc arguments.
54917         (elf_machine_rela): Update call to elf_machine_plt_conflict.
54918         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
54919         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
54920         r2 before calling target.
54922 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54923             Alan Modra  <amodra@gmail.com>
54925         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
54926         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
54927         versions of macros to support ELFv2 ABI.
54928         (LOCALENTRY): New macro.
54929         (ENTRY, EALIGN): Use it.
54930         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
54931         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
54932         fall through into ENTRY entry point.
54933         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
54934         Only define if _CALL_ELF != 2.
54936         (elf_machine_matches_host): Verify ABI version matches.
54937         (RTLD_START): Use LOCALENTRY.
54938         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
54939         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
54940         (PLT_ENTRY_WORDS): New macro.
54941         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
54942         (elf_machine_runtime_setup): Support ELFv2 ABI.
54943         (elf_machine_fixup_plt): Likewise.
54944         (elf_machine_plt_conflict): Likewise.
54945         (resolve_ifunc): Likewise.
54946         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
54947         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54948         Likewise.
54949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
54950         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
54951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54952         (makecontext): Support ELFv2 ABI.
54953         * elf/elf.h (EF_PPC64_ABI): Define.
54955 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54957         * sysdeps/powerpc/powerpc64/sysdep.h
54958         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
54959         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
54960         (ENTRY) [ASSEMBLER]: ... but instead here ...
54961         (EALIGN) [ASSEMBLER]: ... and here.
54962         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
54963         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
54964         (ENTRY_2) [!ASSEMBLER]: Use it.
54965         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
54966         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
54967         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
54968         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
54969         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
54970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
54971         Use PPC64_LOAD_FUNCPTR.
54973         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
54975 2013-12-04  Alan Modra  <amodra@gmail.com>
54977         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
54978         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
54979         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
54980         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
54982         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
54983         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
54984         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
54985         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
54986         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
54987         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
54989 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54992         (__makecontext): Fix incorrect CFI when backtracing out of
54993         context created via makecontext.
54994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
54995         (__setcontext): Fix incorrect CFI during switch to new context.
54996         (__novec_setcontext): Likewise.
54998 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
55000         [BZ #4772]
55001         * time/strptime_l.c (__strptime_internal): Allow modifiers
55002         in strptime.
55003         * time/tst-strptime.c (day_tests): Add testcase.
55005 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55007         * scripts/bench.pl: Skip over blank lines.
55009 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
55011         [BZ #926]
55012         * manual/time.texi (Calendar Time): Clarify what timezone functions
55013         use.
55015 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55019 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
55021         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
55022         implementation.
55023         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
55024         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
55025         * debug/memset_chk.c (__memset_chk): Likewise.
55026         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
55027         * debug/strncpy_chk.c: Likewise.
55029 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
55031         [BZ #15268]
55032         [BZ #15425]
55033         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
55034         (__ieee754_exp): For possibly underflowing results, check size of
55035         result and force underflow exception if required.
55036         * math/auto-libm-test-in: Add more tests of exp.
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         [BZ #16283]
55042         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
55043         * math/w_exp2f.c (__exp2f): Likewise.
55044         * math/w_exp2l.c (__exp2l): Likewise.
55045         * math/auto-libm-test-in: Do not allow missing errno on exp2
55046         underflow.
55047         * math/auto-libm-test-out: Regenerated.
55049 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
55051         [BZ #16274]
55052         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
55053         handle filename validation.
55054         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
55055         (do_open): Delete.
55057 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
55059         [BZ #6786]
55060         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
55061         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
55062         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
55063         <float.h>.
55064         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
55065         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
55066         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55067         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
55068         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55069         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
55070         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55071         * math/auto-libm-test-in: Don't allow missing errno from erfc.
55072         Add more erfc tests.
55073         * math/auto-libm-test-out: Regenerated.
55074         * sysdeps/i386/fpu/libm-test-ulps: Update.
55075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55077         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
55078         exp2, expm1, j0 and j1.
55079         * math/auto-libm-test-out: Regenerated.
55080         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
55081         (erfc_test_data): Likewise.
55082         (exp_test_data): Likewise.
55083         (exp_tonearest_test_data): Likewise.
55084         (exp_towardzero_test_data): Likewise.
55085         (exp_downward_test_data): Likewise.
55086         (exp_upward_test_data): Likewise.
55087         (exp10_test_data): Likewise.
55088         (exp2_test_data): Likewise.
55089         (expm1_test_data): Likewise.
55090         (j0_test_data): Likewise.
55091         (j1_test_data): Likewise.
55092         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
55093         (input_flag_type): Add flag_xfail_rounding.
55094         (input_flags): Add xfail-rounding.
55095         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
55096         (output_for_one_input_case): Handle flag_xfail_rounding.
55097         * sysdeps/i386/fpu/libm-test-ulps: Update.
55098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55100 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
55102         [BZ #16289]
55103         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
55104         division by 0.
55106 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55108         [BZ #16195]
55109         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
55110         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
55111         (STAP_PROBE0): New macro.
55112         (STAP_PROBE1): Likewise.
55113         (STAP_PROBE2): Likewise.
55114         (STAP_PROBE3): Likewise.
55115         (STAP_PROBE4): Likewise.
55117 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
55119         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
55121 2013-12-02  Steve Ellcey  <sellcey@mips.com>
55123         * benchtests/Makefile (bench): Add sqrt.
55124         (LDLIBS-bench-sqrt): New.
55125         * benchtests/sqrt-input: New.
55127 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
55129         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
55130         (GAIH_EAI): Likewise.
55131         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
55132         (gaih_inet): Likewise.
55133         (getaddrinfo): Don't use GAIH_EAI.
55135         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
55136         (struct gaih): Remove definition.
55138 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55140         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
55141         Use HERRNOP directly.
55143 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55147 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
55149         * math/gen-auto-libm-tests.c (test_functions): Add more
55150         single-argument functions.
55151         (special_fill_pi_2): New function.
55152         (special_fill_minus_pi_2): Likewise.
55153         (special_fill_pi_6): Likewise.
55154         (special_fill_minus_pi_6): Likewise.
55155         (special_fill_pi_3): Likewise.
55156         (special_fill_2pi_3): Likewise.
55157         (special_fill_e): Likewise.
55158         (special_fill_1_e): Likewise.
55159         (special_fill_e_minus_1): Likewise.
55160         (special_real_inputs): Add more special inputs.
55161         (output_for_one_input_case): Do not require ERANGE on underflow to
55162         zero if round-to-nearest result does not underflow to zero, unless
55163         exact results required.
55164         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
55165         atan, atanh, cbrt, cos and cosh.
55166         * math/auto-libm-test-out: Regenerated.
55167         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
55168         (acos_tonearest_test_data): Likewise.
55169         (acos_towardzero_test_data): Likewise.
55170         (acos_downward_test_data): Likewise.
55171         (acos_upward_test_data): Likewise.
55172         (acosh_test_data): Likewise.
55173         (asin_test_data): Likewise.
55174         (asin_tonearest_test_data): Likewise.
55175         (asin_towardzero_test_data): Likewise.
55176         (asin_upward_test_data): Likewise.
55177         (asinh_test_data): Likewise.
55178         (atan_test_data): Likewise.
55179         (atanh_test_data): Likewise.
55180         (cbrt_test_data): Likewise.
55181         (cos_test_data): Likewise.
55182         (cos_tonearest_test_data): Likewise.
55183         (cos_towardzero_test_data): Likewise.
55184         (cos_downward_test_data): Likewise.
55185         (cos_upward_test_data): Likewise.
55186         (cosh_test_data): Likewise.
55187         (cosh_tonearest_test_data): Likewise.
55188         (cosh_towardzero_test_data): Likewise.
55189         (cosh_downward_test_data): Likewise.
55190         (cosh_upward_test_data): Likewise.
55191         * sysdeps/i386/fpu/libm-test-ulps: Update.
55192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55194 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
55196         [BZ #6787]
55197         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
55198         * math/w_exp10f.c (__exp10f): Likewise.
55199         * math/w_exp10l.c (__exp10l): Likewise.
55200         * math/libm-test.inc (exp10_test_data): Add more tests and expect
55201         errno settings in existing tests.
55203         [BZ #14032]
55204         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
55205         precision control set to double precision.
55206         * sysdeps/i386/fpu/w_sqrt.c: New file.
55207         * math/auto-libm-test-in: Add more tests.
55208         * math/auto-libm-test-out: Update.
55210         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
55211         (sqrt_test_tonearest): New function.
55212         (sqrt_towardzero_test_data): New variable.
55213         (sqrt_test_towardzero): New function.
55214         (sqrt_downward_test_data): New variable.
55215         (sqrt_test_downward): New function.
55216         (sqrt_upward_test_data): New variable.
55217         (sqrt_test_upward): New function.
55218         (main): Call the new functions.
55220         * math/gen-auto-libm-tests.c: New file.
55221         * math/auto-libm-test-in: Likewise.
55222         * math/auto-libm-test-out: New generated file.
55223         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
55224         variables.
55225         (%beautify): Add generated representations of zero.
55226         (top level): Set $auto_input and call parse_auto_input.
55227         (beautify): Remove trailing "f" from hex float constants.
55228         (parse_args): Handle XFAIL_TEST.
55229         (convert_condition): New function.
55230         (or_value): Likewise.
55231         (or_cond_value): Likewise.
55232         (generate_testfile): Handle AUTO_TESTS_* lines.
55233         (parse_auto_input): New function.
55234         * math/libm-test.inc (XFAIL_TEST): New macro.
55235         (ERRNO_UNCHANGED): Update value.
55236         (ERRNO_EDOM): Likewise.
55237         (ERRNO_ERANGE): Likewise.
55238         (IGNORE_RESULT): Likewise.
55239         (TEST_COND_flt_32): New macro.
55240         (TEST_COND_dbl_64): Likewise.
55241         (TEST_COND_ldbl_96_intel): Likewise.
55242         (TEST_COND_ldbl_96_m68k): Likewise.
55243         (TEST_COND_ldbl_128): Likewise.
55244         (TEST_COND_ldbl_128ibm): Likewise.
55245         (TEST_COND_long32): Likewise.
55246         (TEST_COND_long64): Likewise.
55247         (TEST_COND_before_rounding): Likewise.
55248         (TEST_COND_after_rounding): Likewise.
55249         (enable_test): Handle XFAIL_TEST flag.
55250         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
55251         with finite results.
55252         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
55253         auto-libm-test-out.
55255 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55256             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55258         [BZ #16214]
55259         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
55260         __tls_get_addr_internal instead of __tls_get_offset in order to
55261         avoid GOT pointer dependency.  Make rtld export
55262         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
55263         __tls_get_addr since we are a __tls_get_offset platform.
55264         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
55265         GOT pointer being set up before.
55266         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
55268 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
55270         * manual/math.texi (Errors in Math Functions): Document accuracy
55271         goals.
55273         [BZ #15004]
55274         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
55275         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
55276         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55277         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55278         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55279         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55280         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55281         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55282         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55283         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55284         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55285         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55286         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55287         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55288         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55289         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55291         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
55292         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
55293         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
55294         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
55295         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
55296         Likewise.
55297         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
55298         Likewise.
55299         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
55300         Likewise.
55301         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
55302         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
55303         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
55304         atomic-feupdateenv and flt-rounds.
55305         * sysdeps/powerpc/nofpu/Versions (libc): Add
55306         __atomic_feholdexcept, __atomic_feclearexcept,
55307         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
55308         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
55309         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
55310         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
55311         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
55312         here.
55313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
55314         Update.
55316         * manual/arith.texi (FP Exceptions): Document that exceptions may
55317         not be raised when matherr is used.
55318         (Math Error Reporting): Document overflow in directed rounding
55319         modes.  Document that errno may not be set when finite values are
55320         returned on overflow.  Document intent to set errno on underflow
55321         only for underflow to zero.
55323         [BZ #16271]
55324         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
55325         round-to-nearest then adjust result for other rounding modes.
55326         * include/fenv.h (fegetround): Use libm_hidden_proto.
55327         * math/fegetround.c (fegetround): Use libm_hidden_def.
55328         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
55329         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
55330         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
55331         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
55332         Likewise.
55333         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
55334         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
55335         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
55336         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
55338 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55340         [BZ #16077]
55341         * nss/Versions (libnss_files): Add
55342         _nss_files_gethostbyname3_r.
55343         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
55344         New function.
55345         (HOST_DB_LOOKUP): Remove macro.
55346         (_nss_files_gethostbyname_r): Implement function without the
55347         HOST_DB_LOOKUP macro.
55348         (_nss_files_gethostbyname2_r): Likewise.
55350 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
55352         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
55354 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
55356         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
55357         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
55358         warning.
55360 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55362         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
55363         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
55364         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
55365         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
55366         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
55367         __fe_nomask_env_priv and attribute_hidden.
55368         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
55369         (libc_feupdateenv_test_ppc): Likewise.
55370         (libc_feresetround_ppc): Likewise.
55371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55372         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
55373         compat_symbol macro.
55374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55375         (__fe_nomask_env): Likewise.
55376         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
55378 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55380         * string/Makefile: Remove ifunc tests.
55381         * string/test-string.h: Define TEST_IFUNC.
55382         * string/test-bcopy-ifunc.c: Remove.
55383         * string/test-bzero-ifunc.c: Likewise.
55384         * string/test-memccpy-ifunc.c: Likewise.
55385         * string/test-memchr-ifunc.c: Likewise.
55386         * string/test-memcmp-ifunc.c: Likewise.
55387         * string/test-memcpy-ifunc.c: Likewise.
55388         * string/test-memmem-ifunc.c: Likewise.
55389         * string/test-memmove-ifunc.c: Likewise.
55390         * string/test-mempcpy-ifunc.c: Likewise.
55391         * string/test-memrchr-ifunc.c: Likewise.
55392         * string/test-memset-ifunc.c: Likewise.
55393         * string/test-rawmemchr-ifunc.c: Likewise.
55394         * string/test-stpcpy-ifunc.c: Likewise.
55395         * string/test-stpncpy-ifunc.c: Likewise.
55396         * string/test-strcasecmp-ifunc.c: Likewise.
55397         * string/test-strcasestr-ifunc.c: Likewise.
55398         * string/test-strcat-ifunc.c: Likewise.
55399         * string/test-strchr-ifunc.c: Likewise.
55400         * string/test-strchrnul-ifunc.c: Likewise.
55401         * string/test-strcmp-ifunc.c: Likewise.
55402         * string/test-strcpy-ifunc.c: Likewise.
55403         * string/test-strcspn-ifunc.c: Likewise.
55404         * string/test-strlen-ifunc.c: Likewise.
55405         * string/test-strncasecmp-ifunc.c: Likewise.
55406         * string/test-strncat-ifunc.c: Likewise.
55407         * string/test-strncmp-ifunc.c: Likewise.
55408         * string/test-strncpy-ifunc.c: Likewise.
55409         * string/test-strnlen-ifunc.c: Likewise.
55410         * string/test-strpbrk-ifunc.c: Likewise.
55411         * string/test-strrchr-ifunc.c: Likewise.
55412         * string/test-strspn-ifunc.c: Likewise.
55413         * string/test-strstr-ifunc.c: Likewise.
55415 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55417         * benchtests/Makefile: Remove ifunc tests.
55418         * benchtests/bench-string.h: Define TEST_IFUNC.
55419         * benchtests/bench-bcopy-ifunc.c: Remove.
55420         * benchtests/bench-bzero-ifunc.c: Likewise.
55421         * benchtests/bench-memccpy-ifunc.c: Likewise.
55422         * benchtests/bench-memchr-ifunc.c: Likewise.
55423         * benchtests/bench-memcmp-ifunc.c: Likewise.
55424         * benchtests/bench-memcpy-ifunc.c: Likewise.
55425         * benchtests/bench-memmem-ifunc.c: Likewise.
55426         * benchtests/bench-memmove-ifunc.c: Likewise.
55427         * benchtests/bench-mempcpy-ifunc.c: Likewise.
55428         * benchtests/bench-memrchr-ifunc.c: Likewise.
55429         * benchtests/bench-memset-ifunc.c: Likewise.
55430         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
55431         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
55432         * benchtests/bench-stpcpy-ifunc.c: Likewise.
55433         * benchtests/bench-stpncpy-ifunc.c: Likewise.
55434         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
55435         * benchtests/bench-strcasestr-ifunc.c: Likewise.
55436         * benchtests/bench-strcat-ifunc.c: Likewise.
55437         * benchtests/bench-strchr-ifunc.c: Likewise.
55438         * benchtests/bench-strchrnul-ifunc.c: Likewise.
55439         * benchtests/bench-strcmp-ifunc.c: Likewise.
55440         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
55441         * benchtests/bench-strcpy-ifunc.c: Likewise.
55442         * benchtests/bench-strcspn-ifunc.c: Likewise.
55443         * benchtests/bench-strlen-ifunc.c: Likewise.
55444         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
55445         * benchtests/bench-strncat-ifunc.c: Likewise.
55446         * benchtests/bench-strncmp-ifunc.c: Likewise.
55447         * benchtests/bench-strncpy-ifunc.c: Likewise.
55448         * benchtests/bench-strnlen-ifunc.c: Likewise.
55449         * benchtests/bench-strpbrk-ifunc.c: Likewise.
55450         * benchtests/bench-strrchr-ifunc.c: Likewise.
55451         * benchtests/bench-strsep-ifunc.c: Likewise.
55452         * benchtests/bench-strspn-ifunc.c: Likewise.
55453         * benchtests/bench-strstr-ifunc.c: Likewise.
55455 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55457         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
55459 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55461         * resolv/netdb.h: Use __glibc_reserved instead __unused.
55462         * rt/aio.h: Likewise.
55463         * sysdeps/gnu/bits/utmp.h: Likewise.
55464         * sysdeps/gnu/bits/utmpx.h: Likewise.
55465         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55466         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
55467         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
55468         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
55469         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
55470         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
55471         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
55472         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
55473         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
55474         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
55475         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
55476         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
55477         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
55478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
55479         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55480         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
55481         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
55482         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
55483         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
55484         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
55485         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
55486         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
55487         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
55488         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55489         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
55490         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55491         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
55492         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
55493         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
55494         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
55495         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
55496         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
55497         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
55498         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
55499         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
55500         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
55501         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
55502         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
55503         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
55504         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
55505         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
55506         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
55508 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
55510         [BZ #16245]
55511         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
55512         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
55514 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
55516         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
55517         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
55518         Likewise.
55520 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55522         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
55523         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
55524         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
55525         (__fesetround): Remove define.
55526         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
55527         rounding and exceptions handling.
55528         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
55529         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
55530         (__fe_nomask_env): Likewise.
55531         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
55532         __fegetround instead of fegetround.
55533         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
55534         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
55536 2013-11-21  Roland McGrath  <roland@hack.frob.com>
55538         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
55539         it's there.
55541         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
55543 2013-11-21  Meador Inge  <meadori@codesourcery.com>
55545         [BZ #11157]
55546         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
55547         (encrypt_r): Likewise.
55548         * malloc/obstack.h (obstack_free): Likewise.
55549         * posix/unistd.h (encrypt): Likewise.
55551 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
55553         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
55554         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
55555         DL_CALL_DT_FINI() that call the functions directly.
55556         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
55557         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
55558         * elf/dl-fini.c: Likewise.
55560 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
55562         * malloc/hooks.c (memalign_check): Add alignment rounding.
55563         * malloc/malloc.c (_mid_memalign): New function.
55564         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
55565         Implement by calling _mid_memalign.
55566         * manual/probes.texi (Memory Allocation Probes): Remove
55567         memory_valloc_retry and memory_pvalloc_retry.
55569 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55571         * locale/programs/locarchive.c (open_archive): Add const
55572         qualifier to ARCHIVEFNAME and copy default fname to
55573         DEFAULT_FNAME.
55575         [BZ #15601]
55576         * libio/tst-widetext.input: Rename Oriya to Odia.
55577         * locale/iso-639.def: Likewise.
55579         * manual/probes.texi (Mathematical Function Probes): Add
55580         documentation for sin, cos, asin and acos probes.
55581         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
55582         (__sin32): Add slowasin probe.
55583         (__cos32): Add slowacos probe.
55584         (__mpsin): Add slowsin probe.
55585         (__mpcos): Add slowcos probe.
55587 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
55589         [BZ #15483]
55590         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
55591         thread-local __sim_exceptions_thread and global
55592         __sim_exceptions_global.
55593         (__sim_disabled_exceptions): Change to thread-local
55594         __sim_disabled_exceptions_thread and global
55595         __sim_disabled_exceptions_global.
55596         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55597         and global __sim_round_mode_global.
55598         (__simulate_exceptions): Use thread-local floating-point state and
55599         set global state from it as needed.
55600         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
55601         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
55602         __sim_round_mode_thread.
55603         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
55604         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
55605         and global __sim_exceptions_global.
55606         (__sim_disabled_exceptions): Change to thread-local
55607         __sim_disabled_exceptions_thread and global
55608         __sim_disabled_exceptions_global.
55609         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55610         and global __sim_round_mode_global.
55611         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
55612         (SIM_SET_GLOBAL): Likewise.
55613         * sysdeps/powerpc/soft-fp/sfp-machine.h
55614         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
55615         __sim_round_mode_thread.
55616         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
55617         __sim_disabled_exceptions_thread.
55618         (__sim_exceptions): Change to __sim_exceptions_thread.
55619         (__sim_disabled_exceptions): Change to
55620         __sim_disabled_exceptions_thread.
55621         (__sim_round_mode): Change to __sim_round_mode_thread.
55622         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
55623         thread-local floating-point state and set global state from it as
55624         needed.
55625         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
55626         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
55627         (__sim_disabled_exceptions): Remove extern declaration.
55628         (feenableexcept): Use thread-local floating-point state and set
55629         global state from it as needed.
55630         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
55631         extern declaration.
55632         (__sim_disabled_exceptions): Likewise.
55633         (__sim_round_mode): Likewise.
55634         (__fegetenv): Use thread-local floating-point state.
55635         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
55636         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
55637         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
55638         floating-point state and set global state from it as needed.
55639         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
55640         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
55641         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
55642         Likewise.
55643         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
55644         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
55645         Likewise.
55646         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
55647         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
55648         Use __sim_round_mode_thread.
55649         * math/test-fenv-tls.c: New file.
55650         * math/Makefile (tests): Add test-fenv-tls.
55651         ($(objpfx)test-fenv-tls): Depend on
55652         $(common-objpfx)nptl/libpthread.so.
55654 2013-11-19  Andreas Schwab  <schwab@suse.de>
55656         * locale/programs/locale.c (show_info): Decode wordarray elements.
55657         * locale/categories.def (LC_MONETARY): Add element for
55658         _NL_MONETARY_CRNCYSTR.
55659         * locale/C-monetary.c (conversion_rate): New variable.
55660         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
55661         element.
55663 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
55665         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
55666         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
55668 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
55670         * elf/Makefile (tst-auxv): New test.
55671         * elf/tst-auxv.c: New
55672         * elf/rtld.c (dl_main): Adjust AT_EXECFN
55674 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
55676         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
55677         (hidden_proto): Caller changed.
55678         (hidden_tls_proto): New macro.
55679         (libc_hidden_tls_proto): Likewise.
55680         (rtld_hidden_tls_proto): Likewise.
55681         (libm_hidden_tls_proto): Likewise.
55682         (libresolv_hidden_tls_proto): Likewise.
55683         (librt_hidden_tls_proto): Likewise.
55684         (libdl_hidden_tls_proto): Likewise.
55685         (libnss_files_hidden_tls_proto): Likewise.
55686         (libnsl_hidden_tls_proto): Likewise.
55687         (libnss_nisplus_hidden_tls_proto): Likewise.
55688         (libutil_hidden_tls_proto): Likewise.
55690 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
55692         [BZ #10253]
55693         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
55694         (decompose_rpath): Defer expansion to fillin_rpath.
55695         (_dl_init_paths): Pass linkmap to fillin_rpath.
55697 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55699         * benchtests/Makefile: Add strsep.
55700         * benchtests/bench-strsep.c: New file: strsep benchtest.
55701         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
55703 2013-11-18  Andreas Schwab  <schwab@suse.de>
55705         * locale/programs/locale.c (show_info) [case byte]: Check for
55706         '\377' instead of '\177'.
55707         * locale/C-monetary.c (not_available): Always use "\377".
55708         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
55709         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
55710         detect unavailable sign_posn locale elements.
55711         * locale/localeconv.c (__localeconv): For grouping and
55712         mon_grouping handle "\177" and "\377" like no grouping.
55713         (INT_ELEM): New macro.  Use it to set all numeric members.
55714         * locale/programs/ld-monetary.c (monetary_read)
55715         <tok_mon_grouping>: Normalize single -1 to the empty string.
55716         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
55717         Likewise.
55719 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55721         [BZ #16055]
55722         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
55723         when we match (nil).
55724         * stdio-common/tst-sscanf.c (struct test): Add testcase.
55726 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
55728         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
55729         (NO_TEST_INLINE): Update value.
55730         (ERRNO_UNCHANGED): Likewise.
55731         (ERRNO_EDOM): Likewise.
55732         (ERRNO_ERANGE): Likewise.
55733         (IGNORE_RESULT): Likewise.
55734         (check_float_internal): Check signs of NaN results if
55735         TEST_NAN_SIGN used.
55736         (check_complex): Pass TEST_NAN_SIGN flag through to second
55737         check_float_internal call.
55738         (copysign_test_data): Add tests with quiet NaNs as second
55739         argument.  Use TEST_NAN_SIGN.
55740         (fabs_test_data): Add test of negative quiet NaN argument.  Use
55741         TEST_NAN_SIGN.
55742         (signbit_test_data): Add tests of quiet NaN argument.
55743         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
55745         * math/gen-libm-test.pl (show_exceptions): Take extra argument
55746         $ignore_result.
55747         (parse_args): Handle function results specified as IGNORE.
55748         * math/libm-test.inc (IGNORE_RESULT): New macro.
55749         (check_float_internal): Do not check numerical result if flag
55750         IGNORE_RESULT set.
55751         (check_complex): Pass through IGNORE_RESULT to second
55752         check_float_internal call.
55753         (check_int): Do not check numerical result if flag IGNORE_RESULT
55754         set.
55755         (check_long): Likewise.
55756         (check_bool): Likewise.
55757         (check_longlong): Likewise.
55758         (lrint_test_data): Add tests of infinite and NaN arguments.
55759         (lrint_tonearest_test_data): Likewise.
55760         (lrint_towardzero_test_data): Likewise.
55761         (lrint_downward_test_data): Likewise.
55762         (lrint_upward_test_data): Likewise.
55763         (llrint_test_data): Likewise.
55764         (llrint_tonearest_test_data): Likewise.
55765         (llrint_towardzero_test_data): Likewise.
55766         (llrint_downward_test_data): Likewise.
55767         (llrint_upward_test_data): Likewise.
55768         (lround_test_data): Likewise.
55769         (llround_test_data): Likewise.
55771         * math/libm-test.inc (NO_TEST_INLINE): New macro.
55772         (ERRNO_UNCHANGED): Update value.
55773         (ERRNO_EDOM): Likewise.
55774         (ERRNO_ERANGE): Likewise.
55775         (NO_TEST_INLINE_FLOAT): New macro.
55776         (NO_TEST_INLINE_DOUBLE): Likewise.
55777         (enable_test): New function.
55778         (RUN_TEST_f_f): Check enable_test before running test.
55779         (RUN_TEST_2_f): Likewise.
55780         (RUN_TEST_fff_f): Likewise.
55781         (RUN_TEST_c_f): Likewise.
55782         (RUN_TEST_f_f1): Likewise.
55783         (RUN_TEST_fF_f1): Likewise.
55784         (RUN_TEST_fI_f1): Likewise.
55785         (RUN_TEST_ffI_f1): Likewise.
55786         (RUN_TEST_c_c): Likewise.
55787         (RUN_TEST_cc_c): Likewise.
55788         (RUN_TEST_f_i): Likewise.
55789         (RUN_TEST_f_i_tg): Likewise.
55790         (RUN_TEST_ff_i_tg): Likewise.
55791         (RUN_TEST_f_b): Likewise.
55792         (RUN_TEST_f_b_tg): Likewise.
55793         (RUN_TEST_f_l): Likewise.
55794         (RUN_TEST_f_L): Likewise.
55795         (RUN_TEST_fFF_11): Likewise.
55796         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
55797         conditionals.
55798         (cosh_test_data): Likewise.
55799         (exp_test_data): Likewise.
55800         (expm1_test_data): Likewise.
55801         (hypot_test_data): Likewise.
55802         (pow_test_data): Likewise.
55803         (sinh_test_data): Likewise.
55804         (tanh_test_data): Likewise.
55805         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
55806         flags argument.
55808         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
55809         tests with quiet NaN input and output.
55810         (acosh_test_data): Likewise.
55811         (asin_test_data): Likewise.
55812         (asinh_test_data): Likewise.
55813         (atan_test_data): Likewise.
55814         (atanh_test_data): Likewise.
55815         (atan2_test_data): Likewise.
55816         (cbrt_test_data): Likewise.
55817         (cos_test_data): Likewise.
55818         (cosh_test_data): Likewise.
55819         (erf_test_data): Likewise.
55820         (erfc_test_data): Likewise.
55821         (exp_test_data): Likewise.
55822         (exp10_test_data): Likewise.
55823         (exp2_test_data): Likewise.
55824         (expm1_test_data): Likewise.
55825         (hypot_test_data): Likewise.
55826         (j0_test_data): Likewise.
55827         (j1_test_data): Likewise.
55828         (jn_test_data): Likewise.
55829         (lgamma_test_data): Likewise.
55830         (log_test_data): Likewise.
55831         (log10_test_data): Likewise.
55832         (log1p_test_data): Likewise.
55833         (log2_test_data): Likewise.
55834         (pow_test_data): Likewise.
55835         (scalb_test_data): Likewise.
55836         (sin_test_data): Likewise.
55837         (sincos_test_data): Likewise.
55838         (sinh_test_data): Likewise.
55839         (tan_test_data): Likewise.
55840         (tanh_test_data): Likewise.
55841         (tgamma_test_data): Likewise.
55842         (y0_test_data): Likewise.
55843         (y1_test_data): Likewise.
55844         (yn_test_data): Likewise.
55846         [BZ #16167]
55847         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
55848         argument being NaN and avoid computations with second argument in
55849         that case.
55850         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55851         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
55852         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55854 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
55856         * locale/iso-639.def: Add Chitwani Tharu (the).
55858 2013-11-14  Andreas Schwab  <schwab@suse.de>
55860         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
55861         word instead of empty string.
55863 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55866         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
55867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55868         (__fe_nomask_env): Likewise.
55870 2013-11-13  Steve Ellcey  <sellcey@mips.com>
55872         * benchtests/bench-timing.h: Include time.h.
55874 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
55876         [BZ #15997]
55877         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
55878         to 3.4.0 for x32.
55879         * sysdeps/unix/sysv/linux/configure: Regenerated.
55881 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
55883         [BZ #16151]
55884         * stdlib/strtod_l.c (round_and_return): Do not consider
55885         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
55886         exponent one less than half the least subnormal exponent.
55887         * stdlib/test-strtod-round-data: Add more tests.
55888         * stdlib/tst-strtod-round.c (tests): Regenerated.
55890 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55892         [BZ #14143]
55893         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
55894         (__fe_mask_env): Likewise.
55895         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
55896         libm_hidden_proto and add function prototype.
55897         (__fe_mask_env): Add function prototype.
55898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55899         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
55900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55901         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
55902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55903         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
55905 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55907         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
55908         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
55910 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55912         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
55913         of htab_find_slot().
55915 2013-11-11  David S. Miller  <davem@davemloft.net>
55917         [BZ #16150]
55918         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
55919         symbol in the non-vis3 case in static builds.
55920         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
55921         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
55922         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
55923         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
55925 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
55927         [BZ #387]
55928         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
55929         it is empty.
55931 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55933         * benchtests/Makefile: Add bench-strtod.
55934         * benchtests/bench-strtod.c: New file: strtod benchtest
55936 2013-11-11  Andreas Schwab  <schwab@suse.de>
55938         [BZ #16153]
55939         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
55940         terminating NUL in key length.
55942 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55944         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
55945         Add artificial ODP entry for vDSO symbol for PPC64.
55946         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
55947         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
55949 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55951         [BZ #15374]
55952         * nss/getent.c (services_keys): Recognize services starting with digit.
55954 2013-11-06  David S. Miller  <davem@davemloft.net>
55956         [BZ #15985]
55957         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
55958         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
55960 2013-11-06  Will Newton  <will.newton@linaro.org>
55962         * manual/memory.texi (Malloc Examples): Remove register
55963         keyword from examples.
55965 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
55967         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
55969 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
55971         [BZ #6981]
55972         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
55973         depending on [__GCC_IEC_559 > 0].
55974         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
55975         depending on [__GCC_IEC_559_COMPLEX > 0].
55977 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
55979         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
55980         to iso-639.def.
55982 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
55984         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
55986 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
55988         [BZ #16112]
55989         * malloc/malloc (malloc_info): Do not handle first bin as
55990         special case.
55992 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
55994         * locale/iso-639.def: Add Central Nahuatl (nhn).
55996 2013-11-01  Bruno Haible  <bruno@clisp.org>
55998         [BZ #7003]
55999         * manual/math.texi (BSD Random): Specify range upper bound as
56000         in POSIX.
56002 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
56004         * locale/iso-639.def: Add Meadow Mari (mhr).
56006 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
56008         [BZ #14752], [BZ #15763]
56009         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
56010         Validate name.
56011         * rt/tst_shm.c: Add test for escaping directory.
56013 2013-10-31  Andreas Schwab  <schwab@suse.de>
56015         [BZ #15917]
56016         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
56017         followed by 'x' as part of digit sequence.
56018         * stdio-common/tst-sscanf.c (double_tests2): New tests.
56020 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
56022         [BZ #16037]
56023         * configure.ac: allow GNU Make 4.0 and greater.
56024         * configure: Regenerated.
56026 2013-10-30  Will Newton  <will.newton@linaro.org>
56028         [BZ #16038]
56029         * malloc/hooks.c (memalign_check): Limit alignment to the
56030         maximum representable power of two.
56031         * malloc/malloc.c (__libc_memalign): Likewise.
56032         * malloc/tst-memalign.c (do_test): Add test for very
56033         large alignment values.
56034         * malloc/tst-posix_memalign.c (do_test): Likewise.
56036 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
56038         [BZ #11087]
56039         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
56040         (munmap_chunk): Likewise.
56041         (mremap_chunk): Likewise.
56043 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
56045         [BZ #15799]
56046         * stdlib/div.c (div): Remove obsolete code.
56047         * stdlib/ldiv.c (ldiv): Likewise.
56048         * stdlib/lldiv.c (lldiv): Likewise.
56050 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56052         [BZ #16071]
56053         * nss/nss_files/files-XXX.c (get_contents_ret): New
56054         enumerator.
56055         (get_contents): New function.
56056         (internal_getent): Use it.  Expand size of LINEBUFLEN.
56058 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
56060         * configure.in: Moved to ...
56061         * configure.ac: ... here. Change reference to configure.in
56062         to configure.ac.
56063         * sysdeps/arm/preconfigure.ac: ... here.
56064         configure.in to configure.ac.
56065         * sysdeps/gnu/configure.in: Moved to ...
56066         * sysdeps/gnu/configure.ac: ... here.
56067         * sysdeps/i386/configure.in: Moved to ...
56068         * sysdeps/i386/configure.ac: ... here.
56069         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
56070         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
56071         * sysdeps/mach/configure.in: Moved to ...
56072         * sysdeps/mach/configure.ac: ... here.
56073         * sysdeps/mach/hurd/configure.in: Moved to ...
56074         * sysdeps/mach/hurd/configure.ac: ... here.
56075         * sysdeps/powerpc/configure.in: Moved to ...
56076         * sysdeps/powerpc/configure.ac: ... here.
56077         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
56078         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
56079         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
56080         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
56081         * sysdeps/s390/s390-32/configure.in: Moved to ...
56082         * sysdeps/s390/s390-32/configure.ac: ... here.
56083         * sysdeps/s390/s390-64/configure.in: Moved to ...
56084         * sysdeps/s390/s390-64/configure.ac: ... here.
56085         * sysdeps/sh/configure.in: Moved to ...
56086         * sysdeps/sh/configure.ac: ... here.
56087         * sysdeps/sparc/configure.in: Moved to ...
56088         * sysdeps/sparc/configure.ac: ... here.
56089         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
56090         * sysdeps/unix/sysv/linux/configure.ac: ... here.
56091         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
56092         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
56093         * sysdeps/x86_64/configure.in: Moved to ...
56094         * sysdeps/x86_64/configure.ac: ... here.
56095         * sysdeps/x86_64/preconfigure.in: Moved to ...
56096         * sysdeps/x86_64/preconfigure.ac: ... here.
56097         * aclocal.m4: Change reference to configure.in to configure.ac.
56098         * config.h.in: Likewise.
56099         * manual/install.texi: Likewise.
56100         * manual/maint.texi: Likewise.
56101         * Makefile: Likewise.
56102         * malloc/Makefile: Likewise.
56103         * nscd/Makefile: Likewise.
56104         * Makeconfig: Change reference to configure.in and
56105         preconfigure.in to configure.ac and preconfigure.ac
56106         respectively.
56107         * INSTALL: Regenerated.
56108         * configure: Likewise.
56109         * sysdeps/gnu/configure: Likewise.
56110         * sysdeps/i386/configure: Likewise.
56111         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
56112         * sysdeps/mach/configure: Likewise.
56113         * sysdeps/mach/hurd/configure: Likewise.
56114         * sysdeps/powerpc/configure: Likewise.
56115         * sysdeps/powerpc/powerpc32/configure: Likewise.
56116         * sysdeps/powerpc/powerpc64/configure: Likewise.
56117         * sysdeps/s390/s390-32/configure: Likewise.
56118         * sysdeps/s390/s390-64/configure: Likewise.
56119         * sysdeps/sh/configure: Likewise.
56120         * sysdeps/sparc/configure: Likewise.
56121         * sysdeps/unix/sysv/linux/configure: Likewise.
56122         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
56123         * sysdeps/x86_64/configure: Likewise.
56124         * sysdeps/x86_64/preconfigure: Likewise.
56126 2013-10-29  Andreas Schwab  <schwab@suse.de>
56128         * stdio-common/Makefile (tst-swscanf-ENV): Define.
56130 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56132         * benchtests/pow-inputs: Add new inputs.
56134         * benchtests/exp-inputs: Add new inputs.
56136         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
56137         conditional check for return value.
56138         (__cos32): Likewise.
56140 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56142         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
56143         to provide a boost for large inputs with word alignment.
56144         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
56145         implementation based on optimized PPC64 strcpy.
56146         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
56147         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
56148         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
56149         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
56151 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
56153         [BZ #2801]
56154         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
56156 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
56158         [BZ #14876]
56159         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
56160         * time/tst-strptime.c (day_tests): Add testcase.
56162 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
56164         [BZ #14029]
56165         * manual/pattern.texi: Acknowledge that fnmatch can fail.
56167 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
56169         [BZ #16074]
56170         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
56171         MAP_FAILED on error.
56173 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56175         [BZ #16072]
56176         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
56177         heap for large requests.
56179 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
56181         [BZ #9954]
56182         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
56183         result if the result has no associated interface.
56184         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
56185         interface for all 127.X.Y.Z addresses.
56187 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
56189         * locale/iso-639.def: Add Ligurian (lij)
56191 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
56193         [BZ #15825]
56194         * sunrpc/rpc_main.c: Document rpcgen -5.
56196 2013-10-19  Michael Stahl  <mstahl@redhat.com>
56198         * elf/rtld.c (do_preload): Print the reason why preloading failed.
56200 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
56202         [BZ #10278]
56203         * posix/glob.c: Match only directories when trailing slash is present.
56204         * posix/tst-gnuglob.c (my_opendir): Do not open files.
56205         (main): Add testcase.
56207 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
56209         [BZ #15670]
56210         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
56212 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
56214         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
56215         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
56216         AUTH_DES and cindex for FIPS 140-2.
56217         (DES Encryption): Add cindex FIPS 46-3.
56219         * locale/locarchive.h (struct locarhandle): Add fname.
56220         * locale/programs/localedef.c (main): Pass ARGV[remaining]
56221         if an optional argument was specified to --list-archive,
56222         otherwise NULL.
56223         * locale/programs/locarchive.c (show_archive_content): Take new
56224         argument fname and pass it via ah.fname to open_archive.
56225         * locale/programs/localedef.h: Update decl.
56226         (open_archive): If AH->fname is non-null, open that file
56227         rather than the default file name, and don't ignore ENOENT.
56228         (create_archive): Set AH.fname to NULL.
56229         (delete_locales_from_archive): Likewise.
56230         (add_locales_to_archive): Likewise.
56231         * locale/programs/locfile.c (write_all_categories): Likewise.
56233 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
56234             Aldy Hernandez  <aldyh@redhat.com>
56236         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
56237         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
56238         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
56239         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
56240         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
56241         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
56242         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
56243         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
56244         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
56245         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
56246         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
56247         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
56248         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
56249         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
56250         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
56251         Likewise.
56252         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
56253         Likewise.
56254         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
56255         Likewise.
56256         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
56257         Likewise.
56258         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
56259         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
56260         Likewise.
56261         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
56262         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
56263         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
56264         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
56265         Likewise.
56266         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
56267         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
56268         * sysdeps/powerpc/preconfigure: Likewise.
56269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
56270         Likewise.
56271         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
56272         Replace contents of file by #include of <fenv_libc.h>.
56273         * sysdeps/powerpc/soft-fp/sfp-machine.h
56274         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
56275         and <sys/prctl.h>.
56276         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
56277         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
56278         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
56279         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
56280         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
56281         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
56282         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
56283         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
56284         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
56285         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
56286         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
56287         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
56288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
56289         Allow copysignl PLT reference to be missing.
56291 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
56292             Joseph Myers  <joseph@codesourcery.com
56294         [BZ #15948]
56295         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
56296         single character.
56297         (add_to_tablewc): Assert sequence of wide characters is nonempty.
56299 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56301         * elf/tst-tls-dlinfo.c: Don't include tls.h.
56302         * elf/tst-tls1.c: Likewise.
56303         * elf/tst-tls10.h: Likewise.
56304         * elf/tst-tls14.c: Likewise.
56305         * elf/tst-tls2.c: Likewise.
56306         * elf/tst-tls3.c: Likewise.
56307         * elf/tst-tls4.c: Likewise.
56308         * elf/tst-tls5.c: Likewise.
56309         * elf/tst-tls6.c: Likewise.
56310         * elf/tst-tls7.c: Likewise.
56311         * elf/tst-tls8.c: Likewise.
56312         * elf/tst-tls9.c: Likewise.
56313         * elf/tst-tlsmod1.c: Likewise.
56314         * elf/tst-tlsmod13.c: Likewise.
56315         * elf/tst-tlsmod13a.c: Likewise.
56316         * elf/tst-tlsmod14a.c: Likewise.
56317         * elf/tst-tlsmod16a.c: Likewise.
56318         * elf/tst-tlsmod16b.c: Likewise.
56319         * elf/tst-tlsmod2.c: Likewise.
56320         * elf/tst-tlsmod3.c: Likewise.
56321         * elf/tst-tlsmod4.c: Likewise.
56322         * elf/tst-tlsmod5.c: Likewise.
56323         * elf/tst-tlsmod6.c: Likewise.
56325 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
56327         [BZ #12486]
56328         * malloc/malloc.c: remove checks for statistics.
56330 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
56332         [BZ #15277]
56333         * inet/inet_net.c (inet_network): Detect additional invalid strings.
56334         * inet/tst-network.c: Add testcase.
56336 2013-10-17  Andreas Schwab  <schwab@suse.de>
56338         [BZ #15218]
56339         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
56340         to determine canonical name.
56342 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
56344         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
56345         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
56346         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56347         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56348         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56349         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56350         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56351         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56352         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56353         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56354         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
56355         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56356         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56357         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56358         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56359         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56360         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56361         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56362         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
56363         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56364         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56365         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56366         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56367         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
56368         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
56369         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56370         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56371         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
56372         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56373         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
56374         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56375         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56376         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
56377         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56378         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56379         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56380         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56381         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56382         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56383         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56384         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56385         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
56386         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
56387         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56388         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
56389         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56390         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56391         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
56392         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
56393         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56394         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
56395         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56396         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
56397         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
56398         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56399         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
56400         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56401         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56403 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
56405         [BZ #16041]
56406         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
56407         make result into a quiet NaN.
56409 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
56411         * soft-fp/adddf3.c: Fix horizontal whitespace.
56412         * soft-fp/addsf3.c: Likewise.
56413         * soft-fp/addtf3.c: Likewise.
56414         * soft-fp/divdf3.c: Likewise.
56415         * soft-fp/divsf3.c: Likewise.
56416         * soft-fp/divtf3.c: Likewise.
56417         * soft-fp/double.h: Likewise.
56418         * soft-fp/eqdf2.c: Likewise.
56419         * soft-fp/eqsf2.c: Likewise.
56420         * soft-fp/eqtf2.c: Likewise.
56421         * soft-fp/extenddftf2.c: Likewise.
56422         * soft-fp/extended.h: Likewise.
56423         * soft-fp/extendsfdf2.c: Likewise.
56424         * soft-fp/extendsftf2.c: Likewise.
56425         * soft-fp/extendxftf2.c: Likewise.
56426         * soft-fp/fixdfdi.c: Likewise.
56427         * soft-fp/fixdfsi.c: Likewise.
56428         * soft-fp/fixdfti.c: Likewise.
56429         * soft-fp/fixsfdi.c: Likewise.
56430         * soft-fp/fixsfsi.c: Likewise.
56431         * soft-fp/fixsfti.c: Likewise.
56432         * soft-fp/fixtfdi.c: Likewise.
56433         * soft-fp/fixtfsi.c: Likewise.
56434         * soft-fp/fixtfti.c: Likewise.
56435         * soft-fp/fixunsdfdi.c: Likewise.
56436         * soft-fp/fixunsdfsi.c: Likewise.
56437         * soft-fp/fixunsdfti.c: Likewise.
56438         * soft-fp/fixunssfdi.c: Likewise.
56439         * soft-fp/fixunssfsi.c: Likewise.
56440         * soft-fp/fixunssfti.c: Likewise.
56441         * soft-fp/fixunstfdi.c: Likewise.
56442         * soft-fp/fixunstfsi.c: Likewise.
56443         * soft-fp/fixunstfti.c: Likewise.
56444         * soft-fp/floatdidf.c: Likewise.
56445         * soft-fp/floatdisf.c: Likewise.
56446         * soft-fp/floatditf.c: Likewise.
56447         * soft-fp/floatsidf.c: Likewise.
56448         * soft-fp/floatsisf.c: Likewise.
56449         * soft-fp/floatsitf.c: Likewise.
56450         * soft-fp/floattidf.c: Likewise.
56451         * soft-fp/floattisf.c: Likewise.
56452         * soft-fp/floattitf.c: Likewise.
56453         * soft-fp/floatundidf.c: Likewise.
56454         * soft-fp/floatundisf.c: Likewise.
56455         * soft-fp/floatunditf.c: Likewise.
56456         * soft-fp/floatunsidf.c: Likewise.
56457         * soft-fp/floatunsisf.c: Likewise.
56458         * soft-fp/floatunsitf.c: Likewise.
56459         * soft-fp/floatuntidf.c: Likewise.
56460         * soft-fp/floatuntisf.c: Likewise.
56461         * soft-fp/floatuntitf.c: Likewise.
56462         * soft-fp/fmadf4.c: Likewise.
56463         * soft-fp/fmasf4.c: Likewise.
56464         * soft-fp/fmatf4.c: Likewise.
56465         * soft-fp/gedf2.c: Likewise.
56466         * soft-fp/gesf2.c: Likewise.
56467         * soft-fp/getf2.c: Likewise.
56468         * soft-fp/ledf2.c: Likewise.
56469         * soft-fp/lesf2.c: Likewise.
56470         * soft-fp/letf2.c: Likewise.
56471         * soft-fp/muldf3.c: Likewise.
56472         * soft-fp/mulsf3.c: Likewise.
56473         * soft-fp/multf3.c: Likewise.
56474         * soft-fp/negdf2.c: Likewise.
56475         * soft-fp/negsf2.c: Likewise.
56476         * soft-fp/negtf2.c: Likewise.
56477         * soft-fp/op-1.h: Likewise.
56478         * soft-fp/op-2.h: Likewise.
56479         * soft-fp/op-4.h: Likewise.
56480         * soft-fp/op-8.h: Likewise.
56481         * soft-fp/op-common.h: Likewise.
56482         * soft-fp/quad.h: Likewise.
56483         * soft-fp/single.h: Likewise.
56484         * soft-fp/soft-fp.h: Likewise.
56485         * soft-fp/sqrtdf2.c: Likewise.
56486         * soft-fp/sqrtsf2.c: Likewise.
56487         * soft-fp/sqrttf2.c: Likewise.
56488         * soft-fp/subdf3.c: Likewise.
56489         * soft-fp/subsf3.c: Likewise.
56490         * soft-fp/subtf3.c: Likewise.
56491         * soft-fp/truncdfsf2.c: Likewise.
56492         * soft-fp/trunctfdf2.c: Likewise.
56493         * soft-fp/trunctfsf2.c: Likewise.
56494         * soft-fp/trunctfxf2.c: Likewise.
56495         * soft-fp/unorddf2.c: Likewise.
56496         * soft-fp/unordsf2.c: Likewise.
56497         * soft-fp/unordtf2.c: Likewise.
56499 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
56501         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
56502         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
56504 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
56506         * elf/dl-libc.c: Clear initfini list after freeing.
56508 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
56510         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
56511         * soft-fp/addsf3.c: Likewise.
56512         * soft-fp/addtf3.c: Likewise.
56513         * soft-fp/divdf3.c: Likewise.
56514         * soft-fp/divsf3.c: Likewise.
56515         * soft-fp/divtf3.c: Likewise.
56516         * soft-fp/double.h: Likewise.
56517         * soft-fp/eqdf2.c: Likewise.
56518         * soft-fp/eqsf2.c: Likewise.
56519         * soft-fp/eqtf2.c: Likewise.
56520         * soft-fp/extenddftf2.c: Likewise.
56521         * soft-fp/extended.h: Likewise.
56522         * soft-fp/extendsfdf2.c: Likewise.
56523         * soft-fp/extendsftf2.c: Likewise.
56524         * soft-fp/extendxftf2.c: Likewise.
56525         * soft-fp/fixdfdi.c: Likewise.
56526         * soft-fp/fixdfsi.c: Likewise.
56527         * soft-fp/fixdfti.c: Likewise.
56528         * soft-fp/fixsfdi.c: Likewise.
56529         * soft-fp/fixsfsi.c: Likewise.
56530         * soft-fp/fixsfti.c: Likewise.
56531         * soft-fp/fixtfdi.c: Likewise.
56532         * soft-fp/fixtfsi.c: Likewise.
56533         * soft-fp/fixtfti.c: Likewise.
56534         * soft-fp/fixunsdfdi.c: Likewise.
56535         * soft-fp/fixunsdfsi.c: Likewise.
56536         * soft-fp/fixunsdfti.c: Likewise.
56537         * soft-fp/fixunssfdi.c: Likewise.
56538         * soft-fp/fixunssfsi.c: Likewise.
56539         * soft-fp/fixunssfti.c: Likewise.
56540         * soft-fp/fixunstfdi.c: Likewise.
56541         * soft-fp/fixunstfsi.c: Likewise.
56542         * soft-fp/fixunstfti.c: Likewise.
56543         * soft-fp/floatdidf.c: Likewise.
56544         * soft-fp/floatdisf.c: Likewise.
56545         * soft-fp/floatditf.c: Likewise.
56546         * soft-fp/floatsidf.c: Likewise.
56547         * soft-fp/floatsisf.c: Likewise.
56548         * soft-fp/floatsitf.c: Likewise.
56549         * soft-fp/floattidf.c: Likewise.
56550         * soft-fp/floattisf.c: Likewise.
56551         * soft-fp/floattitf.c: Likewise.
56552         * soft-fp/floatundidf.c: Likewise.
56553         * soft-fp/floatundisf.c: Likewise.
56554         * soft-fp/floatunsidf.c: Likewise.
56555         * soft-fp/floatunsisf.c: Likewise.
56556         * soft-fp/floatuntidf.c: Likewise.
56557         * soft-fp/floatuntisf.c: Likewise.
56558         * soft-fp/floatuntitf.c: Likewise.
56559         * soft-fp/fmadf4.c: Likewise.
56560         * soft-fp/fmasf4.c: Likewise.
56561         * soft-fp/fmatf4.c: Likewise.
56562         * soft-fp/gedf2.c: Likewise.
56563         * soft-fp/gesf2.c: Likewise.
56564         * soft-fp/getf2.c: Likewise.
56565         * soft-fp/ledf2.c: Likewise.
56566         * soft-fp/lesf2.c: Likewise.
56567         * soft-fp/letf2.c: Likewise.
56568         * soft-fp/muldf3.c: Likewise.
56569         * soft-fp/mulsf3.c: Likewise.
56570         * soft-fp/multf3.c: Likewise.
56571         * soft-fp/negdf2.c: Likewise.
56572         * soft-fp/negsf2.c: Likewise.
56573         * soft-fp/negtf2.c: Likewise.
56574         * soft-fp/op-1.h: Likewise.
56575         * soft-fp/op-2.h: Likewise.
56576         * soft-fp/op-4.h: Likewise.
56577         * soft-fp/op-8.h: Likewise.
56578         * soft-fp/op-common.h: Likewise.
56579         * soft-fp/quad.h: Likewise.
56580         * soft-fp/single.h: Likewise.
56581         * soft-fp/soft-fp.h: Likewise.
56582         * soft-fp/sqrtdf2.c: Likewise.
56583         * soft-fp/sqrtsf2.c: Likewise.
56584         * soft-fp/sqrttf2.c: Likewise.
56585         * soft-fp/subdf3.c: Likewise.
56586         * soft-fp/subsf3.c: Likewise.
56587         * soft-fp/subtf3.c: Likewise.
56588         * soft-fp/truncdfsf2.c: Likewise.
56589         * soft-fp/trunctfdf2.c: Likewise.
56590         * soft-fp/trunctfsf2.c: Likewise.
56591         * soft-fp/trunctfxf2.c: Likewise.
56592         * soft-fp/unorddf2.c: Likewise.
56593         * soft-fp/unordsf2.c: Likewise.
56594         * soft-fp/unordtf2.c: Likewise.
56596 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
56598         [BZ #15672]
56599         * misc/error.c (error_tail): Fix possible buffer overflow.
56601 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
56603         [BZ #13028]
56604         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
56605         address.
56607 2013-10-14  P. J. McDermott  <pj@pehjota.net>
56609         [BZ #832]
56610         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
56611         testing pipefail option.
56613 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56615         * soft-fp/double.h: Indent preprocessor directives inside #if.
56616         * soft-fp/extended.h: Likewise.
56617         * soft-fp/op-2.h: Likewise.
56618         * soft-fp/op-4.h: Likewise.
56619         * soft-fp/op-common.h: Likewise.
56620         * soft-fp/quad.h: Likewise.
56621         * soft-fp/single.h: Likewise.
56622         * soft-fp/soft-fp.h: Likewise.
56624 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
56626         * iconv/iconv_prog.c: Fix typos.
56627         * stdio-common/psiginfo-data.h: Likewise.
56629 2013-10-12   Reuben Thomas <rrt@sc3d.org>
56631         [BZ #15764]
56632         * locale/setlocale.c: Fix typo.
56634 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56636         [BZ #16036]
56637         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
56638         signaling NaN arguments.
56639         * soft-fp/unordsf2.c (__unordsf2): Likewise.
56640         * soft-fp/unordtf2.c (__unordtf2): Likewise.
56642         [BZ #14910]
56643         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
56644         unordered operands.
56645         * soft-fp/gesf2.c (__gesf2): Likewise.
56646         * soft-fp/getf2.c (__getf2): Likewise.
56647         * soft-fp/ledf2.c (__ledf2): Likewise.
56648         * soft-fp/lesf2.c (__lesf2): Likewise.
56649         * soft-fp/letf2.c (__letf2): Likewise.
56651         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
56652         * soft-fp/eqsf2.c (__eqsf2): Likewise.
56653         * soft-fp/eqtf2.c (__eqtf2): Likewise.
56654         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
56655         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
56656         * soft-fp/fixdfti.c (__fixdfti): Likewise.
56657         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
56658         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
56659         * soft-fp/fixsfti.c (__fixsfti): Likewise.
56660         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
56661         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
56662         * soft-fp/fixtfti.c (__fixtfti): Likewise.
56663         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
56664         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
56665         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
56666         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
56667         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
56668         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
56669         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
56670         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
56671         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
56672         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
56673         * soft-fp/floatdisf.c (__floatdisf): Likewise.
56674         * soft-fp/floatsisf.c (__floatsisf): Likewise.
56675         * soft-fp/floattidf.c (__floattidf): Likewise.
56676         * soft-fp/floattisf.c (__floattisf): Likewise.
56677         * soft-fp/floattitf.c (__floattitf): Likewise.
56678         * soft-fp/floatundidf.c (__floatundidf): Likewise.
56679         * soft-fp/floatundisf.c (__floatundisf): Likewise.
56680         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
56681         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
56682         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
56683         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
56684         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
56685         * soft-fp/gesf2.c (__gesf2): Likewise.
56686         * soft-fp/getf2.c (__getf2): Likewise.
56687         * soft-fp/ledf2.c (__ledf2): Likewise.
56688         * soft-fp/lesf2.c (__lesf2): Likewise.
56689         * soft-fp/letf2.c (__letf2): Likewise.
56691         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
56692         Undefine and redefine.
56693         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
56694         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
56695         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
56696         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
56697         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56698         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
56699         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56700         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
56701         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56702         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
56703         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56704         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
56705         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56706         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
56707         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56709         [BZ #16032]
56710         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
56711         without decrementing exponent if mantissa >= that for the
56712         denominator, not >.
56713         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
56714         denominator, not >.  Decrement exponent in < case instead of
56715         incrementing in >= case.
56716         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
56717         without decrementing exponent if mantissa >= that for the
56718         denominator, not >.
56720         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
56721         computing saturated result for unsigned overflow.
56723 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56724             Jeff Law  <law@redhat.com>
56726         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
56727         (atan2Mp): Add systemtap probe marker.
56728         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
56729         (__ieee754_log): Add systemtap probe marker.
56730         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
56731         (atanMp): Add systemtap probe marker.
56732         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
56733         (tanMp): Add systemtap probe marker.
56734         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
56735         (__slowexp): Add systemtap probe marker.
56736         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
56737         (__slowpow): Add systemtap probe marker.
56738         * manual/probes.texi: Document probes.
56740 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
56742         [BZ #15362]
56743         * libio/fileops.c (_IO_new_file_write): Return count of bytes
56744         written.
56745         (_IO_new_file_xsputn): Don't return EOF if nothing has been
56746         written.
56747         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
56748         written to buffer but not flushed.
56749         * libio/iofwrite_u.c:  Likewise.
56750         * libio/iopadn.c:  Return bytes returned even if EOF was
56751         encountered.
56752         * libio/iowpadn.c:  Likewise.
56753         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
56754         if _IO_padn does not write the whole buffer.
56755         [!COMPILE_WPRINTF] (PAD): Likewise.
56757 2013-10-10  David S. Miller  <davem@davemloft.net>
56759         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
56760         directory block.
56762 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56764         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
56765         instead of FSF address.
56766         * soft-fp/fixdfti.c: Likewise.
56767         * soft-fp/fixsfti.c: Likewise.
56768         * soft-fp/fixtfti.c: Likewise.
56769         * soft-fp/fixunsdfti.c: Likewise.
56770         * soft-fp/fixunssfti.c: Likewise.
56771         * soft-fp/fixunstfti.c: Likewise.
56772         * soft-fp/floattidf.c: Likewise.
56773         * soft-fp/floattisf.c: Likewise.
56774         * soft-fp/floattitf.c: Likewise.
56775         * soft-fp/floatuntidf.c: Likewise.
56776         * soft-fp/floatuntisf.c: Likewise.
56777         * soft-fp/floatuntitf.c: Likewise.
56778         * soft-fp/trunctfxf2.c: Likewise.
56780         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
56781         * soft-fp/fixdfti.c: Likewise.
56782         * soft-fp/fixsfti.c: Likewise.
56783         * soft-fp/fixtfti.c: Likewise.
56784         * soft-fp/fixunsdfti.c: Likewise.
56785         * soft-fp/fixunssfti.c: Likewise.
56786         * soft-fp/fixunstfti.c: Likewise.
56787         * soft-fp/floattidf.c: Likewise.
56788         * soft-fp/floattisf.c: Likewise.
56789         * soft-fp/floattitf.c: Likewise.
56790         * soft-fp/floatuntidf.c: Likewise.
56791         * soft-fp/floatuntisf.c: Likewise.
56792         * soft-fp/floatuntitf.c: Likewise.
56793         * soft-fp/trunctfxf2.c: Likewise.
56795 2013-10-10  David S. Miller  <davem@davemloft.net>
56797         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56799 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
56801         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
56802         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
56803         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
56804         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
56805         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
56806         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
56807         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
56809         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
56810         for NaNs before doing comparisons on argument.
56811         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
56812         Likewise.
56814 2013-10-10  Will Newton  <will.newton@linaro.org>
56816         * malloc/hooks.c (memalign_check): Ensure the value of bytes
56817         passed to _int_memalign does not overflow.
56819 2013-10-10  Torvald Riegel  <triegel@redhat.com>
56821         * scripts/bench.pl: Add include-sources directive.
56822         * benchtests/README: Update documentation.
56824 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56826         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
56827         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
56828         instead of FP_INIT_ROUNDMODE.
56829         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
56830         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
56832         [BZ #16034]
56833         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
56834         copy class of input value.
56835         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
56836         not handle exceptions.
56837         * soft-fp/negsf2.c (__negsf2): Likewise.
56838         * soft-fp/negtf2.c (__negtf2): Likewise.
56839         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
56841 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
56843         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
56844         semicolon.  From Linux kernel.
56846 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
56848         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
56850 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
56852         [BZ #156]
56853         * manual/socket.texi: Added statement about buffer
56854         for gethostbyname2_r.
56856 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
56858         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
56859         Use .p2align directive instead, throughout.
56860         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56861         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
56862         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
56863         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56864         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56865         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
56866         * sysdeps/x86_64/strchr.S: Likewise.
56867         * sysdeps/x86_64/strrchr.S: Likewise.
56869 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56871         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
56873         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
56875         * sysdeps/generic/math_private.h (__mpsin1): Remove
56876         declaration.
56877         (__mpcos1): Likewise.
56878         (__mpsin): New argument __range_reduce.
56879         (__mpcos): Likewise.
56880         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56881         (slow): Use __mpsin and __mpcos.
56882         (slow1): Likewise.
56883         (slow2): Likewise.
56884         (sloww): Likewise.
56885         (sloww1): Likewise.
56886         (sloww2): Likewise.
56887         (bsloww): Likewise.
56888         (bsloww1): Likewise.
56889         (bsloww2): Likewise.
56890         (cslow2): Likewise.
56891         (csloww): Likewise.
56892         (csloww1): Likewise.
56893         (csloww2): Likewise.
56894         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
56895         range_reduce.  Merge in __mpsin1.
56896         (__mpcos): Likewise.
56897         (__mpsin1): Remove.
56898         (__mpcos1): Likewise.
56900 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
56902         * locale/loadlocale.c (_nl_intern_locale_data): Use
56903         LOCFILE_ALIGNED_P.
56904         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
56905         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
56906         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
56907         obstack data is appropriately aligned.
56908         (obstack_int32_grow_fast): Likewise.
56909         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
56910         * locale/programs/locfile.c (add_locale_uint32): Likewise.
56911         (add_locale_uint32_array): Likewise.
56913 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56915         * benchtests/Makefile: Remove ARGLIST and RET variables.
56916         ($(objpfx)bench-%.c): Pass only function name to the script.
56917         * benchtests/README: Update documentation.
56918         * benchtests/acos-inputs: Add new directives.
56919         * benchtests/acosh-inputs: Likewise.
56920         * benchtests/asin-inputs: Likewise.
56921         * benchtests/asinh-inputs: Likewise.
56922         * benchtests/atan-inputs: Likewise.
56923         * benchtests/atanh-inputs: Likewise.
56924         * benchtests/cos-inputs: Likewise.
56925         * benchtests/cosh-inputs: Likewise.
56926         * benchtests/exp-inputs: Likewise.
56927         * benchtests/log-inputs: Likewise.
56928         * benchtests/pow-inputs: Likewise.
56929         * benchtests/rint-inputs: Likewise.
56930         * benchtests/sin-inputs: Likewise.
56931         * benchtests/sinh-inputs: Likewise.
56932         * benchtests/tan-inputs: Likewise.
56933         * benchtests/tanh-inputs: Likewise.
56934         * scripts/bench.pl: Add support for new directives.
56936 2013-10-07  Alan Modra  <amodra@gmail.com>
56938         * README: Fix careless merge.
56940 2013-10-05  Alan Modra  <amodra@gmail.com>
56942         * NEWS: Mention powerpc64le support and bugs fixed.
56943         * README: Both big-endian and little-endian powerpc64 supported.
56945 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56947         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
56948         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
56949         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
56950         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
56952 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
56954         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
56955         match prototype.
56957 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
56959         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
56960         Move -mhard-float appending from
56961         ports/sysdeps/powerpc/powerpc32/Makefile.
56962         [$(with-fp) = yes] (ASFLAGS): Likewise.
56963         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
56964         * sysdeps/powerpc/nofpu: Move directory from
56965         ports/sysdeps/powerpc/nofpu.
56966         * sysdeps/powerpc/soft-fp: Move directory from
56967         ports/sysdeps/powerpc/soft-fp.
56968         * sysdeps/powerpc/powerpc32/405: Move directory from
56969         ports/sysdeps/powerpc/powerpc32/405.
56970         * sysdeps/powerpc/powerpc32/440: Move directory from
56971         ports/sysdeps/powerpc/powerpc32/440.
56972         * sysdeps/powerpc/powerpc32/464: Move directory from
56973         ports/sysdeps/powerpc/powerpc32/464.
56974         * sysdeps/powerpc/powerpc32/476: Move directory from
56975         ports/sysdeps/powerpc/powerpc32/476.
56976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
56977         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
56978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
56979         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
56980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
56981         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
56982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
56983         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
56984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
56985         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
56986         * README: Update for powerpc-*-linux-gnu software floating point
56987         support in libc.
56989         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
56990         case to powerpc/powerpc32*.
56991         * sysdeps/unix/sysv/linux/configure: Regenerated.
56993         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
56994         (_FPU_MASK_OM): Define as 0x04.
56995         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
56996         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
56997         0x00c10080.
56998         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
56999         0x0000003c.
57000         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
57002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
57003         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
57004         getcontext_e500.
57005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
57006         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
57007         setcontext_e500.
57008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
57009         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
57010         and setcontext_e500.
57012 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
57014         * locale/iso-3166.def: Update iso-1366.def and related occurrences
57016 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57018         * manual/threads.texi (Default Thread Attributes): Fix typo.
57020 2013-10-04  Will Newton  <will.newton@linaro.org>
57022         * malloc/Makefile: Add tst-memalign.
57023         * malloc/tst-memalign.c: New file.
57025         * malloc/tst-posix_memalign.c: Add comments.
57026         (do_test): Add comments and call free on all potentially
57027         allocated pointers. Add space after cast.
57029         * malloc/tst-pvalloc.c: Add comments.
57030         (do_test): Add comments and call free on all potentially
57031         allocated pointers. Remove duplicate check for NULL pointer.
57032         Add space after cast.
57034         * malloc/tst-valloc.c: Add comments.
57035         (do_test): Add comments and call free on all potentially
57036         allocated pointers. Remove duplicate check for NULL pointer.
57037         Add space after cast.
57039 2013-10-04  Alan Modra  <amodra@gmail.com>
57041         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57042         Use stdint types in rather than __attribute__((mode())).
57043         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57045 2013-10-04  Alan Modra  <amodra@gmail.com>
57047         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57048         Correct handling of unaligned relocs for little-endian.
57049         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57051 2013-10-04  Alan Modra  <amodra@gmail.com>
57053         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
57054         * configure: Regenerate.
57055         * nptl/shlib-versions: Powerpc*le starts at 2.18.
57056         * shlib-versions: Likewise.
57058 2013-10-04  Alan Modra  <amodra@gmail.com>
57060         * string/tester.c (test_memrchr): Increment reported test cycle.
57062 2013-10-04  Alan Modra  <amodra@gmail.com>
57064         * string/test-memcpy.c (do_one_test): When reporting errors, print
57065         string address and don't overrun end of string.
57067 2013-10-04  Alan Modra  <amodra@gmail.com>
57069         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
57070         insrdi.  Make better use of reg selection to speed exit slightly.
57071         Schedule entry path a little better.  Remove useless "are we done"
57072         checks on entry to main loop.  Handle wrapping around zero address.
57073         Correct main loop count.  Handle single left-over word from main
57074         loop inline rather than by using loop_small.  Remove extra word
57075         case in loop_small caused by wrong loop count.  Add little-endian
57076         support.
57077         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57078         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
57079         cache hint.
57080         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57081         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
57082         support.  Avoid rlwimi.
57083         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
57085 2013-10-04  Alan Modra  <amodra@gmail.com>
57087         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
57088         insrdi.  Formatting.
57089         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
57090         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
57091         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
57092         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
57093         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
57094         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
57096 2013-10-04  Alan Modra  <amodra@gmail.com>
57098         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
57099         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57100         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
57101         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
57102         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
57103         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57104         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57105         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57106         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
57107         use of regs.  Use power7 mtocrf.  Tidy function tails.
57109 2013-10-04  Alan Modra  <amodra@gmail.com>
57111         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
57112         Formatting.  Consistently use rXXX register defines or rN defines.
57113         Use early exit labels that avoid restoring unused non-volatile regs.
57114         Make cr field use more consistent with rWORDn compares.  Rename
57115         regs used as shift registers for unaligned loop, using rN defines
57116         for short lifetime/multiple use regs.
57117         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57118         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
57119         addi 1,1,64 to pop stack frame.  Simplify return value code.
57120         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57122 2013-10-04  Alan Modra  <amodra@gmail.com>
57124         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
57125         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
57126         rather than rlwimi.
57127         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
57128         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
57129         little-endian support.  Correct typos.
57130         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
57131         rather than rlwimi.
57132         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
57133         in loop and entry code to keep "and." results.
57134         (strchr): Add little-endian support.  Comment.  Move cntlzd
57135         earlier in tail.
57136         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
57138 2013-10-04  Alan Modra  <amodra@gmail.com>
57140         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
57141         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
57142         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
57143         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
57145 2013-10-04  Alan Modra  <amodra@gmail.com>
57147         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
57148         (rTMP): Define as r11.
57149         (strcmp): Add little-endian support.  Optimise tail.
57150         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
57151         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57152         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
57153         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57154         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57155         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57156         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57158 2013-10-04  Alan Modra  <amodra@gmail.com>
57160         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
57161         little-endian support.  Remove unnecessary "are we done" tests.
57162         Handle "s" wrapping around zero and extremely large "size".
57163         Correct main loop count.  Handle single left-over word from main
57164         loop inline rather than by using small_loop.  Correct comments.
57165         Delete "zero" tail, use "end_max" instead.
57166         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
57168 2013-10-04  Alan Modra  <amodra@gmail.com>
57170         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
57171         support.  Don't branch over align.
57172         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
57173         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
57174         support.  Rearrange tmp reg use to suit.  Comment.
57175         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
57177 2013-10-04  Alan Modra  <amodra@gmail.com>
57179         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
57181 2013-10-04  Alan Modra  <amodra@gmail.com>
57183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
57184         conditional form of branch and link when obtaining pc.
57185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
57187 2013-10-04  Alan Modra  <amodra@gmail.com>
57189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
57190         HIWORD/LOWORD.
57191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
57192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
57194 2013-10-04  Alan Modra  <amodra@gmail.com>
57196         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
57197         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
57198         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
57199         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
57200         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
57201         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
57202         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
57203         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57204         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
57205         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
57207 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57208             Alistair Popple <alistair@ozlabs.au.ibm.com>
57209             Alan Modra <amodra@gmail.com>
57211         [BZ #15723]
57212         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
57213         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
57214         _dl_hwcap access for little-endian.
57215         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
57216         destroy vmx regs when saving unaligned.
57217         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
57218         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
57219         destroy vmx regs when saving unaligned.
57221 2013-10-04  Alan Modra  <amodra@gmail.com>
57223         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
57224         Don't use a union to pack hi/low value.
57226 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57228         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
57229         for little-endian.
57230         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
57231         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
57232         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
57233         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
57234         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
57236 2013-10-04  Alan Modra  <amodra@gmail.com>
57238         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
57239         constants to usual value for .cst8 section, and remove redundant
57240         high address load.
57241         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
57242         constant for 0x1p52.  Load little-endian words of double from
57243         correct stack offsets.
57245 2013-10-04  Alan Modra  <amodra@gmail.com>
57247         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
57248         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
57249         words of double from correct stack offsets.
57250         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
57251         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
57252         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
57253         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
57254         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
57255         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
57256         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
57257         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
57258         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
57259         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
57260         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
57261         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
57262         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57263         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57264         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57265         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
57266         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
57268 2013-10-04  Alan Modra  <amodra@gmail.com>
57270         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
57271         64-bit int/double union.
57272         (_FPU_SETCW): Likewise.
57273         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
57274         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
57276 2013-10-04  Alan Modra  <amodra@gmail.com>
57278         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
57279         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
57281 2013-10-04  Alan Modra  <amodra@gmail.com>
57283         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
57284         use vector int constants.
57285         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
57287 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57289         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
57290         array with long long.
57291         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
57292         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
57293         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
57294         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
57295         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
57296         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
57297         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
57298         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
57299         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
57300         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
57301         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
57302         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
57303         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
57305 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57307         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
57308         (__signbit): Likewise.  Correct for little-endian.
57309         (__signbitl): Call __signbit.
57310         (lrint): Correct for little-endian.
57311         (lrintf): Call lrint.
57313 2013-10-04  Alan Modra  <amodra@gmail.com>
57315         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
57316         union 32-bit int array member with 64-bit int array.
57317         (t515, tm256): Double rather than long double.
57318         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
57320 2013-10-04  Alan Modra  <amodra@gmail.com>
57322         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
57323         Delete.
57324         (IEEE854_LONG_DOUBLE_BIAS): Delete.
57325         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
57326         version of math_ldbl.h.
57328 2013-10-04  Alan Modra  <amodra@gmail.com>
57330         [BZ #15734], [BZ #15735]
57331         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
57332         all uses of ieee875 long double macros and unions.  Simplify test
57333         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
57334         ldbl_extract_mantissa value for ix,iy exponents.  Properly
57335         normalize after ldbl_extract_mantissa, and don't add hidden bit
57336         already handled.  Don't treat low word of ieee854 mantissa like
57337         low word of IBM long double and mask off bit when testing for
57338         zero.
57339         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
57340         all uses of ieee875 long double macros and unions.  Simplify tests
57341         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
57342         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
57343         two1022, instead use their values.  Recognise that tests for large
57344         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
57345         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
57346         Rewrite all uses of ieee875 long double macros and unions.  Simplify
57347         test for 0.0L and nan.  Correct negation.
57348         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
57349         ieee875 long double macros and unions.  Correct output for large
57350         magnitude x.  Correct absolute value calculation.
57351         (__erfcl): Likewise.
57352         * math/libm-test.inc: Add tests for errors discovered in IBM long
57353         double versions of fmodl, remainderl, erfl and erfcl.
57355 2013-10-04  Alan Modra  <amodra@gmail.com>
57357         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
57358         all uses of ieee854 long double macros and unions.  Simplify tests
57359         for long doubles that are fully specified by the high double.
57360         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
57361         Likewise.
57362         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
57363         Remove dead code too.
57364         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
57365         (__ieee754_ynl): Likewise.
57366         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
57367         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
57368         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
57369         Remove dead code too.
57370         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
57371         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
57372         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
57373         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
57374         Simplify.
57375         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
57376         Simplify.
57377         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
57378         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
57379         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
57380         Comment on variable precision.
57381         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
57382         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
57383         Likewise.
57384         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
57385         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
57386         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
57387         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
57388         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
57390 2013-10-04  Alan Modra  <amodra@gmail.com>
57392         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
57393         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
57394         all uses of ieee854 long double macros and unions.
57395         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
57396         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
57397         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
57398         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
57399         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
57400         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57401         Likewise.
57402         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
57403         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
57404         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
57405         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
57406         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
57407         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
57408         Simplify sign and nan test too.
57409         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
57410         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
57411         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
57412         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
57413         Likewise.
57414         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57415         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
57416         Likewise.
57417         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57418         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
57419         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
57420         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
57421         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
57422         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
57424 2013-10-04  Alan Modra  <amodra@gmail.com>
57426         * stdio-common/printf_size.c (__printf_size): Don't use
57427         union ieee854_long_double in fpnum union.
57428         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
57429         signbit macro to retrieve sign from long double.
57430         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
57431         retrieve sign from long double.
57432         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
57433         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
57434         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
57435         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
57436         * math/test-misc.c (main): Don't use union ieee854_long_double.
57438 2013-10-04  Alan Modra  <amodra@gmail.com>
57440         [BZ #15680]
57441         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
57442         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
57443         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
57444         calculation.  Remove unnecessary test for denormal exponent.
57445         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
57446         Correct handling of denormals.  Avoid undefined shift behaviour.
57447         Correct normalisation of low mantissa when low double is denormal.
57448         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
57449         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
57450         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
57451         Correct normalisation of low mantissa.  Test for overflow of high
57452         mantissa and normalise.
57453         (ldbl_nearbyint): Use more readable constant for two52.
57454         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
57455         (__mpn_construct_long_double): Fix test for overflow of high
57456         mantissa and correct normalisation.  Avoid undefined shift.
57458 2013-10-04  Alan Modra  <amodra@gmail.com>
57460         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
57461         (union ibm_extended_long_double): Define as an array of ieee754_double.
57462         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
57463         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
57464         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
57465         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
57466         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57467         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
57468         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57469         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57470         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57471         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
57472         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57474 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
57476         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
57477         page size instead of calling getpagesize.
57479         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
57480         (LOCFILE_ALIGN_MASK): Likewise.
57481         (LOCFILE_ALIGN_UP): Likewise.
57482         (LOCFILE_ALIGNED_P): Likewise.
57483         * locale/programs/ld-collate.c (collate_output): Use the new
57484         macros instead of __alignof__ (int32_t).
57485         * locale/weight.h (findidx): Likewise.
57487 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
57489         [BZ #431]
57490         * manual/string.texi: Fix strncat and wcsncat.
57492 2013-10-03  Brooks Moses  <bmoses@google.com>
57494         [BZ #15915]
57495         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
57496         * Makerules: ...here, and adjust associated comments.
57498 2013-10-02  Will Newton  <will.newton@linaro.org>
57500         * malloc/Makefile: Add tst-pvalloc.
57501         * malloc/tst-pvalloc.c: New file.
57503 2013-10-02  Will Newton  <will.newton@linaro.org>
57505         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
57506         improve test coverage.
57508 2013-10-02  Will Newton  <will.newton@linaro.org>
57510         * malloc/Makefile: Add tst-posix_memalign.
57511         * malloc/tst-posix_memalign.c: New file.
57513 2013-10-01  Eric Blake  <eblake@redhat.com>
57515         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
57516         Use __THROWNL rather than __THROW on static functions.
57518 2013-09-30  Petr Machata  <pmachata@redhat.com>
57520         * elf/elf.h (R_AARCH64_ABS16): New macro.
57521         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
57522         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
57523         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
57524         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
57525         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
57526         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
57527         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
57528         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
57529         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
57530         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
57531         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
57532         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
57533         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
57534         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
57535         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
57536         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
57537         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
57538         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
57539         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
57540         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
57541         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
57542         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
57543         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
57544         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
57545         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
57546         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
57547         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
57548         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
57549         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
57550         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
57551         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
57552         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
57553         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
57554         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
57555         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
57556         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
57557         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
57558         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
57559         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
57560         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
57561         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
57562         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
57563         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
57564         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
57565         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
57566         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
57567         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
57568         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
57569         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
57570         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
57571         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
57572         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
57573         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
57574         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
57575         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
57576         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
57577         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
57578         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
57579         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
57580         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
57581         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
57582         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
57583         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
57584         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
57585         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
57586         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
57587         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
57588         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
57589         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
57590         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
57591         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
57592         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
57593         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
57594         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
57595         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
57596         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
57597         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
57598         (R_AARCH64_TLSDESC_LDR): Likewise.
57599         (R_AARCH64_TLSDESC_ADD): Likewise.
57600         (R_AARCH64_TLSDESC_CALL): Likewise.
57602 2013-09-30  Andreas Schwab  <schwab@suse.de>
57604         [BZ #15048]
57605         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
57606         the nss database lookup.
57607         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57608         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57610 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
57612         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
57614 2013-09-28  P. J. McDermott  <pj@pehjota.net>
57616         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
57617         ${Bash-specific parameter/pattern/string} parameter expansion.
57618         * sysdeps/unix/make-syscalls.sh: Likewise.
57620 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57622         * sysdeps/sh/stackguard-macros.h: New file.
57624 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
57626         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57627         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
57628         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
57629         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
57630         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57631         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
57633 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57635         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
57636         Fix thread ID register.
57638 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
57640         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
57641         [POSIX || UNIX98]: Require rather than permitting all symbols from
57642         <time.h>.
57643         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
57644         element of struct sched_param.
57645         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
57646         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
57647         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
57648         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
57649         constant.
57651 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
57653         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
57654         argument calculation.
57656 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57658         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
57659         Expect macro.
57660         [POSIX] (pthread_attr_t): Do not require type.
57661         [POSIX] (pthread_cond_t): Likewise.
57662         [POSIX] (pthread_condattr_t): Likewise.
57663         [POSIX] (pthread_key_t): Likewise.
57664         [POSIX] (pthread_mutex_t): Likewise.
57665         [POSIX] (pthread_mutexattr_t): Likewise.
57666         [POSIX] (pthread_once_t): Likewise.
57667         [POSIX] (pthread_t): Likewise.
57668         [POSIX-based standards] (pthread_atfork): Expect function.
57670 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57671             Richard Sandiford  <richard@codesourcery.com>
57673         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
57674         (swap_endianness_p): New extern variable.
57675         (set_big_endian): New inline function.
57676         (maybe_swap_uint32): Likewise.
57677         (maybe_swap_uint32_array): Likewise.
57678         (maybe_swap_uint32_obstack): Likewise.
57679         * locale/programs/locfile.c: Include <stdbool.h>.
57680         (swap_endianness_p): New variable.
57681         (add_locale_uint32): Call maybe_swap_uint32.
57682         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
57683         (write_locale_data): Call maybe_swap_uint32_array.
57684         * locale/programs/ld-collate.c (obstack_int32_grow): Call
57685         maybe_swap_uint32.
57686         (obstack_int32_grow_fast): Likewise.
57687         (output_weightwc): Call maybe_swap_uint32_obstack.
57688         (collate_output): Likewise.
57689         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
57690         (OPT_LITTLE_ENDIAN): Likewise.
57691         (options): Add --little-endian and --big-endian options.
57692         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
57693         * locale/programs/locarchive.c: Include "locfile.h".
57694         (GET): New macro.
57695         (SET): Likewise.
57696         (INC): Likewise.
57697         (create_archive): Use the new macros to access fields of
57698         structures directly mapped from or written to locale archives.
57699         (oldlocrecentcmp): Likewise.
57700         (enlarge_archive): Likewise.
57701         (insert_name): Likewise.
57702         (add_alias): Likewise.
57703         (add_locale): Likewise.
57704         (delete_locales_from_archive): Likewise.
57705         (show_archive_content): Likewise.
57706         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
57707         locale data.
57709 2013-09-24  Roland McGrath  <roland@hack.frob.com>
57711         * manual/freemanuals.texi: Updated from (newly) canonical copy at
57712         http://www.gnu.org/doc/freemanuals.texi.
57713         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
57715 2013-09-24  Will Newton  <will.newton@linaro.org>
57717         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
57718         macro.
57720 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
57722         * locale/hashval.h (compute_hashval): Interpret bytes of key as
57723         unsigned char.
57725 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
57727         * manual/threads.texi (POSIX Threads): Fix a typo.
57729 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
57731         [BZ #14547]
57732         * string/tst-strcoll-overflow.c: New test case.
57733         * string/Makefile (xtests): Add tst-strcoll-overflow.
57734         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
57735         cache if string sizes may cause integer overflow.
57737         [BZ #14547]
57738         * string/strcoll_l.c (coll_seq): New members rule, idx,
57739         save_idx and back_us.
57740         (get_next_seq_nocache): New function.
57741         (do_compare_nocache): New function.
57742         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
57743         when malloc fails.
57745 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
57747         [BZ #15754]
57748         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
57749         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
57750         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
57752         [BZ #15754]
57753         * elf/Makefile (tests): Add tst-ptrguard1.
57754         (tests-static): Add tst-ptrguard1-static.
57755         (tst-ptrguard1-ARGS): Define.
57756         (tst-ptrguard1-static-ARGS): Define.
57757         * elf/tst-ptrguard1.c: New file.
57758         * elf/tst-ptrguard1-static.c: New file.
57759         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
57760         * sysdeps/i386/stackguard-macros.h: Likewise.
57761         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57762         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57763         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57764         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57765         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57766         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57768 2013-09-23  Hector Marco  <hecmargi@upv.es>
57769             Ismael Ripoll  <iripoll@disca.upv.es>
57770             Carlos O'Donell  <carlos@redhat.com>
57772         [BZ #15754]
57773         * sysdeps/generic/stackguard-macros.h: Define
57774         __pointer_chk_guard_local and POINTER_CHK_GUARD.
57775         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
57776         Define __pointer_chk_guard_local.
57777         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
57778         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
57780 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
57782         [BZ #15859]
57783         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
57785 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
57787         * include/string.h (__ffs): Declare as hidden.
57788         * string/ffs.c (__ffs): Define as hidden.
57789         * sysdeps/i386/ffs.c (__ffs): Likewise.
57790         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
57791         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
57792         * sysdeps/s390/ffs.c (__ffs): Likewise.
57793         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
57795 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
57797         * NEWS: Mention malloc probes.
57799         * malloc/arena.c (new_heap): New memory_heap_new probe.
57800         (grow_heap): New memory_heap_more probe.
57801         (shrink_heap): New memory_heap_less probe.
57802         (heap_trim): New memory_heap_free probe.
57803         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
57804         (systrim): New memory_sbrk_less probe.
57805         * manual/probes.texi: Document them.
57807         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
57808         * manual/probes.texi: Document it.
57810         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
57811         (__libc_realloc): Add memory_realloc_retry probe.
57812         (__libc_memalign): Add memory_memalign_retry probe.
57813         (__libc_valloc): Add memory_valloc_retry probe.
57814         (__libc_pvalloc): Add memory_pvalloc_retry probe.
57815         (__libc_calloc): Add memory_calloc_retry probe.
57816         * manual/probes.texi: Document them.
57818         * malloc/arena.c (get_free_list): Add probe
57819         memory_arena_reuse_free_list.
57820         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
57821         and memory_arena_reuse.
57822         (arena_get2) [!PER_THREAD]: Likewise.
57823         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
57824         memory_arena_reuse_realloc.
57825         * manual/probes.texi: Document them.
57827         * malloc/malloc.c (__libc_free): Add
57828         memory_mallopt_free_dyn_thresholds probe.
57829         (__libc_mallopt): Add multiple memory_mallopt probes.
57830         * manual/probes.texi: Document them.
57832         * malloc/malloc.c: Include stap-probe.h.
57833         (__libc_mallopt): Add memory_mallopt probe.
57834         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
57835         * manual/probes.texi: New.
57836         * manual/Makefile (chapters): Add probes.
57837         * manual/threads.texi: Set next node.
57839 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
57841         [BZ #15963, #13985]
57842         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
57843         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
57844         Add `Chinese' to `nan' entry name.
57846 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57848         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
57849         (POLYNOMIAL): Likewise.
57850         (TAYLOR_SINCOS): Likewise.
57851         (TAYLOR_SLOW): Likewise.
57852         (__sin): Use TAYLOR_SINCOS.
57853         (__cos): Likewise.
57854         (slow): Use TAYLOR_SLOW.
57855         (sloww): Likewise.
57856         (bsloww): Likewise.
57857         (csloww): Likewise.
57859 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57861         * stdlib/strtod_l.c: Fix buffer overrun.
57863 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57865         * benchtests/Makefile (bench): Add sincos.
57866         * benchtests/bench-sincos.c: New file.
57868         * math/libm-test.inc (cos_test_data): New test inputs.
57869         (sin_test_data): Likewise.
57871         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
57872         macro.
57873         (__sin): Use it.
57874         (__cos): Likewise.
57875         (slow1): Likewise.
57876         (slow2): Likewise.
57877         (sloww1): Likewise.
57878         (sloww2): Likewise.
57879         (bsloww1): Likewise.
57880         (bsloww2): Likewise.
57881         (cslow2): Likewise.
57882         (csloww1): Likewise.
57883         (csloww2): Likewise.
57885         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
57886         function.
57887         (__sin): Use it.
57888         (__cos): Likewise.
57890         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
57891         gotos.
57892         (__cos): Likewise.
57894 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
57896         * config.h.in (HAVE_MIPS_NAN2008): New macro.
57897         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
57898         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
57899         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
57900         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
57901         * elf/cache.c (print_entry): Handle the new cache flags.
57903 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
57904             Aldy Hernandez  <aldyh@redhat.com>
57906         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
57907         Change condition to [_SOFT_FLOAT].
57908         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
57909         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
57910         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
57911         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
57912         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
57913         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
57914         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
57915         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
57916         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
57917         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
57918         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
57919         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
57920         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
57921         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
57922         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
57923         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
57924         declaration.
57926 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
57928         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
57929         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
57930         (__longjmp): Use LOAD_GP to load saved GPRs.
57931         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
57932         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
57933         (__sigsetjmp): Use SAVE_GP to save GPRs.
57935         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
57936         Do not append -msoft-float.
57937         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
57939 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57941         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
57943 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
57945         [BZ #15966]
57946         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
57947         (_FPU_GETCW): Use initial "__" on variable and field names but not
57948         on macro parameter name.
57949         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
57950         parentheses around reference to macro parameter.
57952 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
57954         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
57955         prototype.
57956         (ctype_startup): Use uint32_t in cast and sizeof for
57957         ctype->charnames.
57959 2013-09-11  Jia Liu  <proljc@gmail.com>
57961         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
57962         __daddr_t_defined.
57963         [__FreeBSD__]: Likewise.
57965 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
57967         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
57968         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
57969         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
57970         (strchr): Remove __strchr_sse42 ifunc selection.
57971         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
57972         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
57974 2013-09-11  Will Newton  <will.newton@linaro.org>
57976         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
57977         parameter to RES. Remove hardcoded 1000 value.
57978         * benchtests/bench-skeleton.c (main): Pass RES parameter
57979         to TIMING_INIT and multiply result by 1000.
57981 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57985 2013-09-11  Andreas Schwab  <schwab@suse.de>
57987         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
57988         if not defined.
57989         (O_TMPFILE) [__USE_GNU]: Define.
57990         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
57991         Define.
57993 2013-09-11  Will Newton  <will.newton@linaro.org>
57995         [BZ #15857]
57996         * malloc/malloc.c (__libc_memalign): Check the value of bytes
57997         does not overflow.
57999 2013-09-11  Will Newton  <will.newton@linaro.org>
58001         [BZ #15856]
58002         * malloc/malloc.c (__libc_valloc): Check the value of bytes
58003         does not overflow.
58005 2013-09-11  Will Newton  <will.newton@linaro.org>
58007         [BZ #15855]
58008         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
58009         does not overflow.
58011 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
58013         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
58014         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58015         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58016         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58017         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58019 2013-09-10  Allan McRae  <allan@archlinux.org>
58021         [BZ #15748]
58022         * manual/arith.texi (Parsing of Floats): Clarify
58023         cross-reference.
58025         [BZ #15849]
58026         * manual/install.texi (Running make install): Mention
58027         --enable-pt-chown.
58028         * INSTALL: Regenerated.
58030 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
58032         * csu/init-first.c (_init): Remove the !SHARED condition around
58033         FPU control word initialization.
58034         * elf/dl-support.c (_dl_fpu_control): New variable.
58035         (_dl_aux_init) <AT_FPUCW>: Initialize it.
58036         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
58037         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
58038         * math/test-fpucw-static.c: New file.
58039         * math/test-fpucw-ieee.c: New file.
58040         * math/test-fpucw-ieee-static.c: New file.
58041         * math/Makefile (tests): Add `test-fpucw-ieee' and
58042         `$(tests-static)'.
58043         (tests-static): New variable.
58044         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
58045         dependency to...
58046         [($(build-shared),yes)]
58047         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
58048         ... this.
58049         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
58050         New dependency.
58052 2013-09-09  Allan McRae  <allan@archlinux.org>
58054         [BZ #15939]
58055         * manual/string.texi (Collation Functions): Fix typo in
58056         strcoll example.
58057         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
58059         [BZ #15893]
58060         * stdlib/isomac.c (get_null_defines): Fix memory leak.
58062         [BZ #15892]
58063         * libio/memstream.c (open_memstream): Fix memory leak.
58064         * libio/wmemstream.c (open_wmemstream): Likewise.
58066         [BZ #15895]
58067         * nscd/netgroupcache.c: Fix nesting of ifdefs.
58069 2013-09-09  Will Newton  <will.newton@linaro.org>
58071         * malloc/Makefile: Add tst-realloc to tests.
58072         * malloc/tst-realloc.c: New file.
58074 2013-09-09  Allan McRae  <allan@archlinux.org>
58076         [BZ #15844]
58077         * COPYING: Update from GNU website to fix FSF address.
58078         * COPYING.LIB: Likewise.
58080 2013-09-06  David S. Miller  <davem@davemloft.net>
58082         * po/zh_TW.po: Update Chinese (traditional) translation from
58083         translation project.
58085 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
58086             Joseph Myers  <joseph@codesourcery.com>
58088         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
58089         "localeinfo.h".
58090         (obstack_chunk_alloc): New macro.
58091         (obstack_chunk_free): Likewise.
58092         (record_offset): New function.
58093         (init_locale_data): Likewise.
58094         (align_locale_data): Likewise.
58095         (add_locale_empty): Likewise.
58096         (add_locale_raw_data): Likewise.
58097         (add_locale_raw_obstack): Likewise.
58098         (add_locale_string): Likewise.
58099         (add_locale_wstring): Likewise.
58100         (add_locale_uint32): Likewise.
58101         (add_locale_uint32_array): Likewise.
58102         (add_locale_char): Likewise.
58103         (start_locale_structure): Likewise.
58104         (end_locale_structure): Likewise.
58105         (start_locale_prelude): Likewise.
58106         (end_locale_prelude): Likewise.
58107         (write_locale_data): Take locale_file structure rather than an
58108         iovec.
58109         * locale/programs/locfile.h: Include "obstack.h".
58110         (struct locale_file): Change to store locale file contents instead
58111         of header.
58112         (init_locale_data): New prototype.
58113         (align_locale_data): Likewise.
58114         (add_locale_empty): Likewise.
58115         (add_locale_raw_data): Likewise.
58116         (add_locale_raw_obstack): Likewise.
58117         (add_locale_string): Likewise.
58118         (add_locale_wstring): Likewise.
58119         (add_locale_uint32): Likewise.
58120         (add_locale_uint32_array): Likewise.
58121         (add_locale_char): Likewise.
58122         (start_locale_structure): Likewise.
58123         (end_locale_structure): Likewise.
58124         (start_locale_prelude): Likewise.
58125         (end_locale_prelude): Likewise.
58126         (write_locale_data): Update prototype.
58127         * locale/programs/3level.h (struct TABLE): Remove result field.
58128         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
58129         Use new locale_file interface.
58130         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
58131         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
58132         * locale/programs/ld-address.c (address_output): Use new
58133         locale_file interface.
58134         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
58135         NO_ADD_LOCALE.
58136         (collate_finish): Don't call collseq_table_finalize.
58137         (collate_output): Use new locale_file interface.
58138         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
58139         in file.
58140         (NO_FINALIZE): Change to NO_ADD_LOCALE.
58141         (TABLE): Move defines earlier in file.
58142         (ELEMENT): Likewise.
58143         (DEFAULT): Likewise.
58144         (wctrans_table_add): Move macro and inline function earlier in
58145         file.
58146         (struct wctype_table): Move type earlier in file.
58147         (add_locale_wctype_table): New static prototype.
58148         (struct locale_ctype_t): Use logical types instead of struct iovec
58149         pointers for members.
58150         (ctype_output): Use new locale_file interface.
58151         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
58152         new locale_file interface.
58153         (allocate_arrays): Update for use of new locale_file interface.
58154         * locale/programs/ld-identification.c (identification_output): Use
58155         new locale_file interface.
58156         * locale/programs/ld-measurement.c (measurement_output): Likewise.
58157         * locale/programs/ld-messages.c (messages_output): Likewise.
58158         * locale/programs/ld-monetary.c (monetary_output): Likewise.
58159         * locale/programs/ld-name.c (name_output): Likewise.
58160         * locale/programs/ld-numeric.c (numeric_output): Likewise.
58161         * locale/programs/ld-paper.c (paper_output): Likewise.
58162         * locale/programs/ld-telephone.c (telephone_output): Likewise.
58163         * locale/programs/ld-time.c (time_output): Likewise.
58165 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58167         * benchtests/Makefile: Add memrchr benchmark.
58168         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
58169         benchmark as memrchr.
58170         * benchtests/bench-memrchr-ifunc.c: New file.
58171         * benchtests/bench-memrchr.c: New file.
58173 2013-09-06   Will Newton  <will.newton@linaro.org>
58175         * benchtests/Makefile (string-bench): Add memcpy.
58177 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
58178             Cong Wang  <amwang@redhat.com>
58180         [BZ #15850]
58181         * sysdeps/unix/sysv/linux/bits/in.h
58182         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
58183         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
58184         before __USE_KERNEL_IPV6_DEFS uses.
58185         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
58186         IPPROTO_BEETPH.
58187         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
58188         sockaddr_in6, or ipv6_mreq.
58190 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58192         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
58193         memory access for final bytes in some large inputs.
58194         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
58196 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58198         * string/test-memrchr.c: New file.
58199         * string/test-memrchr-ifunc.c: New file.
58200         * string/Makefile: Add new memrchr testcase.
58202 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
58204         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
58205         fanotify_init returns EPERM.
58207 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
58209         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
58210         errors.
58211         (top level): Treat second token from macro or constant entries for
58212         allowed headers as allowed.
58213         * include/complex.h: Condition internal declarations on
58214         [!_ISOMAC].
58215         * include/fenv.h: Condition include of <stdbool.h> and internal
58216         declarations on [!_ISOMAC].
58218 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
58220         [BZ #15923]
58221         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
58223 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
58225         * configure.in (--enable-versioning): Remove configure option.
58226         (libc_cv_asm_symver_directive): Remove configure test.
58227         (libc_cv_ld_version_script_option): Likewise.
58228         (VERSIONING): Remove variable and AC_SUBST.
58229         (DO_VERSIONING): Remove AC_DEFINE.
58230         * configure: Regenerated.
58231         * config.h.in (DO_VERSIONING): Remove macro.
58232         * Makerules [$(versioning) = yes]: Change conditionals to
58233         [$(build-shared) = yes].
58234         * config.make.in (versioning): Remove variable.
58235         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
58236         [$(build-shared) = yes].
58237         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
58238         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
58239         * elf/Makefile [$(versioning) = yes]: Change conditionals to
58240         [$(build-shared) = yes].
58241         * extra-lib.mk [$(versioning) = yes]: Likewise.
58242         * hurd/Makefile [$(versioning) = yes]: Likewise.
58243         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
58244         [SHARED].
58245         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
58246         [SHARED].
58247         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
58248         [SHARED && !NO_HIDDEN].
58249         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
58250         [SHARED].
58251         [SHARED && DO_VERSIONING]: Likewise..
58252         * libio/Makefile [$(versioning) = yes]: Change conditionals to
58253         [$(build-shared) = yes].
58254         * manual/install.texi (--disable-versioning): Remove
58255         documentation.
58256         * INSTALL: Regenerated.
58257         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
58258         to [SHARED].
58259         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
58260         [$(build-shared) = yes].
58261         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
58262         * sysdeps/i386/i686/multiarch/strstr-c.c
58263         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
58264         [SHARED && !NO_HIDDEN].
58265         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
58266         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
58267         * sysdeps/powerpc/powerpc32/dl-machine.c
58268         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
58269         * sysdeps/powerpc/powerpc32/sysdep.h
58270         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
58271         to [SHARED && PIC && !NO_HIDDEN].
58272         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
58273         conditional to [SHARED].
58275 2013-09-04   Will Newton  <will.newton@linaro.org>
58277         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
58278         * benchtests/bench-string.h: Include bench-timing.h instead
58279         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
58280         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
58281         call to HP_TIMING_DIFF_INIT.
58282         * benchtests/bench-memccpy.c: Use bench-timing.h macros
58283         instead of hp-timing.h macros.
58284         * benchtests/bench-memchr.c: Likewise.
58285         * benchtests/bench-memcmp.c: Likewise.
58286         * benchtests/bench-memcpy.c: Likewise.
58287         * benchtests/bench-memmem.c: Likewise.
58288         * benchtests/bench-memmove.c: Likewise.
58289         * benchtests/bench-memset.c: Likewise.
58290         * benchtests/bench-rawmemchr.c: Likewise.
58291         * benchtests/bench-strcasecmp.c: Likewise.
58292         * benchtests/bench-strcasestr.c: Likewise.
58293         * benchtests/bench-strcat.c: Likewise.
58294         * benchtests/bench-strchr.c: Likewise.
58295         * benchtests/bench-strcmp.c: Likewise.
58296         * benchtests/bench-strcpy.c: Likewise.
58297         * benchtests/bench-strcpy_chk.c: Likewise.
58298         * benchtests/bench-strlen.c: Likewise.
58299         * benchtests/bench-strncasecmp.c: Likewise.
58300         * benchtests/bench-strncat.c: Likewise.
58301         * benchtests/bench-strncmp.c: Likewise.
58302         * benchtests/bench-strncpy.c: Likewise.
58303         * benchtests/bench-strnlen.c: Likewise.
58304         * benchtests/bench-strpbrk.c: Likewise.
58305         * benchtests/bench-strrchr.c: Likewise.
58306         * benchtests/bench-strspn.c: Likewise.
58307         * benchtests/bench-strstr.c: Likewise.
58309 2013-09-04  Will Newton  <will.newton@linaro.org>
58311         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
58313 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
58315         [BZ #15427]
58316         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
58317         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
58318         * math/libm-test.inc (lgamma_test_data): Add more tests.
58319         * sysdeps/i386/fpu/libm-test-ulps: Update.
58320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58322 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
58324         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
58325         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58326         Add ifunc.
58327         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58328         Add strcmp-sse2-unaligned
58329         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
58331 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
58333         * Versions.def (libc): Add GLIBC_2.19.
58335 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
58337         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
58338         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
58340 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
58342         [BZ #14155]
58343         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
58344         intermediate calculations in recurrence.
58345         (__ieee754_ynf): Likewise.
58346         * math/libm-test.inc (jn_test_data): Do not allow spurious
58347         underflow exception.  Add more tests.
58348         (yn_test_data): Add more tests.
58349         * sysdeps/i386/fpu/libm-test-ulps: Update.
58350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58352 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
58354         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
58356 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
58358         * csu/init-first.c: Fix then/than typos.
58359         * locale/programs/ld-collate.c: Likewise.
58360         * locale/programs/linereader.h: Likewise.
58361         * manual/charset.texi: Likewise.
58362         * manual/filesys.texi: Likewise.
58363         * manual/stdio.texi: Likewise.
58364         * manual/string.texi: Likewise.
58365         * stdlib/fmtmsg.c: Likewise.
58366         * sysdeps/i386/stpncpy.S: Likewise.
58367         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58368         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
58369         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58370         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
58372 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
58374         * elf/dl-open.c: Fix typos.
58375         * iconvdata/gbbig5.c: Likewise.
58376         * iconvdata/iso-2022-jp.c: Likewise.
58377         * iconv/gconv_int.h: Likewise.
58378         * iconv/loop.c: Likewise.
58379         * nis/rpcsvc/nis.h: Likewise.
58380         * resolv/ns_name.c: Likewise.
58381         * stdio-common/vfscanf.c: Likewise.
58382         * streams/stropts.h: Likewise.
58383         * sunrpc/rpc_thread.c: Likewise.
58384         * sysdeps/i386/strpbrk.S: Likewise.
58385         * sysdeps/ieee754/k_standard.c: Likewise.
58386         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58387         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58388         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
58389         * sysdeps/mach/hurd/profil.c: Likewise.
58390         * sysdeps/s390/dl-procinfo.h: Likewise.
58391         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
58392         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
58393         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
58394         * sysdeps/x86_64/dl-trampoline.S: Likewise.
58395         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58397 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
58399         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
58400         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
58402 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
58404         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
58405         aix specific files.
58406         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
58407         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
58408         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
58409         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
58410         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
58411         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
58412         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
58413         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
58415 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
58416             Roland McGrath  <roland@hack.frob.com>
58418         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
58419         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
58421 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58423         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
58424         __executable_start symbol instead of _start.
58426 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
58428         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
58429         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
58430         Move macros to...
58431         * sysdeps/gnu/ldsodefs.h: ... this new file.
58433         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
58434         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
58435         instead of ELFOSABI_LINUX.
58437         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
58438         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
58439         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
58440         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
58441         Likewise.
58442         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
58443         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
58444         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
58445         Likewise.
58446         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
58447         (ibm_extended_long_double): Add ieee_nan member.
58448         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
58449         (do_test): New function.
58451         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
58452         TEST_TRUNC.
58453         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
58454         functions, renamed from truncdfsf_test, trunctfsf_test,
58455         trunctfdf_test.
58456         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
58457         functions.
58458         (do_test): Run all these.
58460 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
58462         * argp/argp-help.c: Fix typos.
58463         * argp/argp-parse.c: Likewise.
58464         * debug/backtracesyms.c: Likewise.
58465         * elf/elf.h: Likewise.
58466         * malloc/malloc.c: Likewise.
58467         * nis/nis_print.c: Likewise.
58468         * resolv/res_comp.c: Likewise.
58469         * stdlib/stdlib.h: Likewise.
58470         * sunrpc/clnt_tcp.c: Likewise.
58471         * sunrpc/clnt_udp.c: Likewise.
58472         * sunrpc/clnt_unix.c: Likewise.
58473         * sysdeps/unix/bsd/ptsname.c: Likewise.
58474         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
58475         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
58476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
58477         Likewise.
58478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
58479         Likewise.
58480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
58481         Likewise.
58482         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
58484 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58486         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
58487         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58489 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
58491         [BZ #15897]
58492         * dlfcn/Makefile (tests): Add bug-dl-leaf.
58493         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
58494         ($(objpfx)bug-dl-leaf): New rule.
58495         ($(objpfx)bug-dl-leaf.so): Likewise.
58496         ($(objpfx)bug-dl-leaf.out): Likewise.
58497         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
58498         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
58499         * dlfcn/bug-dl-leaf.c: New test.
58500         * dlfcn/bug-dl-leaf-lib.c: Likewise.
58501         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
58502         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
58503         (dlclose): Likewise.
58504         (dlmopen): Likewise.
58506 2013-08-27  Roland McGrath  <roland@hack.frob.com>
58508         * include/netdb.h [!_ISOMAC]:
58509         Don't include <tls.h>.
58510         (h_errno, __libc_h_errno): Move declaration and macros out of
58511         [_LIBC_REENTRANT].
58513         * include/resolv.h [_RESOLV_H_]:
58514         Don't include <tls.h>.
58515         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
58516         * resolv/res_libc.c: Don't include <tls.h>.
58517         (_res): Use __attribute__ ((nocommon)) in place of
58518         __attribute__ ((section (".bss"))).
58520         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
58521         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
58523         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
58525         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
58526         only under [SIOCGIFCONF && SIOCGIFNETMASK].
58528         * resolv/res_mkquery.c: Include <sys/time.h>.
58530         * inet/ifreq.c: Moved to ...
58531         * sysdeps/unix/ifreq.c: ... here.
58532         * inet/ifreq.c: New file, true stub version.
58534         * socket/sa_len.c: New file.
58535         * socket/Makefile (aux): Add it.
58536         * sysdeps/unix/sysv/linux/Makefile
58537         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
58538         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
58539         and #include <socket/sa_len.c>.
58540         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
58541         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
58543         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
58544         * bits/socket.h: ... here.
58546         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
58547         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
58548         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
58550 2013-08-27  Andreas Schwab  <schwab@suse.de>
58552         [BZ #15736]
58553         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
58554         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
58555         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
58556         * string/test-strcasecmp.c (test_main): Run tests in several
58557         locales.
58558         * string/test-strncasecmp.c (test_main): Likewise.
58560         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
58561         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
58562         to __strcasecmp_nonascii and __strncasecmp_nonascii.
58563         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
58564         (__strncasecmp_ssse3) [PIC]: Likewise.
58566 2013-08-26  Roland McGrath  <roland@hack.frob.com>
58568         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
58570         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
58571         instead of explicitly declaring xdecrypt.
58572         * nis/nss_nis/nis-publickey.c: Likewise.
58574 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58576         [BZ #15890]
58577         * nscd/aicache.c: Include res_hconf.h.
58578         (addhstaiX): Initialize res_hconf.
58580 2013-08-26  Andreas Schwab  <schwab@suse.de>
58582         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
58583         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
58585 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58587         * nscd/aicache.c (addhstaiX): Fix indentation.
58589 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
58591         * configure.ac: Quote $build_pt_chown test.
58592         * configure: Regenerated.
58594 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
58596         [BZ #15532]
58597         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
58598         * math/s_cexpf.c (__cexpf): Likewise.
58599         * math/s_cexpl.c (__cexpl): Likewise.
58600         * math/libm-test.inc (cexp_test_data): Correct expected return
58601         value for NaN + i0.  Add another test.
58603 2013-08-22  David S. Miller  <davem@davemloft.net>
58605         * po/ca.po: Update Catalan translation from translation project.
58606         * po/uk.po: Add Ukrainian translations from translation project.
58608 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
58610         [BZ #15797]
58611         * math/s_fdim.c (__fdim): Check for infinite arguments if result
58612         is infinite, not alongside NaN test.
58613         * math/s_fdimf.c (__fdimf): Likewise.
58614         * math/s_fdiml.c (__fdiml): Likewise.
58615         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
58616         errno is unchanged.
58618 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
58620         * argp/argp-help.c: Fix typos.
58621         * crypt/speeds.c: Likewise.
58622         * csu/check_fds.c: Likewise.
58623         * elf/dl-load.c: Likewise.
58624         * elf/dl-open.c: Likewise.
58625         * elf/reldep3.c: Likewise.
58626         * elf/reldep.c: Likewise.
58627         * elf/sprof.c: Likewise.
58628         * iconv/iconv_charmap.c: Likewise.
58629         * iconv/skeleton.c: Likewise.
58630         * iconv/strtab.c: Likewise.
58631         * io/lockf64.c: Likewise.
58632         * libio/libioP.h: Likewise.
58633         * resolv/gai_notify.c: Likewise.
58634         * resolv/ns_name.c: Likewise.
58635         * resolv/ns_samedomain.c: Likewise.
58636         * resolv/res_send.c: Likewise.
58637         * stdlib/random.c: Likewise.
58638         * sunrpc/rpc/xdr.h: Likewise.
58639         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
58640         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58641         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58642         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58643         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58644         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58645         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58646         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58647         * sysdeps/mach/hurd/check_fds.c: Likewise.
58648         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
58649         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
58650         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58651         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
58652         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58653         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58654         * sysdeps/pthread/aio_notify.c: Likewise.
58655         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
58656         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
58657         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
58658         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58659         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
58661 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58663         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
58664         version if bit_Slow_SSE4_2 is set.
58665         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58666         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58668 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58670         [BZ #15867]
58671         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
58672         trampoline stack frame information.
58673         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
58674         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
58675         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
58676         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
58677         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
58678         * sysdeps/unix/sysv/linux/powerpc/init-first.c
58679         (_libc_vdso_platform_setup): Initialize the signal trampolines.
58680         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
58681         sa_flags value.
58682         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
58683         interrupting a syscall and set with option SA_SIGINFO.
58685 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58687         [BZ #15531]
58688         * math/s_cproj.c (__cproj): Only return an infinity if one part of
58689         argument is infinite.
58690         * math/s_cprojf.c (__cprojf): Likewise.
58691         * math/s_cprojl.c (__cprojl): Likewise.
58692         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
58693         * math/libm-test.inc (cproj_test_data): Add more tests.
58695         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
58697         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
58698         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
58699         size.  Use __ffs to determine corresponding shift.
58701 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58702             Roland McGrath  <roland@hack.frob.com>
58704         * Makefile (INSTALL): Remove trailing blank lines from output of
58705         makeinfo.
58707 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58709         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
58710         Align 32 bit compat elf_greg to 8 bytes.
58712 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
58714         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
58716 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58718         * string/strcoll_l.c (coll_seq): New structure.
58719         (get_next_seq_cached): New function.
58720         (get_next_seq): New function.
58721         (do_compare): New function.
58722         (STRCOLL): Use GNU style definition.  Simplify implementation
58723         by using get_next_seq, get_next_seq_cached and do_compare.
58725 2013-08-16  Florian Weimer  <fweimer@redhat.com>
58727         [BZ #14699]
58728         CVE-2013-4237
58729         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
58730         member.
58731         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
58732         member.
58733         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
58734         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
58735         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
58736         conditional.
58737         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
58738         GETDENTS_64BIT_ALIGNED.
58739         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58740         * manual/filesys.texi (Reading/Closing Directory): Document
58741         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
58742         strongly.
58743         * manual/conf.texi (Limits for Files): Add portability note to
58744         NAME_MAX, PATH_MAX.
58745         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
58747 2013-08-13  Andreas Schwab  <schwab@suse.de>
58749         [BZ #15749]
58750         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
58751         of fabs.
58752         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
58753         LDBL_MAX_EXP >= 16384]: Add tests for it.
58755 2013-08-12  David S. Miller  <davem@davemloft.net>
58757         * version.h (RELEASE): Set to "development".
58758         (VERSION): Set to "2.18.90".
58759         * NEWS: Add 2.19 section.
58761 2013-08-03  David S. Miller  <davem@davemloft.net>
58763         * po/ko.po: Update Korean translation from translation project.
58765 2013-08-01  David S. Miller  <davem@davemloft.net>
58767         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
58768         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
58769         Bilka.
58771 2013-07-30  David S. Miller  <davem@davemloft.net>
58773         * po/fr.po: Update French translation from translation project.
58775 2013-07-28  David S. Miller  <davem@davemloft.net>
58777         * po/cs.po: Update Czech translation from translation project.
58779         * po/sv.po: Update Swedish translation from translation project.
58781 2013-07-27  David S. Miller  <davem@davemloft.net>
58783         * po/eo.po: Update Esperanto translation from translation project.
58785         * po/vi.po: Update Vietnamese translation from translation project.
58787         * po/de.po: Update German translation from translation project.
58789 2013-07-26  David S. Miller  <davem@davemloft.net>
58791         * po/bg.po: Update Bulgarian translation from translation project.
58793         * po/nl.po: Update Dutch translation from translation project.
58794         * po/pl.po: Update Polish translation from translation project.
58795         * po/ru.po: Update Russian translation from translation project.
58797 2013-07-24  David S. Miller  <davem@davemloft.net>
58799         * po/libc.pot: Update.
58801 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58803         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
58804         variable page size.
58805         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
58806         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
58807         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
58809 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58811         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
58813 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58814             Andreas Schwab  <schwab@suse.de>
58815             Roland McGrath  <roland@hack.frob.com>
58816             Joseph Myers  <joseph@codesourcery.com>
58817             Carlos O'Donell  <carlos@redhat.com>
58819         [BZ #15755]
58820         * config.h.in: Define HAVE_PT_CHOWN.
58821         * config.make.in (build-pt-chown): New variable.
58822         * configure.in (--enable-pt_chown): New configure option.
58823         * configure: Regenerate.
58824         * login/Makefile: Include Makeconfig.  Build pt_chown only if
58825         build-pt-chown is enabled.
58826         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
58827         pt_chown to fix pty ownership.
58828         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
58829         CLOSE_ALL_FDS.
58830         * manual/install.texi (Configuring and compiling): Mention
58831         --enable-pt_chown. Add @findex for grantpt.
58832         * INSTALL: Regenerate.
58834 2013-07-20  David S. Miller  <davem@davemloft.net>
58836         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
58837         difference between 32-bit and 64-bit.
58839 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
58841         [BZ #15711]
58842         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
58843         Avoid system header dependency with -ffreestanding.
58844         ($(objpfx)bits/syscall%d): Likewise.
58846 2013-07-13  David S. Miller  <davem@davemloft.net>
58848         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
58849         underflows from atanl/atan2l due to bug 15319.
58850         (casinh_test_data): Likewise.
58852 2013-07-07  David S. Miller  <davem@davemloft.net>
58854         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
58856 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
58858         * sysdeps/i386/fpu/libm-test-ulps: Update.
58859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58861 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58863         * configure.in (--enable-lock-elision): Fix message text.
58864         * INSTALL: Regenerate.
58865         * configure: Regenerate.
58867 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58871 2013-07-03  Andreas Jaeger  <aj@suse.de>
58873         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
58874         define.
58875         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
58876         (ptrace_peeksiginfo_args): Add.
58877         (__ptrace_peeksiginfo_flags): Add.
58878         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58879         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58880         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58882 2013-07-03  Allan McRae  <allan@archlinux.org>
58884         * sysdeps/i386/fpu/libm-test-ulps: Update.
58886 2013-07-02  David S. Miller  <davem@davemloft.net>
58888         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58890 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
58892         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58894 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
58896         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58899 2013-07-02  Andi Kleen <ak@linux.intel.com>
58901         * config.h.in (ENABLE_LOCK_ELISION): Add.
58902         * configure.in (--enable-lock-elision): Add option.
58903         * manual/install.texi: Document --enable lock elision.
58904         * configure: Regenerate
58905         * INSTALL: Regenerate.
58907 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
58909         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
58910         SSE4.2 strcasecmp for libc.a.
58911         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
58913 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
58915         [BZ #13304]
58916         * soft-fp/op-common.h (_FP_FMA): New macro.
58917         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
58918         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
58919         (_FP_MUL_MEAT_1_imm): ... here.
58920         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
58921         (_FP_MUL_MEAT_1_wide): ... here.
58922         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
58923         (_FP_MUL_MEAT_1_hard): ... here.
58924         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
58925         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
58926         (_FP_MUL_MEAT_2_wide): ... here.
58927         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
58928         (_FP_MUL_MEAT_2_wide_3mul): ... here.
58929         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
58930         (_FP_MUL_MEAT_2_gmp): ... here.
58931         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
58932         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
58933         (_FP_MUL_MEAT_4_wide): ... here.
58934         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
58935         (_FP_MUL_MEAT_4_gmp): ... here.
58936         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
58937         (_FP_WFRACBITS_DW_S): Likewise.
58938         (_FP_WFRACXBITS_DW_S): Likewise.
58939         (_FP_HIGHBIT_DW_S): Likewise.
58940         (FP_FMA_S): Likewise.
58941         (_FP_FRAC_HIGH_DW_S): Likewise.
58942         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
58943         (_FP_WFRACBITS_DW_D): Likewise.
58944         (_FP_WFRACXBITS_DW_D): Likewise.
58945         (_FP_HIGHBIT_DW_D): Likewise.
58946         (FP_FMA_D): Likewise.
58947         (_FP_FRAC_HIGH_DW_D): Likewise.
58948         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
58949         (_FP_WFRACBITS_DW_E): Likewise.
58950         (_FP_WFRACXBITS_DW_E): Likewise.
58951         (_FP_HIGHBIT_DW_E): Likewise.
58952         (FP_FMA_E): Likewise.
58953         (_FP_FRAC_HIGH_DW_E): Likewise.
58954         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
58955         (_FP_WFRACBITS_DW_Q): Likewise.
58956         (_FP_WFRACXBITS_DW_Q): Likewise.
58957         (_FP_HIGHBIT_DW_Q): Likewise.
58958         (FP_FMA_Q): Likewise.
58959         (_FP_FRAC_HIGH_DW_Q): Likewise.
58960         * soft-fp/fmasf4.c: New file.
58961         * soft-fp/fmadf4.c: Likewise.
58962         * soft-fp/fmatf4.c: Likewise.
58964 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58966         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58967         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
58968         Silvermont.
58969         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
58970         macro.
58971         (index_Slow_SSE4_2): Likewise.
58972         (index_Prefer_PMINUB_for_stringop): Likewise.
58973         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
58974         bit_Slow_SSE4_2 is set.
58975         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
58976         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58978 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58980         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
58981         rtld_global._dl_hwcap2.
58982         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
58983         POWER8.
58984         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
58985         POWER8 feature descriptions defined in _dl_hwcap2.
58986         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
58987         string handling for POWER8 feature bits.
58988         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
58989         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
58990         _dl_powerpc_cap_flags.
58991         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
58992         * sysdeps/powerpc/rtld-global-offsets.sym
58993         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
58994         _dl_hwcap2 in the rtld_global_ro structure.
58996 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58998         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
58999         hardware capabilities in support of AT_HWCAP2.
59000         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
59001         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
59002         GLRO(dl_hwcap2).
59003         (_dl_show_auxv): Add support for calling _dl_procinfo to display
59004         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
59005         explicitly the unknown a_type display mechanism is used.
59006         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
59007         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
59008         struct member.
59009         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
59010         to macro prototype for AT_HWCAP2 support.
59011         * sysdeps/i386/dl-procinfo.h: Likewise.
59012         * sysdeps/s390/dl-procinfo.h: Likewise.
59013         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
59014         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
59015         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
59016         return -1 for unknown a_type display fallback.
59017         * sysdeps/sparc/dl-procinfo.h: Likewise.
59018         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
59019         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
59021 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
59023         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
59024         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
59026 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
59028         [BZ #12492]
59029         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
59030         mprotect making __stack_prot writable.
59032 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
59033             Joseph Myers  <joseph@codesourcery.com>
59035         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
59036         as being properly aligned.
59038 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
59040         * dlfcn/modstatic5.c: New file.
59041         * dlfcn/tststatic5.c: New file.
59042         * dlfcn/Makefile (tests): Add tststatic5.
59043         (tests-static): Likewise.
59044         (modules-names): Add modstatic5.
59045         (tststatic5-ENV): New variable.
59046         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
59048         [BZ #15022]
59049         * elf/dl-support.c (_dl_main_map): New variable.
59050         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
59051         (_dl_nns, _dl_load_adds): Set to 1.
59052         (_dl_initial_searchlist): Refer to _dl_main_map.
59053         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
59054         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
59055         call to _dl_get_origin.
59056         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
59057         around call_map.
59058         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
59059         * dlfcn/modstatic3.c: New file.
59060         * dlfcn/tststatic3.c: New file.
59061         * dlfcn/tststatic4.c: New file.
59062         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
59063         (tests-static): Likewise.
59064         (modules-names): Add modstatic3.
59065         (tststatic3-ENV, tststatic4-ENV): New variables.
59066         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
59067         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
59069 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
59071         * configure.in (CC): Require GCC version 4.4 or later.
59072         * configure: Regenerated.
59073         * manual/install.texi (Tools for Compilation): Update GCC version
59074         requirement.
59075         * INSTALL: Regenerated.
59077 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59079         [BZ #15674]
59080         * string/test-memcmp.c (check2): New.
59081         (main): Call check2.
59083         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
59085 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
59087         [BZ #15022]
59088         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
59089         over to...
59090         (dl_open_worker) [!SHARED]: ... here.
59092 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59094         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
59096 2013-06-25  Richard Henderson  <rth@redhat.com>
59098         * locale/programs/locarchive.c: Include <libc-internal.h>
59100 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
59102         * manual/texinfo.tex: Update to version 2013-06-21.17, with
59103         trailing whitespace removed.
59105 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
59107         [BZ #10283]
59108         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
59109         * locale/programs/locarchive.c: Include libc-mmap.h.
59110         (prepare_address_space): Take two new outputs (the mmap base and len).
59111         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
59112         values.
59113         (create_archive): Declare new mmap base and len values for
59114         prepare_address_space, and store the result in ah.
59115         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
59116         (enlarge_archive): If ah->mmap_base is not NULL, use that and
59117         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
59118         Declare new mmap base and len values for
59119         prepare_address_space, and store the result in new_ah.
59120         (open_archive): Declare new mmap base and len values for
59121         prepare_address_space, and store the result in ah.
59122         (close_archive): If ah->mmap_base is not NULL, use that and
59123         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
59124         * sysdeps/generic/libc-mmap.h: New file.
59126 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
59128         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
59129         (ALIGN_UP): Likewise.
59130         (PTR_ALIGN_DOWN): Likewise.
59131         (PTR_ALIGN_UP): Likewise.
59133 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59135         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
59136         entry mapped to PPC_PLATFORM_POWER8.
59137         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
59138         POWER8.
59139         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
59140         (_dl_string_platform): Add case for exporting platform position for
59141         POWER8.
59142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
59143         search path to sysdeps/powerpc/powerpc32/power8 directory.
59144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
59145         search path to sysdeps/powerpc/powerpc64/power8 directory.
59146         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
59147         power7 directories.
59148         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
59149         power7 directories.
59151 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
59153         * INSTALL: Regenerate.
59155         * nscd/connections.c (nscd_init): Fix comment.
59157 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
59159         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
59161         [BZ #15667]
59162         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
59163         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
59165 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
59167         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
59168         DL_DST_REQ_STATIC.
59169         (DL_DST_REQ_STATIC): Remove macro.
59171 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
59173         [BZ #7006]
59174         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
59175         with a shift of 0 bits.
59177 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
59179         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
59180         $(tststatic-ENV).
59182 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59184         [BZ #15655]
59185         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
59187 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59189         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
59190         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
59191         accepts -fno-tree-loop-distribute-patterns.
59192         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
59193         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
59194         recursive call.
59195         * string/memset.c (memset): Likewise.
59196         * string/test-memmove.c (simple_memmove): Disable loop transformation
59197         to library calls.
59198         * string/test-memset.c (simple_memset): Likewise.
59199         * benchtests/bench-memmove.c (simple_memmove): Likewise.
59200         * benchtests/bench-memset.c (simple_memset): Likewise.
59201         * configure: Regenerated.
59203 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
59205         * math/test-misc.c (main): Ignore fesetround failure when failures
59206         of subsequent rounding tests would be ignored.
59208         [BZ #15654]
59209         * math/fedisblxcpt.c (fedisableexcept): Return 0.
59210         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
59211         * math/fegetenv.c (__fegetenv): Return 0.
59212         * math/fegetexcept.c (fegetexcept): Return 0.
59213         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
59214         FE_TONEAREST.
59215         * math/feholdexcpt.c (feholdexcept): Return 0.
59216         * math/fesetenv.c (__fesetenv): Return 0.
59217         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
59218         argument FE_TONEAREST.
59219         * math/feupdateenv.c (__feupdateenv): Return 0.
59220         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
59222 2013-06-18  Roland McGrath  <roland@hack.frob.com>
59224         * elf/rtld-Rules (rtld-compile-command.S): New variable.
59225         (rtld-compile-command.s, rtld-compile-command.c): New variables.
59226         ($(objpfx)rtld-%.os rules): Use them.
59228 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59230         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
59231         fields.
59233 2013-06-17  Roland McGrath  <roland@hack.frob.com>
59235         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
59236         length of target pattern, then descending length of dependency pattern.
59237         * configure.in (AWK): Require gawk 3.1.2 or newer.
59238         * manual/install.texi (Tools for Compilation): Say that we do.
59239         * configure: Regenerated.
59241         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
59242         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
59243         * scripts/sysd-rules.awk: ... this new script.
59244         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
59245         than a glob-style pattern.
59247 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
59249         * math/test-misc.c (main): Do not treat incorrectly rounded
59250         conversions as failure unless ROUNDING_TESTS passes.
59252 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
59254         [BZ #15631]
59255         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
59256         restore exception state around main square root computation, then
59257         check for inexactness explicitly.
59259         * math/libm-test.inc (fma_test_data): Add another test.
59261 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59263         * manual/threads.texi (Non-POSIX Extensions): New document
59264         node.  Document pthread_getattr_default_np and
59265         pthread_setattr_default_np.
59267         * Versions.def (libpthread): Add GLIBC_2.18.
59268         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
59269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
59270         Likewise.
59271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59272         Likewise.
59273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59274         Likewise.
59275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59276         Likewise.
59277         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
59278         Likewise.
59279         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
59280         Likewise.
59281         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
59282         Likewise.
59283         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
59284         Likewise.
59285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
59286         Likewise.
59288 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59290         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59291         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
59293 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59294             H.J. Lu  <hjl.tools@gmail.com>
59296         [BZ #15627]
59297         * sysdeps/x86_64/rtld-memset.c: Remove file.
59298         * sysdeps/x86_64/rtld-memset.S: New file.
59300 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
59302         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
59303         (test_in_one_mode): Take arguments for whether the rounding mode
59304         is supported for each floating-point type.
59305         (do_test): Pass new arguments to test_in_one_mode using
59306         ROUNDING_TESTS.
59308 2013-06-13  Roland McGrath  <roland@hack.frob.com>
59310         * posix/tst-waitid.c (do_test): Distinguish different instances of
59311         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
59312         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
59313         before entering the kernel for waitpid.
59315 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
59317         * NEWS: Fix note on clock function precision.  Text by Roland
59318         McGrath.
59320 2013-06-13  Roland McGrath  <roland@hack.frob.com>
59322         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
59323         it into place only when and if the sanity check passes.
59325 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
59327         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
59328         output for whether conversion result is exact.  Take argument
59329         indicating whether type is IBM long double.
59330         (round_for_all): Change need_exact field to ibm_ld.
59331         * stdlib/tst-strtod-round.c (struct exactness): New type.
59332         (struct test): Change bool ld_ok field to struct exactness exact.
59333         (TEST): Update all definitions for change to field.
59334         (tests): Regenerate array contents.
59335         (test_in_one_mode): Take pointer to new field instead of old ld_ok
59336         field value.  Check for IBM long double here.
59337         (do_test): Update calls to test_in_one_mode.
59339 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
59341         [BZ #12515]
59342         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
59343         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
59345 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59347         [BZ #15605]
59348         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
59349         generated by the compiler on loop optimizations.
59350         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
59351         general definitions.
59353 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
59355         * math/bug-nextafter.c: Include <math-tests.h>.
59356         (main): Only test for exceptions if EXCEPTION_TESTS is true for
59357         the relevant type.
59358         * math/bug-nexttoward.c: Include <math-tests.h>.
59359         (main): Only test for exceptions if EXCEPTION_TESTS is true for
59360         the relevant type.
59361         * math/test-misc.c: Include <math-tests.h>.
59362         (main): Only test for exceptions if EXCEPTION_TESTS is true for
59363         the relevant type.
59365 2013-06-12  Andreas Jaeger  <aj@suse.de>
59367         * po/ia.po: Update Interlingua translation from translation
59368         project.
59370 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
59372         * include/fenv.h: Include stdbool.h.
59373         (struct rm_ctx): New structure.
59374         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
59375         Define macro.
59376         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
59377         (SET_RESTORE_ROUNDF): Likewise.
59378         (SET_RESTORE_ROUNDL): Likewise.
59379         (SET_RESTORE_ROUND_NOEX): Likewise.
59380         (SET_RESTORE_ROUND_NOEXF): Likewise.
59381         (SET_RESTORE_ROUND_NOEXL): Likewise.
59382         (SET_RESTORE_ROUND_53BIT): Likewise.
59383         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
59384         (libc_feresetround_noexf_ctx): Likewise.
59385         (libc_feresetround_noexl_ctx): Likewise.
59386         (libc_feholdsetround_53bit_ctx): Likewise.
59387         (libc_feresetround_53bit_ctx): Likewise.
59388         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
59389         (libc_feholdexcept_setround_sse_ctx): New function.
59390         (libc_fesetenv_sse_ctx): Likewise.
59391         (libc_feupdateenv_sse_ctx): Likewise.
59392         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
59393         (libc_feholdexcept_setround_387_ctx): Likewise.
59394         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
59395         (libc_feholdsetround_387_prec_ctx): Likewise.
59396         (libc_feholdsetround_387_ctx): Likewise.
59397         (libc_feholdsetround_387_53bit_ctx): Likewise.
59398         (libc_feholdsetround_sse_ctx): Likewise.
59399         (libc_feresetround_sse_ctx): Likewise.
59400         (libc_feresetround_387_ctx): Likewise.
59401         (libc_feupdateenv_387_ctx): Likewise.
59402         (libc_feholdexcept_setroundf_ctx): Define macro.
59403         (libc_fesetenvf_ctx): Likewise.
59404         (libc_feupdateenvf_ctx): Likewise.
59405         (libc_feholdsetroundf_ctx): Likewise.
59406         (libc_feresetroundf_ctx): Likewise.
59407         (libc_feholdexcept_setround_ctx): Likewise.
59408         (libc_fesetenv_ctx): Likewise.
59409         (libc_feupdateenv_ctx): Likewise.
59410         (libc_feholdsetround_ctx): Likewise.
59411         (libc_feresetround_ctx): Likewise.
59412         (libc_feholdexcept_setroundl_ctx): Likewise.
59413         (libc_feupdateenvl_ctx): Likewise.
59414         (libc_feholdsetroundl_ctx): Likewise.
59415         (libc_feresetroundl_ctx): Likewise.
59416         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
59417         (libc_feresetround_53bit_ctx): Likewise.
59419 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59421         * locale/iso-639.def: Convert to UTF-8.
59423 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
59425         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
59426         (EXCEPTION_TESTS_double): Likewise.
59427         (EXCEPTION_TESTS_long_double): Likewise.
59428         (EXCEPTION_TESTS): Likewise.
59429         * math/libm-test.inc (test_exceptions): Only test exceptions if
59430         EXCEPTION_TESTS (FLOAT).
59432 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59434         * benchtests/Makefile (string-bench): Add strcpy_chk and
59435         stpcpy_chk.
59436         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
59437         * benchtests/bench-stpcpy_chk.c: New file.
59438         * benchtests/bench-strcpy_chk-ifunc.c: New file.
59439         * benchtests/bench-strcpy_chk.c: New file.
59440         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
59441         code.
59442         (do_test): Likewise.
59444 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59446         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
59447         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
59448         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
59449         with tabs where appropriate.
59450         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
59451         dl-procinfo.h.
59452         [PPC_PLATFORM_PPC440]: Likewise.
59453         [PPC_PLATFORM_PPC464]: Likewise.
59454         [PPC_PLATFORM_PPC476]: Likewise.
59455         (_dl_string_platform): Add support for detecting ppc405, ppc440,
59456         ppc464, and ppc476 platform strings merging from ports/
59457         dl-procinfo.h.
59459 2013-06-11  Andreas Schwab  <schwab@suse.de>
59461         [BZ #14991]
59462         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
59463         (from_ucs4_idx): Regenerate.
59464         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
59465         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
59466         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
59467         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
59468         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
59469         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
59470         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
59471         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
59472         from FROM_LOOP and TO_LOOP specific macros.
59473         (BODY): Handle combining characters.
59474         * iconvdata/BIG5HKSCS.irreversible: Update.
59475         * iconvdata/BIG5HKSCS.precomposed: New file.
59476         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
59477         characters.
59478         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
59480 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59482         * include/sys/time.h: Fix indentation and add copyright header.
59484         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
59485         (do_test): Likewise.
59486         * string/test-memchr.c (do_one_test): Likewise.
59487         (do_test): Likewise.
59488         * string/test-memcmp.c (do_one_test): Likewise.
59489         (do_test): Likewise.
59490         * string/test-memcpy.c (do_one_test): Likewise.
59491         (do_test): Likewise.
59492         * string/test-memmem.c (do_one_test): Likewise.
59493         (do_test): Likewise.
59494         (do_random_tests): Likewise.
59495         * string/test-memmove.c (do_one_test): Likewise.
59496         (do_test): Likewise.
59497         * string/test-memset.c (do_one_test): Likewise.
59498         (do_test): Likewise.
59499         * string/test-rawmemchr.c (do_one_test): Likewise.
59500         (do_test): Likewise.
59501         * string/test-strcasecmp.c (do_one_test): Likewise.
59502         (do_test): Likewise.
59503         * string/test-strcasestr.c (do_one_test): Likewise.
59504         (do_test): Likewise.
59505         * string/test-strcat.c (do_one_test): Likewise.
59506         (do_test): Likewise.
59507         * string/test-strchr.c (do_one_test): Likewise.
59508         (do_test): Likewise.
59509         * string/test-strcmp.c (do_one_test): Likewise.
59510         (do_test): Likewise.
59511         * string/test-strcpy.c (do_one_test): Likewise.
59512         (do_test): Likewise.
59513         * string/test-string.h: Likewise.
59514         (test_init): Likewise.
59515         * string/test-strlen.c (do_one_test): Likewise.
59516         (do_test): Likewise.
59517         * string/test-strncasecmp.c (do_one_test): Likewise.
59518         (do_test): Likewise.
59519         * string/test-strncat.c (do_one_test): Likewise.
59520         (do_test): Likewise.
59521         * string/test-strncmp.c (do_one_test): Likewise.
59522         (do_test_limit): Likewise.
59523         (do_test): Likewise.
59524         * string/test-strncpy.c (do_one_test): Likewise.
59525         (do_test): Likewise.
59526         * string/test-strnlen.c (do_one_test): Likewise.
59527         (do_test): Likewise.
59528         * string/test-strpbrk.c (do_one_test): Likewise.
59529         (do_test): Likewise.
59530         * string/test-strrchr.c (do_one_test): Likewise.
59531         (do_test): Likewise.
59532         * string/test-strspn.c (do_one_test): Likewise.
59533         (do_test): Likewise.
59534         * string/test-strstr.c (do_one_test): Likewise.
59535         (do_test): Likewise.
59537         * benchtests/Makefile (string-bench): Add string benchmarks.
59538         * benchtests/bench-bcopy-ifunc.c: New file.
59539         * benchtests/bench-bcopy.c: New file.
59540         * benchtests/bench-bzero-ifunc.c: New file.
59541         * benchtests/bench-bzero.c: New file.
59542         * benchtests/bench-memccpy-ifunc.c: New file.
59543         * benchtests/bench-memccpy.c: New file.
59544         * benchtests/bench-memchr-ifunc.c: New file.
59545         * benchtests/bench-memchr.c: New file.
59546         * benchtests/bench-memcmp-ifunc.c: New file.
59547         * benchtests/bench-memcmp.c: New file.
59548         * benchtests/bench-memmem-ifunc.c: New file.
59549         * benchtests/bench-memmem.c: New file.
59550         * benchtests/bench-memmove-ifunc.c: New file.
59551         * benchtests/bench-memmove.c: New file.
59552         * benchtests/bench-mempcpy-ifunc.c: New file.
59553         * benchtests/bench-mempcpy.c: New file.
59554         * benchtests/bench-memset-ifunc.c: New file.
59555         * benchtests/bench-memset.c: New file.
59556         * benchtests/bench-rawmemchr-ifunc.c: New file.
59557         * benchtests/bench-rawmemchr.c: New file.
59558         * benchtests/bench-stpcpy-ifunc.c: New file.
59559         * benchtests/bench-stpcpy.c: New file.
59560         * benchtests/bench-stpncpy-ifunc.c: New file.
59561         * benchtests/bench-stpncpy.c: New file.
59562         * benchtests/bench-strcasecmp-ifunc.c: New file.
59563         * benchtests/bench-strcasecmp.c: New file.
59564         * benchtests/bench-strcasestr-ifunc.c: New file.
59565         * benchtests/bench-strcasestr.c: New file.
59566         * benchtests/bench-strcat-ifunc.c: New file.
59567         * benchtests/bench-strcat.c: New file.
59568         * benchtests/bench-strchr-ifunc.c: New file.
59569         * benchtests/bench-strchr.c: New file.
59570         * benchtests/bench-strchrnul-ifunc.c: New file.
59571         * benchtests/bench-strchrnul.c: New file.
59572         * benchtests/bench-strcmp-ifunc.c: New file.
59573         * benchtests/bench-strcmp.c: New file.
59574         * benchtests/bench-strcpy-ifunc.c: New file.
59575         * benchtests/bench-strcpy.c: New file.
59576         * benchtests/bench-strcspn-ifunc.c: New file.
59577         * benchtests/bench-strcspn.c: New file.
59578         * benchtests/bench-strlen-ifunc.c: New file.
59579         * benchtests/bench-strlen.c: New file.
59580         * benchtests/bench-strncasecmp-ifunc.c: New file.
59581         * benchtests/bench-strncasecmp.c: New file.
59582         * benchtests/bench-strncat-ifunc.c: New file.
59583         * benchtests/bench-strncat.c: New file.
59584         * benchtests/bench-strncmp-ifunc.c: New file.
59585         * benchtests/bench-strncmp.c: New file.
59586         * benchtests/bench-strncpy-ifunc.c: New file.
59587         * benchtests/bench-strncpy.c: New file.
59588         * benchtests/bench-strnlen-ifunc.c: New file.
59589         * benchtests/bench-strnlen.c: New file.
59590         * benchtests/bench-strpbrk-ifunc.c: New file.
59591         * benchtests/bench-strpbrk.c: New file.
59592         * benchtests/bench-strrchr-ifunc.c: New file.
59593         * benchtests/bench-strrchr.c: New file.
59594         * benchtests/bench-strspn-ifunc.c: New file.
59595         * benchtests/bench-strspn.c: New file.
59596         * benchtests/bench-strstr-ifunc.c: New file.
59597         * benchtests/bench-strstr.c: New file.
59599         * benchtests/Makefile: Disable parallel execution of targets.
59600         (string-bench): Add memcpy.
59601         (benchset): New variable to store a list of benchmark sets.
59602         (bench-func): Renamed from bench.
59603         (bench-set): New target.
59604         (bench): Depend on bench-func and bench-set.
59605         * benchtests/README: Add section on benchmark sets.
59606         * benchtests/bench-memcpy-ifunc.c: New file.
59607         * benchtests/bench-memcpy.c: New file.
59608         * benchtests/bench-string.h: New file.
59610 2013-06-11  Andreas Schwab  <schwab@suse.de>
59612         [BZ #15577]
59613         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
59614         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
59615         values in the triple.
59616         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
59617         terminator in the group key.
59619 2013-06-11  Andreas Jaeger  <aj@suse.de>
59621         * po/zh_TW.po: Update Chinese (traditional) translation from
59622         translation project.
59624 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59626         * include/time.h (__clock_gettime): Add libc_hidden_proto.
59627         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
59628         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
59629         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59630         (clock_getcpuclockid): Likewise.
59631         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
59632         Add weak_alias and libc_hidden_def.
59633         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
59634         * rt/clock_gettime.c (clock_gettime): Rename to
59635         __clock_gettime.  Add weak_alias and libc_hidden_def.
59636         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
59637         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
59638         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
59639         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
59640         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
59641         Likewise.
59642         * rt/clock_settime.c (clock_settime): Rename to
59643         __clock_settime.  Add weak_alias and libc_hidden_def.
59644         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
59646 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
59648         * mach/err_boot.sub: Remove trailing whitespace.
59649         * mach/err_ipc.sub: Likewise.
59650         * mach/err_mach.sub: Likewise.
59652         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
59653         (ROUNDING_TESTS_double): Likewise.
59654         (ROUNDING_TESTS_long_double): Likewise.
59655         (ROUNDING_TESTS): Likewise.
59656         * math/libm-test.inc: Include <math-tests.h>.
59657         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
59658         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
59659         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
59660         (IF_ROUND_INIT_FE_UPWARD): Likewise.
59662 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59664         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
59665         of assigning.
59667 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
59669         * sysdeps/gnu/errlist.awk: Do not generate space at end of
59670         otherwise empty TRANS lines.
59671         * sysdeps/gnu/errlist.c: Regenerated.
59673         * catgets/gencat.c (error_print): Use (void) in function
59674         definition.
59675         * crypt/crypt_util.c (__init_des): Likewise.
59676         * crypt/speeds.c (Stop): Likewise.
59677         (main): Likewise.
59678         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
59679         * inet/ruserpass.c (token): Likewise.
59680         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
59681         * intl/localealias.c (extend_alias_table): Likewise.
59682         * intl/plural-exp.c (init_germanic_plural): Likewise.
59683         * libio/fcloseall.c (__fcloseall): Likewise.
59684         * libio/genops.c (_IO_flush_all): Likewise.
59685         (_IO_flush_all_linebuffered): Likewise.
59686         (_IO_cleanup): Likewise.
59687         (_IO_iter_begin): Likewise.
59688         (_IO_iter_end): Likewise.
59689         (_IO_list_lock): Likewise.
59690         (_IO_list_unlock): Likewise.
59691         (_IO_list_resetlock): Likewise.
59692         * libio/getchar.c (getchar): Likewise.
59693         * libio/getchar_u.c (getchar_unlocked): Likewise.
59694         * libio/getwchar.c (getwchar): Likewise.
59695         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
59696         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
59697         * login/getpt.c (__getpt): Likewise.
59698         * login/tst-utmp.c (main): Likewise.
59699         * malloc/hooks.c (__malloc_check_init): Likewise.
59700         * malloc/malloc.c (__malloc_stats): Likewise.
59701         * malloc/mtrace.c (tr_break): Likewise.
59702         (mtrace): Likewise.
59703         (muntrace): Likewise.
59704         * misc/fstab.c (endfsent): Likewise.
59705         * misc/getclktck.c (__getclktck): Likewise.
59706         * misc/getdtsz.c (__getdtablesize): Likewise.
59707         * misc/gethostid.c (gethostid): Likewise.
59708         * misc/getpagesize.c (__getpagesize): Likewise.
59709         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
59710         (__get_nprocs): Likewise.
59711         (__get_phys_pages): Likewise.
59712         (__get_avphys_pages): Likewise.
59713         * misc/getttyent.c (getttyent): Likewise.
59714         (setttyent): Likewise.
59715         (endttyent): Likewise.
59716         * misc/getusershell.c (getusershell): Likewise.
59717         (endusershell): Likewise.
59718         (setusershell): Likewise.
59719         (initshells): Likewise.
59720         * misc/hsearch.c (__hdestroy): Likewise.
59721         * misc/sync.c (sync): Likewise.
59722         * misc/syslog.c (closelog_internal): Likewise.
59723         (closelog): Likewise.
59724         * misc/ttyslot.c (ttyslot): Likewise.
59725         * misc/vhangup.c (vhangup): Likewise.
59726         * posix/fork.c (__fork): Likewise.
59727         * posix/getegid.c (__getegid): Likewise.
59728         * posix/geteuid.c (__geteuid): Likewise.
59729         * posix/getgid.c (__getgid): Likewise.
59730         * posix/getpid.c (__getpid): Likewise.
59731         * posix/getppid.c (__getppid): Likewise.
59732         * posix/getuid.c (__getuid): Likewise.
59733         * posix/pause.c (pause): Likewise.
59734         * posix/setpgrp.c (setpgrp): Likewise.
59735         * posix/setsid.c (__setsid): Likewise.
59736         * posix/test-vfork.c (noop): Likewise.
59737         * resolv/gethnamaddr.c (_endhtent): Likewise.
59738         (_gethtent): Likewise.
59739         (ht_endhostent): Likewise.
59740         (gethostent): Likewise.
59741         (dns_service): Likewise.
59742         * stdlib/drand48.c (drand48): Likewise.
59743         * stdlib/lrand48.c (lrand48): Likewise.
59744         * stdlib/mrand48.c (mrand48): Likewise.
59745         * stdlib/rand.c (rand): Likewise.
59746         * stdlib/random.c (__random): Likewise.
59747         * stdlib/setenv.c (clearenv): Likewise.
59748         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
59749         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
59750         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
59751         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
59752         (__get_nprocs): Likewise.
59753         (__get_phys_pages): Likewise.
59754         (__get_avphys_pages): Likewise.
59755         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
59756         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
59757         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
59758         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
59759         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
59760         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
59761         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
59762         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
59763         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
59764         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
59765         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
59766         * sysdeps/mach/hurd/sync.c (sync): Likewise.
59767         * sysdeps/posix/clock.c (clock): Likewise.
59768         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
59769         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
59770         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
59771         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
59772         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
59773         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
59774         (__get_nprocs_conf): Likewise.
59775         (__get_phys_pages): Likewise.
59776         (__get_avphys_pages): Likewise.
59777         * time/clock.c (clock): Likewise.
59778         * time/tzset.c (__tzname_max): Likewise.
59780 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
59782         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
59783         (__bswap_32): Do not use "register".
59784         * crypt/crypt.c (_ufc_doit_r): Likewise.
59785         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
59786         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
59787         * gmon/gmon.c (__monstartup): Likewise.
59788         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
59789         * hurd/hurdmalloc.c (more_memory): Likewise.
59790         (malloc): Likewise.
59791         (free): Likewise.
59792         (realloc): Likewise.
59793         (malloc_fork_prepare): Likewise.
59794         (malloc_fork_parent): Likewise.
59795         (malloc_fork_child): Likewise.
59796         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
59797         (_svcauth_des): Likewise.
59798         * inet/inet_lnaof.c (inet_lnaof): Likewise.
59799         * inet/inet_net.c (inet_network): Likewise.
59800         * inet/inet_netof.c (inet_netof): Likewise.
59801         * inet/rcmd.c (__validuser2_sa): Likewise.
59802         * io/fts.c (fts_open): Likewise.
59803         (fts_load): Likewise.
59804         (fts_close): Likewise.
59805         (fts_read): Likewise.
59806         (fts_children): Likewise.
59807         (fts_build): Likewise.
59808         (fts_stat): Likewise.
59809         (fts_sort): Likewise.
59810         (fts_alloc): Likewise.
59811         (fts_lfree): Likewise.
59812         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
59813         (_IO_file_xsgetn): Likewise.
59814         (_IO_file_xsgetn_mmap): Likewise.
59815         * libio/iofopncook.c (_IO_cookie_read): Likewise.
59816         (_IO_cookie_write): Likewise.
59817         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
59818         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
59819         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
59820         * malloc/obstack.c (_obstack_begin): Likewise.
59821         (_obstack_begin_1): Likewise.
59822         (_obstack_newchunk): Likewise.
59823         (_obstack_allocated_p): Likewise.
59824         (obstack_free): Likewise.
59825         (_obstack_memory_used): Likewise.
59826         * misc/getttyent.c (getttynam): Likewise.
59827         (getttyent): Likewise.
59828         (skip): Likewise.
59829         (value): Likewise.
59830         * misc/getusershell.c (initshells): Likewise.
59831         * misc/syslog.c (__vsyslog_chk): Likewise.
59832         * misc/ttyslot.c (ttyslot): Likewise.
59833         * nis/nis_hash.c (__nis_hash): Likewise.
59834         * posix/fnmatch_loop.c (FCT): Likewise.
59835         * posix/getconf.c (print_all): Likewise.
59836         (main): Likewise.
59837         * posix/getopt.c (exchange): Likewise.
59838         * posix/glob.c (globfree): Likewise.
59839         (prefix_array): Likewise.
59840         (__glob_pattern_type): Likewise.
59841         * resolv/arpa/nameser.h (NS_GET16): Likewise.
59842         (NS_GET32): Likewise.
59843         (NS_PUT16): Likewise.
59844         (NS_PUT32): Likewise.
59845         * resolv/gethnamaddr.c (getanswer): Likewise.
59846         (gethostbyname2): Likewise.
59847         (gethostbyaddr): Likewise.
59848         (_gethtent): Likewise.
59849         (_gethtbyname2): Likewise.
59850         (_gethtbyaddr): Likewise.
59851         * resolv/ns_print.c (dst_s_get_int16): Likewise.
59852         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
59853         * resolv/res_init.c (__res_vinit): Likewise.
59854         (net_mask): Likewise.
59855         * resolv/res_mkquery.c (outchar): Likewise.
59856         (PRINT): Likewise.
59857         * stdio-common/printf_fp.c (outchar): Likewise.
59858         (PRINT): Likewise.
59859         * stdio-common/printf_fphex.c (outchar): Likewise.
59860         (PRINT): Likewise.
59861         * stdio-common/printf_size.c (outchar): Likewise.
59862         (PRINT): Likewise.
59863         * stdio-common/test_rdwr.c (main): Likewise.
59864         * stdio-common/tfformat.c (matches): Likewise.
59865         * stdio-common/vfprintf.c (outchar): Likewise.
59866         (printf_unknown): Likewise.
59867         (buffered_vfprintf): Likewise.
59868         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
59869         * stdio-common/xbug.c (AppendToBuffer): Likewise.
59870         (ReadFile): Likewise.
59871         * stdlib/qsort.c (SWAP): Likewise.
59872         (_quicksort): Likewise.
59873         * stdlib/setenv.c (__add_to_environ): Likewise.
59874         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
59875         * stdlib/strtol_l.c (__strtol_l): Likewise.
59876         * stdlib/tst-strtod.c (main): Likewise.
59877         * stdlib/tst-strtol.c (main): Likewise.
59878         * stdlib/tst-strtoll.c (main): Likewise.
59879         * string/bits/string2.h (__strcmp_cc): Likewise.
59880         (__strcmp_cg): Likewise.
59881         (__strcspn_c1): Likewise.
59882         (__strcspn_c2): Likewise.
59883         (__strcspn_c3): Likewise.
59884         (__strspn_c1): Likewise.
59885         (__strspn_c2): Likewise.
59886         (__strspn_c3): Likewise.
59887         (__strsep_1c): Likewise.
59888         (__strsep_2c): Likewise.
59889         (__strsep_3c): Likewise.
59890         * string/memccpy.c (__memccpy): Likewise.
59891         * string/stpcpy.c (__stpcpy): Likewise.
59892         * string/strcmp.c (strcmp): Likewise.
59893         * string/strrchr.c (strrchr): Likewise.
59894         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
59895         Likewise.
59896         * sysdeps/mach/hurd/getcwd.c
59897         (_hurd_canonicalize_directory_name_internal): Likewise.
59898         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
59899         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
59900         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
59901         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
59902         Likewise, in both definitions.
59903         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
59904         definitions.
59905         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
59906         64] (__bswap_64): Likewise.
59907         * time/test_time.c (main): Likewise.
59908         * time/tzfile.c (__tzfile_read): Likewise.
59909         (__tzfile_compute): Likewise.
59910         * time/tzset.c (__tzset_parse_tz): Likewise.
59911         (tzset_internal): Likewise.
59912         (compute_change): Likewise.
59913         * wcsmbs/wcscat.c (__wcscat): Likewise.
59914         * wcsmbs/wcschr.c (wcschr): Likewise.
59915         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
59916         * wcsmbs/wcscspn.c (wcscspn): Likewise.
59917         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
59918         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
59919         * wcsmbs/wcsspn.c (wcsspn): Likewise.
59920         * wcsmbs/wcsstr.c (wcsstr): Likewise.
59921         * wcsmbs/wmemchr.c (wmemchr): Likewise.
59922         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59923         * wcsmbs/wmemset.c (wmemset): Likewise.
59925 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
59927         * scripts/config.guess: Update to version 2013-05-16.
59928         * scripts/config.sub: Update to version 2013-04-24.
59929         * scripts/install-sh: Update to version 2011-11-20.07.
59930         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
59931         * scripts/move-if-change: Update to version 2012-01-06 07:23.
59933 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
59935         * debug/fgetws_u_chk.c: Fix leading whitespaces.
59936         * elf/sln.c: Likewise.
59937         * hurd/hurd/ioctl.h: Likewise.
59938         * hurd/hurdmalloc.c: Likewise.
59939         * hurd/xattr.c: Likewise.
59940         * include/shlib-compat.h: Likewise.
59941         * inet/ruserpass.c: Likewise.
59942         * libio/iofgets_u.c: Likewise.
59943         * libio/iofgetws_u.c: Likewise.
59944         * locale/programs/ld-identification.c: Likewise.
59945         * locale/programs/ld-time.c: Likewise.
59946         * mach/msg-destroy.c: Likewise.
59947         * nss/nss_files/files-netgrp.c: Likewise.
59948         * resolv/res_data.c: Likewise.
59949         * soft-fp/op-1.h: Likewise.
59950         * soft-fp/op-2.h: Likewise.
59951         * soft-fp/op-4.h: Likewise.
59952         * soft-fp/op-common.h: Likewise.
59953         * stdio-common/printf_fphex.c: Likewise.
59954         * stdlib/strtod_l.c: Likewise.
59955         * sunrpc/rpc/clnt.h: Likewise.
59956         * sysdeps/generic/framestate.c: Likewise.
59957         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59958         * sysdeps/i386/bsd-setjmp.S: Likewise.
59959         * sysdeps/i386/__longjmp.S: Likewise.
59960         * sysdeps/i386/setjmp.S: Likewise.
59961         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59962         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59963         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59964         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59965         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59966         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
59967         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59968         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59969         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59970         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59971         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
59972         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
59973         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
59974         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
59975         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
59976         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59977         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
59978         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
59979         * sysdeps/ieee754/support.c: Likewise.
59980         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59981         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
59982         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
59983         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
59984         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
59985         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
59986         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
59987         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
59988         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
59989         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
59990         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
59991         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
59992         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
59993         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
59994         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
59995         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
59996         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
59999 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
60001         * posix/transbug.c: Remove executable mode.
60003 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
60005         * crypt/speeds.c: Remove trailing whitespace.
60006         * dlfcn/default.c: Likewise.
60007         * elf/ifuncdep2.c: Likewise.
60008         * elf/ifuncmain1.c: Likewise.
60009         * elf/ifuncmain1vis.c: Likewise.
60010         * elf/testobj.h: Likewise.
60011         * elf/tst-stackguard1.c: Likewise.
60012         * gmon/sys/gmon.h: Likewise.
60013         * hurd/hurdmsg.c: Likewise.
60014         * hurd/new-fd.c: Likewise.
60015         * hurd/ports-get.c: Likewise.
60016         * iconvdata/ibm1008_420.c: Likewise.
60017         * inet/tst-getni1.c: Likewise.
60018         * inet/tst-getni2.c: Likewise.
60019         * libio/ioungetc.c: Likewise.
60020         * libio/wfiledoalloc.c: Likewise.
60021         * manual/libm-err-tab.pl: Likewise.
60022         * math/w_dremf.c: Likewise.
60023         * misc/ftruncate.c: Likewise.
60024         * posix/bug-glob2.c: Likewise.
60025         * posix/tst-pcre.c: Likewise.
60026         * posix/wait4.c: Likewise.
60027         * resolv/README: Likewise.
60028         * resolv/res_debug.h: Likewise.
60029         * resolv/tst-inet_ntop.c: Likewise.
60030         * setjmp/bug269-setjmp.c: Likewise.
60031         * soft-fp/extended.h: Likewise.
60032         * soft-fp/op-1.h: Likewise.
60033         * soft-fp/op-2.h: Likewise.
60034         * soft-fp/op-4.h: Likewise.
60035         * soft-fp/op-8.h: Likewise.
60036         * soft-fp/testit.c: Likewise.
60037         * stdio-common/bug16.c: Likewise.
60038         * stdlib/random.c: Likewise.
60039         * sunrpc/rpcsvc/rquota.x: Likewise.
60040         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
60041         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
60042         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60043         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
60044         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
60045         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
60046         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
60047         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
60048         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
60049         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
60050         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
60051         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
60052         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
60053         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
60054         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
60055         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
60056         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
60057         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
60058         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
60059         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
60060         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
60061         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
60062         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
60063         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
60064         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
60065         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
60066         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60067         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
60068         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
60069         * sysdeps/ieee754/s_lib_version.c: Likewise.
60070         * sysdeps/mach/hurd/check_fds.c: Likewise.
60071         * sysdeps/mach/hurd/getsockname.c: Likewise.
60072         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
60073         * sysdeps/mach/hurd/recvfrom.c: Likewise.
60074         * sysdeps/powerpc/bits/link.h: Likewise.
60075         * sysdeps/powerpc/dl-procinfo.c: Likewise.
60076         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
60077         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
60078         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
60079         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
60080         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
60081         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
60082         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
60083         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
60084         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
60085         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
60086         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
60087         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
60088         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
60089         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
60090         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
60091         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
60092         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
60093         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
60094         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
60095         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
60096         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
60097         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60098         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
60099         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
60100         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
60101         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
60102         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
60103         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
60104         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
60105         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
60106         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
60107         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60108         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60109         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
60110         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
60111         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
60112         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
60113         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
60114         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
60115         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
60116         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
60117         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
60118         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
60119         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
60120         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
60121         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
60122         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
60123         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
60124         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
60125         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
60126         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
60127         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
60128         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
60129         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
60130         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
60131         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
60132         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60133         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
60134         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
60135         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
60136         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
60137         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
60138         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
60139         * sysdeps/powerpc/sysdep.h: Likewise.
60140         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60141         * sysdeps/s390/s390-64/sub_n.S: Likewise.
60142         * sysdeps/sh/dl-trampoline.S: Likewise.
60143         * sysdeps/sh/memset.S: Likewise.
60144         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
60145         * sysdeps/sh/strlen.S: Likewise.
60146         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
60147         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
60148         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
60149         * sysdeps/sparc/sparc32/rem.S: Likewise.
60150         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
60151         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
60152         * sysdeps/sparc/sparc32/strchr.S: Likewise.
60153         * sysdeps/sparc/sparc32/udiv.S: Likewise.
60154         * sysdeps/sparc/sparc32/urem.S: Likewise.
60155         * sysdeps/sparc/sparc64/add_n.S: Likewise.
60156         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
60157         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
60158         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
60159         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
60160         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
60161         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
60162         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
60163         * sysdeps/unix/bsd/times.c: Likewise.
60164         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
60165         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
60166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
60167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
60168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
60169         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
60170         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
60171         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
60172         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
60173         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
60174         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
60175         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
60176         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
60177         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
60178         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
60179         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
60180         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
60181         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
60182         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
60183         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
60184         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
60185         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
60186         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
60187         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
60188         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
60189         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
60190         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
60191         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60192         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
60193         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
60194         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
60195         * sysdeps/x86_64/strcspn.S: Likewise.
60197 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60199         * locale/C-translit.h: Revert #include <stdint.h> because this is a
60200         generated file.  Regenerate properly from gen-translit.pl.
60201         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
60202         locale/C-translit.h.
60204 2013-06-05  Andreas Schwab  <schwab@suse.de>
60206         [BZ #15100]
60207         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
60208         week as 6 instead of -1.
60209         * time/tst-strptime.c (day_tests): Add test case.
60211 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60213         * sysdeps/generic/math_private.h
60214         (libc_feholdexcept_setround_53bit): Replace with
60215         libc_feholdsetround_53bit.
60216         (libc_feupdateenv_53bit): Replace with
60217         libc_feresetround_53bit.
60218         (SET_RESTORE_ROUND_53BIT): Adjust.
60220 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60222         * string/test-strchrnul.c: Add copyright header.
60224         * posix/tst-getaddrinfo4.c: Increase test timeout.
60226 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
60228         [BZ #15536]
60229         * math/libm-test.inc (MAX_EXP): Remove
60230         (MIN_EXP): Define.
60231         (ulp): Use MIN_EXP - MANT_DIG.
60232         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
60234 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
60236         * po/be.po: Revert last change.
60237         * po/zh_CN.po: Likewise.
60238         * po/header.pot: Likewise.
60240 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
60242         * Makefile ($(common-objpfx)linkobj/libc.so): Define
60243         link-libc-deps to empty as target-specific variable.
60244         * Makerules (link-libc-args): New variable.
60245         (libc-for-link): Likewise.
60246         (link-libc-deps): Likewise.
60247         (lib%.so): Depend on $(link-libc-deps).  Link with
60248         $(link-libc-args).
60249         (build-module): Link with $(link-libc-args).
60250         (build-module-asneeded): Likewise.
60251         (build-module-helper-objlist): Filter out $(link-libc-deps) from
60252         list of objects.
60253         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
60254         target-specific variable.
60255         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
60256         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
60257         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
60258         libc.
60259         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
60260         libc and ld.so.
60261         ($(objpfx)libpcprofile.so): Likewise.
60262         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
60263         libc_nonshared.a.
60264         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
60265         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
60266         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
60267         $(link-libc-deps).
60268         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
60269         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
60270         * login/Makefile ($(objpfx)libutil.so): Likewise.
60271         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
60272         * math/Makefile ($(objpfx)libm.so): Likewise.
60273         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
60274         $(objpfx)libnsl.so): Define libc-for-link as target-specific
60275         variable instead of depending directly on libc.
60276         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
60277         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
60278         $(link-libc-deps).
60279         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
60280         libc.
60281         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
60282         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
60283         ($(objpfx)libanl.so): Likewise.
60284         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
60285         ld.so.
60286         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
60287         $(link-libc-deps).
60288         * sysdeps/i386/fpu/Makefile: Remove file.
60289         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
60290         ($(objpfx)libm.so): Remove dependency on ld.so.
60292 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
60294         [BZ # 15553]
60295         * nis/yp_xdr.c (XDRMAXNAME): Define.
60296         (XDRMAXRECORD): Define.
60297         (xdr_domainname): Use XDRMAXNAME.
60298         (xdr_mapname): Likewise.
60299         (xdr_peername): Likewise.
60300         (xdr_keydat): Use XDRMAXRECORD.
60301         (xdr_valdat): Likewise.
60303 2013-05-30  Jeff Law  <law@redhat.com>
60305         [BZ #14256]
60306         * manual/errno.texi (ESTALE): Update to account for more than
60307         just NFS file systems.
60308         * sysdeps/gnu/errlist.c: Regenerated.
60310 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60312         [BZ #15465]
60313         * elf/Makefile (tests): Add tst-null-argv.
60314         (modules-names):  Add tst-null-argv-lib.
60315         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
60316         (tst-null-argv-ENV): Set environment for tst-null-argv.
60317         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
60318         (RTLD_PROGNAME): New macro.
60319         * elf/tst-null-argv.c: New test case.
60320         * elf/tst-null-argv-lib.c: Library for test case.
60321         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
60322         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
60323         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
60324         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
60325         * elf/dl-init.c (call_init): Likewise.
60326         (_dl_init): Likewise.
60327         * elf/dl-load.c (print_search_path): Likewise.
60328         (_dl_map_object): Likewise.
60329         * elf/dl-lookup.c (do_lookup_x): Likewise.
60330         (add_dependency): Likewise.
60331         (_dl_lookup_symbol_x): Likewise.
60332         (_dl_debug_bindings): Likewise.
60333         * elf/dl-open.c (_dl_show_scope): Likewise.
60334         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
60335         * elf/dl-version.c (match_symbol): Likewise.
60336         (_dl_check_map_versions): Likewise.
60337         * elf/rtld.c (dl_main): Likewise.
60338         (print_unresolved): Use RTLD_PROGNAME.
60339         (print_missing_version): Likewise.
60340         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
60341         (elf_machine_rela): Likewise.
60342         * sysdeps/powerpc/powerpc32/dl-machine.c
60343         (__process_machine_rela): Likewise.
60344         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60345         Likewise.
60346         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60347         Likewise.
60348         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
60349         Likewise.
60350         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60351         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
60352         Likewise.
60353         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
60354         Likewise.
60355         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60357 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
60359         * po/be.po: Add descriptive title.
60360         * po/zh_CN.po: Likewise.
60361         * po/header.pot: Likewise.
60363 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
60365         * locale/programs/locarchive.c (create_archive): Inlucde fname in
60366         error message.
60367         (enlarge_archive): Likewise.
60369 2013-05-28  Ben North  <ben@redfrontdoor.org>
60371         * manual/arith.texi (frexp): It is the magnitude of the return
60372         value which lies in [0.5, 1), not the return value itself.
60374 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60378 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
60380         * stdio-common/bug26.c (main): Correct fscanf template.
60382         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
60383         declare _dl_skip_args.
60385         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
60386         Don't declare.
60388         * manual/platform.texi: Add missing @end deftypefun.
60390 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
60392         [BZ #15529]
60393         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
60394         bit of mantissa of 2^16382.
60395         * math/libm-test.inc (hypot_test_data): Add more tests.
60397         * math/libm-test.inc: Add drem and pow10 to list of tested
60398         functions.
60399         (pow10_test): New function.
60400         (drem_test): Likewise.
60401         (drem_test_tonearest): Likewise.
60402         (drem_test_towardzero): Likewise.
60403         (drem_test_downward): Likewise.
60404         (drem_test_upward): Likewise.
60405         (main): Call the new functions.
60407         * math/libm-test.inc (finite_test_data): Remove.
60408         (finite_test): Run tests from isfinite_test_data.
60409         (gamma_test_data): Remove.
60410         (gamma_test): Run tests from lgamma_test_data.
60411         * sysdeps/i386/fpu/libm-test-ulps: Update.
60412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60414 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60416         * manual/platform.texi: Add PowerPC PPR function set documentation.
60417         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
60418         implementation.
60420 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
60422         * math/libm-test.inc (MAX_EXP): Define.
60423         (ULPDIFF): Define.
60424         (ulp): New function.
60425         (check_float_internal): Use ULPDIFF.
60426         (cpow_test): Disable failing test.
60427         (check_ulp): Test ulp() implementation.
60428         (main): Call check_ulp before starting tests.
60430 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
60432         * math/gen-libm-test.pl (generate_testfile): Do not handle
60433         START_DATA and END_DATA.
60434         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
60435         END_DATA.
60436         (acos_tonearest_test_data): Likewise.
60437         (acos_towardzero_test_data): Likewise.
60438         (acos_downward_test_data): Likewise.
60439         (acos_upward_test_data): Likewise.
60440         (acosh_test_data): Likewise.
60441         (asin_test_data): Likewise.
60442         (asin_tonearest_test_data): Likewise.
60443         (asin_towardzero_test_data): Likewise.
60444         (asin_downward_test_data): Likewise.
60445         (asin_upward_test_data): Likewise.
60446         (asinh_test_data): Likewise.
60447         (atan_test_data): Likewise.
60448         (atanh_test_data): Likewise.
60449         (atan2_test_data): Likewise.
60450         (cabs_test_data): Likewise.
60451         (cacos_test_data): Likewise.
60452         (cacosh_test_data): Likewise.
60453         (carg_test_data): Likewise.
60454         (casin_test_data): Likewise.
60455         (casinh_test_data): Likewise.
60456         (catan_test_data): Likewise.
60457         (catanh_test_data): Likewise.
60458         (cbrt_test_data): Likewise.
60459         (ccos_test_data): Likewise.
60460         (ccosh_test_data): Likewise.
60461         (ceil_test_data): Likewise.
60462         (cexp_test_data): Likewise.
60463         (cimag_test_data): Likewise.
60464         (clog_test_data): Likewise.
60465         (clog10_test_data): Likewise.
60466         (conj_test_data): Likewise.
60467         (copysign_test_data): Likewise.
60468         (cos_test_data): Likewise.
60469         (cos_tonearest_test_data): Likewise.
60470         (cos_towardzero_test_data): Likewise.
60471         (cos_downward_test_data): Likewise.
60472         (cos_upward_test_data): Likewise.
60473         (cosh_test_data): Likewise.
60474         (cosh_tonearest_test_data): Likewise.
60475         (cosh_towardzero_test_data): Likewise.
60476         (cosh_downward_test_data): Likewise.
60477         (cosh_upward_test_data): Likewise.
60478         (cpow_test_data): Likewise.
60479         (cproj_test_data): Likewise.
60480         (creal_test_data): Likewise.
60481         (csin_test_data): Likewise.
60482         (csinh_test_data): Likewise.
60483         (csqrt_test_data): Likewise.
60484         (ctan_test_data): Likewise.
60485         (ctan_tonearest_test_data): Likewise.
60486         (ctan_towardzero_test_data): Likewise.
60487         (ctan_downward_test_data): Likewise.
60488         (ctan_upward_test_data): Likewise.
60489         (ctanh_test_data): Likewise.
60490         (ctanh_tonearest_test_data): Likewise.
60491         (ctanh_towardzero_test_data): Likewise.
60492         (ctanh_downward_test_data): Likewise.
60493         (ctanh_upward_test_data): Likewise.
60494         (erf_test_data): Likewise.
60495         (erfc_test_data): Likewise.
60496         (exp_test_data): Likewise.
60497         (exp_tonearest_test_data): Likewise.
60498         (exp_towardzero_test_data): Likewise.
60499         (exp_downward_test_data): Likewise.
60500         (exp_upward_test_data): Likewise.
60501         (exp10_test_data): Likewise.
60502         (exp2_test_data): Likewise.
60503         (expm1_test_data): Likewise.
60504         (fabs_test_data): Likewise.
60505         (fdim_test_data): Likewise.
60506         (finite_test_data): Likewise.
60507         (floor_test_data): Likewise.
60508         (fma_test_data): Likewise.
60509         (fma_towardzero_test_data): Likewise.
60510         (fma_downward_test_data): Likewise.
60511         (fma_upward_test_data): Likewise.
60512         (fmax_test_data): Likewise.
60513         (fmin_test_data): Likewise.
60514         (fmod_test_data): Likewise.
60515         (fpclassify_test_data): Likewise.
60516         (frexp_test_data): Likewise.
60517         (gamma_test_data): Likewise.
60518         (hypot_test_data): Likewise.
60519         (ilogb_test_data): Likewise.
60520         (isfinite_test_data): Likewise.
60521         (isgreater_test_data): Likewise.
60522         (isgreaterequal_test_data): Likewise.
60523         (isinf_test_data): Likewise.
60524         (isless_test_data): Likewise.
60525         (islessequal_test_data): Likewise.
60526         (islessgreater_test_data): Likewise.
60527         (isnan_test_data): Likewise.
60528         (isnormal_test_data): Likewise.
60529         (issignaling_test_data): Likewise.
60530         (isunordered_test_data): Likewise.
60531         (j0_test_data): Likewise.
60532         (j1_test_data): Likewise.
60533         (jn_test_data): Likewise.
60534         (ldexp_test_data): Likewise.
60535         (lgamma_test_data): Likewise.
60536         (lrint_test_data): Likewise.
60537         (lrint_tonearest_test_data): Likewise.
60538         (lrint_towardzero_test_data): Likewise.
60539         (lrint_downward_test_data): Likewise.
60540         (lrint_upward_test_data): Likewise.
60541         (llrint_test_data): Likewise.
60542         (llrint_tonearest_test_data): Likewise.
60543         (llrint_towardzero_test_data): Likewise.
60544         (llrint_downward_test_data): Likewise.
60545         (llrint_upward_test_data): Likewise.
60546         (log_test_data): Likewise.
60547         (log10_test_data): Likewise.
60548         (log1p_test_data): Likewise.
60549         (log2_test_data): Likewise.
60550         (logb_test_data): Likewise.
60551         (logb_downward_test_data): Likewise.
60552         (lround_test_data): Likewise.
60553         (llround_test_data): Likewise.
60554         (modf_test_data): Likewise.
60555         (nearbyint_test_data): Likewise.
60556         (nextafter_test_data): Likewise.
60557         (nexttoward_test_data): Likewise.
60558         (pow_test_data): Likewise.
60559         (pow_tonearest_test_data): Likewise.
60560         (pow_towardzero_test_data): Likewise.
60561         (pow_downward_test_data): Likewise.
60562         (pow_upward_test_data): Likewise.
60563         (remainder_test_data): Likewise.
60564         (remainder_tonearest_test_data): Likewise.
60565         (remainder_towardzero_test_data): Likewise.
60566         (remainder_downward_test_data): Likewise.
60567         (remainder_upward_test_data): Likewise.
60568         (remquo_test_data): Likewise.
60569         (rint_test_data): Likewise.
60570         (rint_tonearest_test_data): Likewise.
60571         (rint_towardzero_test_data): Likewise.
60572         (rint_downward_test_data): Likewise.
60573         (rint_upward_test_data): Likewise.
60574         (round_test_data): Likewise.
60575         (scalb_test_data): Likewise.
60576         (scalbn_test_data): Likewise.
60577         (scalbln_test_data): Likewise.
60578         (signbit_test_data): Likewise.
60579         (sin_test_data): Likewise.
60580         (sin_tonearest_test_data): Likewise.
60581         (sin_towardzero_test_data): Likewise.
60582         (sin_downward_test_data): Likewise.
60583         (sin_upward_test_data): Likewise.
60584         (sincos_test_data): Likewise.
60585         (sinh_test_data): Likewise.
60586         (sinh_tonearest_test_data): Likewise.
60587         (sinh_towardzero_test_data): Likewise.
60588         (sinh_downward_test_data): Likewise.
60589         (sinh_upward_test_data): Likewise.
60590         (sqrt_test_data): Likewise.
60591         (tan_test_data): Likewise.
60592         (tan_tonearest_test_data): Likewise.
60593         (tan_towardzero_test_data): Likewise.
60594         (tan_downward_test_data): Likewise.
60595         (tan_upward_test_data): Likewise.
60596         (tanh_test_data): Likewise.
60597         (tgamma_test_data): Likewise.
60598         (trunc_test_data): Likewise.
60599         (y0_test_data): Likewise.
60600         (y1_test_data): Likewise.
60601         (yn_test_data): Likewise.
60602         (significand_test_data): Likewise.
60604         * math/gen-libm-test.pl (@functions): Remove variable.
60605         (generate_testfile): Don't handle START and END lines.
60606         * math/libm-test.inc (START): New macro.
60607         (END): Likewise.
60608         (END_COMPLEX): Likewise.
60609         (acos_test): Use END macro without arguments.
60610         (acos_test_tonearest): Likewise.
60611         (acos_test_towardzero): Likewise.
60612         (acos_test_downward): Likewise.
60613         (acos_test_upward): Likewise.
60614         (acosh_test): Likewise.
60615         (asin_test): Likewise.
60616         (asin_test_tonearest): Likewise.
60617         (asin_test_towardzero): Likewise.
60618         (asin_test_downward): Likewise.
60619         (asin_test_upward): Likewise.
60620         (asinh_test): Likewise.
60621         (atan_test): Likewise.
60622         (atanh_test): Likewise.
60623         (atan2_test): Likewise.
60624         (cabs_test): Likewise.
60625         (cacos_test): Use END_COMPLEX macro without arguments.
60626         (cacosh_test): Likewise.
60627         (carg_test): Use END macro without arguments.
60628         (casin_test): Use END_COMPLEX macro without arguments.
60629         (casinh_test): Likewise.
60630         (catan_test): Likewise.
60631         (catanh_test): Likewise.
60632         (cbrt_test): Use END macro without arguments.
60633         (ccos_test): Use END_COMPLEX macro without arguments.
60634         (ccosh_test): Likewise.
60635         (ceil_test): Use END macro without arguments.
60636         (cexp_test): Use END_COMPLEX macro without arguments.
60637         (cimag_test): Use END macro without arguments.
60638         (clog_test): Use END_COMPLEX macro without arguments.
60639         (clog10_test): Likewise.
60640         (conj_test): Likewise.
60641         (copysign_test): Use END macro without arguments.
60642         (cos_test): Likewise.
60643         (cos_test_tonearest): Likewise.
60644         (cos_test_towardzero): Likewise.
60645         (cos_test_downward): Likewise.
60646         (cos_test_upward): Likewise.
60647         (cosh_test): Likewise.
60648         (cosh_test_tonearest): Likewise.
60649         (cosh_test_towardzero): Likewise.
60650         (cosh_test_downward): Likewise.
60651         (cosh_test_upward): Likewise.
60652         (cpow_test): Use END_COMPLEX macro without arguments.
60653         (cproj_test): Likewise.
60654         (creal_test): Use END macro without arguments.
60655         (csin_test): Use END_COMPLEX macro without arguments.
60656         (csinh_test): Likewise.
60657         (csqrt_test): Likewise.
60658         (ctan_test): Likewise.
60659         (ctan_test_tonearest): Likewise.
60660         (ctan_test_towardzero): Likewise.
60661         (ctan_test_downward): Likewise.
60662         (ctan_test_upward): Likewise.
60663         (ctanh_test): Likewise.
60664         (ctanh_test_tonearest): Likewise.
60665         (ctanh_test_towardzero): Likewise.
60666         (ctanh_test_downward): Likewise.
60667         (ctanh_test_upward): Likewise.
60668         (erf_test): Use END macro without arguments.
60669         (erfc_test): Likewise.
60670         (exp_test): Likewise.
60671         (exp_test_tonearest): Likewise.
60672         (exp_test_towardzero): Likewise.
60673         (exp_test_downward): Likewise.
60674         (exp_test_upward): Likewise.
60675         (exp10_test): Likewise.
60676         (exp2_test): Likewise.
60677         (expm1_test): Likewise.
60678         (fabs_test): Likewise.
60679         (fdim_test): Likewise.
60680         (finite_test): Likewise.
60681         (floor_test): Likewise.
60682         (fma_test): Likewise.
60683         (fma_test_towardzero): Likewise.
60684         (fma_test_downward): Likewise.
60685         (fma_test_upward): Likewise.
60686         (fmax_test): Likewise.
60687         (fmin_test): Likewise.
60688         (fmod_test): Likewise.
60689         (fpclassify_test): Likewise.
60690         (frexp_test): Likewise.
60691         (gamma_test): Likewise.
60692         (hypot_test): Likewise.
60693         (ilogb_test): Likewise.
60694         (isfinite_test): Likewise.
60695         (isgreater_test): Likewise.
60696         (isgreaterequal_test): Likewise.
60697         (isinf_test): Likewise.
60698         (isless_test): Likewise.
60699         (islessequal_test): Likewise.
60700         (islessgreater_test): Likewise.
60701         (isnan_test): Likewise.
60702         (isnormal_test): Likewise.
60703         (issignaling_test): Likewise.
60704         (isunordered_test): Likewise.
60705         (j0_test): Likewise.
60706         (j1_test): Likewise.
60707         (jn_test): Likewise.
60708         (ldexp_test): Likewise.
60709         (lgamma_test): Likewise.
60710         (lrint_test): Likewise.
60711         (lrint_test_tonearest): Likewise.
60712         (lrint_test_towardzero): Likewise.
60713         (lrint_test_downward): Likewise.
60714         (lrint_test_upward): Likewise.
60715         (llrint_test): Likewise.
60716         (llrint_test_tonearest): Likewise.
60717         (llrint_test_towardzero): Likewise.
60718         (llrint_test_downward): Likewise.
60719         (llrint_test_upward): Likewise.
60720         (log_test): Likewise.
60721         (log10_test): Likewise.
60722         (log1p_test): Likewise.
60723         (log2_test): Likewise.
60724         (logb_test): Likewise.
60725         (logb_test_downward): Likewise.
60726         (lround_test): Likewise.
60727         (llround_test): Likewise.
60728         (modf_test): Likewise.
60729         (nearbyint_test): Likewise.
60730         (nextafter_test): Likewise.
60731         (nexttoward_test): Likewise.
60732         (pow_test): Likewise.
60733         (pow_test_tonearest): Likewise.
60734         (pow_test_towardzero): Likewise.
60735         (pow_test_downward): Likewise.
60736         (pow_test_upward): Likewise.
60737         (remainder_test): Likewise.
60738         (remainder_test_tonearest): Likewise.
60739         (remainder_test_towardzero): Likewise.
60740         (remainder_test_downward): Likewise.
60741         (remainder_test_upward): Likewise.
60742         (remquo_test): Likewise.
60743         (rint_test): Likewise.
60744         (rint_test_tonearest): Likewise.
60745         (rint_test_towardzero): Likewise.
60746         (rint_test_downward): Likewise.
60747         (rint_test_upward): Likewise.
60748         (round_test): Likewise.
60749         (scalb_test): Likewise.
60750         (scalbn_test): Likewise.
60751         (scalbln_test): Likewise.
60752         (signbit_test): Likewise.
60753         (sin_test): Likewise.
60754         (sin_test_tonearest): Likewise.
60755         (sin_test_towardzero): Likewise.
60756         (sin_test_downward): Likewise.
60757         (sin_test_upward): Likewise.
60758         (sincos_test): Likewise.
60759         (sinh_test): Likewise.
60760         (sinh_test_tonearest): Likewise.
60761         (sinh_test_towardzero): Likewise.
60762         (sinh_test_downward): Likewise.
60763         (sinh_test_upward): Likewise.
60764         (sqrt_test): Likewise.
60765         (tan_test): Likewise.
60766         (tan_test_tonearest): Likewise.
60767         (tan_test_towardzero): Likewise.
60768         (tan_test_downward): Likewise.
60769         (tan_test_upward): Likewise.
60770         (tanh_test): Likewise.
60771         (tgamma_test): Likewise.
60772         (trunc_test): Likewise.
60773         (y0_test): Likewise.
60774         (y1_test): Likewise.
60775         (yn_test): Likewise.
60776         (significand_test): Likewise.
60778 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
60780         [BZ #15381]
60781         * libio/genops.c (_IO_no_init): Initialize wide struct info.
60783 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
60785         [BZ #14894]
60786         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
60787         __ppc_mdoio and __ppc_mdoom.
60788         * manual/platform.texi: Document new functions __ppc_yield,
60789         __ppc_mdoio and __ppc_mdoom.
60791 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
60793         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
60794         (main): Mention "tls" pseudo-hwcap is legacy.
60795         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
60797 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60799         * math/gen-libm-test.pl (parse_args): Output only string of
60800         arguments as text for test name, not full call or descriptions of
60801         tests for extra outputs.
60802         (generate_testfile): Do not pass function name to parse_args.
60803         Generate this_func variable from START.
60804         * math/libm-test.inc (struct test_f_f_data): Rename test_name
60805         field to arg_str.
60806         (struct test_ff_f_data): Likewise.
60807         (test_ff_f_data_nexttoward): Likewise.
60808         (struct test_fi_f_data): Likewise.
60809         (struct test_fl_f_data): Likewise.
60810         (struct test_if_f_data): Likewise.
60811         (struct test_fff_f_data): Likewise.
60812         (struct test_c_f_data): Likewise.
60813         (struct test_f_f1_data): Likewise.  Remove field extra_name.
60814         (struct test_fF_f1_data): Likewise.
60815         (struct test_ffI_f1_data): Likewise.
60816         (struct test_c_c_data): Rename test_name field to arg_str.
60817         (struct test_cc_c_data): Likewise.
60818         (struct test_f_i_data): Likewise.
60819         (struct test_ff_i_data): Likewise.
60820         (struct test_f_l_data): Likewise.
60821         (struct test_f_L_data): Likewise.
60822         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
60823         and extra2_name.
60824         (COMMON_TEST_SETUP): New macro.
60825         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
60826         (COMMON_TEST_CLEANUP): Likewise.
60827         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
60828         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
60829         macros.
60830         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
60831         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
60832         macros.
60833         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
60834         (RUN_TEST_fff_f): Take argument string.  Call new setup and
60835         cleanup macros.
60836         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
60837         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
60838         macros.
60839         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
60840         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
60841         macros.
60842         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60843         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
60844         cleanup macros.
60845         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60846         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
60847         cleanup macros.
60848         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60849         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
60850         cleanup macros.
60851         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60852         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
60853         macros.
60854         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
60855         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
60856         macros.
60857         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
60858         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
60859         macros.
60860         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
60861         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
60862         cleanup macros.
60863         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
60864         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
60865         cleanup macros.
60866         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
60867         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
60868         macros.
60869         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
60870         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
60871         cleanup macros.
60872         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
60873         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
60874         macros.
60875         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
60876         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
60877         macros.
60878         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
60879         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
60880         cleanup macros.
60881         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
60883 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
60885         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
60886         to _sifields.sigfault.
60887         (si_addr_lsb): Define new macro.
60888         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
60889         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60890         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
60892 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
60894         [BZ #15441]
60895         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
60896         returns -1.
60897         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
60898         null return -1.
60899         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
60900         loading the domain.
60902 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60904         * math/gen-libm-test.pl (parse_args): Do not include expected
60905         result in test name.
60906         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
60907         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60908         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60909         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60910         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60913 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60915         * benchtests/Makefile: Sort function entries.
60917         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
60918         tanh, asinh, acosh, atanh.
60919         * benchtests/acos-inputs: New file.
60920         * benchtests/acosh-inputs: New file.
60921         * benchtests/asin-inputs: New file.
60922         * benchtests/asinh-inputs: New file.
60923         * benchtests/atanh-inputs: New file.
60924         * benchtests/cosh-inputs: New file.
60925         * benchtests/log-inputs: New file.
60926         * benchtests/sinh-inputs: New file.
60927         * benchtests/tanh-inputs: New file.
60929 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
60931         [BZ #15339]
60932         * posix/tst-getaddrinfo4.c: New test.
60933         * posix/Makefile (tests): Add it.
60935 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60937         [BZ #15339]
60938         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
60939         when no services were used.
60940         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
60941         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
60943 2013-05-21  Andreas Schwab  <schwab@suse.de>
60945         [BZ #15014]
60946         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
60947         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
60948         successful.
60949         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
60950         redundant variable declarations and reallocation of buffer when
60951         parsing as IPv6 address.  Always set NSS status when called from
60952         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
60953         buffer too small.  Correct computation of needed size.
60954         * nss/Makefile (tests): Add test-digits-dots.
60955         * nss/test-digits-dots.c: New test.
60957 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60959         * benchtests/Makefile: Remove instructions for adding
60960         benchmark tests.
60961         * benchtests/README: New file to explain how to execute and
60962         enhance the benchmark tests.
60964 2013-05-21  Andreas Schwab  <schwab@suse.de>
60966         [BZ #15493]
60967         * setjmp/Makefile (tests): Add tst-sigsetjmp.
60968         * setjmp/tst-sigsetjmp.c: New test.
60970 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60972         * sysdeps/x86_64/memset.S (memset): New implementation.
60973         (__bzero): Likewise.
60974         (__memset_tail): New function.
60976 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60978         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
60979         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
60980         __memcpy_sse2_unaligned ifunc selection.
60981         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60982         Add memcpy-sse2-unaligned.S.
60983         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60984         Add: __memcpy_sse2_unaligned.
60986 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
60988         [BZ #15490]
60989         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60990         math_force_eval before restoring floating-point envrionment.
60991         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
60992         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
60993         Likewise.
60994         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
60995         <math_private.h>.
60996         (__nearbyintl): Use math_force_eval before restoring
60997         floating-point environment.
60998         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
61000         * math/gen-libm-test.pl (special_functions): Remove.
61001         (parse_args): Don't handle TEST_extra.  Handle functions with no
61002         return value.
61003         * math/libm-test.inc (struct test_sincos_data): Replace with
61004         struct test_fFF_11_data.
61005         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
61006         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
61007         (sincos_test_data): Change element type to struct
61008         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
61009         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
61010         RUN_TEST_LOOP_sincos.
61011         * math/README.libm-test: Don't mention special handling of
61012         individual functions.
61013         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
61014         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61015         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61016         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
61017         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61020         * math/gen-libm-test.pl (get_variable): Remove function.
61021         (parse_args): Don't show pointer parameters to call in test
61022         names.  Use "extra output N" in test names for extra outputs
61023         rather than naming variables.
61025 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
61027         [BZ #15488]
61028         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
61029         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
61030         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
61031         double tests.
61032         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
61033         disable.
61034         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
61035         check_long_double.
61037         * math/gen-libm-test.pl (@tests): Remove variable.
61038         ($count): Likewise.
61039         (new_test): Remove function.
61040         (show_exceptions): New function.
61041         (special_functions): Use show_exceptions instead of new_test.
61042         (parse_args): Likewise.
61043         (generate_testfile): Pass only function name in generated call to
61044         print_max_error or print_complex_max_error.
61045         (get_ulps): Do not handle complex tests specially.
61046         (output_test): Rename to ...
61047         (get_all_ulps_for_test): ... this.  Return a string rather than
61048         printing to a file.  Require ulps to be present.
61049         (output_ulps): Generate arrays rather than #defines.
61050         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
61051         (struct ulp_data): New type.
61052         (BUILD_COMPLEX_ULP): Remove macro.
61053         (compare_ulp_data): New function.
61054         (find_ulps): Likewise.
61055         (find_test_ulps): Likewise.
61056         (find_function_ulps): Likewise.
61057         (find_complex_function_ulps): Likewise.
61058         (print_max_error): Determine allowed ulps using
61059         find_function_ulps.
61060         (print_complex_max_error): Determine allowed ulps using
61061         find_complex_function_ulps.
61062         (check_float_internal): Determine max ulps using find_test_ulps.
61063         (check_float): Do not take max_ulp parameter.  Update call to
61064         check_float_internal.
61065         (check_complex): Likewise.
61066         (check_int): Do not take max_ulp parameter.
61067         (check_long): Likewise.
61068         (check_bool): Likewise.
61069         (check_longlong): Likewise.
61070         (struct test_f_f_data): Remove max_ulp field.
61071         (struct test_ff_f_data): Likewise.
61072         (struct test_ff_f_data_nexttoward): Likewise.
61073         (struct test_fi_f_data): Likewise.
61074         (struct test_fl_f_data): Likewise.
61075         (struct test_if_f_data): Likewise.
61076         (struct test_fff_f_data): Likewise.
61077         (struct test_c_f_data): Likewise.
61078         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
61079         (struct test_fF_f1_data): Likewise.
61080         (struct test_ffI_f1_data): Likewise.
61081         (struct test_c_c_data): Remove max_ulp field.
61082         (struct test_cc_c_data): Likewise.
61083         (struct test_f_i_data): Likewise.
61084         (struct test_ff_i_data): Likewise.
61085         (struct test_f_l_data): Likewise.
61086         (struct test_f_L_data): Likewise.
61087         (struct test_sincos_data): Likewise.
61088         (RUN_TEST_f_f): Do not handle ulps.
61089         (RUN_TEST_LOOP_f_f): Likewise.
61090         (RUN_TEST_2_f): Likewise.
61091         (RUN_TEST_LOOP_2_f): Likewise.
61092         (RUN_TEST_fff_f): Likewise.
61093         (RUN_TEST_LOOP_fff_f): Likewise.
61094         (RUN_TEST_c_f): Likewise.
61095         (RUN_TEST_LOOP_c_f): Likewise.
61096         (RUN_TEST_f_f1): Likewise.
61097         (RUN_TEST_LOOP_f_f1): Likewise.
61098         (RUN_TEST_fF_f1): Likewise.
61099         (RUN_TEST_LOOP_fF_f1): Likewise.
61100         (RUN_TEST_fI_f1): Likewise.
61101         (RUN_TEST_LOOP_fI_f1): Likewise.
61102         (RUN_TEST_ffI_f1): Likewise.
61103         (RUN_TEST_LOOP_ffI_f1): Likewise.
61104         (RUN_TEST_c_c): Likewise.
61105         (RUN_TEST_LOOP_c_c): Likewise.
61106         (RUN_TEST_cc_c): Likewise.
61107         (RUN_TEST_LOOP_cc_c): Likewise.
61108         (RUN_TEST_f_i): Likewise.
61109         (RUN_TEST_LOOP_f_i): Likewise.
61110         (RUN_TEST_f_i_tg): Likewise.
61111         (RUN_TEST_LOOP_f_i_tg): Likewise.
61112         (RUN_TEST_ff_i_tg): Likewise.
61113         (RUN_TEST_LOOP_ff_i_tg): Likewise.
61114         (RUN_TEST_f_b): Likewise.
61115         (RUN_TEST_LOOP_f_b): Likewise.
61116         (RUN_TEST_f_b_tg): Likewise.
61117         (RUN_TEST_LOOP_f_b_tg): Likewise.
61118         (RUN_TEST_f_l): Likewise.
61119         (RUN_TEST_LOOP_f_l): Likewise.
61120         (RUN_TEST_f_L): Likewise.
61121         (RUN_TEST_LOOP_f_L): Likewise.
61122         (RUN_TEST_sincos): Likewise.
61123         (RUN_TEST_LOOP_sincos): Likewise.
61125 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
61127         [BZ #15480]
61128         [BZ #15485]
61129         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
61130         main case of finite arguments, set rounding mode to FE_TONEAREST
61131         and discard exceptions.
61132         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
61133         exceptions.
61134         (remainder_tonearest_test_data): New variable.
61135         (remainder_test_tonearest): New function.
61136         (remainder_towardzero_test_data): New variable.
61137         (remainder_test_towardzero): New function.
61138         (remainder_downward_test_data): New variable.
61139         (remainder_test_downward): New function.
61140         (remainder_upward_test_data): New variable.
61141         (remainder_test_upward): New function.
61142         (main): Call the new test functions.
61144         * math/libm-test.inc (struct test_f_f1_data): Remove field
61145         extra_init.
61146         (struct test_fF_f1_data): Likewise.
61147         (struct test_ffI_f1_data): Likewise.
61148         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
61149         based on value of EXTRA_EXPECTED.
61150         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
61151         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
61152         EXTRA_VAR based on value of EXTRA_EXPECTED.
61153         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
61154         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
61155         EXTRA_VAR based on value of EXTRA_EXPECTED.
61156         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
61157         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
61158         EXTRA_VAR based on value of EXTRA_EXPECTED.
61159         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
61160         * math/gen-libm-test.pl (parse_args): Don't output initializers
61161         for extra output values.
61163         * math/libm-test.inc (check_int): Expect result to be exactly
61164         equal to expected value and do not handle ulps.
61165         (check_long): Likewise.
61166         (check_longlong): Likewise.
61168         * math/libm-test.inc (ceil_test_data): Test for "inexact"
61169         exceptions.
61170         (cimag_test_data): Likewise.
61171         (conj_test_data): Likewise.
61172         (copysign_test_data): Likewise.
61173         (cproj_test_data): Likewise.
61174         (creal_test_data): Likewise.
61175         (fabs_test_data): Likewise.
61176         (fdim_test_data): Likewise.
61177         (finite_test_data): Likewise.
61178         (floor_test_data): Likewise.
61179         (fmax_test_data): Likewise.
61180         (fmin_test_data): Likewise.
61181         (fmod_test_data): Likewise.
61182         (fpclassify_test_data): Likewise.
61183         (frexp_test_data): Likewise.
61184         (ilogb_test_data): Likewise.
61185         (isfinite_test_data): Likewise.
61186         (isgreater_test_data): Likewise.
61187         (isgreaterequal_test_data): Likewise.
61188         (isinf_test_data): Likewise.
61189         (isless_test_data): Likewise.
61190         (islessequal_test_data): Likewise.
61191         (islessgreater_test_data): Likewise.
61192         (isnan_test_data): Likewise.
61193         (isnormal_test_data): Likewise.
61194         (issignaling_test_data): Likewise.
61195         (isunordered_test_data): Likewise.
61196         (ldexp_test_data): Likewise.
61197         (lrint_test_data): Likewise.
61198         (lrint_test_data) [TEST_FLOAT]: Disable one test.
61199         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
61200         (lrint_tonearest_test_data): Test for "inexact" exceptions.
61201         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
61202         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
61203         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
61204         test input.
61205         (lrint_towardzero_test_data): Test for "inexact" exceptions.
61206         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
61207         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
61208         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
61209         that test input.
61210         (lrint_downward_test_data): Test for "inexact" exceptions.
61211         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
61212         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
61213         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
61214         test input.
61215         (lrint_upward_test_data): Test for "inexact" exceptions.
61216         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
61217         test input.
61218         (llrint_test_data): Test for "inexact" exceptions.
61219         (llrint_test_data) [TEST_FLOAT]: Disable one test.
61220         (llrint_tonearest_test_data): Test for "inexact" exceptions.
61221         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
61222         (llrint_towardzero_test_data): Test for "inexact" exceptions.
61223         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
61224         (llrint_downward_test_data): Test for "inexact" exceptions.
61225         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
61226         (llrint_upward_test_data): Test for "inexact" exceptions.
61227         (logb_test_data): Likewise.
61228         (logb_downward_test_data): Likewise.
61229         (nextafter_test_data): Likewise.
61230         (nexttoward_test_data): Likewise.
61231         (remainder_test_data): Likewise.
61232         (remquo_test_data): Likewise.
61233         (scalbn_test_data): Likewise.
61234         (scalbln_test_data): Likewise.
61235         (signbit_test_data): Likewise.
61236         (sqrt_test_data): Likewise.
61237         (significand_test_data): Likewise.
61239 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61241         [BZ #15424]
61242         * benchtests/bench-modf.c (struct args): Mark arg0 as
61243         volatile.
61244         * scripts/bench.pl: Mark members of struct args as volatile.
61246 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61248         [BZ # 15497]
61249         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
61250         negative infinity on POWER6 or lower.
61251         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
61253 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
61255         [BZ #15442]
61256         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
61257         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
61258         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
61259         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
61260         (_FP_SETQNAN): New macro.
61261         (_FP_SETQNAN_SEMIRAW): Likewise.
61262         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
61263         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
61264         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
61265         (FP_EXTEND): Use _FP_FRAC_SNANP.
61266         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
61267         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
61268         into account.
61269         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
61270         New macro.
61271         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
61272         Likewise.
61274 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61276         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
61277         with DIVIDE_BY_ZERO_EXCEPTION.
61278         (gamma_test_data): Likewise.
61279         (lgamma_test_data): Likewise.
61280         (log_test_data): Likewise.
61281         (log10_test_data): Likewise.
61282         (log2_test_data): Likewise.
61283         (tgamma_test_data): Likewise.
61285         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
61286         (acos_test_tonearest): Likewise.
61287         (acos_test_towardzero): Likewise.
61288         (acos_test_downward): Likewise.
61289         (acos_test_upward): Likewise.
61290         (acosh_test): Likewise.
61291         (asin_test): Likewise.
61292         (asin_test_tonearest): Likewise.
61293         (asin_test_towardzero): Likewise.
61294         (asin_test_downward): Likewise.
61295         (asin_test_upward): Likewise.
61296         (asinh_test): Likewise.
61297         (atan_test): Likewise.
61298         (atanh_test): Likewise.
61299         (atan2_test): Likewise.
61300         (cabs_test): Likewise.
61301         (cacos_test): Likewise.
61302         (cacosh_test): Likewise.
61303         (casin_test): Likewise.
61304         (casinh_test): Likewise.
61305         (catan_test): Likewise.
61306         (catanh_test): Likewise.
61307         (cbrt_test): Likewise.
61308         (ccos_test): Likewise.
61309         (ccosh_test): Likewise.
61310         (cexp_test): Likewise.
61311         (clog_test): Likewise.
61312         (clog10_test): Likewise.
61313         (cos_test): Likewise.
61314         (cos_test_tonearest): Likewise.
61315         (cos_test_towardzero): Likewise.
61316         (cos_test_downward): Likewise.
61317         (cos_test_upward): Likewise.
61318         (cosh_test): Likewise.
61319         (cosh_test_tonearest): Likewise.
61320         (cosh_test_towardzero): Likewise.
61321         (cosh_test_downward): Likewise.
61322         (cosh_test_upward): Likewise.
61323         (cpow_test): Likewise.
61324         (csin_test): Likewise.
61325         (csinh_test): Likewise.
61326         (csqrt_test): Likewise.
61327         (ctan_test): Likewise.
61328         (ctan_test_tonearest): Likewise.
61329         (ctan_test_towardzero): Likewise.
61330         (ctan_test_downward): Likewise.
61331         (ctan_test_upward): Likewise.
61332         (ctanh_test): Likewise.
61333         (ctanh_test_tonearest): Likewise.
61334         (ctanh_test_towardzero): Likewise.
61335         (ctanh_test_downward): Likewise.
61336         (ctanh_test_upward): Likewise.
61337         (erf_test): Likewise.
61338         (erfc_test): Likewise.
61339         (exp_test): Likewise.
61340         (exp_test_tonearest): Likewise.
61341         (exp_test_towardzero): Likewise.
61342         (exp_test_downward): Likewise.
61343         (exp_test_upward): Likewise.
61344         (exp10_test): Likewise.
61345         (exp2_test): Likewise.
61346         (expm1_test): Likewise.
61347         (fmod_test): Likewise.
61348         (gamma_test): Likewise.
61349         (hypot_test): Likewise.
61350         (j0_test): Likewise.
61351         (j1_test): Likewise.
61352         (jn_test): Likewise.
61353         (lgamma_test): Likewise.
61354         (log_test): Likewise.
61355         (log10_test): Likewise.
61356         (log1p_test): Likewise.
61357         (log2_test): Likewise.
61358         (logb_test_downward): Likewise.
61359         (pow_test): Likewise.
61360         (pow_test_tonearest): Likewise.
61361         (pow_test_towardzero): Likewise.
61362         (pow_test_downward): Likewise.
61363         (pow_test_upward): Likewise.
61364         (remainder_test): Likewise.
61365         (remquo_test): Likewise.
61366         (sin_test): Likewise.
61367         (sin_test_tonearest): Likewise.
61368         (sin_test_towardzero): Likewise.
61369         (sin_test_downward): Likewise.
61370         (sin_test_upward): Likewise.
61371         (sincos_test): Likewise.
61372         (sinh_test): Likewise.
61373         (sinh_test_tonearest): Likewise.
61374         (sinh_test_towardzero): Likewise.
61375         (sinh_test_downward): Likewise.
61376         (sinh_test_upward): Likewise.
61377         (sqrt_test): Likewise.
61378         (tan_test): Likewise.
61379         (tan_test_tonearest): Likewise.
61380         (tan_test_towardzero): Likewise.
61381         (tan_test_downward): Likewise.
61382         (tan_test_upward): Likewise.
61383         (tanh_test): Likewise.
61384         (tgamma_test): Likewise.
61385         (y0_test): Likewise.
61386         (y1_test): Likewise.
61387         (yn_test): Likewise.
61389         * math/gen-libm-test.pl (adjust_arg): Remove function.
61390         (special_function): Remove argument $in_func.  Only handle
61391         generating output for tables of tests, not inside functions.
61392         (parse_args): Likewise.
61393         (generate_testfile): Remove variable $in_func.  Update call to
61394         parse_args.
61395         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
61396         (MINUS_ZERO_INIT): Rename macro to minus_zero.
61397         (PLUS_INFTY_INIT): Rename macro to plus_infty.
61398         (MINUS_INFTY_INIT): Rename macro to minus_infty.
61399         (QNAN_VALUE_INIT): Rename macro to qnan_value.
61400         (MAX_VALUE_INIT): Rename macro to max_value.
61401         (MIN_VALUE_INIT): Rename macro to min_value.
61402         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
61403         (plus_zero): Remove variable.
61404         (minus_zero): Likewise.
61405         (plus_infty): Likewise.
61406         (minus_infty): Likewise.
61407         (qnan_value): Likewise.
61408         (max_value): Likewise.
61409         (min_value): Likewise.
61410         (min_subnorm_value): Likewise.
61412 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61414         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
61415         uint64_t or uint32_t usage.
61416         * crypt/sha256-block.c: Likewise.
61417         * crypt/sha256-crypt.c: Likewise.
61418         * crypt/sha256.c: Likewise.
61419         * crypt/sha512-block.c: Likewise.
61420         * crypt/sha512-crypt.c: Likewise.
61421         * crypt/sha512.c: Likewise.
61422         * debug/backtrace-tst.c: Likewise.
61423         * debug/pcprofiledump.c: Likewise.
61424         * elf/cache.c: Likewise.
61425         * elf/dl-cache.c: Likewise.
61426         * elf/dl-misc.c: Likewise.
61427         * elf/dl-profile.c: Likewise.
61428         * elf/dl-support.c: Likewise.
61429         * elf/ldconfig.c: Likewise.
61430         * elf/sprof.c: Likewise.
61431         * iconv/dummy-repertoire.c: Likewise.
61432         * iconv/iconv_charmap.c: Likewise.
61433         * iconv/skeleton.c: Likewise.
61434         * iconvdata/8bit-generic.c: Likewise.
61435         * iconvdata/cp737.h: Likewise.
61436         * iconvdata/cp775.h: Likewise.
61437         * iconvdata/ibm1008.h: Likewise.
61438         * iconvdata/ibm1025.h: Likewise.
61439         * iconvdata/ibm1046.h: Likewise.
61440         * iconvdata/ibm1097.h: Likewise.
61441         * iconvdata/ibm1112.h: Likewise.
61442         * iconvdata/ibm1122.h: Likewise.
61443         * iconvdata/ibm1123.h: Likewise.
61444         * iconvdata/ibm1124.h: Likewise.
61445         * iconvdata/ibm1129.h: Likewise.
61446         * iconvdata/ibm1130.h: Likewise.
61447         * iconvdata/ibm1132.h: Likewise.
61448         * iconvdata/ibm1133.h: Likewise.
61449         * iconvdata/ibm1137.h: Likewise.
61450         * iconvdata/ibm1140.h: Likewise.
61451         * iconvdata/ibm1141.h: Likewise.
61452         * iconvdata/ibm1142.h: Likewise.
61453         * iconvdata/ibm1143.h: Likewise.
61454         * iconvdata/ibm1144.h: Likewise.
61455         * iconvdata/ibm1145.h: Likewise.
61456         * iconvdata/ibm1146.h: Likewise.
61457         * iconvdata/ibm1147.h: Likewise.
61458         * iconvdata/ibm1148.h: Likewise.
61459         * iconvdata/ibm1149.h: Likewise.
61460         * iconvdata/ibm1153.h: Likewise.
61461         * iconvdata/ibm1154.h: Likewise.
61462         * iconvdata/ibm1155.h: Likewise.
61463         * iconvdata/ibm1156.h: Likewise.
61464         * iconvdata/ibm1157.h: Likewise.
61465         * iconvdata/ibm1158.h: Likewise.
61466         * iconvdata/ibm1160.h: Likewise.
61467         * iconvdata/ibm1161.h: Likewise.
61468         * iconvdata/ibm1162.h: Likewise.
61469         * iconvdata/ibm1163.h: Likewise.
61470         * iconvdata/ibm1164.h: Likewise.
61471         * iconvdata/ibm1166.h: Likewise.
61472         * iconvdata/ibm1167.h: Likewise.
61473         * iconvdata/ibm12712.h: Likewise.
61474         * iconvdata/ibm1390.h: Likewise.
61475         * iconvdata/ibm1399.h: Likewise.
61476         * iconvdata/ibm16804.h: Likewise.
61477         * iconvdata/ibm4517.h: Likewise.
61478         * iconvdata/ibm4899.h: Likewise.
61479         * iconvdata/ibm4909.h: Likewise.
61480         * iconvdata/ibm4971.h: Likewise.
61481         * iconvdata/ibm5347.h: Likewise.
61482         * iconvdata/ibm803.h: Likewise.
61483         * iconvdata/ibm856.h: Likewise.
61484         * iconvdata/ibm901.h: Likewise.
61485         * iconvdata/ibm902.h: Likewise.
61486         * iconvdata/ibm9030.h: Likewise.
61487         * iconvdata/ibm9066.h: Likewise.
61488         * iconvdata/ibm921.h: Likewise.
61489         * iconvdata/ibm922.h: Likewise.
61490         * iconvdata/ibm9448.h: Likewise.
61491         * iconvdata/isiri-3342.h: Likewise.
61492         * iconvdata/jis0201.h: Likewise.
61493         * include/link.h: Likewise.
61494         * include/netdb.h: Likewise.
61495         * inet/check_native.c: Likewise.
61496         * inet/check_pf.c: Likewise.
61497         * inet/getipv4sourcefilter.c: Likewise.
61498         * inet/getnameinfo.c: Likewise.
61499         * inet/getsourcefilter.c: Likewise.
61500         * inet/htonl.c: Likewise.
61501         * inet/setipv4sourcefilter.c: Likewise.
61502         * inet/setsourcefilter.c: Likewise.
61503         * inet/test-inet6_opt.c: Likewise.
61504         * inet/tst-network.c: Likewise.
61505         * locale/C-collate.c: Likewise.
61506         * locale/C-ctype.c: Likewise.
61507         * locale/C-time.c: Likewise.
61508         * locale/C-translit.h: Likewise.
61509         * locale/loadarchive.c: Likewise.
61510         * locale/programs/3level.h: Likewise.
61511         * locale/programs/charmap.c: Likewise.
61512         * locale/programs/charmap.h: Likewise.
61513         * locale/programs/ld-address.c: Likewise.
61514         * locale/programs/ld-collate.c: Likewise.
61515         * locale/programs/ld-ctype.c: Likewise.
61516         * locale/programs/ld-identification.c: Likewise.
61517         * locale/programs/ld-measurement.c: Likewise.
61518         * locale/programs/ld-messages.c: Likewise.
61519         * locale/programs/ld-monetary.c: Likewise.
61520         * locale/programs/ld-name.c: Likewise.
61521         * locale/programs/ld-numeric.c: Likewise.
61522         * locale/programs/ld-paper.c: Likewise.
61523         * locale/programs/ld-telephone.c: Likewise.
61524         * locale/programs/ld-time.c: Likewise.
61525         * locale/programs/linereader.c: Likewise.
61526         * locale/programs/locale.c: Likewise.
61527         * locale/programs/locarchive.c: Likewise.
61528         * locale/programs/locfile.h: Likewise.
61529         * locale/programs/repertoire.c: Likewise.
61530         * locale/programs/simple-hash.c: Likewise.
61531         * locale/programs/simple-hash.h: Likewise.
61532         * malloc/memusage.c: Likewise.
61533         * malloc/memusagestat.c: Likewise.
61534         * nis/nis_defaults.c: Likewise.
61535         * nis/nis_hash.c: Likewise.
61536         * nis/nis_print.c: Likewise.
61537         * nis/nis_xdr.c: Likewise.
61538         * nscd/connections.c: Likewise.
61539         * nscd/hstcache.c: Likewise.
61540         * nscd/nscd_gethst_r.c: Likewise.
61541         * nscd/nscd_getserv_r.c: Likewise.
61542         * nscd/nscd_helper.c: Likewise.
61543         * nscd/servicescache.c: Likewise.
61544         * nss/makedb.c: Likewise.
61545         * nss/nss_db/db-XXX.c: Likewise.
61546         * nss/nss_db/db-initgroups.c: Likewise.
61547         * nss/nss_db/db-netgrp.c: Likewise.
61548         * nss/nss_files/files-network.c: Likewise.
61549         * nss/nss_files/files-parse.c: Likewise.
61550         * posix/bug-regex5.c: Likewise.
61551         * posix/fnmatch_loop.c: Likewise.
61552         * posix/regcomp.c: Likewise.
61553         * posix/regexec.c: Likewise.
61554         * posix/tst-rfc3484-2.c: Likewise.
61555         * posix/tst-rfc3484-3.c: Likewise.
61556         * posix/tst-rfc3484.c: Likewise.
61557         * resolv/nss_dns/dns-canon.c: Likewise.
61558         * resolv/nss_dns/dns-network.c: Likewise.
61559         * resolv/res_init.c: Likewise.
61560         * resolv/res_mkquery.c: Likewise.
61561         * resolv/tst-aton.c: Likewise.
61562         * stdlib/cxa_atexit.c: Likewise.
61563         * stdlib/cxa_finalize.c: Likewise.
61564         * stdlib/gen-fpioconst.c: Likewise.
61565         * stdlib/strtol_l.c: Likewise.
61566         * string/tst-endian.c: Likewise.
61567         * sunrpc/auth_des.c: Likewise.
61568         * sunrpc/clnt_udp.c: Likewise.
61569         * sunrpc/rtime.c: Likewise.
61570         * sunrpc/svcauth_des.c: Likewise.
61571         * sunrpc/xdr.c: Likewise.
61572         * sunrpc/xdr_intXX_t.c: Likewise.
61573         * sunrpc/xdr_rec.c: Likewise.
61574         * sysdeps/generic/ldconfig.h: Likewise.
61575         * sysdeps/generic/ldsodefs.h: Likewise.
61576         * sysdeps/generic/memusage.h: Likewise.
61577         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
61578         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
61579         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
61580         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
61581         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61582         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61583         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
61584         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
61585         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61586         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61587         * sysdeps/posix/getaddrinfo.c: Likewise.
61588         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61589         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61590         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61591         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61592         * sysdeps/powerpc/test-gettimebase.c: Likewise.
61593         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
61594         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
61595         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
61596         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
61597         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
61598         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
61599         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
61600         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
61601         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
61602         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
61603         * sysdeps/x86_64/dl-tls.h: Likewise.
61604         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
61605         * time/alt_digit.c: Likewise.
61606         * time/era.c: Likewise.
61607         * wcsmbs/tst-c16c32-1.c: Likewise.
61609 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61611         * math/libm-test.inc (struct test_sincos_data): New type.
61612         (RUN_TEST_LOOP_sincos): New macro.
61613         (sincos_test_data): New variable.
61614         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
61616 2013-05-16  Richard Henderson  <rth@redhat.com>
61618         * math/atest-exp2.c (LIMB64): New macro.
61619         (CONSTSZ): New macro.
61620         (mp_exp1, mp_exp_m1, mp_log2): New variables.
61621         (hexdig): Move ...
61622         (print_mpn_fp): ... to function scope.
61623         (read_mpn_hex): Remove.
61624         (get_log2): Remove.
61625         (exp2_mpn): Use mp_log2.
61626         (main): Use mp_exp1.
61628 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61630         * math/libm-test.inc: Remove comment about not testing "inexact"
61631         exceptions.
61632         (INEXACT_EXCEPTION): New macro.
61633         (NO_INEXACT_EXCEPTION): Likewise.
61634         (INVALID_EXCEPTION_OK): Update value.
61635         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61636         (OVERFLOW_EXCEPTION_OK): Likewise.
61637         (UNDERFLOW_EXCEPTION_OK): Likewise.
61638         (IGNORE_ZERO_INF_SIGN): Likewise.
61639         (ERRNO_UNCHANGED): Likewise.
61640         (ERRNO_EDOM): Likewise.
61641         (ERRNO_ERANGE): Likewise.
61642         (test_exceptions): Handle testing "inexact" exceptions.
61643         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
61644         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
61645         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
61646         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
61647         INEXACT_EXCEPTION.
61648         (rint_towardzero_test_data): Likewise.
61649         (rint_downward_test_data): Likewise.
61650         (rint_upward_test_data): Likewise.
61652         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
61653         with OVERFLOW_EXCEPTION.
61654         (exp10_test_data): Likewise.
61655         (exp2_test_data): Likewise.
61656         (expm1_test_data): Likewise.
61657         (lgamma_test_data): Likewise.
61658         (pow_test_data): Likewise.
61659         (tgamma_test_data): Likewise.
61660         (yn_test_data): Remove duplicate test of overflow.
61662         * math/libm-test.inc (struct test_cc_c_data): New type.
61663         (RUN_TEST_LOOP_cc_c): New macro.
61664         (cpow_test_data): New variable.
61665         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
61667         * math/libm-test.inc (struct test_f_L_data): New type.
61668         (RUN_TEST_LOOP_f_L): New macro.
61669         (llrint_test_data): New variable.
61670         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
61671         (llrint_tonearest_test_data): New variable.
61672         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
61673         (llrint_towardzero_test_data): New variable.
61674         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
61675         (llrint_downward_test_data): New variable.
61676         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
61677         (llrint_upward_test_data): New variable.
61678         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
61679         (llround_test_data): New variable.
61680         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
61682 2013-05-13  Peter Collingbourne  <pcc@google.com>
61684         * math/atest-exp2.c (get_log2): Remove const attribute.
61686 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61688         * math/libm-test.inc (struct test_f_l_data): New type.
61689         (RUN_TEST_LOOP_f_l): New macro.
61690         (lrint_test_data): New variable.
61691         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
61692         (lrint_tonearest_test_data): New variable.
61693         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
61694         (lrint_towardzero_test_data): New variable.
61695         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
61696         (lrint_downward_test_data): New variable.
61697         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
61698         (lrint_upward_test_data): New variable.
61699         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
61700         (lround_test_data): New variable.
61701         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
61703 2013-05-15  Peter Collingbourne  <pcc@google.com>
61705         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
61706         (EXTRACT_WORDS64) Use where appropriate.
61707         (INSERT_WORDS64) Likewise.
61709         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
61710         constraints with x constraints.
61711         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
61713         * malloc/obstack.c (_obstack_compat): Add initializer.
61715 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
61717         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
61718         si_trapno and add si_addr_lsb to _sifields.sigfault.
61719         (si_trapno): Remove macro.
61720         (si_addr_lsb): Define new macro.
61721         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
61723 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61725         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
61726         instead of TEST_f_l.
61727         (llrint_test_tonearest): Likewise.
61728         (llrint_test_towardzero): Likewise.
61729         (llrint_test_downward): Likewise.
61730         (llrint_test_upward): Likewise.
61731         (llround_test): Likewise.
61733         * math/libm-test.inc (struct test_f_i_data): Add comment.
61734         (RUN_TEST_LOOP_f_b): New macro.
61735         (RUN_TEST_LOOP_f_b_tg): Likewise.
61736         (finite_test_data): New variable.
61737         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
61738         (isfinite_test_data): New variable.
61739         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61740         (isinf_test_data): New variable.
61741         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61742         (isnan_test_data): New variable.
61743         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61744         (isnormal_test_data): New variable.
61745         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61746         (issignaling_test_data): New variable.
61747         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61748         (signbit_test_data): New variable.
61749         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61751         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
61752         with INVALID_EXCEPTION.
61753         (acosh_test_data): Likewise.
61754         (asin_test_data): Likewise.
61755         (atanh_test_data): Likewise.
61756         (fmod_test_data): Likewise.
61757         (log_test_data): Likewise.
61758         (log10_test_data): Likewise.
61759         (log2_test_data): Likewise.
61760         (pow_test_data): Likewise.
61761         (sqrt_test_data): Likewise.
61762         (y0_test_data): Likewise.
61763         (y1_test_data): Likewise.
61764         (yn_test_data): Likewise.
61766         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
61767         function contents.
61769         * math/libm-test.inc (struct test_ff_i_data): New type.
61770         (RUN_TEST_LOOP_ff_i_tg): New macro.
61771         (isgreater_test_data): New variable.
61772         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61773         (isgreaterequal_test_data): New variable.
61774         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61775         (isless_test_data): New variable.
61776         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61777         (islessequal_test_data): New variable.
61778         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61779         (islessgreater_test_data): New variable.
61780         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61781         (isunordered_test_data): New variable.
61782         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61784 2013-05-14  David S. Miller  <davem@davemloft.net>
61786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61788 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
61790         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
61792         * math/libm-test.inc (struct test_fF_f1_data): Change type of
61793         extra_test to int.
61794         (struct test_f_i_data): Change type of max_ulp to int.
61796         * math/libm-test.inc (test_ffI_f1_data): New type.
61797         (RUN_TEST_LOOP_ffI_f1): New macro.
61798         (remquo_test_data): New variable.
61799         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
61801         * setjmp/tst-setjmp-fp.c: New file.
61802         * setjmp/Makefile (tests): Add tst-setjmp-fp.
61803         (link-libm): New variable.
61804         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
61806         * math/libm-test.inc (struct test_f_i_data): New type.
61807         (RUN_TEST_LOOP_f_i): New macro.
61808         (RUN_TEST_LOOP_f_i_tg): Likewise.
61809         (fpclassify_test_data): New variable.
61810         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
61811         (ilogb_test_data): New variable.
61812         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
61814         * math/libm-test.inc (scalbln_test): Correct function name in END
61815         call.
61817         * math/libm-test.inc (struct test_f_f1_data): Add comment.
61818         (RUN_TEST_LOOP_fI_f1): New macro.
61819         (frexp_test_data): New variable.
61820         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
61822         * math/libm-test.inc (struct test_fF_f1_data): New type.
61823         (RUN_TEST_LOOP_fF_f1): New macro.
61824         (modf_test_data): New variable.
61825         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
61827         * math/libm-test.inc (struct test_f_f1_data): New type.
61828         (RUN_TEST_LOOP_f_f1): New macro.
61829         (gamma_test_data): New variable.
61830         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61831         (lgamma_test_data): New variable.
61832         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61834 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
61836         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
61837         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
61838         (main): Comment "tls" pseudo-hwcap.
61840 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
61842         * math/libm-test.inc (struct test_fl_f_data): New type.
61843         (RUN_TEST_LOOP_fl_f): New variable.
61844         (scalbln_test_data): New variable.
61845         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
61847         * math/libm-test.inc (struct test_fi_f_data): New type.
61848         (RUN_TEST_LOOP_fi_f): New macro.
61849         (ldexp_test_data): New variable.
61850         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
61851         (scalbn_test_data): New variable.
61852         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
61854         * math/libm-test.inc (struct test_c_f_data): New type.
61855         (RUN_TEST_LOOP_c_f): New macro.
61856         (cabs_test_data): New variable.
61857         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
61858         (carg_test_data): New variable.
61859         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
61860         (cimag_test_data): New variable.
61861         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
61862         (creal_test_data): New variable.
61863         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
61865         * math/libm-test.inc (struct test_if_f_data): New type.
61866         (RUN_TEST_LOOP_if_f): New macro.
61867         (jn_test_data): New variable.
61868         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
61869         (yn_test_data): New variable.
61870         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
61872         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
61874 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61876         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
61877         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
61879 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61881         * benchtests/Makefile (CPPFLAGS-nonlib): Add
61882         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
61883         (bench-deps): Add bench-timing.h.
61884         * benchtests-bench-skeleton.c: Include bench-timing.h.
61885         (main): Use TIMING_* macros instead of clock_gettime.
61886         * benchtests/bench-timing.h: New file.
61888         [BZ #14582]
61889         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
61890         Renamed from _LIB_VERSION.
61891         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
61893 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
61895         * math/libm-test.inc (struct test_fff_f_data): New type.
61896         (RUN_TEST_LOOP_fff_f): New macro.
61897         (fma_test_data): New variable.
61898         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
61899         (fma_towardzero_test_data): New variable.
61900         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
61901         (fma_downward_test_data): New variable.
61902         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
61903         (fma_upward_test_data): New variable.
61904         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
61906         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
61907         (struct test_c_c_data): New type.
61908         (RUN_TEST_LOOP_c_c): New macro.
61909         (cacos_test_data): New variable.
61910         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
61911         (cacosh_test_data): New variable.
61912         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
61913         (casin_test_data): New variable.
61914         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
61915         (casinh_test_data): New variable.
61916         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
61917         (catan_test_data): New variable.
61918         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
61919         (catanh_test_data): New variable.
61920         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
61921         (ccos_test_data): New variable.
61922         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
61923         (ccosh_test_data): New variable.
61924         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
61925         (cexp_test_data): New variable.
61926         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
61927         (clog_test_data): New variable.
61928         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
61929         (clog10_test_data): New variable.
61930         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
61931         (conj_test_data): New variable.
61932         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
61933         (cproj_test_data): New variable.
61934         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
61935         (csin_test_data): New variable.
61936         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
61937         (csinh_test_data): New variable.
61938         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
61939         (csqrt_test_data): New variable.
61940         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
61941         (ctan_test_data): New variable.
61942         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
61943         (ctan_tonearest_test_data): New variable.
61944         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
61945         (ctan_towardzero_test_data): New variable.
61946         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
61947         (ctan_downward_test_data): New variable.
61948         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
61949         (ctan_upward_test_data): New variable.
61950         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
61951         (ctanh_test_data): New variable.
61952         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
61953         (ctanh_tonearest_test_data): New variable.
61954         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
61955         (ctanh_towardzero_test_data): New variable.
61956         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
61957         (ctanh_downward_test_data): New variable.
61958         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
61959         (ctanh_upward_test_data): New variable.
61960         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
61961         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
61962         of BUILD_COMPLEX.
61964         * math/libm-test.inc (struct test_ff_f_data): New type.
61965         (struct test_ff_f_data_nexttoward): Likewise.
61966         (RUN_TEST_LOOP_2_f): New macro.
61967         (RUN_TEST_LOOP_ff_f): Likewise.
61968         (atan2_test_data): New variable.
61969         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
61970         (copysign_test_data): New variable.
61971         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
61972         (fdim_test_data): New variable.
61973         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
61974         (fmax_test_data): New variable.
61975         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
61976         (fmin_test_data): New variable.
61977         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
61978         (fmod_test_data): New variable.
61979         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
61980         (hypot_test_data): New variable.
61981         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
61982         (nextafter_test_data): New variable.
61983         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
61984         (nexttoward_test_data): New variable.
61985         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
61986         (pow_test_data): New variable.
61987         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
61988         (pow_tonearest_test_data): New variable.
61989         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
61990         (pow_towardzero_test_data): New variable.
61991         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
61992         (pow_downward_test_data): New variable.
61993         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
61994         (pow_upward_test_data): New variable.
61995         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
61996         (remainder_test_data): New variable.
61997         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
61998         (scalb_test_data): New variable.
61999         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
62000         * sysdeps/i386/fpu/libm-test-ulps: Update.
62002 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
62004         * math/libm-test.inc (fma_test): Use max_value instead of local
62005         variable fltmax.
62006         (nextafter_test): Likewise.
62008         * math/libm-test.inc (acos_towardzero_test_data): New variable.
62009         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62010         (acos_downward_test_data): New variable.
62011         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62012         (acos_upward_test_data): New variable.
62013         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62014         (acosh_test_data): New variable.
62015         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
62016         (asin_test_data): New variable.
62017         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
62018         (asin_tonearest_test_data): New variable.
62019         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62020         (asin_towardzero_test_data): New variable.
62021         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62022         (asin_downward_test_data): New variable.
62023         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62024         (asin_upward_test_data): New variable.
62025         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62026         (asinh_test_data): New variable.
62027         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
62028         (atan_test_data): New variable.
62029         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
62030         (atanh_test_data): New variable.
62031         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
62032         (cbrt_test_data): New variable.
62033         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
62034         (ceil_test_data): New variable.
62035         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
62036         (cos_test_data): New variable.
62037         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
62038         (cos_tonearest_test_data): New variable.
62039         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62040         (cos_towardzero_test_data): New variable.
62041         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62042         (cos_downward_test_data): New variable.
62043         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62044         (cos_upward_test_data): New variable.
62045         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62046         (cosh_test_data): New variable.
62047         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
62048         (cosh_tonearest_test_data): New variable.
62049         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62050         (cosh_towardzero_test_data): New variable.
62051         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62052         (cosh_downward_test_data): New variable.
62053         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62054         (cosh_upward_test_data): New variable.
62055         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62056         (erf_test_data): New variable.
62057         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
62058         (erfc_test_data): New variable.
62059         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
62060         (exp_test_data): New variable.
62061         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
62062         (exp_tonearest_test_data): New variable.
62063         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62064         (exp_towardzero_test_data): New variable.
62065         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62066         (exp_downward_test_data): New variable.
62067         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62068         (exp_upward_test_data): New variable.
62069         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62070         (exp10_test_data): New variable.
62071         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
62072         (exp2_test_data): New variable.
62073         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
62074         (expm1_test_data): New variable.
62075         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
62076         (fabs_test_data): New variable.
62077         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
62078         (floor_test_data): New variable.
62079         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
62080         (j0_test_data): New variable.
62081         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
62082         (j1_test_data): New variable.
62083         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
62084         (log_test_data): New variable.
62085         (log_test): Run tests with RUN_TEST_LOOP_f_f.
62086         (log10_test_data): New variable.
62087         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
62088         (log1p_test_data): New variable.
62089         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
62090         (log2_test_data): New variable.
62091         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
62092         (logb_test_data): New variable.
62093         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
62094         (logb_downward_test_data): New variable.
62095         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62096         (nearbyint_test_data): New variable.
62097         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
62098         (rint_test_data): New variable.
62099         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
62100         (rint_tonearest_test_data): New variable.
62101         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62102         (rint_towardzero_test_data): New variable.
62103         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62104         (rint_downward_test_data): New variable.
62105         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62106         (rint_upward_test_data): New variable.
62107         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62108         (round_test_data): New variable.
62109         (round_test): Run tests with RUN_TEST_LOOP_f_f.
62110         (sin_test_data): New variable.
62111         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
62112         (sin_tonearest_test_data): New variable.
62113         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62114         (sin_towardzero_test_data): New variable.
62115         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62116         (sin_downward_test_data): New variable.
62117         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62118         (sin_upward_test_data): New variable.
62119         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62120         (sinh_test_data): New variable.
62121         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
62122         (sinh_tonearest_test_data): New variable.
62123         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62124         (sinh_towardzero_test_data): New variable.
62125         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62126         (sinh_downward_test_data): New variable.
62127         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62128         (sinh_upward_test_data): New variable.
62129         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62130         (sqrt_test_data): New variable.
62131         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
62132         (tan_test_data): New variable.
62133         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
62134         (tan_tonearest_test_data): New variable.
62135         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62136         (tan_towardzero_test_data): New variable.
62137         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62138         (tan_downward_test_data): New variable.
62139         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62140         (tan_upward_test_data): New variable.
62141         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62142         (tanh_test_data): New variable.
62143         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
62144         (tgamma_test_data): New variable.
62145         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
62146         (trunc_test_data): New variable.
62147         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
62148         (y0_test_data): New variable.
62149         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
62150         (y1_test_data): New variable.
62151         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
62152         (significand_test_data): New variable.
62153         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
62155 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
62157         [BZ #12387]
62158         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
62160 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62162         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
62164 2013-05-10  Andreas Jaeger  <aj@suse.de>
62166         [BZ #15448]
62167         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
62168         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
62170 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
62172         * math/gen-libm-test.pl (adjust_arg): New function.
62173         (special_functions): Handle generating output in both functions
62174         and arrays.
62175         (parse_args): Likewise.
62176         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
62177         $in_func argument to parse_args.
62178         * math/libm-test.inc (struct test_f_f_data): New type.
62179         (IF_ROUND_INIT_): New macro.
62180         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
62181         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
62182         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
62183         (IF_ROUND_INIT_FE_UPWARD): Likewise.
62184         (ROUND_RESTORE_): Likewise.
62185         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
62186         (ROUND_RESTORE_FE_TONEAREST): Likewise.
62187         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
62188         (ROUND_RESTORE_FE_UPWARD): Likewise.
62189         (RUN_TEST_LOOP_f_f): New macro.
62190         (acos_test_data): New variable.
62191         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
62192         (acos_tonearest_test_data): New variable.
62193         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62195 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62197         * benchtests/bench-skeleton.c (startup): Fix coding style.
62199 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
62201         [BZ #6809]
62202         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
62203         negative infinity argument.
62204         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
62205         negative infinity argument.
62206         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
62207         negative infinity argument.
62208         * math/libm-test.inc (tgamma_test): Expect errno to be set for
62209         domain errors.
62211 2013-05-10  Florian Weimer  <fweimer@redhat.com>
62213         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
62214         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
62215         * iconv/iconv_prog.c (main): Likewise.
62216         * locale/programs/charmap-dir.c (charmap_readdir)
62217         (fopen_uncompressed): Likewise.
62218         * locale/programs/locfile.c (siblings_uncached)
62219         (write_locale_data): Use lstat64 instead of lstat.
62220         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
62221         stat.
62223 2013-05-10  Andreas Jaeger  <aj@suse.de>
62225         [BZ #15395]
62226         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
62227         localization.
62228         Include <locale.h>.
62230 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
62232         * elf/dl-close.c (_dl_close_worker): Add comments.
62234 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
62236         [BZ #15359]
62237         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
62238         high part of pi/2.
62239         (__ieee754_rem_pio2l): Update comments.
62241         [BZ #15429]
62242         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
62243         high part of pi/2.
62244         (__ieee754_rem_pio2l): Update comments.
62246         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
62247         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
62249         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
62250         M_PI_4l.
62252         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
62253         (M_PI_34_LOG10El): Likewise.
62254         (M_PI2_LOG10El): Likewise.
62255         (M_PI4_LOG10El): Likewise.
62256         (M_PI_LOG10El): Likewise.
62258 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62262 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
62264         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
62265         (MINUS_ZERO_INIT): Likewise.
62266         (PLUS_INFTY_INIT): Likewise.
62267         (MINUS_INFTY_INIT): Likewise.
62268         (QNAN_VALUE_INIT): Likewise.
62269         (MAX_VALUE_INIT): Likewise.
62270         (MIN_VALUE_INIT): Likewise.
62271         (MIN_SUBNORM_VALUE_INIT): Likewise.
62272         (plus_zero): Initialize with PLUS_ZERO_INIT.
62273         (minus_zero): Initialize with MINUS_ZERO_INIT.
62274         (plus_infty): Initialize with PLUS_INFTY_INIT.
62275         (minus_infty): Initialize with MINUS_INFTY_INIT.
62276         (qnan_value): Initialize with QNAN_VALUE_INIT.
62277         (max_value): Initialize with MAX_VALUE_INIT.
62278         (min_value): Initialize with MIN_VALUE_INIT.
62279         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
62281         * math/libm-test.inc (RUN_TEST_if_f): New macro.
62282         (jn_test): Use TEST_if_f instead of TEST_ff_f.
62283         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
62284         (yn_test): Use TEST_if_f instead of TEST_ff_f.
62286         * math/libm-test.inc (RUN_TEST_f_f): New macro.
62287         (RUN_TEST_2_f): Likewise.
62288         (RUN_TEST_ff_f): Likewise.
62289         (RUN_TEST_fi_f): Likewise.
62290         (RUN_TEST_fl_f): Likewise.
62291         (RUN_TEST_fff_f): Likewise.
62292         (RUN_TEST_c_f): Likewise.
62293         (RUN_TEST_f_f1): Likewise.
62294         (RUN_TEST_fF_f1): Likewise.
62295         (RUN_TEST_fI_f1): Likewise.
62296         (RUN_TEST_ffI_f1): Likewise.
62297         (RUN_TEST_c_c): Likewise.
62298         (RUN_TEST_cc_c): Likewise.
62299         (RUN_TEST_f_i): Likewise.
62300         (RUN_TEST_f_i_tg): Likewise.
62301         (RUN_TEST_ff_i_tg): Likewise.
62302         (RUN_TEST_f_b): Likewise.
62303         (RUN_TEST_f_b_tg): Likewise.
62304         (RUN_TEST_f_l): Likewise.
62305         (RUN_TEST_f_L): Likewise.
62306         (RUN_TEST_sincos): Likewise.
62307         * math/gen-libm-test.pl (new_test): Take new argument to indicate
62308         whether to show exceptions.  Do not include ");\n" in return
62309         value.
62310         (special_functions): Output call to RUN_TEST_sincos instead of
62311         check_float calls.  Update calls to new_test.
62312         (parse_args): Output call to single RUN_TEST_* macro instead of
62313         check_* calls and other assignments.  Update calls to new_test.
62315         [BZ #2546]
62316         [BZ #2560]
62317         [BZ #5159]
62318         [BZ #15426]
62319         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
62320         input to result for tgamma overflow.
62321         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
62322         (gamma_coeff): New variable.
62323         (NCOEFF): New macro.
62324         (gamma_positive): New function.
62325         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
62326         underflow here.  Use gamma_positive instead of exp (lgamma) for
62327         other arguments.
62328         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
62329         (gamma_coeff): New variable.
62330         (NCOEFF): New macro.
62331         (gammaf_positive): New function.
62332         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
62333         underflow here.  Use gamma_positive instead of exp (lgamma) for
62334         other arguments.
62335         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
62336         (gamma_coeff): New variable.
62337         (NCOEFF): New macro.
62338         (gammal_positive): New function.
62339         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
62340         underflow here.  Use gamma_positive instead of exp (lgamma) for
62341         other arguments.
62342         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
62343         (gamma_coeff): New variable.
62344         (NCOEFF): New macro.
62345         (gammal_positive): New function.
62346         (__ieee754_gammal_r): Handle positive infinity, overflow and
62347         underflow here.  Handle NaN the same as positive infinity.  Remove
62348         check x < 0xffffffff for negative integers.  Use gamma_positive
62349         instead of exp (lgamma) for other arguments.
62350         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
62351         (gamma_coeff): New variable.
62352         (NCOEFF): New macro.
62353         (gammal_positive): New function.
62354         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
62355         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
62356         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
62357         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
62358         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
62359         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
62360         * sysdeps/generic/math_private.h (__gamma_productf): New
62361         prototype.
62362         (__gamma_product): Likewise.
62363         (__gamma_productl): Likewise.
62364         * math/Makefile (libm-calls): Add gamma_product.
62365         * math/libm-test.inc (tgamma_test): Add more tests.
62366         * sysdeps/i386/fpu/libm-test-ulps: Update.
62367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62369 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
62371         * benchtests/bench-skeleton.c (main): Preheat CPU.
62373 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
62375         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
62377 2013-05-07  Roland McGrath  <roland@hack.frob.com>
62379         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
62380         and _dl_skip_args_internal.
62382 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
62384         * manual/message.texi (Message Translation): Talk about users.
62385         Message to key mapping impacts design.
62387 2013-05-06  Roland McGrath  <roland@hack.frob.com>
62389         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
62391         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
62393         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
62394         * sysdeps/wordsize-64/glob64.c: ... here.
62396         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
62397         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
62398         New macros.
62400         * debug/getlogin_r_chk.c: Moved to ...
62401         * login/getlogin_r_chk.c: ... here.
62402         * debug/Makefile (routines): Move getlogin_r_chk to ...
62403         * login/Makefile (routines): ... here.
62404         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
62405         * login/Versions (libc: GLIBC_2.4): ... here.
62407         * io/poll.c (__poll): Renamed from poll.
62408         Add libc_hidden_def.
62409         (poll): Define as weak alias.
62411         * debug/ptsname_r_chk.c: Moved to ...
62412         * login/ptsname_r_chk.c: ... here.
62413         * debug/Makefile (routines): Move ptsname_r_chk to ...
62414         * login/Makefile (routines): ... here.
62415         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
62416         * login/Versions (libc: GLIBC_2.4): ... here.
62418         * posix/getlogin.c: Moved to ...
62419         * login/getlogin.c: ... here.
62420         * posix/getlogin_r.c: Moved to ...
62421         * login/getlogin_r.c: ... here.
62422         * posix/getlogin_r.c: Moved to ...
62423         * login/getlogin_r.c: ... here.
62424         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
62425         * login/Makefile (routines): ... here.
62426         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
62427         * login/Versions (libc: GLIBC_2.0): ... here.
62429         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
62430         (setrlimit): Define as weak alias.
62432         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
62433         Call __ names for open, ftruncate, and close.
62434         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
62435         (truncate): Define as weak alias.
62437 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
62439         * math/gen-libm-test.pl (parse_args): Initialize x before each
62440         test of frexp, modf and remquo.
62442         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
62443         test signgam value.
62445 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62447         [BZ #15418]
62448         [BZ #15419]
62449         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
62450         internal tests.
62451         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62453 2013-05-06  Roland McGrath  <roland@hack.frob.com>
62455         * elf/dl-writev.h: New file.
62456         * elf/dl-misc.c: Include it.
62457         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
62458         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
62460 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
62462         * math/libm-test.inc (noXFails): Remove variable.
62463         (noXPasses): Likewise.
62464         (BUILD_COMPLEX_INT): Remove macro.
62465         (print_screen): Remove xfail argument.
62466         (print_screen_max_error): Likewise.
62467         (update_stats): Likewise.
62468         (print_max_error): Likewise.  Update calls to other affected
62469         functions.
62470         (print_complex_max_error): Likewise.
62471         (test_single_exception): Update calls to print_screen.
62472         (test_single_errno): Likewise.
62473         (check_float_internal): Remove xfail argument.  Update calls to
62474         other affected functions.
62475         (check_float): Likewise.
62476         (check_complex): Likewise.
62477         (check_int): Likewise.
62478         (check_long): Likewise.
62479         (check_bool): Likewise.
62480         (check_longlong): Likewise.
62481         (main): Don't print noXFails and noXPasses.
62482         * math/gen-libm-test.pl (top level): Don't mention expected
62483         failure handling in comment.
62484         (new_test): Don't handle expected failures.
62485         (parse_args): Don't mention expected failure handling in comment.
62486         (generate_testfile): Don't handle expected failures.
62487         (parse_ulps): Likewise.
62488         (print_ulps_file): Likewise.
62489         (get_failure): Remove function.
62490         (output_test): Don't handle expected failures.
62491         * make/README.libm-test: Don't mention expected failure handling.
62493         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
62494         (minus_zero): Likewise.
62495         (plus_infty): Likewise.
62496         (minus_infty): Likewise.
62497         (qnan_value): Likewise.
62498         (max_value): Likewise.
62499         (min_value): Likewise.
62500         (min_subnorm_value): Likewise.
62501         (initialize): Do not initialize those variables dynamically.
62503 2013-05-03  Roland McGrath  <roland@hack.frob.com>
62505         * io/open.c (__open_2): Moved to ...
62506         * io/open_2.c: ... this new file.
62507         * io/open64.c (__open64_2): Moved to ...
62508         * io/open64_2.c: ... this new file.
62509         * io/openat.c (__openat_2): Moved to ...
62510         * io/openat_2.c: ... this new file.
62511         * io/openat64.c (__openat64_2): Moved to ...
62512         * io/openat64_2.c: ... this new file.
62513         * io/Makefile (routines): Add them.
62514         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
62515         * sysdeps/unix/sysv/linux/open_2.c: File removed.
62516         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
62517         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
62518         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
62519         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
62520         (__openat64): Add hidden_ver.
62521         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
62522         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
62524         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
62525         Separately conditionalize setting of GLRO(dl_sysinfo) so
62526         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
62527         as well, but the actual setting is only under [NEED_DL_SYSINFO].
62529 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62531         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
62532         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
62533         definition.
62534         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
62535         * sysdeps/unix/sysv/linux/powerpc/init-first.c
62536         (_libc_vdso_platform_setup): Add __vdso_time initialization.
62537         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
62538         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
62540 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
62542         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
62543         test signgam value.
62545         * math/libm-test.inc (hypot_test): Do not use
62546         IGNORE_ZERO_INF_SIGN.
62548 2013-05-03  Andreas Jaeger  <aj@suse.de>
62550         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
62551         Linux 3.9.
62552         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
62553         (PF_MAX): Adjust for VSOCK change.
62555 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62559 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
62561         [BZ #15264]
62562         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
62563         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
62564         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
62566 2013-05-02  David S. Miller  <davem@davemloft.net>
62568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62570 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
62572         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
62574 2013-05-01  Roland McGrath  <roland@hack.frob.com>
62576         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
62578 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
62580         [BZ #14952]
62581         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
62582         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62583         Use __attribute__ ((__gnu_inline__)).
62584         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62585         Don't use __attribute__ ((__gnu_inline__)).
62587 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
62589         [BZ #15423]
62590         * math/s_catan.c (__catan): Handle small real or imaginary part of
62591         input specially to avoid spurious underflow.
62592         * math/s_catanf.c (__catanf): Likewise.
62593         * math/s_catanh.c (__catanh): Likewise.
62594         * math/s_catanhf.c (__catanhf): Likewise.
62595         * math/s_catanhl.c (__catanhl): Likewise.
62596         * math/s_catanl.c (__catanl): Likewise.
62597         * math/libm-test.inc (catan_test): Add more tests.
62598         (catanh_test): Likewise.
62599         * sysdeps/i386/fpu/libm-test-ulps: Update.
62600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62602 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62606 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
62608         [BZ #15416]
62609         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
62610         accurately for denominator in atan2.
62611         * math/s_catanf.c (__catanf): Likewise.
62612         * math/s_catanh.c (__catanh): Likewise.
62613         * math/s_catanhf.c (__catanhf): Likewise.
62614         * math/s_catanhl.c (__catanhl): Likewise.
62615         * math/s_catanl.c (__catanl): Likewise.
62616         * math/libm-test.inc (catan_test): Add more tests.
62617         (catanh_test): Likewise.
62618         * sysdeps/i386/fpu/libm-test-ulps: Update.
62619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62621 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62623         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
62625         * benchtests/Makefile (bench): Remove slow benchmarks.
62626         * benchtests/atan-inputs: Add slow benchmark inputs.
62627         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
62628         (BENCH_FUNC): Accept variant offset.
62629         (VARIANT): Define.
62630         * benchtests/bench-skeleton.c (main): Run benchmark for each
62631         variant.
62632         * benchtests/cos-inputs: Add slow benchmark inputs.
62633         * benchtests/exp-inputs: Likewise.
62634         * benchtests/pow-inputs: Likewise.
62635         * benchtests/sin-inputs: Likewise.
62636         * benchtests/slowatan-inputs: Remove.
62637         * benchtests/slowatan.c: Remove.
62638         * benchtests/slowcos-inputs: Remove.
62639         * benchtests/slowcos.c: Remove.
62640         * benchtests/slowexp-inputs: Remove.
62641         * benchtests/slowexp.c: Remove.
62642         * benchtests/slowpow-inputs: Remove.
62643         * benchtests/slowpow.c: Remove.
62644         * benchtests/slowsin-inputs: Remove.
62645         * benchtests/slowsin.c: Remove.
62646         * benchtests/slowtan-inputs: Remove.
62647         * benchtests/slowtan.c: Remove.
62648         * benchtests/tan-inputs: Add slow benchmark inputs.
62649         * scripts/bench.pl: Parse comments and directives.
62651         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
62652         in CPPFLAGS.
62653         ($(objpfx)bench-%.c): Remove *-ITER.
62654         * benchtests/bench-modf.c: Remove definition of ITER.
62655         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
62656         (main): Loop for DURATION seconds instead of fixed number of
62657         iterations.
62658         * scripts/bench.pl: Don't expect iterations in parameters.
62660 2013-04-29  Roland McGrath  <roland@hack.frob.com>
62662         * io/fchdir.c (__fchdir): Renamed from fchdir.
62663         (fchdir): Define as weak alias.
62665 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62667         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
62668         (ERRNO_EDOM): Likewise.
62669         (ERRNO_ERANGE): Likewise.
62670         (noErrnoTests): New variable.
62671         (init_max_error): Set errno to 0.
62672         (test_single_errno): New function.
62673         (test_errno): Likewise.
62674         (check_float_internal): Call test_errno.  Set errno to 0.
62675         (check_complex): Refer to errno tests in comment.
62676         (check_int): Call test_errno.  Set errno to 0.
62677         (check_long): Likewise.
62678         (check_bool): Likewise.
62679         (check_longlong): Likewise.
62680         (cos_test): Use ERRNO_* flags for errno tests instead of
62681         check_int.
62682         (expm1_test): Likewise.
62683         (fmod_test): Likewise.
62684         (ilogb_test): Likewise.
62685         (lgamma_test): Likewise.
62686         (pow_test): Likewise.
62687         (remainder_test): Likewise.
62688         (sin_test): Likewise.
62689         (tan_test): Likewise.
62690         (yn_test): Likewise.
62691         (initialize): Set errno to 0.
62692         (main): Print number of errno tests.
62693         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
62695 2013-04-29  Andreas Jaeger  <aj@suse.de>
62697         [BZ #15084]
62698         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
62699         and RES_USEVC.
62701         [BZ #15085]
62702         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
62703         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
62704         unimplemented.
62706         [BZ #15380]
62707         * stdlib/random.c (__initstate): Return NULL if
62708         __initstate fails.
62710         [BZ #15086]
62711         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
62712         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
62713         RES_SNGLKUPREOP.
62715 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62719 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62721         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
62722         of individual tests.
62723         (casin_test): Likewise.
62724         (casinh_test): Likewise.
62726 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
62728         [BZ #15409]
62729         * math/s_catan.c (__catan): Handle arguments with large real or
62730         imaginary part separately without squaring.
62731         * math/s_catanf.c (__catanf): Likewise.
62732         * math/s_catanh.c (__catanh): Likewise.
62733         * math/s_catanhf.c (__catanhf): Likewise.
62734         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62735         and redefine.
62736         (__catanhl): Handle arguments with large real or imaginary part
62737         separately without squaring.
62738         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62739         and redefine.
62740         (__catanl): Handle arguments with large real or imaginary part
62741         separately without squaring.
62742         * math/libm-test.inc (catan_test): Add more tests.
62743         (catanh_test): Likewise.
62744         * sysdeps/i386/fpu/libm-test-ulps: Update.
62745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62747 2013-04-27  Andreas Jaeger  <aj@suse.de>
62749         [BZ #15007]
62750         * stdlib/stdlib.h: Update guards for qecvt.
62751         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
62752         <stdlib.h>.
62754 2013-04-27  Allan McRae  <allan@archlinux.org>
62756         * sysdeps/i386/fpu/libm-test-ulps: Update.
62758 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
62760         [BZ #15406]
62761         * math/s_catan.c: Include <float.h>.
62762         (__catan): Ensure underflow exception occurs for underflowed
62763         result.
62764         * math/s_catanf.c: Include <float.h>.
62765         (__catanf): Ensure underflow exception occurs for underflowed
62766         result.
62767         * math/s_catanh.c: Include <float.h>.
62768         (__catanh): Ensure underflow exception occurs for underflowed
62769         result.
62770         * math/s_catanhf.c: Include <float.h>.
62771         (__catanhf): Ensure underflow exception occurs for underflowed
62772         result.
62773         * math/s_catanhl.c: Include <float.h>.
62774         (__catanhl): Ensure underflow exception occurs for underflowed
62775         result.
62776         * math/s_catanl.c: Include <float.h>.
62777         (__catanl): Ensure underflow exception occurs for underflowed
62778         result.
62779         * math/libm-test.inc (catan_test): Add more tests.
62780         (catanh_test): Likewise.
62782         [BZ #15405]
62783         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
62784         underflowed result.
62785         * math/s_ccoshf.c (__ccoshf): Likewise.
62786         * math/s_ccoshl.c (__ccoshl): Likewise.
62787         * math/s_csin.c (__csin): Likewise.
62788         * math/s_csinf.c (__csinf): Likewise.
62789         * math/s_csinh.c (__csinh): Likewise.
62790         * math/s_csinhf.c (__csinhf): Likewise.
62791         * math/s_csinhl.c (__csinhl): Likewise.
62792         * math/s_csinl.c (__csinl): Likewise.
62793         * math/libm-test.inc (ccos_test): Add more tests.
62794         (ccosh_test): Likewise.
62795         (csin_test): Likewise.
62796         (csinh_test): Likewise.
62798 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62800         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
62801         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
62802         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
62803         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
62804         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
62805         powerpc/power5+/fpu folders.
62806         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
62809 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
62811         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62813 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
62815         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
62816         additions to variable.
62817         [$(config-machine) = x86_64] (modules-names): Likewise.
62818         ($(objpfx)tst-audit3): Remove dependency.
62819         ($(objpfx)tst-audit3.out): Likewise.
62820         ($(objpfx)tst-audit4): Likewise.
62821         ($(objpfx)tst-audit4.out): Likewise.
62822         ($(objpfx)tst-audit5): Likewise.
62823         ($(objpfx)tst-audit5.out): Likewise.
62824         ($(objpfx)tst-audit6): Likewise.
62825         ($(objpfx)tst-audit6.out): Likewise.
62826         ($(objpfx)tst-audit7): Likewise.
62827         ($(objpfx)tst-audit7.out): Likewise.
62828         (tst-audit3-ENV): Remove variable.
62829         (tst-audit4-ENV): Likewise.
62830         (tst-audit5-ENV): Likewise.
62831         (tst-audit6-ENV): Likewise.
62832         (tst-audit7-ENV): Likewise.
62833         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
62834         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
62835         addition to variable.
62836         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
62837         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
62838         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
62839         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
62840         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
62841         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
62842         tst-audit3, tst-audit4 and tst-audit5.
62843         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
62844         tst-audit6 and tst-audit7.
62845         [$(subdir) = elf] (modules-names): Add audit modules for those
62846         tests.
62847         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
62848         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
62849         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
62850         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
62851         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
62852         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
62853         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
62854         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
62855         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
62856         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
62857         [$(subdir) = elf] (tst-audit3-ENV): New variable.
62858         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
62859         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
62860         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
62861         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
62862         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
62863         Likewise.
62864         [$(subdir) = elf && $(config-cflags-avx) = yes]
62865         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
62866         [$(subdir) = elf && $(config-cflags-avx) = yes]
62867         (CFLAGS-tst-auditmod4a.c): Likewise.
62868         [$(subdir) = elf && $(config-cflags-avx) = yes]
62869         (CFLAGS-tst-auditmod4b.c): Likewise.
62870         [$(subdir) = elf && $(config-cflags-avx) = yes]
62871         (CFLAGS-tst-auditmod6b.c): Likewise.
62872         [$(subdir) = elf && $(config-cflags-avx) = yes]
62873         (CFLAGS-tst-auditmod6c.c): Likewise.
62874         [$(subdir) = elf && $(config-cflags-avx) = yes]
62875         (CFLAGS-tst-auditmod7b.c): Likewise.
62876         * elf/tst-audit3.c: Move to ...
62877         * sysdeps/x86_64/tst-audit3.c: ... here.
62878         * elf/tst-audit4.c: Move to ...
62879         * sysdeps/x86_64/tst-audit4.c: ... here.
62880         * elf/tst-audit5.c: Move to ...
62881         * sysdeps/x86_64/tst-audit5.c: ... here.
62882         * elf/tst-audit6.c: Move to ...
62883         * sysdeps/x86_64/tst-audit6.c: ... here.
62884         * elf/tst-audit7.c: Move to ...
62885         * sysdeps/x86_64/tst-audit7.c: ... here.
62886         * elf/tst-auditmod3a.c: Move to ...
62887         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
62888         * elf/tst-auditmod3b.c: Move to ...
62889         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
62890         * elf/tst-auditmod4a.c: Move to ...
62891         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
62892         * elf/tst-auditmod4b.c: Move to ...
62893         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
62894         * elf/tst-auditmod5a.c: Move to ...
62895         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
62896         * elf/tst-auditmod5b.c: Move to ...
62897         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
62898         * elf/tst-auditmod6a.c: Move to ...
62899         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
62900         * elf/tst-auditmod6b.c: Move to ...
62901         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
62902         * elf/tst-auditmod6c.c: Move to ...
62903         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
62904         * elf/tst-auditmod7a.c: Move to ...
62905         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
62906         * elf/tst-auditmod7b.c: Move to ...
62907         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
62909 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
62911         [BZ #15366]
62912         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
62913         define unconditionally.
62914         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
62915         define unconditionally.
62916         (INT8_C, INT16_C, etc.): Likewise.
62918 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
62920         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
62921         __ehdr_start with hidden visibility.
62923         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
62925 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
62927         * math/libm-test.inc (cos_test): Use accurate hex constants.
62928         (sincost_test): Likewise.
62930 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
62932         * math/libm-test.inc (catan_test): Add more tests.
62933         (catanh_test): Likewise.
62935         * math/s_catanf.c (__catanf): Use suffixed floating-point
62936         constants.
62937         * math/s_catanhf.c (__catanhf): Likewise.
62938         * math/s_catanhl.c (__catanhl): Likewise.
62939         * math/s_catanl.c (__catanl): Likewise.
62941         [BZ #15394]
62942         * math/s_catan.c (__catan): Calculate imaginary part of result
62943         with log1p not log unless computing log of number close to 0.
62944         * math/s_catanf.c (__catanf): Likewise.
62945         * math/s_catanl.c (__catanl): Likewise.
62946         * math/s_catanh.c (__catanh): Calculate real part of result with
62947         log1p not log unless computing log of number close to 0.
62948         * math/s_catanhf.c (__catanhf): Likewise.
62949         * math/s_catanhl.c (__catanhl): Likewise.
62950         * math/libm-test.inc (catan_test): Add more tests.
62951         (catanh_test): Likewise.
62952         * sysdeps/i386/fpu/libm-test-ulps: Update.
62953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62955 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
62957         * benchtests/Makefile: Mention files in which fast and slow
62958         paths of math functions are implemented.
62960 2013-04-23  Roland McGrath  <roland@hack.frob.com>
62962         * sysdeps/posix/timespec_get.c: New file.
62964 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62966         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
62967         POWER.
62968         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
62969         for POWER.
62970         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
62971         powerpc/power5/fpu folders.
62972         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
62973         * benchtests/Makefile: Add modf testcase.
62974         * benchtests/bench-modf.c: New file: Benchmark test for mo
62976 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
62978         [BZ #14888]
62979         * time/Makefile (tests): Add tst-strptime-whitespace.
62980         * time/strptime_l.c (get_number): Use ISSPACE.
62981         (__strptime_internal): Likewise.
62982         * time/tst-strptime-whitespace.c: New test case.
62984 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
62986         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
62987         member.
62988         (_nss_files_init): Set it here.
62990 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
62992         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
62993         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
62994         unsigned.
62996 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
62998         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
63000 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
63002         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
63003         size just once.
63005 2013-04-21  David S. Miller  <davem@davemloft.net>
63007         * po/ru.po: Update Russion translation from translation project.
63009 2013-04-17  Adam Conrad  <adconrad@0c3.net>
63011         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
63012         and setfsgid.
63014 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
63016         * configure.in: Remove i386 configure warning. Remove i386 case.
63017         * configure: Regenerate.
63018         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
63019         Add example to error message.
63020         * sysdeps/i386/configure: Regenerate.
63022 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
63024         * benchtests/Makefile (bench): Add cos, tan, slowcos and
63025         slowtan.
63026         * benchtests/cos-inputs: New file.
63027         * benchtests/slowcos-inputs: New file.
63028         * benchtests/slowcos.c: New file.
63029         * benchtests/slowtan-inputs: New file.
63030         * benchtests/slowtan.c: New file.
63031         * benchtests/tan-inputs: New file.
63033 2013-04-16  Roland McGrath  <roland@hack.frob.com>
63035         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
63036         considered kosher.
63038 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63040         * benchtests/Makefile: Include cppflags-iterator.mk to add
63041         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
63043         * Makefile.in (bench-clean): New target.
63044         * benchtests/Makefile (bench-clean): Likewise.
63046 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
63048         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
63050 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
63052         * stdio-common/tstdiomisc.c: Fix coding-style violation.
63054 2013-04-15  Andreas Schwab  <schwab@suse.de>
63056         * nscd/grpcache.c (cache_addgr): Properly check for short write.
63057         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63058         * nscd/pwdcache.c (cache_addpw): Likewise.
63059         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
63060         more than recsize.
63062 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63064         * benchtests/Makefile (bench): Write all output to
63065         bench-out.tmp together.
63067 2013-04-15  Andreas Schwab  <schwab@suse.de>
63069         * nscd/nscd.c (main): Don't fork again after closing files.
63071 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63073         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
63075         * benchtests/Rules (bench-deps): Collect dependencies into a
63076         single variable.  Add Makefile to dependencies.
63077         ($(objpfx)bench-%.c): Depend on bench-deps.
63079 2013-04-12  Roland McGrath  <roland@hack.frob.com>
63080             Xavier Roche  <roche+kml2@exalead.com>
63082         [BZ #15361]
63083         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
63084         just that it's a file descriptor.
63085         * manual/llio.texi (Synchronizing AIO Operations): Update description
63086         for EBADF error from aio_fsync.
63088 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
63090         * Rules (bench): Move target definition...
63091         * benchtests/Makefile: ... here.
63093 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
63095         * math/libm-test.inc (cos_test): Fix PI/2 test.
63096         (sincos_test): Likewise.
63097         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
63098         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
63100 2013-04-11  Andreas Schwab  <schwab@suse.de>
63102         [BZ #13988]
63103         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
63104         accept exponent character only when digits were seen.
63105         * stdio-common/Makefile (tests): Add bug26.
63106         * stdio-common/bug26.c: New file.
63108         [BZ #14293]
63109         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
63110         non-freeable.
63112 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63114         * Makeconfig (rtld-prefix): Define built linker prefix.
63115         * Rules (run-bench): Use it.
63116         * math/Makefile (run-regen-ulps): Likewise.
63118         * Rules (bench): Remove eval.
63120 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63121             Roland McGrath  <roland@hack.frob.com>
63122             Ondrej Bilka  <neleai@seznam.cz>
63124         [BZ #15346]
63125         * time/getdate.c: Include ctype.h and alloca.h.
63126         (__getdate_r): Trim leading and trailing spaces of input.
63127         * time/tst-getdate.c (tests): Add tests with leading and
63128         trailing spaces.
63130 2013-04-08  Roland McGrath  <roland@hack.frob.com>
63132         [BZ #14280]
63133         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
63134         when computing value.
63136 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63138         * math/README.libm-test (How can I generate "libm-test-ulps"?):
63139         Use testrun.sh to run libm tests.
63141         [BZ #15309]
63142         * elf/dl-open.c (dl_open_worker): memset all of seen array.
63144 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
63146         [BZ #15264]
63147         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
63149 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63151         * Makefile.in (regen-ulps): New target.
63152         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
63153         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
63154         [ifneq (no,$(PERL)] (regen-ulps): New target.
63155         [ifeq (no,$(PERL)] (regen-ulps): New target.
63156         * math/libm-test.inc (ulps_file_name): Define.
63157         (output_dir): New variable.
63158         (options): Add "output-dir" option.
63159         (parse_opt): Handle 'o' case.
63160         (main): If output_dir is non-NULL use it as a prefix
63161         otherwise use "".
63162         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
63164 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63166         [BZ #10060, #10062]
63167         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
63168         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
63169         fail configure if __sync_val_compare_and_swap is not inlined.
63170         * sysdeps/i386/configure: Regenerate.
63171         * configure.in: Build for i686 when configured for i386.
63172         * configure: Regenerate.
63173         * README: Remove i386 reference.
63175 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63177         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
63178         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63180 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
63182         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
63183         (lmsnanval): New variables.
63184         (F): Add conversion tests.
63185         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
63186         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
63188         * stdio-common/tstdiomisc.c (F): Properly collect individual
63189         tests' results.
63191         [BZ #14686, #15336]
63192         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
63193         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
63194         Instead, use input NaN values or generate a qNaN by arithmetic
63195         operation.  Also fix bugs to comply with the standard.
63196         * math/libm-test.inc (remainder_test): Add more tests.
63198         [BZ #15335, #15342]
63199         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
63200         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
63201         input NaN values or generate a qNaN by arithmetic operation.
63203         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
63204         unreachable code.
63206         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
63207         definitions.
63209 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
63211         [BZ #14478]
63212         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
63213         underflowed result.
63214         * math/s_cexpf.c (__cexpf): Likewise.
63215         * math/s_cexpl.c (__cexpl): Likewise.
63216         * math/libm-test.inc (cexp_test): Add more tests.
63218 2013-04-03  Andreas Schwab  <schwab@suse.de>
63220         [BZ #15330]
63221         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
63222         order arrays from heap if bigger than alloca cutoff.
63224 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
63226         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
63227         (SNAN_TESTS_double): Refer to GCC PR56831.
63228         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
63229         GCC PR56828.
63231 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
63233         * Rules (bench): Move bench.out after the run is complete.
63235         * Rules (bench): Echo currently running benchmark.
63237         * benchtests/Makefile (bench): Add atan and slowatan.
63238         * benchtests/atan-inputs: New file.
63239         * benchtests/slowatan-inputs: New file.
63240         * benchtests/slowatan.c: New file.
63242         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
63243         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
63244         its value.
63246         [BZ #15305]
63247         * sysdeps/unix/sysv/linux/kernel-features.h
63248         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
63249         __ASSUME_XFS_RESTRICTED_CHOWN.
63250         * sysdeps/unix/sysv/linux/pathconf.c
63251         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
63252         Save and restore errno.
63254 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
63256         [BZ #15327]
63257         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
63258         arguments using __kernel_casinh.
63259         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
63260         arguments using __kernel_casinhf.
63261         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
63262         arguments using __kernel_casinhl.
63263         * math/libm-test.inc (cacosh_test): Add more tests.
63264         * sysdeps/i386/fpu/libm-test-ulps: Update.
63265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63267 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
63269         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
63270         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
63272         * bench/Makefile (bench): Add sin and slowsin.
63273         * benchtests/sin-inputs: New file.
63274         * benchtests/slowsin-inputs: New file.
63275         * benchtests/slowsin.c: New file.
63277         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
63278         (bench): Add slowexp and slowpow.
63279         (exp-ITER): Increase iterations.
63280         (pow-ITER): Likewise.
63281         * benchtests/exp-inputs: Change input.
63282         * benchtests/pow-inputs: Likewise.
63283         * benchtests/slowexp-inputs: New file.
63284         * benchtests/slowexp.c: New file.
63285         * benchtests/slowpow-inputs: New file.
63286         * benchtests/slowpow.c: New file.
63288 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63290         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
63291         instructions.
63292         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
63293         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
63294         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
63295         * benchtests/Makefile: Add rint benchtest.
63296         * benchtests/rint-inputs: Input for rint benchtest.
63298 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
63300         * Versions.def (libm): Add GLIBC_2.18.
63301         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
63302         hidden libm prototypes.
63303         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
63304         * math/Makefile (libm-calls): Add s_issignaling.
63305         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
63306         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
63307         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
63308         declaration.
63309         * math/math.h [__USE_GNU] (issignaling): New macro.
63310         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
63311         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
63312         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
63313         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
63314         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
63315         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
63316         * manual/arith.texi (issignaling): New section.
63317         * manual/libm-err-tab.pl (@all_functions): Update comment.
63318         * math/gen-libm-test.pl (parse_args): Apply special handling for
63319         issignaling.
63320         * math/libm-test.inc (print_float, issignaling_test): New
63321         functions.
63322         (check_float_internal): Add issignaling checks.
63323         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
63324         default definition.
63325         * sysdeps/powerpc/math-tests.h: New file.
63326         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
63327         tests.
63328         * math/test-snan.c (TEST_FUNC): Likewise.
63330 2013-03-30  David S. Miller  <davem@davemloft.net>
63332         * po/de.po: Update from translation team.
63334 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
63336         [BZ #10357]
63337         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63338         imaginary part less than 1.0 and real part less than 0.5
63339         specially.
63340         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63341         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63342         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
63343         (cacos_test): Add more tests.
63344         (casin_test): Likewise.
63345         (casinh_test): Likewise.
63346         * sysdeps/i386/fpu/libm-test-ulps: Update.
63347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63349 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
63351         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
63352         ONE with its value.
63354         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
63355         (__pow_mp): Replace ONE and MONE with their values.
63356         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63357         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
63358         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
63359         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
63360         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63361         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
63363         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
63365         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
63366         (__pow_mp): Replace ZERO and MZERO with their values.
63367         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
63368         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63369         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
63370         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
63371         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63372         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
63373         (__sqr): Likewise.
63375         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
63377         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
63379 2013-03-28  Roland McGrath  <roland@hack.frob.com>
63381         * include/stdlib.h [!SHARED] (__call_tls_dtors):
63382         Declare with __attribute__ ((weak)).
63383         * stdlib/exit.c (__libc_atexit) [!SHARED]:
63384         Call __call_tls_dtors only if it's not NULL.
63386 2013-03-28  Roland McGrath  <roland@hack.frob.com>
63388         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
63389         didn't do it already, then set _dl_phdr and _dl_phnum based on the
63390         magic __ehdr_start linker symbol if it's defined.
63391         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
63392         them up here if it was already done.
63394         * elf/dl-support.c (_dl_phdr): Make pointer to const.
63395         (_dl_aux_init): Use const in cast when setting it.
63396         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
63397         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
63398         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
63400         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
63401         Declare them here.
63402         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
63403         * csu/libc-tls.c: Nor here.
63404         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
63406         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
63407         (__libc_message): Never call vsyslog.
63409 2013-03-28  Alan Modra  <amodra@gmail.com>
63411         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
63412         Define as empty.
63413         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
63414         Likewise.
63416 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63418         [BZ #15214]
63419         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
63420         underflow.
63421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63423 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63425         [BZ #15304]
63426         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
63427         Don't add gid passed as argument.
63429         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
63431 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
63433         [BZ #15307]
63434         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63435         imaginary part between 1.0 and 1.5 and real part less than 0.5
63436         specially.
63437         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63438         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63439         * math/libm-test.inc (cacos_test): Add more tests.
63440         (casin_test): Likewise.
63441         (casinh_test): Likewise.
63442         * sysdeps/i386/fpu/libm-test-ulps: Update.
63443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63445 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63447         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
63448         constants.
63449         (norm): Likewise.
63450         (denorm): Likewise.
63451         (__dbl_mp): Likewise.
63452         (add_magnitudes): Likewise.
63453         (sub_magnitudes): Likewise.
63454         (__add): Likewise.
63455         (__sub): Likewise.
63456         (__mul): Likewise.
63457         (__sqr): Likewise.
63458         (__inv): Likewise.
63459         (__dvd): Likewise.
63461         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
63462         commented code.
63463         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
63464         (__dubcos): Likewise.
63465         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
63466         (__ieee754_acos): Likewise.
63467         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
63468         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
63469         (__exp1): Likewise.
63470         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63471         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63472         (log1): Likewise.
63473         (my_log2): Likewise.
63474         (checkint): Likewise.
63475         * sysdeps/ieee754/dbl-64/e_remainder.c
63476         (__ieee754_remainder): Likewise.
63477         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63478         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
63479         (bsloww): Likewise.
63480         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
63482         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63483         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
63484         MANTISSA_STORE_T to store computations on mantissa.  Use
63485         macros for rounding and division.
63486         (denorm): Likewise.
63487         (__dbl_mp): Likewise.
63488         (add_magnitudes): Likewise.
63489         (sub_magnitudes): Likewise.
63490         (__mul): Likewise.
63491         (__sqr): Likewise.
63492         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63493         powers of two in terms of TWOPOW macro.
63494         (mp_no): Make type of mantissa as MANTISSA_T.
63495         [!RADIXI]: Define RADIXI.
63496         [!TWO52]: Define TWO52.
63497         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63499 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63501         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
63502         llroundl symbol when building for PPC32.
63504 2013-03-24  Mark H Weaver  <mhw@netris.org>
63506         * manual/arith.texi (Normalization Functions): Fix prototypes for
63507         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
63509 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63511         [BZ #13889]
63512         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
63513         high value to check if expl overflow.
63514         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
63515         to check for underflow and overflow.
63516         * math/libm-test.inc: Add exp test.
63518 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
63520         [BZ #11120]
63521         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
63522         with NOT_IN_libc.
63524 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63526         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
63527         symbol.
63529 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63531         * math/gen-libm-test.pl (parse_args, special_functions): Properly
63532         wrap blocks consisting of several statements.
63534         * sysdeps/generic/math-tests.h: New file.
63535         * sysdeps/i386/fpu/math-tests.h: Likewise.
63536         * math/test-snan.c: Include it.
63537         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
63539 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63541         [BZ #15285]
63542         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
63543         (__ieee754_j0l): Do not improve calculations using cos of twice
63544         input for inputs above LDBL_MAX / 2.0L.
63545         (__ieee754_y0l): Likewise.
63546         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
63547         (__ieee754_j1l): Do not improve calculations using cos of twice
63548         input for inputs above LDBL_MAX / 2.0L.
63549         (__ieee754_y1l): Likewise.
63550         * math/libm-test.inc (j0_test): Add another test.
63551         (j1_test): Likewise.
63552         (y0_test): Likewise.
63553         (y1_test): Likewise.
63554         * sysdeps/i386/fpu/libm-test-ulps: Update.
63556 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63558         * Rules ($(objpfx)bench-%.c): Include code from a C source
63559         file.
63561 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63563         [BZ #15287]
63564         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63565         imaginary part 1.0 and real part less than 0.5 specially.
63566         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63567         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63568         * math/libm-test.inc (cacos_test): Add more tests.
63569         (casin_test): Likewise.
63570         (casinh_test): Likewise.
63571         * sysdeps/i386/fpu/libm-test-ulps: Update.
63572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63574 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63576         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
63577         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
63579 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
63581         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
63582         * config.make.in (config-cflags-sse4): Remove variable.
63583         (config-cflags-avx): Likewise.
63584         (config-cflags-sse2avx): Likewise.
63585         (config-cflags-novzeroupper): Likewise.
63586         (config-asflags-i686): Likewise.
63587         (have-mfma4): Likewise.
63588         (have-as-vis3): Likewise.
63589         (MIG): Likewise.
63590         * configure.in (MIG): Do not AC_SUBST.
63591         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
63592         (libc_cv_cc_sse4): Do not AC_SUBST.
63593         (libc_cv_cc_avx): Likewise.
63594         (libc_cv_cc_sse2avx): Likewise.
63595         (libc_cv_cc_novzeroupper): Likewise.
63596         (libc_cv_cc_fma4): Likewise.
63597         (libc_cv_as_i686): Likewise.
63598         (libc_cv_sparc_as_vis3): Likewise.
63599         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
63600         LIBC_CONFIG_VAR.
63601         (config-asflags-i686): Likewise.
63602         (config-cflags-avx): Likewise.
63603         (config-cflags-sse2avx): Likewise.
63604         (have-mfma4): Likewise.
63605         (config-cflags-novzeroupper): Likewise.
63606         * sysdeps/mach/configure.in (MIG): Likewise.
63607         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
63608         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
63609         LIBC_CONFIG_VAR.
63610         (config-cflags-avx): Likewise.
63611         (config-cflags-sse2avx): Likewise.
63612         (have-mfma4): Likewise.
63613         (config-cflags-novzeroupper): Likewise.
63614         * configure: Regenerated.
63615         * sysdeps/i386/configure: Likewise.
63616         * sysdeps/mach/configure: Likewise.
63617         * sysdeps/sparc/configure: Likewise.
63618         * sysdeps/x86_64/configure: Likewise.
63620 2013-03-20  Roland McGrath  <roland@hack.frob.com>
63622         [BZ #14812]
63623         * locale/programs/localedef.c (options): Put N_ translation marker
63624         on argument names, not just descriptions.
63626 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63628         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
63630 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
63632         [BZ #14176]
63633         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
63635 2013-03-19  Roland McGrath  <roland@hack.frob.com>
63637         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
63638         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
63639         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
63640         [!BEFORE_ABORT] (before_abort): New function.
63641         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
63642         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
63643         (writev_for_fatal): New function.
63644         (WRITEV_FOR_FATAL): New macro; call that.
63645         (backtrace_and_maps): New function.
63646         (BEFORE_ABORT): New macro; call that.
63647         (struct str_list): Type removed.
63648         (__libc_message, __libc_fatal): Functions removed.
63649         Include <sysdeps/posix/libc_fatal.c> instead.
63651 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
63653         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
63654         constants.
63655         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
63656         double constants.
63658 2013-03-19  Andreas Schwab  <schwab@suse.de>
63660         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
63661         * sysdeps/gnu/configure: Regenerate.
63663         * configure.in: Substitute libc_cv_rtlddir.
63664         * configure: Regenerate.
63665         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
63666         * Makeconfig (rtlddir, inst_rtlddir): New variables.
63667         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
63668         * elf/Makefile (install-others, CFLAGS-interp.c)
63669         (ldso_install, common-ldd-rewrite): Likewise.
63670         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
63671         $(inst_slibdir)/$(rtld-installed-name).
63672         * scripts/rellns-sh: Add -p option.
63673         * Makerules (make-shlib-link): Use rellns-sh to get relative name
63674         for source.
63676 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63678         * manual/nptl.texi: Renamed to ...
63679         * manual/threads.texi: ... this.
63680         * manual/Makefile (chapters): Update.
63682 2013-03-18  Roland McGrath  <roland@hack.frob.com>
63684         [BZ #14812]
63685         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
63686         on argument names, not just descriptions.
63687         * malloc/memusagestat.c (options): Likewise.
63688         * nss/getent.c (options): Likewise.
63690 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
63692         [BZ #14812]
63693         * iconv/iconv_prog.c (options): Put N_ translation marker
63694         on argument names, not just descriptions.
63695         * iconv/iconvconfig.c (options): Likewise.
63697 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
63699         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
63700         implementation which is faster on all x86_64 architectures.
63701         Tested on AMD, Intel Nehalem, SNB, IVB.
63702         * sysdeps/x86_64/strnlen.S: Likewise.
63704         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63705         Remove all multiarch strlen and strnlen versions.
63706         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
63707         Remove strlen and strnlen related parts.
63709         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
63710         Inline strlen part.
63711         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
63713         * sysdeps/x86_64/multiarch/strlen.S: Remove.
63714         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
63715         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
63716         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
63717         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63718         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
63720 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
63722         * manual/memory.texi (Malloc Tunable Parameters):
63723         Sort parameters alphabetically. Add comments for missing entries.
63725 2013-03-17  David S. Miller  <davem@davemloft.net>
63727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63729 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
63731         [BZ #15283]
63732         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
63733         for arguments at most half maximum finite value.
63734         * math/libm-test.inc (j0_test): Add more tests.
63735         (j1_test): Likewise.
63736         (y0_test): Likewise.
63737         (y1_test): Likewise.
63738         * sysdeps/i386/fpu/libm-test-ulps: Update.
63739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63741         [BZ #14155]
63742         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
63743         1 / x and functions P and Q for arguments above 0x1p256L.
63744         (__ieee754_y0l): Likewise.
63745         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
63746         (__ieee754_y1l): Likewise.
63747         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
63748         (j1_test): Likewise.
63749         (y0_test): Likewise.
63750         (y1_test): Likewise.
63752 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
63754         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
63755         variable.
63757 2013-03-15  Roland McGrath  <roland@hack.frob.com>
63759         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
63760         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
63761         zero since it's initialized to EXEC_PAGESIZE.
63763         * sysdeps/unix/sysv/linux/ldsodefs.h
63764         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
63765         * sysdeps/generic/ldsodefs.h: ... here.
63767 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
63769         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
63771         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
63772         math/test-snan.c.
63773         * math/test-snan.c: Renamed from
63774         sysdeps/powerpc/fpu/test-powerpc-snan.c.
63775         * math/Makefile (tests): Add test-snan.
63776         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
63777         test-powerpc-snan.
63779         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
63780         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
63781         functions.
63782         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
63783         __builtin_nan family of functions.
63784         * math/libm-test.inc (initialize): Initialize qnan_value with
63785         __builtin_nan family of functions.
63786         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
63787         Remove variables.
63788         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
63789         Remove functions.
63790         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
63791         storage class.  Initialize qNaN_var and sNaN_var with
63792         __builtin_nan and __builtin_nans families of functions,
63793         respectively.
63795         * math/libm-test.inc (acosh_test): Also test with qNaN input.
63796         (sqrt_test): Remove duplicate test with qNaN input.
63797         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
63798         (round_test, signbit_test, significand_test): Note missing +/-Inf
63799         as well as qNaN tests.
63801         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
63802         qNaN_var.  Fix a few strings, too.
63803         * math/libm-test.inc (nan_value): Rename to qnan_value.
63804         * math/gen-libm-test.pl (%beautify): Adjust to that.
63805         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
63806         * math/test-misc.c (main): Likewise.
63807         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
63808         to __qnan_bytes, and __qnan_union, respectively.
63809         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
63810         Likewise.
63811         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
63812         and lqnanval, respectively.
63813         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
63814         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
63815         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
63816         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
63818         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
63819         * math/test-misc.c (main) [__x86_64__]: Enable test for long
63820         doubles.
63822         * math/test-misc.c (main): Fix copy'n'pastos.
63823         * misc/tst-efgcvt.c (special): Likewise.
63825         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
63826         Remove declarations.
63828 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63830         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
63831         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
63832         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
63833         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
63835 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63837         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
63838         macro to return vdso values correctly in IFUNC implementations.
63839         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
63840         Optimization by using IFUNC.
63842 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63843             Richard Henderson  <rth@redhat.com>
63844             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63846         * Makefile.in (bench): New target.
63847         * NEWS: Mention the benchmark framework.
63848         * Rules (bench): Likewise.
63849         (binaries-bench): Generate binaries for functions to
63850         benchmark.
63851         * benchtests/Makefile: New makefile for benchmark tests.
63852         * benchtests/bench-skeleton.c: New skeleton file for benchmark
63853         programs.
63854         * benchtests/exp-inputs: New input file for EXP function.
63855         * benchtests/pow-inputs: New input file for POW function.
63856         * scripts/bench.pl: New script to generate source files for
63857         benchmark programs.
63859 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63861         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63862         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
63863         computations on mantissa.  Use macros for rounding and
63864         division.
63865         (denorm): Likewise.
63866         (__dbl_mp): Likewise.
63867         (add_magnitudes): Likewise.
63868         (sub_magnitudes): Likewise.
63869         (__mul): Likewise.
63870         (__sqr): Likewise.
63871         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63872         powers of two in terms of TWOPOW macro.
63873         (mp_no): Make type of mantissa as MANTISSA_T.
63874         [!RADIXI]: Define RADIXI.
63875         [!TWO52]: Define TWO52.
63876         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63878         * manual/nptl.texi (cindex): Modify threads to pthreads.
63880 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
63882         * sysdeps/x86_64/preconfigure: Regenerated.
63884 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
63886         [BZ #14155]
63887         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
63888         0x1p28 and above.
63889         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
63890         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
63891         0x1p28 and above.
63892         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
63893         * math/libm-test.inc (j0_test): Do not allow one spurious
63894         underflow exception.
63895         (y1_test): Likewise.
63897 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63899         * manual/Makefile (chapters): Add nptl.
63900         * manual/debug.texi (Debugging Support): Add link to Threads
63901         chapter.
63902         * manual/nptl.texi: New file.
63904         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
63906 2013-03-14  Petr Baudis  <pasky@ucw.cz>
63908         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
63909         for non-NULL pointer before the memory validity test. Pointed
63910         out by Holger Brunck <holger.brunck@keymile.com>.
63912 2013-03-13  Andreas Schwab  <schwab@suse.de>
63914         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
63915         instead of .os.
63917 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
63919         * timezone/zic.c: Update from tzcode 2013b.
63921 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
63923         * manual/install.texi (Configuring and compiling):
63924         Mention i686 and i586.
63925         * INSTALL: Regenerate.
63927 2013-03-12  Roland McGrath  <roland@hack.frob.com>
63929         * sysdeps/init_array/elf-init.c: New file.
63930         * csu/elf-init.c
63931         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
63932         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
63934         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
63935         __gmon_start__ as global, but as static with a .preinit_array pointer.
63936         * sysdeps/init_array/gmon-start.c: New file.  Use that.
63937         * sysdeps/init_array/crti.S: New file, empty except for comments.
63938         * sysdeps/init_array/crtn.S: Likewise.
63940 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
63942         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
63943         definining bcopy.
63944         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63945         Remove Prefer_SSE_for_memop.
63946         * sysdeps/x86_64/multiarch/init-arch.h: Remove
63947         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
63948         HAS_PREFER_SSE_FOR_MEMOP.
63949         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
63950         memset-x86-64.
63951         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63952         Remove bzero, memset ifunc support.
63953         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
63954         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
63955         * sysdeps/x86_64/multiarch/memset.S: Likewise.
63956         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
63958 2013-03-11  Andreas Schwab  <schwab@suse.de>
63960         [BZ #15234]
63961         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
63962         by SHLIB_COMPAT.
63963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
63964         (GLIBC_2.16): Remove pthread_atfork.
63966 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
63968         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
63969         (ptestcases.h): Likewise.
63971 2013-03-08  Roland McGrath  <roland@hack.frob.com>
63973         * Makeconfig ($(common-objpfx)config.status): Depend on
63974         sysdeps/*/preconfigure{,.in} too.
63976 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
63978         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
63979         (__free_hook): Use void * instead of __malloc_ptr_t.
63980         (__malloc_hook): Likewise.
63981         (__realloc_hook): Likewise.
63982         (__memalign_hook): Likewise.
63983         (__after_morecore_hook): Likewise.
63984         * malloc/arena.c (save_malloc_hook): Likewise.
63985         (save_free_hook): Likewise.
63986         * malloc/hooks.c (malloc_hook_ini): Likewise.
63987         (realloc_hook_ini): Likewise.
63988         (memalign_hook_ini): Likewise.
63989         * malloc/malloc.c (malloc_hook_ini): Likewise.
63990         (realloc_hook_ini): Likewise.
63991         (memalign_hook_ini): Likewise.
63992         (__free_hook): Likewise.
63993         (__malloc_hook): Likewise.
63994         (__realloc_hook): Likewise.
63995         (__memalign_hook): Likewise.
63996         (__libc_malloc): Likewise.
63997         (__libc_free): Likewise.
63998         (__libc_realloc): Likewise.
63999         (__libc_memalign): Likewise.
64000         (__libc_valloc): Likewise.
64001         (__libc_pvalloc): Likewise.
64002         (__libc_calloc): Likewise.
64003         (__posix_memalign): Likewise.
64004         * malloc/morecore.c (__sbrk): Likewise.
64005         (__default_morecore): Likewise.
64007         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
64009         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
64010         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
64011         __malloc_ptrdiff_t.
64013         * malloc/malloc.h (__malloc_size_t): Remove macro.
64014         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
64015         __malloc_size_t.
64016         (old_memalign_hook): Likewise.
64017         (old_realloc_hook): Likewise.
64018         (struct hdr): Likewise.
64019         (flood): Likewise.
64020         (mallochook): Likewise.
64021         (memalignhook): Likewise.
64022         (reallochook): Likewise.
64023         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
64024         (tr_old_realloc_hook): Likewise.
64025         (tr_old_memalign_hook): Likewise.
64026         (tr_mallochook): Likewise.
64027         (tr_reallochook): Likewise.
64028         (tr_memalignhook): Likewise.
64030 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64032         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
64033         default_ldbl_pack and using as default implementation.
64034         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
64035         implementation.
64036         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
64037         redundant definition.
64038         (ldbl_insert_mantissa): Likewise.
64039         (ldbl_canonicalize): Likewise.
64040         (ldbl_nearbyint): Likewise.
64041         (ldbl_pack): Rename to ldbl_pack_ppc.
64042         (ldbl_unpack): Rename to ldbl_unpack_ppc.
64043         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
64044         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
64046 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
64048         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
64049         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
64050         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
64051         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
64052         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
64053         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
64054         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
64055         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
64057 2013-03-07  Andreas Jaeger  <aj@suse.de>
64059         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64060         bits/mman-linux.h.
64062 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
64064         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
64065         Include mpa.h and declare __MPEXP.
64066         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
64067         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
64068         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
64069         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
64070         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
64071         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
64072         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
64074         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
64075         (__slowpow): Use long double EXPL and LOGL functions to
64076         compute POW.
64077         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
64078         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
64079         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
64080         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
64081         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
64082         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
64084         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
64085         intermediate variable to calculate exponent.
64086         (__sqr): Likewise.
64087         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
64088         Likewise.
64089         (__sqr): Likewise.
64091         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
64092         [!NO__SQR]: Define __sqr.
64093         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
64094         and NO__SQR.  Remove all code except __mul and __sqr.  Include
64095         sysdeps/ieee754/dbl-64/mpa.c.
64096         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64098         [BZ #12723]
64099         * posix/Makefile (tests): Add tst-pathconf.
64100         * posix/tst-pathconf.c: New test case.
64101         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
64102         _PC_PIPE_BUF.
64103         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
64105 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
64107         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
64109 2013-03-06  Andreas Jaeger  <aj@suse.de>
64111         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
64112         definition via __MAP_ANONYMOUS.
64114         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
64115         it's not part of Linux headers.
64117         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
64118         (MAP_HUGE_MASK): Define.
64120         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64121         Define.
64122         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64123         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64124         Define.
64125         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64126         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64127         Define.
64128         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64129         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
64130         Define.
64131         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64133         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
64134         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
64135         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
64136         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
64137         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
64138         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
64140         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64141         Handle f2fs.
64143         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64144         Handle f2fs and efivarfs.
64146         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
64147         f2fs.
64149         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
64150         (EFIVARFS_MAGIC): Add.
64151         (F2FS_LINK_MAX): Add.
64153 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64155         * stdio-common/vfprintf.c: Replace __builtin_expect with
64156         __glibc_unlikely.
64158 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
64160         [BZ #13550]
64161         * sysdeps/generic/bp-sym.h: Remove file.
64162         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
64163         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
64164         <bp-sym.h> and <bp-asm.h>.
64165         (__longjmp): Don't use BP_SYM.
64166         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
64167         and <bp-asm.h>.
64168         (memcpy): Don't use BP_SYM.
64169         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
64170         <bp-sym.h> and <bp-asm.h>.
64171         (memcpy): Don't use BP_SYM.
64172         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
64173         <bp-asm.h>.
64174         (memcpy): Don't use BP_SYM.
64175         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
64176         <bp-asm.h>.
64177         (memset): Don't use BP_SYM.
64178         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64179         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64180         (__bzero): Don't use BP_SYM.
64181         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64182         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64183         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
64184         <bp-sym.h> and <bp-asm.h>.
64185         (memcmp): Don't use BP_SYM.  Remove comment about bounded
64186         pointers.
64187         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
64188         <bp-sym.h> and <bp-asm.h>.
64189         (memcpy): Don't use BP_SYM.
64190         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
64191         <bp-sym.h> and <bp-asm.h>.
64192         (memset): Don't use BP_SYM.
64193         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64194         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64195         (__bzero): Don't use BP_SYM.
64196         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64197         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64198         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
64199         <bp-sym.h> and <bp-asm.h>.
64200         (strncmp): Don't use BP_SYM.  Remove comment about bounded
64201         pointers.
64202         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
64203         <bp-sym.h> and <bp-asm.h>.
64204         (memcpy): Don't use BP_SYM.
64205         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
64206         <bp-sym.h> and <bp-asm.h>.
64207         (memset): Don't use BP_SYM.
64208         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64209         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64210         (__bzero): Don't use BP_SYM.
64211         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64212         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64213         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
64214         <bp-sym.h> and <bp-asm.h>.
64215         (__memchr): Don't use BP_SYM.
64216         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
64217         <bp-sym.h> and <bp-asm.h>.
64218         (memcmp): Don't use BP_SYM.  Remove comment about bounded
64219         pointers.
64220         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
64221         <bp-sym.h> and <bp-asm.h>.
64222         (memcpy): Don't use BP_SYM.
64223         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
64224         <bp-sym.h> and <bp-asm.h>.
64225         (__mempcpy): Don't use BP_SYM.
64226         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
64227         <bp-sym.h> and <bp-asm.h>.
64228         (__memrchr): Don't use BP_SYM.
64229         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
64230         <bp-sym.h> and <bp-asm.h>.
64231         (memset): Don't use BP_SYM.
64232         (__bzero): Likewise.
64233         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
64234         <bp-sym.h> and <bp-asm.h>.
64235         (__rawmemchr): Don't use BP_SYM.
64236         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
64237         <bp-sym.h> and <bp-asm.h>.
64238         (__STRCMP): Don't use BP_SYM.
64239         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
64240         <bp-sym.h> and <bp-asm.h>.
64241         (strchr): Don't use BP_SYM.
64242         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
64243         <bp-sym.h> and <bp-asm.h>.
64244         (__strchrnul): Don't use BP_SYM.
64245         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
64246         <bp-sym.h> and <bp-asm.h>.
64247         (strlen): Don't use BP_SYM.
64248         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
64249         <bp-sym.h> and <bp-asm.h>.
64250         (strncmp): Don't use BP_SYM.  Remove comment about bounded
64251         pointers.
64252         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
64253         <bp-sym.h> and <bp-asm.h>.
64254         (__strnlen): Don't use BP_SYM.
64255         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
64256         <bp-sym.h> and <bp-asm.h>.
64257         (__GI__setjmp): Don't use BP_SYM.
64258         (_setjmp): Likewise.
64259         (__sigsetjmp): Likewise.
64260         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
64261         (L(start_addresses)): Don't use BP_SYM.
64262         (_start): Likewise.
64263         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
64264         <bp-asm.h>.
64265         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
64266         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
64267         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64268         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64269         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
64270         <bp-asm.h>.
64271         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
64272         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
64273         about bounded pointers.
64274         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64275         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64276         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
64277         <bp-asm.h>.
64278         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
64279         about bounded pointers.  Remove GKM FIXME comments.
64280         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64281         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
64282         <bp-asm.h>.
64283         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
64284         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
64285         Remove GKM FIXME comments.
64286         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64287         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64288         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
64289         <bp-asm.h>.
64290         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
64291         about bounded pointers.  Remove GKM FIXME comment.
64292         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
64293         and <bp-asm.h>.
64294         (strncmp): Don't use BP_SYM.  Remove comment about bounded
64295         pointers.
64296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
64297         <bp-sym.h> and <bp-asm.h>.
64298         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
64299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
64300         <bp-sym.h> and <bp-asm.h>.
64301         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
64302         comment.
64304 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64306         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
64307         call free(NULL).
64309 2013-03-05  David S. Miller  <davem@davemloft.net>
64311         * po/es.po: Update from translation team.
64313 2013-03-05  Andreas Jaeger  <aj@suse.de>
64315         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
64316         <bits/mman-linux.h>.
64317         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
64318         is fine.
64319         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
64320         <bits/mman-linux.h> to end of file.
64321         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
64322         is fine.
64323         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
64324         <bits/mman-linux.h> to end of file.
64325         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
64326         is fine.
64327         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
64328         <bits/mman-linux.h> to end of file.
64330         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
64331         (MCL_CURRENT, MCL_FUTURE): Define here.
64333 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64335         [BZ #15232]
64336         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
64337         attribute_hidden.
64338         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
64340 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64342         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
64343         fourth parameter needed for rt_sigprocmask syscall.
64344         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
64345         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
64346         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
64347         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
64348         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
64349         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
64351 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
64353         [BZ #13550]
64354         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
64355         comment about bounded pointers.
64356         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
64357         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
64359 2013-03-04  Andreas Jaeger  <aj@suse.de>
64361         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
64362         common definitions.
64364         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
64365         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
64366         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
64367         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64368         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
64369         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64371 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64373         [BZ #15055]
64374         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
64375         __ieee754_sqrl instead of __sqrl.
64377 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
64379         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
64380         * sysdeps/powerpc/fpu_control.h: ... here.
64381         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
64382         * sysdeps/powerpc/bits/fenvinline.h: ... here.
64383         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
64384         * sysdeps/powerpc/bits/mathinline.h: ... here.
64386 2013-03-01  Roland McGrath  <roland@hack.frob.com>
64388         * elf/dl-hwcaps.c (_dl_important_hwcaps):
64389         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
64390         to just [NEED_DL_SYSINFO_DSO].
64391         * elf/dl-support.c: Likewise.
64392         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
64393         * elf/rtld.c (dl_main): Likewise.
64394         * elf/setup-vdso.h (setup_vdso): Likewise.
64395         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
64396         * sysdeps/unix/sysv/linux/dl-sysdep.c
64397         (_dl_discover_osversion): Likewise.
64399 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
64401         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
64402         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
64404 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
64406         * NEWS: Mention libm performance improvements and non-x86 PI
64407         futex support.
64409         * csu/libc-start.c (__pthread_initialize_minimal): Change
64410         function arguments.
64411         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
64413 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
64415         [BZ #13550]
64416         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
64417         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
64418         <bp-sym.h> and <bp-asm.h>.
64419         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64420         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
64421         and <bp-asm.h>.
64422         (memcpy): Don't use BP_SYM.
64423         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
64424         <bp-asm.h>.
64425         (__mpn_add_n): Don't use BP_SYM.
64426         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
64427         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
64428         and <bp-asm.h>.
64429         (__mpn_addmul_1): Don't use BP_SYM.
64430         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64431         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
64432         <bp-sym.h>.
64433         (_setjmp): Don't use BP_SYM.
64434         (__novmx_setjmp): Likewise.
64435         (__GI__setjmp): Likewise.
64436         (__vmx_setjmp): Likewise.
64437         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
64438         <bp-sym.h>.
64439         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
64440         (__bzero): Don't use BP_SYM.
64441         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64442         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64443         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
64444         <bp-sym.h> and <bp-asm.h>.
64445         (memcpy): Don't use BP_SYM.
64446         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
64447         <bp-sym.h> and <bp-asm.h>.
64448         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64449         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
64450         <bp-sym.h> and <bp-asm.h>.
64451         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64452         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
64453         <bp-asm.h>.
64454         (__mpn_lshift): Don't use BP_SYM.
64455         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64456         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
64457         <bp-asm.h>.
64458         (memset): Don't use BP_SYM.
64459         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64460         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64461         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
64462         <bp-asm.h>.
64463         (__mpn_mul_1): Don't use BP_SYM.
64464         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64465         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
64466         <bp-sym.h> and <bp-asm.h>.
64467         (memcmp): Don't use BP_SYM.
64468         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
64469         <bp-sym.h> and <bp-asm.h>.
64470         (memcpy): Don't use BP_SYM.
64471         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
64472         <bp-sym.h> and <bp-asm.h>.
64473         (memset): Don't use BP_SYM.
64474         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
64475         <bp-sym.h> and <bp-asm.h>.
64476         (strncmp): Don't use BP_SYM.
64477         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
64478         <bp-sym.h> and <bp-asm.h>.
64479         (memcpy): Don't use BP_SYM.
64480         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
64481         <bp-sym.h> and <bp-asm.h>.
64482         (memset): Don't use BP_SYM.
64483         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
64484         <bp-sym.h> and <bp-asm.h>.
64485         (__memchr): Don't use BP_SYM.
64486         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
64487         <bp-sym.h> and <bp-asm.h>.
64488         (memcmp): Don't use BP_SYM.
64489         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
64490         <bp-sym.h> and <bp-asm.h>.
64491         (memcpy): Don't use BP_SYM.
64492         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
64493         <bp-sym.h> and <bp-asm.h>.
64494         (__mempcpy): Don't use BP_SYM.
64495         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
64496         <bp-sym.h> and <bp-asm.h>.
64497         (__memrchr): Don't use BP_SYM.
64498         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
64499         <bp-sym.h> and <bp-asm.h>.
64500         (memset): Don't use BP_SYM.
64501         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
64502         <bp-sym.h> and <bp-asm.h>.
64503         (__rawmemchr): Don't use BP_SYM.
64504         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
64505         <bp-sym.h> and <bp-asm.h>.
64506         (__STRCMP): Don't use BP_SYM.
64507         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
64508         <bp-sym.h> and <bp-asm.h>.
64509         (strchr): Don't use BP_SYM.
64510         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
64511         <bp-sym.h> and <bp-asm.h>.
64512         (__strchrnul): Don't use BP_SYM.
64513         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
64514         <bp-sym.h> and <bp-asm.h>.
64515         (strlen): Don't use BP_SYM.
64516         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
64517         <bp-sym.h> and <bp-asm.h>.
64518         (strncmp): Don't use BP_SYM.
64519         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
64520         <bp-sym.h> and <bp-asm.h>.
64521         (__strnlen): Don't use BP_SYM.
64522         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
64523         <bp-asm.h>.
64524         (__mpn_rshift): Don't use BP_SYM.
64525         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64526         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
64527         <bp-sym.h> and <bp-asm.h>.
64528         (__sigsetjmp): Don't use BP_SYM.
64529         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
64530         (L(start_addresses)): Don't use BP_SYM.
64531         (_start): Likewise.
64532         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
64533         <bp-asm.h>.
64534         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
64535         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64536         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64537         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
64538         <bp-asm.h>.
64539         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
64540         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64541         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64542         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
64543         <bp-asm.h>.
64544         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64545         comments.
64546         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64547         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
64548         <bp-asm.h>.
64549         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
64550         FIXME comments.
64551         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64552         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64553         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
64554         <bp-asm.h>.
64555         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64556         comment.
64557         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
64558         and <bp-asm.h>.
64559         (strncmp): Don't use BP_SYM,
64560         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
64561         <bp-asm.h>.
64562         (__mpn_sub_n): Don't use BP_SYM.
64563         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64564         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
64565         and <bp-asm.h>.
64566         (__mpn_submul_1): Don't use BP_SYM.
64567         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
64569         <bp-sym.h> and <bp-asm.h>.
64570         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
64571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
64572         <bp-sym.h> and <bp-asm.h>.
64573         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
64574         comment.
64576 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64578         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
64579         Use ZK to minimize writes to Z.
64580         (sub_magnitudes): Simplify code a bit.
64581         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
64582         Use ZK to minimize writes to Z.
64583         (sub_magnitudes): Simplify code a bit.
64585 2013-02-27  Roland McGrath  <roland@hack.frob.com>
64587         * csu/gmon-start.c: Add special exception to license text.
64589 2013-02-27  Richard Henderson  <rth@redhat.com>
64591         * scripts/config.guess: Update from config.git.
64592         * scripts/config.sub: Likewise.
64594 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64596         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
64598         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
64600         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
64602         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
64604         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
64606 2013-02-26  Roland McGrath  <roland@hack.frob.com>
64608         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
64609         [$(build-shared = yes].
64611 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64613         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
64614         (__mul): Reduce iterations for calculating mantissa.
64616         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
64617         MPTWO.
64618         (__mpranred): Likewise.
64620         [BZ #15160]
64621         * malloc/memusagestat.c (main): Draw graphs for heap and stack
64622         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
64624 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
64626         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
64627         Define __attribute__.
64629 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64631         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
64632         unused.
64633         * posix/regex_internal.h (__attribute): Remove.
64634         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
64635         (re_string_context_at): Likewise.
64636         (bitset_not): Use __attribute__ and mark function as possibly
64637         unused.
64638         (bitset_merge): Likewise.
64639         (bitset_mask): Likewise.
64640         (re_string_char_size_at): Likewise.
64641         (re_string_wchar_at): Likewise.
64642         (re_string_elem_size_at): Likewise.
64644 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64646         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
64647         code.
64648         (cc32): Likewise.
64650         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
64651         (__acr): Likewise.
64652         (__cpy): Likewise.
64653         (norm): Likewise.
64654         (denorm): Likewise.
64655         (__dbl_mp): Likewise.
64656         (add_magnitudes): Likewise.
64657         (sub_magnitudes): Likewise.
64658         (__mul): Likewise.
64659         (__inv): Likewise.
64661         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
64662         style.
64664         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
64665         style.
64667         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
64668         code.
64670         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
64671         up changes with default code.
64672         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
64673         Likewise.
64675 2013-02-24  Allan McRae  <allan@archlinux.org>
64677         * manual/socket.texi (The Internet Namespace): Order menu items
64678         to match that in the file.
64680         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
64681         node listing of the info page menu.
64683 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
64685         [BZ #13550]
64686         * sysdeps/i386/bp-asm.h: Remove file.
64687         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64688         (PARMS): Do not use macros from bp-asm.h.
64689         (S1): Likewise.
64690         (S2): Likewise.
64691         (SIZE): Likewise.
64692         (__mpn_add_n): Do not use BP_SYM
64693         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
64694         "bp-asm.h".
64695         (PARMS): Do not use macros from bp-asm.h.
64696         (S1): Likewise.
64697         (SIZE): Likewise.
64698         (__mpn_addmul_1): Do not use BP_SYM
64699         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
64700         "bp-asm.h".
64701         (PARMS): Do not use macros from bp-asm.h.
64702         (SIGMSK): Likewise.
64703         (_setjmp): Likewise.  Do not use BP_SYM.
64704         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
64705         "bp-asm.h".
64706         (PARMS): Do not use macros from bp-asm.h.
64707         (SIGMSK): Likewise.
64708         (setjmp): Likewise.  Do not use BP_SYM.
64709         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
64710         "bp-asm.h".
64711         (PARMS): Do not use macros from bp-asm.h.
64712         (__frexp): Do not use BP_SYM.
64713         (frexp): Likewise.
64714         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
64715         "bp-asm.h".
64716         (PARMS): Do not use macros from bp-asm.h.
64717         (__frexpf): Do not use BP_SYM.
64718         (frexpf): Likewise.
64719         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
64720         "bp-asm.h".
64721         (PARMS): Do not use macros from bp-asm.h.
64722         (__frexpl): Do not use BP_SYM.
64723         (frexpl): Likewise.
64724         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
64725         "bp-asm.h".
64726         (PARMS): Do not use macros from bp-asm.h.
64727         (__remquo): Do not use BP_SYM.
64728         (remquo): Likewise.
64729         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
64730         "bp-asm.h".
64731         (PARMS): Do not use macros from bp-asm.h.
64732         (__remquof): Do not use BP_SYM.
64733         (remquof): Likewise.
64734         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
64735         "bp-asm.h".
64736         (PARMS): Do not use macros from bp-asm.h.
64737         (__remquol): Do not use BP_SYM.
64738         (remquol): Likewise.
64739         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
64740         "bp-asm.h".
64741         (PARMS): Do not use macros from bp-asm.h.
64742         (DEST): Likewise.
64743         (SRC): Likewise.
64744         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
64745         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
64746         "bp-asm.h".
64747         (PARMS): Do not use macros from bp-asm.h.
64748         (strlen): Do not use BP_SYM.
64749         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
64750         "bp-asm.h".
64751         (PARMS): Do not use macros from bp-asm.h.
64752         (S1): Likewise.
64753         (S2): Likewise.
64754         (SIZE): Likewise.
64755         (__mpn_add_n): Do not use BP_SYM.
64756         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
64757         "bp-asm.h".
64758         (PARMS): Do not use macros from bp-asm.h.
64759         (S1): Likewise.
64760         (SIZE): Likewise.
64761         (__mpn_addmul_1): Do not use BP_SYM.
64762         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
64763         weak_alias.
64764         (bzero): Likewise.
64765         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
64766         "bp-asm.h".
64767         (PARMS): Do not use macros from bp-asm.h.
64768         (S): Likewise.
64769         (SIZE): Likewise.
64770         (__mpn_lshift): Do not use BP_SYM.
64771         * sysdeps/i386/i586/memcpy.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         (LEN): Likewise.
64777         (memcpy): Likewise.  Do not use BP_SYM.
64778         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
64779         libc_hidden_def and weak_alias.
64780         (mempcpy): Do not use BP_SYM in weak_alias.
64781         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
64782         "bp-asm.h".
64783         (PARMS): Do not use macros from bp-asm.h.
64784         (DEST): Likewise.
64785         (LEN): Likewise.
64786         [!BZERO_P] (CHR): Likewise.
64787         (memset): Likewise.  Do not use BP_SYM.
64788         * sysdeps/i386/i586/mul_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_mul_1): Do not use BP_SYM.
64794         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
64795         "bp-asm.h".
64796         (PARMS): Do not use macros from bp-asm.h.
64797         (S): Likewise.
64798         (SIZE): Likewise.
64799         (__mpn_rshift): Do not use BP_SYM.
64800         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
64801         "bp-asm.h".
64802         (PARMS): Do not use macros from bp-asm.h.
64803         (STR): Likewise.
64804         (CHR): Likewise.
64805         (strchr): Likewise.  Do not use BP_SYM.
64806         (index): Do not use BP_SYM in weak_alias.
64807         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
64808         "bp-asm.h".
64809         (PARMS): Do not use macros from bp-asm.h.
64810         (DEST): Likewise.
64811         (SRC): Likewise.
64812         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
64813         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
64814         "bp-asm.h".
64815         (PARMS): Do not use macros from bp-asm.h.
64816         (strlen): Do not use BP_SYM.
64817         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
64818         "bp-asm.h".
64819         (PARMS): Do not use macros from bp-asm.h.
64820         (S1): Likewise.
64821         (S2): Likewise.
64822         (SIZE): Likewise.
64823         (__mpn_sub_n): Do not use BP_SYM.
64824         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
64825         "bp-asm.h".
64826         (PARMS): Do not use macros from bp-asm.h.
64827         (S1): Likewise.
64828         (SIZE): Likewise.
64829         (__mpn_submul_1): Do not use BP_SYM.
64830         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
64831         "bp-asm.h".
64832         (PARMS): Do not use macros from bp-asm.h.
64833         (S1): Likewise.
64834         (S2): Likewise.
64835         (SIZE): Likewise.
64836         (__mpn_add_n): Do not use BP_SYM.
64837         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
64838         weak_alias.
64839         (bzero): Likewise.
64840         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
64841         "bp-asm.h".
64842         (PARMS): Do not use macros from bp-asm.h.
64843         (BLK2): Likewise.
64844         (LEN): Likewise.
64845         (memcmp): Do not use BP_SYM.
64846         (bcmp): Do not use BP_SYM in weak_alias.
64847         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
64848         "bp-asm.h".
64849         (PARMS): Do not use macros from bp-asm.h.
64850         (DEST): Likewise.
64851         (SRC): Likewise.
64852         (LEN): Likewise.
64853         (memcpy): Likewise.  Do not use BP_SYM.
64854         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
64855         "bp-asm.h".
64856         (PARMS): Do not use macros from bp-asm.h.
64857         (DEST): Likewise.
64858         (SRC): Likewise.
64859         (LEN): Likewise.
64860         (memmove): Likewise.  Do not use BP_SYM.
64861         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
64862         "bp-asm.h".
64863         (PARMS): Do not use macros from bp-asm.h.
64864         (DEST): Likewise.
64865         (SRC): Likewise.
64866         (LEN): Likewise.
64867         (__mempcpy): Likewise.  Do not use BP_SYM.
64868         (mempcpy): Do not use BP_SYM in weak_alias.
64869         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
64870         "bp-asm.h".
64871         (PARMS): Do not use macros from bp-asm.h.
64872         (DEST): Likewise.
64873         (LEN): Likewise.
64874         [!BZERO_P] (CHR): Likewise.
64875         (memset): Likewise.  Do not use BP_SYM.
64876         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
64877         "bp-asm.h".
64878         (PARMS): Do not use macros from bp-asm.h.
64879         (STR2): Likewise.
64880         (strcmp): Do not use BP_SYM.
64881         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
64882         "bp-asm.h".
64883         (PARMS): Do not use macros from bp-asm.h.
64884         (STR): Likewise.
64885         (DELIM): Likewise.
64886         [USE_AS_STRTOK_R] (SAVE): Likewise.
64887         (FUNCTION): Likewise.  Do not use BP_SYM.
64888         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
64889         aliases.
64890         (strtok_r): Likewise.
64891         (__GI___strtok_r): Likewise.
64892         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
64893         (PARMS): Do not use macros from bp-asm.h.
64894         (S): Likewise.
64895         (SIZE): Likewise.
64896         (__mpn_lshift): Do not use BP_SYM.
64897         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
64898         (PARMS): Do not use macros from bp-asm.h.
64899         (STR): Likewise.
64900         (CHR): Likewise.
64901         (__memchr): Do not use BP_SYM.
64902         (memchr): Do not use BP_SYM in weak_alias.
64903         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
64904         (PARMS): Do not use macros from bp-asm.h.
64905         (BLK2): Likewise.
64906         (LEN): Likewise.
64907         (memcmp): Do not use BP_SYM.
64908         (bcmp): Do not use BP_SYM in weak_alias.
64909         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
64910         (PARMS): Do not use macros from bp-asm.h.
64911         (S1): Likewise.
64912         (SIZE): Likewise.
64913         (__mpn_mul_1): Do not use BP_SYM.
64914         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
64915         "bp-asm.h".
64916         (PARMS): Do not use macros from bp-asm.h.
64917         (STR): Likewise.
64918         (CHR): Likewise.
64919         (__rawmemchr): Do not use BP_SYM.
64920         (rawmemchr): Do not use BP_SYM in weak_alias.
64921         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
64922         (PARMS): Do not use macros from bp-asm.h.
64923         (S): Likewise.
64924         (SIZE): Likewise.
64925         (__mpn_rshift): Do not use BP_SYM.
64926         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
64927         (PARMS): Do not use macros from bp-asm.h.
64928         (SIGMSK): Likewise.
64929         (__sigsetjmp): Likewise.  Do not use BP_SYM.
64930         * sysdeps/i386/start.S: Do not include "bp-sym.h".
64931         (_start): Do not use BP_SYM.
64932         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
64933         (PARMS): Do not use macros from bp-asm.h.
64934         (DEST): Likewise.
64935         (SRC): Likewise.
64936         (__stpcpy): Likewise.  Do not use BP_SYM.
64937         (stpcpy): Do not use BP_SYM in weak_alias.
64938         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
64939         "bp-asm.h".
64940         (PARMS): Do not use macros from bp-asm.h.
64941         (DEST): Likewise.
64942         (SRC): Likewise.
64943         (LEN): Likewise.
64944         (__stpncpy): Likewise.  Do not use BP_SYM.
64945         (stpncpy): Do not use BP_SYM in weak_alias.
64946         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
64947         (PARMS): Do not use macros from bp-asm.h.
64948         (STR): Likewise.
64949         (CHR): Likewise.
64950         (strchr): Likewise.  Do not use BP_SYM.
64951         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
64952         "bp-asm.h".
64953         (PARMS): Do not use macros from bp-asm.h.
64954         (STR): Likewise.
64955         (CHR): Likewise.
64956         (__strchrnul): Likewise.  Do not use BP_SYM.
64957         (strchrnul): Do not use BP_SYM in weak_alias.
64958         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
64959         "bp-asm.h".
64960         (PARMS): Do not use macros from bp-asm.h.
64961         (STOP): Likewise.
64962         (strcspn): Do not use BP_SYM.
64963         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
64964         "bp-asm.h".
64965         (PARMS): Do not use macros from bp-asm.h.
64966         (STR): Likewise.
64967         (STOP): Likewise.
64968         (strpbrk): Likewise.  Do not use BP_SYM.
64969         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
64970         "bp-asm.h".
64971         (PARMS): Do not use macros from bp-asm.h.
64972         (STR): Likewise.
64973         (CHR): Likewise.
64974         (strrchr): Likewise.  Do not use BP_SYM.
64975         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
64976         (PARMS): Do not use macros from bp-asm.h.
64977         (SKIP): Likewise.
64978         (strspn): Do not use BP_SYM.
64979         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
64980         (PARMS): Do not use macros from bp-asm.h.
64981         (STR): Likewise.
64982         (DELIM): Likewise.
64983         (SAVE): Likewise.
64984         (FUNCTION): Likewise.  Do not use BP_SYM.
64985         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
64986         aliases.
64987         (strtok_r): Likewise.
64988         (__GI___strtok_r): Likewise.
64989         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64990         (PARMS): Do not use macros from bp-asm.h.
64991         (S1): Likewise.
64992         (S2): Likewise.
64993         (SIZE): Likewise.
64994         (__mpn_sub_n): Do not use BP_SYM.
64995         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
64996         "bp-asm.h".
64997         (PARMS): Do not use macros from bp-asm.h.
64998         (S1): Likewise.
64999         (SIZE): Likewise.
65000         (__mpn_submul_1): Do not use BP_SYM.
65001         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
65002         <bp-sym.h>.
65003         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
65004         and <bp-asm.h>.
65005         (PARMS): Do not use macros from bp-asm.h.
65006         (FLAGS): Likewise.
65007         (PTID): Likewise.
65008         (TLS): Likewise.
65009         (CTID): Likewise.
65010         (__clone): Do not use BP_SYM.
65011         (clone): Do not use BP_SYM in weak_alias.
65012         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
65013         and <bp-asm.h>.
65014         (PARMS): Do not use macros from bp-asm.h.
65015         (LEN): Likewise.
65016         (__mmap64): Do not use BP_SYM.
65017         (mmap64): Do not use BP_SYM in weak_alias.
65018         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
65019         <bp-sym.h> and <bp-asm.h>.
65020         (PARMS): Do not use macros from bp-asm.h.
65021         (__posix_fadvise64_l64): Do not use BP_SYM.
65022         * sysdeps/unix/sysv/linux/i386/semtimedop.S
65023         (PARMS): Do not use macros from bp-asm.h.
65024         (NSOPS): Likewise.
65025         (semtimedop): Do not use BP_SYM.
65026         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
65027         and <bp-asm.h>.
65029 2013-02-21  Allan McRae  <allan@archlinux.org>
65031         * manual/message.texi (Charset conversion in gettext):
65032         Move @end statement to beginning of line.
65034 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65036         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
65037         static.
65038         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
65039         Likewise.
65041         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
65042         (denorm): Likewise.
65043         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
65044         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
65046 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65048         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
65049         tail-call to the resolved function if pltexit isn't needed.
65051 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65053         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
65054         or Y being zero as being unlikely.
65055         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
65056         Likewise.
65058 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
65060         * manual/nss.texi (System Databases and Name Service Switch):
65061         Remove frobnicate @pxref.
65063 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
65065         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
65066         __attribute__ ((unused)) to __attribute__ ((__unused__)).
65068 2013-02-20  Petr Machata  <pmachata@redhat.com>
65070         * elf/elf.h (R_ARM_TARGET1): New macro.
65071         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
65072         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
65073         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
65074         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
65075         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
65076         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
65077         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
65078         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
65079         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
65080         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
65081         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
65082         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
65083         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
65084         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
65085         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
65086         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
65087         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
65088         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
65089         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
65090         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
65091         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
65092         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
65093         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
65094         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
65095         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
65096         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
65097         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
65098         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
65099         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
65100         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
65101         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
65102         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
65103         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
65104         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
65105         (R_ARM_THM_GOT_BREL12): Likewise.
65106         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
65107         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
65108         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
65109         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
65110         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
65111         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
65112         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
65113         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
65114         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
65116 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
65118         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
65119         __attribute_used__ to __attribute__ ((unused)).
65121 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
65123         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
65124         powerpc mpa.c.
65125         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
65126         comment formatting.
65127         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
65129 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
65131         [BZ #13550]
65132         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
65133         Remove macro.
65134         (ENTER): Remove both macro definitions.
65135         (LEAVE): Likewise.
65136         (CHECK_BOUNDS_LOW): Likewise.
65137         (CHECK_BOUNDS_HIGH): Likewise.
65138         (CHECK_BOUNDS_BOTH): Likewise.
65139         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
65140         (RETURN_BOUNDED_POINTER): Likewise.
65141         (RETURN_NULL_BOUNDED_POINTER): Likewise.
65142         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
65143         (POP_ERRNO_LOCATION_RETURN): Likewise.
65144         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
65145         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65146         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
65147         macros.
65148         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65149         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
65150         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
65151         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
65152         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
65153         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
65154         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
65155         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
65156         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
65157         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
65158         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
65159         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
65160         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65161         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
65162         removed macros.
65163         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65164         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
65165         macros.
65166         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65167         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
65168         * sysdeps/i386/i586/memset.S (memset): Likewise.
65169         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
65170         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65171         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
65172         macros.
65173         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65174         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
65175         Change uses of L(2) to L(out).
65176         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
65177         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
65178         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
65179         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65180         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
65181         removed macros.
65182         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65183         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
65184         macros.
65185         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65186         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
65187         (RETURN): Do not use macro LEAVE.
65188         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
65189         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
65190         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
65191         * sysdeps/i386/i686/memset.S (memset): Likewise.
65192         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
65193         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
65194         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
65195         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
65196         Likewise.
65197         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65198         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
65199         L(1_2) and L(1_3) into L(1).
65200         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
65201         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
65202         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65203         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
65204         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
65205         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
65206         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
65207         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65208         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
65209         macros.
65210         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
65211         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65212         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
65213         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
65214         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
65215         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65216         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
65217         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
65218         * sysdeps/i386/strcspn.S (strcspn): Likewise.
65219         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
65220         * sysdeps/i386/strrchr.S (strrchr): Likewise.
65221         * sysdeps/i386/strspn.S (strspn): Likewise.
65222         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
65223         conditional code.
65224         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65225         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
65226         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
65227         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
65228         L(1_3) into L(1_1).
65229         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
65230         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65231         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
65232         macros.
65233         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65235 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
65237         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
65238         macro.
65240 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65242         * math/atest-exp.c (exp_mpn): Remove ROUND.
65243         * math/atest-exp2.c (exp_mpn): Likewise.
65244         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
65246         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
65247         * stdlib/tst-tls-atexit-lib.c: Likewise.
65248         * stdlib/tst-tls-atexit.c: Likewise.
65250 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
65252         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
65253         and __attribute_alloc_size__.
65255 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
65257         * include/programs/xmalloc.h: Change __attribute_alloc_size to
65258         __attribute_alloc_size__.
65259         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
65260         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
65262 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
65264         * include/programs/xmalloc.h: New file.
65265         * catgets/gencat.c: Include it.
65266         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
65267         * elf/pldd.c: Likewise.
65268         * iconv/iconv_charmap.c: Likewise.
65269         * iconv/iconvconfig.c: Likewise.
65270         * iconv/strtab.c: Likewise.
65271         * locale/programs/locale.c: Likewise.
65272         * locale/programs/localedef.h: Likewise.
65273         * locale/programs/simple-hash.c: Likewise.
65274         * nscd/nscd.h: Likewise.
65275         * nss/makedb.c: Likewise.
65276         * sysdeps/generic/ldconfig.h: Likewise.
65278 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65280         * Versions.def: Add GLIBC_2.18.
65281         * include/link.h (struct link_map): New member l_tls_dtor_count.
65282         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
65283         (__call_tls_dtors): Likewise.
65284         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
65285         __cxa_thread_atexit_impl.
65286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65287         Likewise.
65288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65289         Likewise.
65290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
65291         Likewise.
65292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
65293         Likewise.
65294         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65295         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
65296         Likewise.
65297         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
65298         Likewise.
65299         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65300         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65301         Likewise.
65302         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
65303         (tests): Add test case tst-tls-atexit.
65304         (modules-names): Add shared library for tst-tls-atexit.
65305         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
65306         (GLIBC_PRIVATE): Add __call_tls_dtors.
65307         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
65308         for libstdc++.
65309         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
65310         * stdlib/tst-tls-atexit.c: New test case.
65311         * stdlib/tst-tls-atexit-lib.c: New test case.
65313         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
65315         * elf/Versions (ld): Add _dl_find_dso_for_object.
65316         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
65317         * elf/dl-open.c (_dl_find_dso_for_object): New function.
65318         (dl_open_worker): Use _dl_find_dso_for_object.
65319         * elf/dl-sym.c (do_sym): Likewise.
65320         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
65322 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65324         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
65325         Syntactic changes only.
65326         (_dl_runtime_profile): Do a tail-call to the resolved function.
65328 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
65330         [BZ #13550]
65331         * sysdeps/x86_64/bp-asm.h: Remove file.
65332         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
65333         <bp-sym.h> and <bp-asm.h>.
65334         (__clone): Do not use BP_SYM.
65335         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
65336         <bp-sym.h> and <bp-asm.h>.
65337         * sysdeps/unix/x86_64/sysdep.S: Likewise.
65338         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
65339         "bp-asm.h".
65340         (_setjmp): Do not use BP_SYM.
65341         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
65342         "bp-asm.h".
65343         (setjmp): Do not use BP_SYM.
65344         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
65345         libc_hidden_def.
65346         (mempcpy): Do not use BP_SYM in weak_alias.
65347         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
65348         "bp-asm.h".
65349         (strchr): Do not use BP_SYM.
65350         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
65351         "bp-asm.h".
65352         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
65353         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
65354         (_start): Do not use BP_SYM.
65355         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
65356         "bp-asm.h".
65357         (strcat): Do not use BP_SYM.
65358         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
65359         "bp-asm.h".
65360         (STRCMP): Do not use BP_SYM.
65361         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
65362         "bp-asm.h".
65363         (STRCPY): Do not use BP_SYM.
65364         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
65365         "bp-asm.h".
65366         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
65367         "bp-asm.h".
65368         (FUNCTION): Do not use BP_SYM.
65369         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
65370         weak_alias.
65371         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
65373 2013-02-17  Andreas Jaeger  <aj@suse.de>
65375         * time/Versions: Sort entries.
65376         * string/Versions: Likewise.
65377         * resolv/Versions: Likewise.
65378         * posix/Versions: Likewise.
65379         * iconv/Versions: Likewise.
65380         * elf/Versions: Likewise.
65381         * wcsmbs/Versions: Likewise.
65383 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65385         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
65386         loop termination condition.
65388         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
65389         variable to calculate EZ.
65390         (__sqr): Likewise.
65392         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
65393         the lower precision input.
65395 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
65397         [BZ #13550]
65398         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
65399         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
65400         (run-via-rtld-prefix): Do not handle %-bp tests.
65401         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
65402         (all-object-suffixes): Remove .ob.
65403         (bppfx): Remove variable.
65404         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
65405         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
65406         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
65407         [$(build-bounded) = yes] (libtype.ob): Likewise.
65408         * Makerules (elide-routines.ob): Remove variable.
65409         (do-tests-clean): Do not handle *-bp.out.
65410         (common-mostlyclean): Do not handle *-bp and *-bp.out.
65411         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
65412         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
65413         (tests): Do not include $(tests-bp.out).
65414         (xtests): Do not include $(xtests-bp.out).
65415         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
65416         [$(build-bounded) = yes] ($(addprefix
65417         $(objpfx),$(binaries-bounded))): Remove rule.
65418         ($(objpfx)%-bp.out): Remove rule.
65419         * config.make.in (build-bounded): Remove variable.
65420         * crypt/Makefile [$(build-bounded) = yes]
65421         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
65422         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
65423         append to variable.
65424         [$(build-bounded) = yes] (install-lib): Likewise.
65425         [$(build-bounded) = yes] (generated): Likewise.
65426         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
65427         Remove rule.
65428         * intl/Makefile [$(build-bounded) = yes]
65429         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
65430         * math/Makefile [$(build-bounded) = yes]
65431         ($(tests:%=$(objpfx)%-bp): Likewise.
65432         * misc/Makefile [$(build-bounded) = yes]
65433         ($(objpfx)tst-tsearch-bp): Likewise.
65434         * nptl/Makeconfig (bounded-thread-library): Remove variable.
65435         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
65436         Remove dependency.
65437         * string/Makefile (o-objects.ob): Remove variable.
65438         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
65439         (CFLAGS-.ob): Remove variable.
65440         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
65441         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
65442         both definitions of variable.
65443         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
65444         (ASFLAGS-.ob): Remove variable.
65446 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
65448         [BZ #13550]
65449         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
65450         Remove __BOUNDED_POINTERS__ from condition.
65451         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
65452         * string/bits/string2.h [!__NO_STRING_INLINES &&
65453         !__BOUNDED_POINTERS__]: Likewise.
65454         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
65455         Likewise.
65456         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
65457         Remove conditional code.
65458         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
65459         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
65460         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
65461         condition.
65463         [BZ #13550]
65464         * csu/libc-start.c: Do not include <bp-sym.h>.
65465         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
65466         * elf/dl-open.c: Do not include <bp-sym.h>.
65467         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
65468         * math/fegetenv.c: Do not include <bp-sym.h>.
65469         (fegetenv): Do not use BP_SYM in versioned symbols.
65470         * nptl/sysdeps/pthread/bits/libc-lockP.h
65471         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
65472         <bp-sym.h>.
65473         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65474         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
65475         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65476         (__pthread_mutex_destroy): Likewise.
65477         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65478         (__pthread_mutex_lock): Likewise.
65479         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65480         (__pthread_mutex_trylock): Likewise.
65481         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65482         (__pthread_mutex_unlock): Likewise.
65483         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65484         (__pthread_mutexattr_init): Likewise.
65485         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65486         (__pthread_mutexattr_destroy): Likewise.
65487         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65488         (__pthread_mutexattr_settype): Likewise.
65489         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65490         (__pthread_rwlock_init): Likewise.
65491         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65492         (__pthread_rwlock_destroy): Likewise.
65493         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65494         (__pthread_rwlock_rdlock): Likewise.
65495         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65496         (__pthread_rwlock_tryrdlock): Likewise.
65497         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65498         (__pthread_rwlock_wrlock): Likewise.
65499         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65500         (__pthread_rwlock_trywrlock): Likewise.
65501         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65502         (__pthread_rwlock_unlock): Likewise.
65503         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65504         (__pthread_key_create): Likewise.
65505         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65506         (__pthread_setspecific): Likewise.
65507         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65508         (__pthread_getspecific): Likewise.
65509         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
65510         Likewise.
65511         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65512         (_pthread_cleanup_push_defer): Likewise.
65513         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65514         (_pthread_cleanup_pop_restore): Likewise.
65515         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65516         (pthread_setcancelstate): Likewise.
65517         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
65518         <bp-sym.h>.
65519         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
65520         (memchr): Do not use BP_SYM in weak_alias.
65521         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
65522         (fegetenv): Do not use BP_SYM in versioned symbols.
65523         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
65524         (fesetenv): Do not use BP_SYM in versioned symbols.
65525         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65526         (feupdateenv): Do not use BP_SYM in versioned symbols.
65527         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65528         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65529         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
65530         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
65531         (open64): Do not use BP_SYM in weak_alias.
65532         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
65533         (fegetenv): Do not use BP_SYM in versioned symbols.
65534         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
65535         (fesetenv): Do not use BP_SYM in versioned symbols.
65536         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65537         (feupdateenv): Do not use BP_SYM in versioned symbols.
65538         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
65539         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
65540         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
65541         (feraiseexcept): Do not use BP_SYM in versioned symbols.
65542         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65543         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65544         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
65545         <bp-sym.h>.
65546         (__libc_start_main): Do not use BP_SYM.
65548 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65550         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
65551         redundant return line.
65552         (norm): Likewise.
65553         (denorm): Likewise.
65554         (dbl_mp): Likewise.
65555         (sub_magnitudes): Likewise.
65556         (__add): Likewise.
65557         (__sub): Likewise.
65558         (__mul): Likewise.
65559         (__inv): Likewise.
65560         (__dvd): Likewise.
65561         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
65562         (norm): Likewise.
65563         (denorm): Likewise.
65564         (dbl_mp): Likewise.
65565         (sub_magnitudes): Likewise.
65566         (__add): Likewise.
65567         (__sub): Likewise.
65568         (__mul): Likewise.
65569         (__inv): Likewise.
65570         (__dvd): Likewise.
65572         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
65573         instead of __mul.
65574         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65575         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
65576         (cc32): Likewise.
65578         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
65579         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
65580         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
65581         of __mul for squares.
65582         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
65583         function
65584         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
65585         Likewise.
65586         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
65587         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65589 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
65591         [BZ #13550]
65592         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
65593         code.
65594         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
65595         prototype or function definition.  Rename ubp_* variables and
65596         parameters.  Remove argv definitions conditional on
65597         [__BOUNDED_POINTERS__].
65598         * debug/backtrace.c (__backtrace): Do not use __unbounded.
65599         * elf/dl-runtime.c (_dl_fixup): Likewise.
65600         * include/set-hooks.h (RUN_HOOK): Likewise.
65601         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
65602         definition.
65603         * string/strcpy.c (strcpy): Do not use __unbounded.
65604         * sysdeps/generic/frame.h (struct layout): Likewise.
65605         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
65606         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
65607         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
65608         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
65609         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
65610         (__backtrace): Likewise.
65611         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
65612         use __ptrvalue.
65613         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
65614         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
65615         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
65616         Likewise.
65617         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
65618         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
65619         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
65620         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65621         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
65622         Do not use __unbounded.
65623         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
65624         Rename __unboundedrlimits parameter to rlimits in prototype.
65625         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
65626         Do not use __unbounded.
65627         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
65628         not use __ptrvalue.
65629         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65630         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
65631         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65632         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
65633         __ptrvalue or __unbounded.
65634         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
65635         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
65636         use __unbounded.
65637         (__new_msgctl): Do not use __ptrvalue.
65638         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
65639         __unbounded.
65640         (__libc_msgrcv): Do not use __ptrvalue.
65641         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
65642         startup_info): Do not use __unbounded.
65643         (__libc_start_main): Likewise.  Rename ubp_* variables and
65644         parameters.  Remove argv definitions conditional on
65645         [__BOUNDED_POINTERS__].
65646         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
65647         __ptrvalue.
65648         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
65649         use __unbounded.
65650         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
65651         or __ptrvalue.
65652         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
65653         use __unbounded.
65654         (__new_shmctl): Do not use __ptrvalue.
65655         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
65656         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
65657         Likewise.
65658         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
65659         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
65660         (__libc_sigaction): Likewise.
65661         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
65662         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
65663         Likewise.
65664         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65666 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
65668         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
65670         * string/mempcpy.c: Implement by calling memcpy.
65672 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65674         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
65676         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
65677         evaluation.
65679         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
65680         values in the mantissa.
65682         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
65683         minimize writes to Z.
65684         (sub_magnitudes): Simplify code a bit.
65686 2013-02-12  Roland McGrath  <roland@hack.frob.com>
65688         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
65689         from the message.  The linker prefixes all warnings with that already.
65691 2013-02-12  Andreas Schwab  <schwab@suse.de>
65693         [BZ #15078]
65694         * posix/regexec.c (extend_buffers): Add parameter min_len.
65695         (check_matching): Pass minimum needed length.
65696         (clean_state_log_if_needed): Likewise.
65697         (get_subexp): Likewise.
65698         * posix/Makefile (tests): Add bug-regex34.
65699         (bug-regex34-ENV): Define.
65700         * posix/bug-regex34.c: New file.
65702         [BZ #11561]
65703         * posix/regcomp.c (parse_bracket_exp): When looking up collating
65704         elements compare against the byte sequence of it, not its name.
65705         * posix/Makefile (tests): Add bug-regex35.
65706         (bug-regex35-ENV): Define.
65707         * posix/bug-regex35.c: New file.
65709 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65711         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
65712         comment.
65713         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
65714         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
65715         (CHECK_EOL): Add undef.
65717 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
65719         * bits/stdlib-bsearch.h: New file.
65720         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
65721         * stdlib/stdlib.h: Likewise.
65723 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65725         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
65726         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
65727         declaration.
65728         * manual/search.texi (Array Search Function): Add missing const in
65729         lfind prototype.
65730         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
65731         declaration to use rlim_t.
65732         (Basic Scheduling Functions): Remove erroneous const from
65733         sched_getparam prototype.  Remove erroneous * from
65734         sched_get_priority_max and sched_get_priority_min prototypes.
65735         (Resource Usage): Fix summary @comment on vtimes to refer to
65736         sys/vtimes.h rather than vtimes.h.
65737         Add missing *s in vtimes prototype.
65738         (Limits on Resources): Fix ulimit prototype to return long int.
65739         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
65740         prototypes to use long int rather than double.
65741         (BSD Random): Fix initstate and setstate to use char *, not void *.
65742         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
65743         prototype to make second argument 'struct aiocb64 *const[]'.
65744         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
65745         (Status of AIO Operations): Remove erroneous const in aio_return and
65746         aio_return64 prototypes.
65747         (Synchronizing I/O): Fix sync prototype to return void.
65748         * manual/startup.texi (Suboptions): Remove an erroneous const in
65749         getsubopt prototype.
65750         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
65751         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
65752         use size_t rather than int.
65753         (Scanning All Users): Likewise for getpwent_r.
65754         (Setting Groups): Add missing const to setgroups prototype.
65755         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
65756         * manual/socket.texi (Host Names): Fix gethostbyaddr and
65757         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
65758         'const void *' rather than 'const char *'.
65759         (Host Address Functions): Likewise for inet_ntop.
65760         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
65761         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
65762         ssize_t for return value.
65763         (Sending Data): Likewise for send, sendto, sendmsg.
65764         (Socket Option Functions): Add a missing const in setsockopt prototype.
65765         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
65766         use wchar_t for the argument.
65767         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
65768         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
65769         take no arguments.
65770         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
65771         double/float/long double for second argument.
65772         Fix return types of significand, significandf, significandl.
65773         * manual/filesys.texi (Setting Permissions): Use mode_t for second
65774         argument in fchmod prototype.
65775         (File Owner): Use uid_t and gid_t in fchown prototype.
65776         (File Times): Add const to utimes, futimes, and lutimes prototypes.
65777         (Making Special Files): Use mode_t and dev_t in mknod prototype.
65778         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
65779         use 'const struct dirent **' as argument types to CMP function pointer
65780         argument.
65781         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
65782         (File Times): Fix summary magic @comment for struct utimbuf and utime
65783         to refer to utime.h, not time.h.
65784         * manual/string.texi (Argz Functions): Add missing const in
65785         argz_extract and argz_next prototypes.
65786         (Finding Tokens in a String): Likewise for basename.
65787         (String/Array Comparison): Fix typo in wcscasecmp prototype.
65788         (Copying and Concatenation): Fix typo in wmemmove prototype.
65789         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
65790         (Signal Stack): Remove erroneous const in sigstack prototype.
65791         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
65792         prototype.
65793         (Simple Calendar Time): Likewise for stime.
65794         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
65795         prototype.
65796         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
65797         say sys/sysctl.h instead.
65798         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
65799         and vsyslog prototypes.
65801 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65803         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
65804         Remove.
65806 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65808         * misc/sys/mman.h: Fix typo in mremap comment.
65810 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65812         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
65813         the '\0' terminator.
65815 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
65817         [BZ #13550]
65818         * debug/segfault.c: Don't include <bp-checks.h>.
65819         * sysdeps/generic/bp-checks.h: Remove file.
65820         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
65821         (__GETDENTS): Don't use CHECK_N.
65822         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
65823         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
65824         (__getgroups): Don't use CHECK_N.
65825         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
65826         (setgroups): Don't use CHECK_N.
65827         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
65828         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
65829         (__libc_msgrcv): Don't use CHECK_N.
65830         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
65831         (__libc_msgsnd): Don't use CHECK_N.
65832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
65833         <bp-checks.h>.
65834         (__libc_pread): Don't use CHECK_N.
65835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
65836         include <bp-checks.h>.
65837         (__libc_pread64): Don't use CHECK_N.
65838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
65839         include <bp-checks.h>.
65840         (__libc_pwrite): Don't use CHECK_N.
65841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
65842         include <bp-checks.h>.
65843         (__libc_pwrite64): Don't use CHECK_N.
65844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
65845         <bp-checks.h>.
65846         (__libc_pread): Don't use CHECK_N.
65847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
65848         include <bp-checks.h>.
65849         (__libc_pread64): Don't use CHECK_N.
65850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
65851         include <bp-checks.h>.
65852         (__libc_pwrite): Don't use CHECK_N.
65853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
65854         include <bp-checks.h>.
65855         (__libc_pwrite64): Don't use CHECK_N.
65856         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
65857         (do_pread): Don't use CHECK_N.
65858         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
65859         (do_pread64): Don't use CHECK_N.
65860         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
65861         (do_pwrite): Don't use CHECK_N.
65862         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
65863         (do_pwrite64): Don't use CHECK_N.
65864         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
65865         (__libc_readv): Don't use CHECK_N.
65866         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
65867         (semop): Don't use CHECK_N.
65868         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
65869         <bp-checks.h>.
65870         (semtimedop): Don't use CHECK_N.
65871         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
65872         (__libc_pread): Don't use CHECK_N.
65873         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
65874         <bp-checks.h>.
65875         (__libc_pread64): Don't use CHECK_N.
65876         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
65877         <bp-checks.h>.
65878         (__libc_pwrite): Don't use CHECK_N.
65879         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
65880         <bp-checks.h>.
65881         (__libc_pwrite64): Don't use CHECK_N.
65882         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
65883         <bp-checks.h>.
65884         (__libc_msgrcv): Don't use CHECK_N.
65885         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
65886         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
65887         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
65888         (__libc_writev): Don't use CHECK_N.
65890 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65892         * string/strcpy.c: Removed unused variable.
65894         * Makeconfig (+sysdep-includes): Define with := rather than =.
65895         Use an existing include/ subdir of each sysdeps dir before it.
65897 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65899         * nscd/connection.c (register_traced_file): Comment function.
65900         [HAVE_INOTIFY] (union __inev): Define.
65901         [HAVE_INOTIFY] (inotify_check_files): New function.
65902         [HAVE_INOTIFY] (clear_db_cache): Likewise.
65903         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
65904         clear_db_cache.
65905         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
65907 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65909         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
65910         loaded if not already and that a failure is permanent.
65912 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65914         [BZ #15006]
65915         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
65916         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
65918 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
65920         [BZ #13550]
65921         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
65922         (CHECK_1_NULL_OK): Likewise.
65923         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
65924         (__fxstat): Do not use CHECK_1.
65925         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
65926         <bp-checks.h>.
65927         (___fxstat64): Do not use CHECK_1.
65928         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
65929         <bp-checks.h>.
65930         (__fxstatat): Do not use CHECK_1.
65931         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
65932         <bp-checks.h>.
65933         (__fxstatat64): Do not use CHECK_1.
65934         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
65935         <bp-checks.h>.
65936         (__fxstat): Do not use CHECK_1.
65937         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
65938         <bp-checks.h>.
65939         (__fxstatat): Do not use CHECK_1.
65940         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65941         <bp-checks.h>.
65942         (__getresgid): Do not use CHECK_1.
65943         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65944         <bp-checks.h>.
65945         (__getresuid): Do not use CHECK_1.
65946         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
65947         <bp-checks.h>.
65948         (__lxstat): Do not use CHECK_1.
65949         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65950         <bp-checks.h>.
65951         (__old_msgctl): Do not use CHECK_1.
65952         (__new_msgctl): Likewise.
65953         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
65954         <bp-checks.h>.
65955         (__new_setrlimit): Do not use CHECK_1.
65956         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65957         <bp-checks.h>.
65958         (__old_shmctl): Do not use CHECK_1.
65959         (__new_shmctl): Likewise.
65960         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
65961         <bp-checks.h>.
65962         (__xstat): Do not use CHECK_1.
65963         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
65964         (__lxstat): Do not use CHECK_1.
65965         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
65966         <bp-checks.h>.
65967         (___lxstat64): Do not use CHECK_1.
65968         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
65969         (__old_msgctl): Do not use CHECK_1.
65970         (__new_msgctl): Likewise.
65971         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
65972         <bp-checks.h>.
65973         (__gettimeofday): Do not use CHECK_1.
65974         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
65975         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
65976         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
65977         <bp-checks.h>.
65978         (__gettimeofday): Do not use CHECK_1.
65979         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
65980         (__old_shmctl): Do not use CHECK_1_NULL_OK.
65981         (__new_shmctl): Do not use CHECK_1.
65982         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
65983         <bp-checks.h>.
65984         (do_sigtimedwait): Do not use CHECK_1.
65985         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
65986         <bp-checks.h>.
65987         (do_sigwaitinfo): Do not use CHECK_1.
65988         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
65989         <bp-checks.h>.
65990         (msgctl): Do not use CHECK_1.
65991         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
65992         <bp-checks.h>.
65993         (shmctl): Do not use CHECK_1.
65994         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
65995         (ustat): Do not use CHECK_1.
65996         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
65997         <bp-checks.h>.
65998         (__fxstat): Do not use CHECK_1.
65999         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
66000         <bp-checks.h>.
66001         (__fxstatat): Do not use CHECK_1.
66002         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
66003         <bp-checks.h>.
66004         (__lxstat): Do not use CHECK_1.
66005         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
66006         <bp-checks.h>.
66007         (__xstat): Do not use CHECK_1.
66008         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
66009         (__xstat): Do not use CHECK_1.
66010         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
66011         (___xstat64): Do not use CHECK_1.
66013         [BZ #13550]
66014         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
66015         definitions.
66016         (CHECK_BOUNDS_HIGH): Likewise.
66017         * string/strcpy.c: Do not include <bp-checks.h>.
66018         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
66020 2013-02-07  Roland McGrath  <roland@hack.frob.com>
66022         * nscd/nscd-client.h (__nscd_drop_map_ref):
66023         Add __attribute__ ((unused)).
66024         * nis/nss-nisplus.h (niserr2nss): Likewise.
66026         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
66027         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
66029         * csu/libc-tls.c (init_static_tls, init_slotinfo):
66030         Remove inline keyword.
66031         * include/rounding-mode.h (round_away): Likewise.
66032         * libio/wfileops.c (adjust_wide_data): Likewise.
66033         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
66034         (__m128i_strloadu_tolower): Likewise.
66035         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
66036         (__m128i_strloadu_tolower): Likewise.
66037         * time/mktime.c (ydhms_diff): Likewise.
66038         * locale/elem-hash.h (elem_hash): Likewise.
66039         * locale/setlocale.c (setdata): Likewise.
66040         * posix/regex_internal.h (re_string_char_size_at): Likewise.
66041         (re_string_wchar_at): Likewise.
66042         (bitset_not, bitset_merge, bitset_mask): Likewise.
66043         [!(__GNUC__ > 3)] (inline): Remove macro.
66044         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
66045         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
66046         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
66047         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
66048         * string/memcmp.c (memcmp_bytes): Likewise.
66049         * locale/programs/locarchive.c (compute_hashval): Likewise.
66050         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
66051         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
66052         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
66053         * nss/getent.c (print_rpc, print_protocols): Likewise.
66054         (print_passwd, print_group, print_aliases): Likewise.
66055         * nis/nss-nisplus.h (niserr2nss): Likewise.
66056         * nscd/connections.c (restart_p): Likewise.
66057         Change return type to bool.
66059 2013-02-05  Roland McGrath  <roland@hack.frob.com>
66061         * Makeconfig (all-Depend-files): Add existing
66062         $(sorted-subdirs:=/Depend) files.
66063         (all-subdirs): Remove nss.
66064         * sysdeps/unix/inet/Subdirs: Add it here instead.
66065         * hesiod/Depend: New file.
66067         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
66068         instead of calling alloca.
66070         * io/lseek.c (__lseek): Rename to __libc_lseek.
66071         Define __lseek as an alias.
66073         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
66075 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
66077         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
66078         else clause and remove check for non-standard endianness.
66080 2013-02-04  David S. Miller  <davem@davemloft.net>
66082         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66084 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
66086         [BZ #13550]
66087         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
66088         (__ubp_memchr): Remove prototype.
66089         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
66090         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
66091         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
66092         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
66093         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
66094         Remove alias.
66095         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
66096         (__ubp_memchr): Likewise.
66097         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
66098         (__ubp_memchr): Likewise.
66099         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
66100         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
66101         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
66102         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
66103         CHECK_STRING.
66104         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
66105         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
66106         (__getcwd): Do not use CHECK_STRING.
66107         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
66108         <bp-checks.h>.
66109         (__real_chown): Do not use CHECK_STRING.
66110         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
66111         <bp-checks.h>.
66112         (fchownat): Do not use CHECK_STRING.
66113         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
66114         CHECK_STRING.
66115         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
66116         <bp-checks.h>.
66117         (__lchown): Do not use CHECK_STRING.
66118         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
66119         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
66120         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
66121         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
66122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
66123         include <bp-checks.h>.
66124         (truncate64): Do not use CHECK_STRING.
66125         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
66126         <bp-checks.h>.
66127         (__real_chown): Do not use CHECK_STRING.
66128         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
66129         <bp-checks.h>.
66130         (__lchown): Do not use CHECK_STRING.
66131         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
66132         <bp-checks.h>.
66133         (__chown): Do not use CHECK_STRING.
66134         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
66135         <bp-checks.h>.
66136         (truncate64): Do not use CHECK_STRING.
66137         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
66138         Likewise.
66139         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
66140         (__xmknod): Do not use CHECK_STRING.
66141         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
66142         <bp-checks.h>.
66143         (__xmknodat): Do not use CHECK_STRING.
66144         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
66145         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
66147 2013-02-04  Andreas Schwab  <schwab@suse.de>
66149         [BZ #14142]
66150         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
66151         * include/netdb.h: Likewise for h_errno.
66152         * elf/tst-stackguard1.c: Include <tls.h>.
66154 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
66156         * elf/link.h (struct link_map): Extend the l_addr comment.
66157         * include/link.h (struct link_map): Likewise.
66159 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
66161         [BZ #13550]
66162         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
66163         (BOUNDED_1): Remove macro.
66164         * debug/backtrace.c: Don't include <bp-checks.h>.
66165         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
66166         (__backtrace): Likewise.
66167         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
66168         <bp-checks.h>.
66169         (__backtrace): Don't use BOUNDED_1.
66170         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
66171         <bp-checks.h>.
66172         (__backtrace): Don't use BOUNDED_1.
66173         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
66174         (__backtrace): Don't use BOUNDED_1.
66175         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
66176         (shmat): Don't use BOUNDED_N.
66178 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
66180         [BZ #13550]
66181         * sysdeps/generic/bp-start.h: Remove file.
66182         * csu/libc-start.c: Don't include <bp-start.h>.
66183         (LIBC_START_MAIN): Set up __environ directly instead of using
66184         INIT_ARGV_and_ENVIRON.
66185         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
66186         <bp-start.h>.
66188         [BZ #13550]
66189         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
66190         definitions.
66191         (CHECK_FCNTL): Likewise.
66192         (CHECK_N_PAGES): Likewise.
66194         [BZ #13550]
66195         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
66196         definitions.
66197         (CHECK_SIGSET_NULL_OK): Likewise.
66198         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
66199         <bp-checks.h>.
66200         (sigpending): Don't use CHECK_SIGSET.
66201         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
66202         <bp-checks.h>.
66203         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
66204         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
66205         <bp-checks.h>.
66206         (do_sigsuspend): Don't use CHECK_SIGSET.
66207         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
66208         use CHECK_SIGSET.
66209         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
66210         (do_sigwait): Don't use CHECK_SIGSET.
66211         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
66212         use CHECK_SIGSET.
66213         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
66214         include <bp-checks.h>.
66215         (sigpending): Don't use CHECK_SIGSET.
66216         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
66217         include <bp-checks.h>.
66218         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
66219         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
66220         <bp-checks.h>.
66221         (sigpending): Don't use CHECK_SIGSET.
66222         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
66223         <bp-checks.h>.
66224         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
66226         [BZ #13550]
66227         * sysdeps/generic/bp-semctl.h: Remove file.
66228         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
66229         <bp-checks.h> and <bp-semctl.h>.
66230         (__old_semctl): Don't use CHECK_SEMCTL.
66231         (__new_semctl): Likewise.
66232         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
66233         and <bp-semctl.h>.
66234         (__old_semctl): Don't use CHECK_SEMCTL.
66235         (__new_semctl): Likewise.
66236         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
66237         <bp-checks.h> and <bp-semctl.h>.
66238         (__old_semctl): Don't use CHECK_SEMCTL.
66239         (__new_semctl): Likewise.
66240         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
66241         <bp-checks.h> and <bp-semctl.h>.
66242         (semctl): Don't use CHECK_SEMCTL.
66244         [BZ #13550]
66245         * Makerules (elide-bp-thunks): Remove variable.
66246         (elide-routines.oS): Don't use $(elide-bp-thunks).
66247         (elide-routines.os): Likewise.
66248         (elide-routines.o): Likewise.
66249         (elide-routines.op): Likewise.
66250         (elide-routines.og): Likewise.
66251         (objects): Don't use $(bp-thunks).
66252         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
66253         include.
66254         (common-generated): Do not add s-proto-bp.d.
66255         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
66256         (int): Likewise.
66257         (typ): Likewise.
66258         Do not generate makefile rules for bounded-pointer thunks.
66259         * sysdeps/generic/bp-thunks.h: Remove file.
66260         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
66261         * sysdeps/unix/s-proto-bp.S: Likewise.
66263         [BZ #15062]
66264         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
66265         parts of result separately when argument is not close to line from
66266         -i to i and one part of argument is small.
66267         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66268         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66269         * math/libm-test.inc (cacos_test): Add more tests.
66270         (casin_test): Likewise.
66271         (casinh_test): Likewise.
66272         * sysdeps/i386/fpu/libm-test-ulps: Update.
66273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66275 2013-01-31  David S. Miller  <davem@davemloft.net>
66277         * po/de.po: Update from translation team.
66279 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
66281         * time/tzfile.c: Include stdint.h for SIZE_MAX.
66283 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
66285         * configure.in (_AC_PROG_CC_C89): New definition.
66286         * configure: Regenerate.
66288         * configure.in (AC_PROG_CPP): New definition.
66289         * configure: Regenerate.
66291 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
66293         * debug/tst-backtrace.h: New file.
66294         * debug/tst-backtrace2.c: Include tst-backtrace.h.
66295         (ret): Remove variable.
66296         (x): Likewise.
66297         (FAIL): Remove macro.
66298         (NO_INLINE): Likewise.
66299         (fn1): Use match function instead of strstr.
66300         * debug/tst-backtrace3.c: Include tst-backtrace.h.
66301         (ret): Remove variable.
66302         (x): Likewise.
66303         (FAIL): Remove macro.
66304         (NO_INLINE): Likewise.
66305         (fn): Use match function instead of strstr.
66306         * debug/tst-backtrace4.c: Include tst-backtrace.h.
66307         (ret): Remove variable.
66308         (x): Likewise.
66309         (FAIL): Remove macro.
66310         (NO_INLINE): Likewise.
66311         (handle_signal): Use match function instead of strstr.
66312         * debug/tst-backtrace5.c: Include tst-backtrace.h.
66313         (ret): Remove variable.
66314         (x): Likewise.
66315         (FAIL): Remove macro.
66316         (NO_INLINE): Likewise.
66317         (handle_signal): Use match function instead of strstr.
66319 2013-01-23  Roland McGrath  <roland@hack.frob.com>
66321         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
66323 2013-01-23  David S. Miller  <davem@davemloft.net>
66325         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
66326         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
66327         argument of CAS if possible.
66328         * sysdeps/sparc/sparc64/bits/atomic.h
66329         (__arch_compare_and_exchange_val_32_acq): Likewise.
66330         (__arch_compare_and_exchange_val_64_acq): Likewise.
66332 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
66334         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
66335         * sysdeps/posix/ulimit.c: ... this.
66336         Include <limits.h>.
66337         * sysdeps/unix/bsd/ulimit.c: Remove file.
66339 2013-01-23  Adam Conrad  <adconrad@0c3.net>
66341         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
66342         (LDFLAGS-tst-array5): Likewise.
66344 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
66346         [BZ #15036]
66347         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
66348         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
66349         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
66350         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
66352 2013-01-21  David S. Miller  <davem@davemloft.net>
66354         * sysdeps/sparc/backtrace.c: New file.
66355         * sysdeps/sparc/sparc32/backtrace.h: New file.
66356         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
66357         * sysdeps/sparc/sparc64/backtrace.h: New file.
66358         * sysdeps/sparc/sparc64/backtrace.c: Delete.
66359         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
66360         -funwind-tables.
66362 2013-01-21  Andreas Schwab  <schwab@suse.de>
66364         [BZ #15020]
66365         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
66366         closed its stdout.
66368 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
66370         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
66371         "mpa2.h".
66372         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66374 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
66375             Mark Mitchell  <mark@codesourcery.com>
66376             Tom de Vries  <tom@codesourcery.com>
66377             Paul Pluzhnikov  <ppluzhnikov@google.com>
66379         * debug/tst-backtrace2.c: New file.
66380         * debug/tst-backtrace3.c: Likewise.
66381         * debug/tst-backtrace4.c: Likewise.
66382         * debug/tst-backtrace5.c: Likewise.
66383         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
66384         (CFLAGS-tst-backtrace3.c): Likewise.
66385         (CFLAGS-tst-backtrace4.c): Likewise.
66386         (CFLAGS-tst-backtrace5.c): Likewise.
66387         (LDFLAGS-tst-backtrace2): Likewise.
66388         (LDFLAGS-tst-backtrace3): Likewise.
66389         (LDFLAGS-tst-backtrace4): Likewise.
66390         (LDFLAGS-tst-backtrace5): Likewise.
66391         (tests): Add new tests tst-backtrace2, tst-backtrace3,
66392         tst-backtrace4 and tst-backtrace5.
66394 2013-01-18  Anton Blanchard  <anton@samba.org>
66395             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66397         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
66398         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
66399         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
66400         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
66401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
66402         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
66403         "+r" and remove output regs list as redundant.  Add explicit inline
66404         asm to specify register of return val to work around compiler codegen
66405         bug.  Remove (int) cast on return value.  Add return type parameter to
66406         use in macro so that this macro does not truncate return value for
66407         64-bit values.
66408         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
66409         pass to INTERNAL_VSYSCALL_NCS.
66410         (INLINE_VSYSCALL): Add 'long int' as return type to
66411         INTERNAL_VSYSCALL_NCS macro invocation.
66412         (INTERNAL_VSYSCALL): Add 'long int' as return type to
66413         INTERNAL_VSYSCALL_NCS macro invocation.
66414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66416 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
66418         [BZ #14496]
66419         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
66420         Fix application of SIMD FP exception mask.
66422         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
66423         mp_no from a power of two.
66424         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
66425         __mpexp_twomm1.  Use __pow_mp.
66427         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
66428         multiplication.
66430 2013-01-17  David S. Miller  <davem@davemloft.net>
66432         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66434 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
66436         [BZ #15023]
66437         * include/complex.h: Condition contents on [!_COMPLEX_H].
66438         (__kernel_casinhf): New prototype.
66439         (__kernel_casinh): Likewise.
66440         (__kernel_casinhl): Likewise.
66441         * math/Makefile (libm_calls): Add k_casinh.
66442         * math/k_casinh.c: New file.
66443         * math/k_casinhf.c: Likewise.
66444         * math/k_casinhl.c: Likewise.
66445         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
66446         finite nonzero arguments.
66447         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
66448         finite nonzero arguments.
66449         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
66450         finite nonzero arguments.
66451         * math/s_casinh.c: Do not include <float.h>.
66452         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
66453         * math/s_casinhf.c: Do not include <float.h>.
66454         (__casinhf): Move code for finite nonzero arguments to
66455         k_casinhf.c.
66456         * math/s_casinhl.c: Do not include <float.h>.
66457         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
66458         redefine.
66459         (__casinhl): Move code for finite nonzero arguments to
66460         k_casinhl.c.
66461         * math/libm-test.inc (cacos_test): Add more tests.
66462         * sysdeps/i386/fpu/libm-test-ulps: Update.
66463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66465 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
66467         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
66468         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
66469         [!HAVE_MREMAP]: Remove [defined linux] case.
66470         * malloc/arena.c: Do not include <malloc-sysdep.h>.
66472 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66474         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
66476 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
66478         * elf/elf.h (R_386_SIZE32): New relocation.
66479         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
66480         R_386_SIZE32.
66481         (elf_machine_rela): Likewise.
66482         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66483         R_X86_64_SIZE64 and R_X86_64_SIZE32.
66485 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
66487         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
66488         (FP_FAST_FMA): Do not define.
66489         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
66490         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
66491         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
66492         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
66493         !_SOFT_FLOAT]: Likewise.
66494         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
66495         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
66496         value.
66497         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
66498         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
66499         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
66500         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
66501         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
66502         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
66503         file.
66505 2013-01-16  Andreas Schwab  <schwab@suse.de>
66507         [BZ #14327]
66508         * include/stdlib.h (__mktemp): Add declaration.
66509         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
66510         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
66512 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66514         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
66515         definitions.
66516         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
66517         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
66518         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
66519         definitions here.
66520         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
66521         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
66522         definitions.
66523         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
66524         and ONE.
66525         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
66526         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
66527         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
66528         definitions.
66529         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
66530         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
66531         definitions.
66532         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
66534         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
66536 2013-01-15  David S. Miller  <davem@davemloft.net>
66538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66539         trunc{,f} to libm-sysdep_routes.
66540         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
66542         file.
66543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
66544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
66545         file.
66546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
66547         file.
66548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
66549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
66550         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
66551         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
66552         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
66553         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
66554         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
66555         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
66557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66558         nearbyint{,f} to libm-sysdep_routes.
66559         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
66561         New file.
66562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
66563         file.
66564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
66565         New file.
66566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
66567         file.
66568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
66569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
66570         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
66571         file.
66572         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
66573         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
66574         file.
66575         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
66576         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
66577         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
66579         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66580         libc_feholdexcept and libc_fesetenv.
66582 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
66584         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
66586 2013-01-14  David S. Miller  <davem@davemloft.net>
66588         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
66589         (SPARC_ASM_VIS2_IFUNC): Likewise.
66590         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
66591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
66592         use of 'siam' instruction.
66593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
66594         Likewise.
66595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
66596         Likewise.
66597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
66598         Likewise.
66599         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
66600         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
66601         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
66602         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
66603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
66604         file.
66605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
66606         file.
66607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
66608         file.
66609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
66610         file.
66611         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
66612         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
66613         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
66614         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
66615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
66616         new VIS2 routines.
66617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66620         Likewise.
66621         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66622         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66623         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66624         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
66626         routines to libm-sysdep_routines.
66627         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66630         fdim/fdimf to libm-sysdep_routines.
66631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
66632         file.
66633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
66634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
66635         file.
66636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
66637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
66638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
66639         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
66640         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
66641         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
66642         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
66644 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66646         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
66647         to optimize copies.
66649         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
66650         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66651         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66653         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
66654         local variable MPTWO.
66655         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
66656         Likewise.
66658 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66660         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
66661         GLOB_NOESCAPE.
66663 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66665         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
66667 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66669         * manual/pattern.texi (glob_t): Document gl_flags.
66670         (glob64_t): Likewise.
66672 2013-01-11  David S. Miller  <davem@davemloft.net>
66674         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
66675         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
66676         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
66677         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
66678         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
66679         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
66680         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
66681         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
66682         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
66683         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
66684         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
66685         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
66686         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
66688         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66689         sparc V9 rather than using V8 code.
66690         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66691         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66693         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66694         Move to...
66695         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
66696         Here.
66698 2013-01-11  Roland McGrath  <roland@hack.frob.com>
66700         [BZ #14941]
66701         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
66702         not in the main loop.
66703         * configure: Regenerated.
66705 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
66707         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
66708         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
66709         to just #else.
66710         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
66711         [!__GLIBC_HAVE_LONG_LONG] case.
66712         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
66713         condition to just #else.
66714         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
66715         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
66716         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
66717         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
66718         unconditional.
66719         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
66720         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66721         #elif condition to just #else.
66722         * sysdeps/unix/sysv/linux/sys/sysmacros.h
66723         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
66724         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66725         #elif condition to just #else.
66727 2013-01-11  Steve Ellcey  <sellcey@mips.com>
66729         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
66730         (EF_MIPS_ARCH_64): Fix value.
66731         (EF_MIPS_ARCH_32R2): New.
66732         (EF_MIPS_ARCH_64R2): New.
66734 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
66736         * Makeconfig (+link-pie-before-libc): New.
66737         (+link-pie-after-libc): Likewise.
66738         (+link-pie-tests): Likewise.
66739         (+link-pie): Rewritten.
66740         (link-before-libc): Remove $(config-LDFLAGS).
66741         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
66742         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
66743         (config-LDFLAGS): Renamed to ...
66744         (rtld-LDFLAGS): This.
66745         (rtld-tests-LDFLAGS): New macro.
66746         (link-libc-rpath-link): Likewise.
66747         (link-libc-tests-rpath-link): Likewise.
66748         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
66749         (link-libc): Prepand $(link-libc-rpath-link).
66750         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
66751         (test-program-prefix): New macro.
66752         (test-via-rtld-prefix): Likewise.
66753         (test-program-cmd): Likewise.
66754         (host-test-program-cmd): Likewise.
66755         * Makefile ($(common-objpfx)testrun.sh): Replace
66756         $(run-program-prefix) with $(test-program-prefix).
66757         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
66758         $(rtld-LDFLAGS).
66759         ($(common-objpfx)shlib.lds): Likewise.
66760         (build-module-helper): Likewise.
66761         ($(common-objpfx)format.lds): Likewise.
66762         * Rules (binaries-pie-tests): New.
66763         (binaries-pie-notests): Likewise.
66764         (binaries-pie): Rewritten.
66765         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
66766         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
66767         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
66768         (make-test-out): Replace $(host-built-program-cmd) with
66769         $(host-test-program-cmd).
66770         * config.make.in (build-hardcoded-path-in-tests): New variable.
66771         * configure.in (--enable-hardcoded-path-in-tests): New configure
66772         option.
66773         (hardcoded_path_in_tests): New AC_SUBST.
66774         * configure: Regenerated.
66775         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
66776         $(built-program-cmd) with $(test-program-cmd).
66777         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
66778         (test_program_cmd): This.
66779         * elf/Makefile ($(objpfx)order.out): Run test with
66780         $(test-program-prefix).
66781         ($(objpfx)order2.out): Likewise.
66782         ($(objpfx)tst-initorder.out): Likewise.
66783         ($(objpfx)tst-initorder2.out): Likewise.
66784         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
66785         $(test-program-cmd).
66786         ($(objpfx)tst-array1-static.out): Likewise.
66787         ($(objpfx)tst-array2.out): Likewise.
66788         ($(objpfx)tst-array3.out): Likewise.
66789         ($(objpfx)tst-array4.out): Likewise.
66790         ($(objpfx)tst-array5.out): Likewise.
66791         ($(objpfx)tst-array5-static.out): Likewise.
66792         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
66793         $(test-program-cmd).
66794         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
66795         $(run-program-prefix) with $(test-program-prefix).
66796         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
66797         (test_program_prefix): This.
66798         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
66799         $(run-program-prefix) with $(test-program-prefix).
66800         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
66801         (test_program_prefix): This.
66802         * iconvdata/tst-tables.sh: Likewise.
66803         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
66804         $(run-program-prefix) with $(test-program-prefix).
66805         ($(objpfx)tst-translit.out): Likewise.
66806         ($(objpfx)tst-gettext2.out): Likewise.
66807         ($(objpfx)tst-gettext4.out): Likewise.
66808         ($(objpfx)tst-gettext6.out): Likewise.
66809         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
66810         (test_program_prefix): This.
66811         * intl/tst-gettext2.sh: Likewise.
66812         * intl/tst-gettext4.sh  Likewise.
66813         * intl/tst-gettext6.sh: Likewise.
66814         * intl/tst-translit.sh: Likewise.
66815         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
66816         with $(test-program-cmd).
66817         * libio/Makefile ($(objpfx)test-freopen.out): Replace
66818         $(run-program-prefix) with $(test-program-prefix).
66819         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
66820         (test_program_prefix): This.
66821         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
66822         $(run-program-prefix) with $(test-program-prefix).
66823         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
66824         (test_program_prefix): This.
66825         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
66826         * posix/Makefile ($(objpfx)globtest.out): Replace
66827         $(run-via-rtld-prefix) and $(test-wrapper) with
66828         $(test-program-prefix) and $(test-via-rtld-prefix).
66829         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
66830         $(test-program-prefix).
66831         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
66832         $(host-test-program-cmd).
66833         (tst-spawn-ARGS): Likewise.
66834         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
66835         $(test-program-prefix).
66836         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
66837         (test_via_rtld_prefix): This.
66838         (test_wrapper): Renamed to ...
66839         (test_program_prefix): This.
66840         (run_program_prefix): Replaced by test_program_prefix.
66841         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
66842         (test_program_prefix): This.
66843         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
66844         with $(host-test-program-cmd).
66845         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
66846         $(run-program-prefix) with $(test-program-prefix).
66847         ($(objpfx)tst-printf.out): Likewise.
66848         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
66849         $(test-program-cmd).
66850         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
66851         (test_program_prefix): This.
66852         * stdio-common/tst-unbputc.sh: Likewise.
66853         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
66854         $(run-program-prefix) with $(test-program-prefix).
66855         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
66856         (test_program_prefix): This.
66857         * string/Makefile ($(objpfx)tst-svc.out):  Replace
66858         $(built-program-cmd) with $(test-program-cmd).
66860 2013-01-11  Andreas Jaeger  <aj@suse.de>
66862         [BZ #15003]
66863         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
66864         value. Sync with Linux 3.7.
66866 2013-01-10  David S. Miller  <davem@davemloft.net>
66868         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
66869         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66870         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66872 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66874         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
66875         never set.
66876         * configure: Regenerated.
66878 2013-01-10  David S. Miller  <davem@davemloft.net>
66880         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66881         sparc V9 rather than using V8 code.
66882         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66883         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66885 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66887         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
66888         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
66889         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
66890         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
66891         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
66892         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
66893         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
66894         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
66895         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
66896         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
66897         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
66898         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
66899         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
66900         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
66901         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
66902         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
66903         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
66904         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
66905         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
66906         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
66907         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
66908         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
66909         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
66910         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
66911         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
66912         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
66913         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
66915 2013-01-10  David S. Miller  <davem@davemloft.net>
66917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66919 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
66921         * posix/Makefile (tests-static): New variable.
66922         (tests): Add $(tests-static).
66923         (tst-exec-static-ARGS): New variable.
66924         (tst-spawn-static-ARGS): Likewise.
66925         * posix/tst-exec-static.c: New file.
66926         * posix/tst-spawn-static.c: Likewise.
66927         * posix/tst-exec.c: Support run directly.
66928         * posix/tst-spawn.c: Likewise.
66930 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
66932         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
66933         long.
66934         * math/bits/mathcalls.h (llrint): Likewise.
66935         (llround): Likewise.
66936         * stdlib/stdlib.h (struct drand48_data): Likewise.
66937         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
66938         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
66939         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
66940         Likewise.
66941         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
66942         Likewise.
66943         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
66944         (elf_greg_t): Likewise.
66945         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
66946         (__jmp_buf): Likewise.
66947         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
66948         definitions.
66949         (llrint): Likewise, for all definitions.
66950         (llrintl): Likewise.
66952         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
66953         Remove [__GNUC__] condition.
66954         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
66955         condition to just [__USE_ISOC99].
66956         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
66958 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
66960         [BZ #14200]
66961         * sysdeps/unix/sysv/linux/x86/bits/environments.h
66962         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
66963         defined.
66964         (_POSIX_V6_ILP32_OFF32): Likewise.
66965         (_XBS5_ILP32_OFF32): Likewise.
66966         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
66967         (__ILP32_OFFBIG_LDFLAGS): Likewise.
66969 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66971         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
66973         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
66974         doubles __mpexp_twomm1.  Adjust usage.
66975         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
66976         Remove.
66978 2013-01-10  Andreas Schwab  <schwab@suse.de>
66980         [BZ #14964]
66981         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
66982         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
66984 2013-01-09  David S. Miller  <davem@davemloft.net>
66986         [BZ #15003]
66987         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
66988         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
66989         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
66990         (TCP_FASTOPEN): Define.
66991         (tcp_repair_opt): New structure.
66992         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
66993         enum values.
66994         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
66995         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
66996         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
66997         (tcp_cookie_transactions): New structure.
66999 2013-01-09  Anton Blanchard  <anton@samba.org>
67001         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
67002         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
67003         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
67004         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
67006 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
67008         * include/features.h (__USE_ANSI): Remove.
67010 2013-01-09  Roland McGrath  <roland@hack.frob.com>
67012         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
67014         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
67016 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
67018         * sysdeps/s390/fpu/libm-test-ulps: Update.
67020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67022         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
67023         (__acr): Likewise.
67024         (__cpy): Likewise.
67025         (norm): Likewise.
67026         (denorm): Likewise.
67027         (__mp_dbl): Likewise.
67028         (__dbl_mp): Likewise.
67029         (add_magnitudes): Likewise.
67030         (sub_magnitudes): Likewise.
67031         (__add): Likewise.
67032         (__sub): Likewise.
67033         (__mul): Likewise.
67034         (__inv): Likewise.
67035         (__dvd): Likewise.
67036         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
67037         (__acr): Likewise.
67038         (__cpy): Likewise.
67039         (norm): Likewise.
67040         (denorm): Likewise.
67041         (__mp_dbl): Likewise.
67042         (__dbl_mp): Likewise.
67043         (add_magnitudes): Likewise.
67044         (sub_magnitudes): Likewise.
67045         (__add): Likewise.
67046         (__sub): Likewise.
67047         (__mul): Likewise.
67048         (__inv): Likewise.
67049         (__dvd): Likewise.
67050         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
67051         (__acr): Likewise.
67052         (__cpy): Likewise.
67053         (norm): Likewise.
67054         (denorm): Likewise.
67055         (__mp_dbl): Likewise.
67056         (__dbl_mp): Likewise.
67057         (add_magnitudes): Likewise.
67058         (sub_magnitudes): Likewise.
67059         (__add): Likewise.
67060         (__sub): Likewise.
67061         (__mul): Likewise.
67062         (__inv): Likewise.
67063         (__dvd): Likewise.
67065 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
67067         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
67068         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
67069         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
67070         2 && __USE_EXTERN_INLINES]: Likewise.
67072 2013-01-08  Andreas Jaeger  <aj@suse.de>
67074         [BZ #14985]
67075         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
67076         Remove.
67077         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
67078         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
67080 2013-01-07  Anton Blanchard  <anton@samba.org>
67082         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
67083         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
67084         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
67085         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
67086         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
67087         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67088         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
67089         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
67090         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
67091         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67092         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
67093         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
67094         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67095         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
67096         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
67097         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
67098         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
67099         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
67100         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
67101         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
67102         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
67103         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
67104         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
67105         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
67106         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
67107         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
67108         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
67109         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
67110         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
67111         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67112         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
67113         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67114         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67115         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
67116         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
67117         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
67118         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
67119         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
67120         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
67121         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
67122         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
67123         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67124         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
67126 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
67128         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
67129         (__MALLOC_PMT): Likewise.
67130         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
67131         [__GNUC__], only on [_LIBC].
67132         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
67133         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
67134         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
67135         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
67136         forward declaration.
67137         (realloc_hook_ini): Likewise.
67138         (memalign_hook_ini): Likewise.
67139         (__libc_memalign): Do not use __MALLOC_PMT in variable
67140         declaration.
67141         (__libc_valloc): Likewise.
67142         (__libc_pvalloc): Likewise.
67143         (__libc_calloc): Likewise.
67144         (__posix_memalign): Likewise.
67146         [BZ #14996]
67147         * math/s_casinh.c: Include <float.h>.
67148         (__casinh): Do not do computation with squaring and square root
67149         for large arguments.
67150         * math/s_casinhf.c: Include <float.h>.
67151         (__casinhf): Do not do computation with squaring and square root
67152         for large arguments.
67153         * math/s_casinhl.c: Include <float.h>.
67154         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
67155         (__casinhl): Do not do computation with squaring and square root
67156         for large arguments.
67157         * math/libm-test.inc (casin_test): Add more tests.
67158         (casinh_test): Likewise.
67159         * sysdeps/i386/fpu/libm-test-ulps: Update.
67160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67162 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
67164         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
67165         (__x86_64_raw_data_cache_size): Likewise.
67166         (__x86_64_data_cache_size_half): Likewise.
67167         (__x86_64_raw_data_cache_size_half): Likewise.
67168         (__x86_64_shared_cache_size): Likewise.
67169         (__x86_64_raw_shared_cache_size): Likewise.
67170         (__x86_64_shared_cache_size_half): Likewise.
67171         (__x86_64_raw_shared_cache_size_half): Likewise.
67172         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
67173         to ...
67174         (__x86_data_cache_size): This.
67175         (__x86_64_raw_data_cache_size): Renamed to ...
67176         (__x86_raw_data_cache_size): This.
67177         (__x86_64_data_cache_size_half): Renamed to ...
67178         (__x86_data_cache_size_half): This.
67179         (__x86_64_raw_data_cache_size_half): Renamed to ...
67180         (__x86_raw_data_cache_size_half): This.
67181         (__x86_64_shared_cache_size): Renamed to ...
67182         (__x86_shared_cache_size): This.
67183         (__x86_64_raw_shared_cache_size): Renamed to ...
67184         (__x86_raw_shared_cache_size): This.
67185         (__x86_64_shared_cache_size_half): Renamed to ...
67186         (__x86_shared_cache_size_half): This.
67187         (__x86_64_raw_shared_cache_size_half): Renamed to ...
67188         (__x86_raw_shared_cache_size_half): This.
67189         * sysdeps/x86_64/memcpy.S: Updated.
67190         * sysdeps/x86_64/memset.S: Likewise.
67191         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
67192         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
67193         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
67195 2013-01-04  David S. Miller  <davem@davemloft.net>
67197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67199 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
67201         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
67202         1 to avoid redefinition warning.
67203         (__USE_GNU): Don't define.
67204         (init_signaling_nan): Protoize.
67206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67208 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67210         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
67211         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
67212         (__cpymn): Likewise.
67213         (norm): Remove commented code.
67214         (denorm): Likewise.
67215         (__mp_dbl): Likewise.
67216         (__inv): Likewise.
67217         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
67218         (__cpymn): Likewise.
67219         (norm): Remove commented code.
67220         (denorm): Likewise.
67221         (__mp_dbl): Likewise.
67222         (__inv): Likewise.
67224         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
67225         mp_no value for 1.0 and 2.0.
67226         (norm): Use RADIXI instead of radixi.d.
67227         (denorm): Likewise.
67228         (__mul): Use 0.0 instead of zero.d.
67229         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
67230         mp_no value for 1.0 and 2.0.
67231         (norm): Use RADIXI instead of radixi.d.
67232         (denorm): Likewise.
67233         (__mul): Use 0.0 instead of zero.d.
67235 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
67237         [BZ #14994]
67238         * math/s_casinh.c (__casinh): Reduce finite argument to first
67239         quadrant then set signs of results at the end.
67240         * math/s_casinhf.c (__casinhf): Likewise.
67241         * math/s_casinhl.c (__casinhl): Likewise.
67242         * math/libm-test.inc (casin_test): Add more tests.
67243         (casinh_test): Likewise.
67244         * sysdeps/i386/fpu/libm-test-ulps: Update.
67245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67247 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67249         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
67251         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
67253         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
67254         declarations.
67255         (denorm): Likewise.
67256         (__mp_dbl): Likewise.
67257         (__inv): Likewise.
67259         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
67260         and adjust the header comment.
67262         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
67263         variable name from declaration.
67265 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
67267         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67268         Initialize COMMON_CPUID_INDEX_7 element.
67269         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
67270         (CPUID_RTM): Likewise.
67271         (HAS_RTM): Likewise.
67272         (COMMON_CPUID_INDEX_7): New enum.
67274 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
67276         [BZ #14981]
67277         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
67278         size is zero, record memory as freed.
67280 2013-01-03  Andreas Jaeger  <aj@suse.de>
67282         * po/ia.po: Add new Interlingua translation.
67284 2012-01-03  Allan McRae  <allan@archlinux.org>
67286         * locale/programs/localedef.c: Fix description of '--posix' flag.
67288 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
67290         * NEWS: Update dates in second copyright notice.
67291         * README: Update copyright dates in example.
67292         * manual/libc.texinfo: Update copyright dates.
67293         * scripts/test-installation.pl: Update copyright date in --version
67294         output.
67296         * hurd/ctty-input.c: Fix copyright notice formatting.
67297         * hurd/ctty-output.c: Likewise.
67298         * hurd/dtable.c: Likewise.
67299         * hurd/hurd-raise.c: Likewise.
67300         * hurd/hurdprio.c: Likewise.
67301         * hurd/msgportdemux.c: Likewise.
67302         * misc/sys/file.h: Likewise.
67303         * misc/sys/ioctl.h: Likewise.
67304         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
67305         * sysdeps/mach/hurd/chdir.c: Likewise.
67306         * sysdeps/mach/hurd/fchdir.c: Likewise.
67307         * sysdeps/mach/hurd/rename.c: Likewise.
67308         * sysdeps/mach/hurd/rmdir.c: Likewise.
67309         * sysdeps/mach/hurd/seekdir.c: Likewise.
67310         * sysdeps/mach/hurd/setsid.c: Likewise.
67311         * sysdeps/posix/wait3.c: Likewise.
67313         * All files with FSF copyright notices: Update copyright dates
67314         using scripts/update-copyrights.
67315         * intl/plural.c: Regenerated.
67316         * locale/programs/charmap-kw.h: Likewise.
67317         * locale/programs/locfile-kw.h: Likewise.
67319 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
67321         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
67322         four values.
67324         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
67325         calculation loop and add branch prediction.
67327         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
67328         check access beyond bounds of m1np.
67330         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
67331         MPTWO.
67332         (__inv): Remove local variable MPTWO to use the global
67333         constant.
67334         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
67335         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
67336         variable MPTWO.
67337         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
67338         MP3HALFS static const.
67340 2013-01-01  David S. Miller  <davem@davemloft.net>
67342         * po/ca.po: Update from translation team.
67344 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
67346         * scripts/update-copyrights: New file.
67347         * Makeconfig: Reformat copyright notice.
67348         * ctype/ctype.h: Likewise.
67349         * debug/swprintf_chk.c: Likewise.
67350         * elf/dl-cache.c: Likewise.
67351         * elf/dl-debug.c: Likewise.
67352         * elf/dl-object.c: Likewise.
67353         * grp/initgroups.c: Likewise.
67354         * hurd/Makefile: Likewise.
67355         * hurd/hurd/signal.h: Likewise.
67356         * hurd/hurdfault.c: Likewise.
67357         * hurd/hurdioctl.c: Likewise.
67358         * hurd/hurdlookup.c: Likewise.
67359         * hurd/intr-msg.c: Likewise.
67360         * iconv/gconv_open.c: Likewise.
67361         * libio/swprintf.c: Likewise.
67362         * locale/lc-ctype.c: Likewise.
67363         * locale/nl_langinfo.c: Likewise.
67364         * mach/Machrules: Likewise.
67365         * mach/Makefile: Likewise.
67366         * malloc/obstack.h: Likewise.
67367         * manual/Makefile: Likewise.
67368         * manual/tsort.awk: Likewise.
67369         * misc/bits/stab.def: Likewise.
67370         * nis/nis_print_group_entry.c: Likewise.
67371         * nis/nis_table.c: Likewise.
67372         * nis/nss_compat/compat-pwd.c: Likewise.
67373         * nis/nss_compat/compat-spwd.c: Likewise.
67374         * po/Makefile: Likewise.
67375         * posix/fnmatch.c: Likewise.
67376         * posix/regex.h: Likewise.
67377         * resolv/Makefile: Likewise.
67378         * resolv/nss_dns/dns-network.c: Likewise.
67379         * resolv/res_hconf.c: Likewise.
67380         * scripts/gen-sorted.awk: Likewise.
67381         * soft-fp/soft-fp.h: Likewise.
67382         * stdio-common/printf.h: Likewise.
67383         * stdlib/monetary.h: Likewise.
67384         * stdlib/random.c: Likewise.
67385         * stdlib/random_r.c: Likewise.
67386         * sysdeps/generic/Makefile: Likewise.
67387         * sysdeps/gnu/Makefile: Likewise.
67388         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67389         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67390         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67391         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67392         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67393         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67394         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67395         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67396         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67397         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67398         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
67399         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
67400         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
67401         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
67402         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
67403         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
67404         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
67405         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67406         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67407         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67408         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67409         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67410         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67411         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
67412         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
67413         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
67414         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
67415         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
67416         * sysdeps/mach/hurd/errnos.awk: Likewise.
67417         * sysdeps/mach/hurd/fork.c: Likewise.
67418         * sysdeps/mach/hurd/getcwd.c: Likewise.
67419         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
67420         * sysdeps/mach/hurd/mmap.c: Likewise.
67421         * sysdeps/mach/hurd/utimes.c: Likewise.
67422         * sysdeps/mach/hurd/xmknod.c: Likewise.
67423         * sysdeps/posix/profil.c: Likewise.
67424         * sysdeps/posix/readdir_r.c: Likewise.
67425         * sysdeps/powerpc/bits/mathdef.h: Likewise.
67426         * sysdeps/powerpc/bits/setjmp.h: Likewise.
67427         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
67428         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
67429         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
67430         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
67431         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67432         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67433         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67434         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
67435         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67436         * sysdeps/pthread/lio_listio.c: Likewise.
67437         * sysdeps/sparc/dl-procinfo.h: Likewise.
67438         * sysdeps/unix/i386/sysdep.S: Likewise.
67439         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
67440         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
67441         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
67442         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
67443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67444         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
67445         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
67446         * sysdeps/unix/sysv/linux/speed.c: Likewise.
67447         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
67448         * sysdeps/wordsize-32/divdi3.c: Likewise.
67449         * time/sys/time.h: Likewise.
67450         * wcsmbs/Makefile: Likewise.
67452 2013-01-01  David S. Miller  <davem@davemloft.net>
67454         * po/fr.po: Update from translation team.
67456         * catgets/gencat.c: Update copyright year.
67457         * csu/version.c: Likewise.
67458         * debug/catchsegv.sh: Likewise.
67459         * debug/pcprofiledump.c: Likewise.
67460         * debug/xtrace.sh: Likewise.
67461         * elf/ldconfig.c: Likewise.
67462         * elf/ldd.bash.in: Likewise.
67463         * elf/pldd.c: Likewise.
67464         * elf/sotruss.ksh: Likewise.
67465         * elf/sprof.c: Likewise.
67466         * iconv/iconv_prog.c: Likewise.
67467         * iconv/iconvconfig.c: Likewise.
67468         * locale/programs/locale.c: Likewise.
67469         * locale/programs/localedef.c: Likewise.
67470         * login/programs/pt_chown.c: Likewise.
67471         * malloc/memusage.sh: Likewise.
67472         * malloc/memusagestat.c: Likewise.
67473         * malloc/mtrace.pl: Likewise.
67474         * nscd/nscd.c: Likewise.
67475         * nss/getent.c: Likewise.
67476         * nss/makedb.c: Likewise.
67477         * posix/getconf.c: Likewise.
67479 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
67481         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
67482         numbers.
67484 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
67486         * math/bits/mathcalls.h (modf): Use __nonnull.
67488 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67490         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
67491         (split): Use macro CN instead of the bare value.
67492         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
67493         could be used.
67494         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
67495         instead of the bare value.
67496         (power1): Likewise.
67498 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67500         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
67501         __ATAN_TWOM.
67502         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67504         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
67505         their values.
67506         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
67507         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67508         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
67509         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
67511 2012-12-28  Andreas Jaeger  <aj@suse.de>
67513         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
67514         values are from Linux 3.7.
67516         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
67517         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
67519 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67521         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
67522         TRUE case.
67524         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
67525         (norm): Likewise.
67526         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
67527         variables with preprocessor constants.
67528         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67529         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67530         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67532 2012-12-27  Bruno Haible  <bruno@clisp.org>
67534         [BZ #14317]
67535         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
67536         only if needed.
67538 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67540         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
67541         and use variable directly.
67542         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
67544         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
67545         MPONE.
67546         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
67547         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
67548         variable MPONE.
67549         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67550         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
67551         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
67552         include directive.  Remove local variable MPONE.
67553         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
67554         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
67555         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67557 2012-12-25  David S. Miller  <davem@davemloft.net>
67559         * version.h (RELEASE): Set to "development".
67560         (VERSION): Set to "2.17.90".
67561         * NEWS: Add 2.18 section.
67563 2012-12-21  David S. Miller  <davem@davemloft.net>
67565         * po/hr.po: Update from translation team.
67567 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67569         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
67571 2012-12-19  Steve Ellcey  <sellcey@mips.com>
67573         * NEWS:  Mention new memcpy for MIPS.
67575 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67577         * manual/contrib.texi (Contributors): Spelling correction.
67579 2012-12-15  David S. Miller  <davem@davemloft.net>
67581         * po/ru.po: Update from translation team.
67583 2012-12-13  David S. Miller  <davem@davemloft.net>
67585         * NEWS: Mention IFUNC testsuite enhancements.
67587         * po/pl.po: Update from translation team.
67588         * po/bg.po: Likewise.
67590         * manual/contrib.texi (Contributors): Update entries for Hongjiu
67591         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
67593 2012-12-11  David S. Miller  <davem@davemloft.net>
67595         * po/sv.po: Update from translation team.
67597         * po/vi.po: Update from translation team.
67599         * po/cs.po: Update from translation team.
67601         * po/de.po: Update from translation team.
67602         * po/eo.po: Likewise.
67603         * po/nl.po: Likewise.
67605 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
67607         [BZ #14246]
67608         * manual/argp.texi (Argp Helper Functions): Move node to follow
67609         Argp Parsing State.
67611         [BZ #14872]
67612         * manual/conf.texi (Limits on File System Capacity): Mention if
67613         terminating null is included in the max size.
67615 2012-12-10  Andreas Jaeger  <aj@suse.de>
67617         * po/cs.po: Update from translation team.
67619 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
67621         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
67622         void pointer and cast to uintptr_t.
67623         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
67624         path.
67625         * sysdeps/s390/s390-64/memcpy.S: Likewise.
67626         * sysdeps/s390/s390-64/memset.S: Likewise.
67628 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
67630         [BZ #14833]
67631         * menual/message.texi (Message Translation): Fix typos.
67632         (Helper programs for gettext): Likewise.
67634 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
67636         [BZ #14898]
67637         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
67638         Change to -1.
67640 2012-12-07  David S. Miller  <davem@davemloft.net>
67642         * po/libc.pot: Update.
67644 2012-12-07  Richard Henderson  <rth@redhat.com>
67646         [BZ #10114]
67647         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
67648         normal/normal case to before the switch.
67649         (_FP_DIV): Likewise.
67651 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
67652             Mike Frysinger  <vapier@gentoo.org>
67654         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
67655         check for __NR_fadvise64_64.
67657 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
67659         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
67660         0, not just to plain "0" as a statement.
67661         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
67662         with cw.
67664 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
67666         * NEWS: Use sourceware.org in Bugzilla URL.
67668 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
67671         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67673         * stdio-common/tst-put-error.c (do_test): Add newline to the
67674         padded test to ensure flush.
67676 2012-12-05  Jeff Law  <law@redhat.com>
67678         * sunrpc/etc.rpc (fedfs_admin): Add entry.
67680 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
67682         * README: Don't refer to ports add-on as distributed separately.
67683         Mention AArch64 in list of systems supported in the ports add-on.
67685         * LICENSES: Add more non-FSF copyright and license notices.
67687         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
67688         ((unused)).
67690         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
67692         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
67693         10000 as width of padded output.
67695 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67697         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
67699         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
67700         variable LX with __attribute__ ((unused)).
67701         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
67702         Likewise.
67703         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
67704         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67705         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
67706         with __attribute__ ((unused)).
67708 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
67710         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
67712 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67714         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
67715         (CFLAGS-nldbl-acos.c): New variable.
67716         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
67717         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
67718         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
67719         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
67720         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
67721         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
67722         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
67723         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
67724         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
67725         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
67726         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
67727         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
67728         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
67729         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
67730         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
67731         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
67732         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
67733         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
67734         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
67735         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
67736         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
67737         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
67738         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
67739         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
67740         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
67741         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
67742         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
67743         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
67744         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
67745         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
67746         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
67747         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
67748         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
67749         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
67750         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
67751         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
67752         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
67753         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
67754         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
67755         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
67756         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
67757         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
67758         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
67759         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
67760         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
67761         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
67762         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
67763         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
67764         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
67765         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
67766         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
67767         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
67768         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
67769         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
67770         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
67771         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
67772         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
67773         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
67774         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
67775         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
67776         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
67777         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
67778         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
67779         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
67780         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
67781         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
67782         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
67783         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
67784         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
67785         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
67786         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
67787         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
67788         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
67789         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
67790         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
67791         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
67792         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
67793         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
67794         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
67795         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
67796         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
67797         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
67798         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
67799         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
67800         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
67801         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
67802         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
67803         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
67804         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
67805         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
67806         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
67807         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
67808         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
67809         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
67810         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
67811         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
67812         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
67814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
67815         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67817         [BZ #14914]
67818         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
67819         whole low double instead of just low 47 bits when splitting values
67820         into two parts.
67822 2012-12-03  Allan McRae  <allan@archlinux.org>
67824         * manual/stdio.texi (Predefined Printf Handlers): Remove
67825         @hsep and @vsep usage.
67827 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
67829         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
67830         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
67832 2012-12-03  Jeff Law  <law@redhat.com>
67834         * time/sys/time.h (settimeofday): Do not mark TV argument
67835         as __nonnull.
67837 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
67839         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
67840         when currently writing and seek to current position when not.
67841         * libio/Makefile (tests): Remove bug-fclose1.
67842         * libio/bug-fclose1.c: Delete.
67844 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
67846         * manual/arith.texi (feenableexcept): Fix typo.
67847         (fedisableexcept): Likewise.
67849 2012-11-30  Roland McGrath  <roland@hack.frob.com>
67851         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
67852         second, differently-typed declaration, rather than a cast.
67854 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67856         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
67857         * include/rpc/svc.h: ... here.
67859 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
67861         [BZ #13013]
67862         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
67863         depending n and resplen2 to catch cases where answer
67864         equals answerp2.
67866 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
67868         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
67869         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
67871 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
67873         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
67875 2012-11-29  Roland McGrath  <roland@hack.frob.com>
67877         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
67879 2012-11-28  Jeff Law  <law@redhat.com>
67881         [BZ #13761]
67882         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
67883         dataset_temporary.  Track alloca usage into alloca_used.
67884         If dataset is large allocate and release it via malloc/free.
67886 2012-06-04  Florian Weimer  <fweimer@redhat.com>
67888         [BZ #14197]
67889         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
67891 2012-11-28  David S. Miller  <davem@davemloft.net>
67893         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67895 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
67897         [BZ #14803]
67898         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
67899         of pi/2 rounded to nearest to 64 bits.
67900         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
67901         nearest to 64 bits.
67902         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
67903         bits.
67905 2012-11-28  Jeff Law <law@redhat.com>
67906             Martin Osvald <mosvald@redhat.com>
67908         [BZ #14889]
67909         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
67910         * sunrpc/svc.c: Include time.h.
67911         (__svc_accept_failed): New function.
67912         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
67913         any reason other than EINTR, call __svc_accept_failed.
67914         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
67915         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
67917 2012-11-28  Andreas Schwab  <schwab@suse.de>
67919         * scripts/abilist.awk: Also handle indirect functions in .opd
67920         section.
67922 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
67924         [BZ #13881]
67925         * sysdeps/x86/fpu/powl_helper.c: New file.
67926         * sysdeps/x86/fpu/Makefile: Likewise.
67927         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
67928         (p3): New object.
67929         (__ieee754_powl): Use __powl_helper for finite arguments except
67930         integer exponents below 8.
67931         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
67932         (p3): New object.
67933         (__ieee754_powl): Use __powl_helper for finite arguments except
67934         integer exponents below 8.
67935         * math/libm-test.inc (pow_test): Add more tests and enable some
67936         previously disabled tests.
67937         * sysdeps/i386/fpu/libm-test-ulps: Update.
67938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67940 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67941             Carlos O'Donell  <carlos_odonell@mentor.com>
67943         * nss/makedb.c (is_prime): Assert that input is odd and greater
67944         than 4.  Note that fact in a comment too.
67945         (next_prime): Add 4 to input.
67947 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67949         [BZ #11741]
67950         * libio/Makefile (tests): Add test case tst-fwrite-error.
67951         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
67952         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
67953         * libio/tst-fwrite-error.c: New test case.
67955 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
67957         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
67958         before casting to void *.
67959         * include/libc-internal.h (__pointer_type): New macro.
67960         (__integer_if_pointer_type_sub): Likewise.
67961         (__integer_if_pointer_type): Likewise.
67962         (cast_to_integer): Likewise.
67963         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
67964         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
67965         before casting to atomic64_t.
67966         (atomic_exchange_acq): Likewise.
67967         (__arch_exchange_and_add_body): Likewise.
67968         (__arch_add_body): Likewise.
67969         (atomic_add_negative): Likewise.
67970         (atomic_add_zero): Likewise.
67972 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
67974         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
67975         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
67976         (add_fdes): Likewise.
67977         (linear_search_fdes): Likewise.
67978         (binary_search_unencoded_fdes): Likewise.
67980 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
67982         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
67984 2012-11-24  Adam Conrad  <adconrad@0c3.net>
67986         * configure.in: Autodetect C++ header directories.
67987         * configure: Regenerated.
67989 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
67991         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
67993 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
67995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67997 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
67999         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
68000         LDBL_MANT_DIG == 106]: Disable some tests.
68001         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
68002         Likewise.
68003         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
68004         Likewise.
68006         [BZ #14871]
68007         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
68008         input for small inputs.  Return +/- pi/2 for large inputs.
68009         * math/libm-test.inc (atan_test): Add more tests.
68011         * sysdeps/generic/unwind-dw2-fde-glibc.c
68012         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
68013         __attribute__ ((unused)).
68015         [BZ #14645]
68016         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
68017         x * y if x and y are nonzero and z is zero.
68019         [BZ #14811]
68020         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
68021         nonzero exponents with absolute value below 0x1p-117 to +/-
68022         0x1p-117.
68024         [BZ #14869]
68025         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
68026         up arguments below 2**-450, not just those below 2**-500.
68027         * math/libm-test.inc (hypot_test): Add another test.
68029         [BZ #14868]
68030         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
68031         Return a+b for ratio over 2**120, not 2**60.
68032         * math/libm-test.inc (hypot_test): Add another test.
68034         * math/libm-test.inc (clog_test): Use
68035         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
68036         (clog10_test): Likewise.
68038         [BZ #6778]
68039         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
68041 2012-11-22  Andreas Schwab  <schwab@suse.de>
68043         * sysdeps/i386/fpu/libm-test-ulps: Update.
68045 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
68047         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
68048         printf output with newline.
68050 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
68052         [BZ #14865]
68053         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
68054         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
68055         -z nodlopen, -z initfirst and -z execstack support.
68056         * configure: Regenerated.
68058         * elf/elf.h (DF_1_NODIRECT): New macro.
68059         (DF_1_IGNMULDEF): Likewise.
68060         (DF_1_NOKSYMS): Likewise.
68061         (DF_1_NOHDR): Likewise.
68062         (DF_1_EDITED): Likewise.
68063         (DF_1_NORELOC): Likewise.
68064         (DF_1_SYMINTPOSE): Likewise.
68065         (DF_1_GLOBAUDIT): Likewise.
68066         (DF_1_SINGLETON): Likewise.
68067         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
68068         DT_1_SUPPORTED_MASK bits.
68069         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
68071 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
68073         * sysdeps/unix/make-syscalls.sh: Document prefixes.
68075 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
68077         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
68078         macro.
68080         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
68081         (sendmmsg): Move declarations...
68082         * socket/sys/socket.h: ... here.
68083         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
68084         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
68085         include it from...
68086         * socket/recvmmsg.c: ... this new file.
68087         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
68088         (sendmmsg): Rename to __sendmmsg, create weak alias and make
68089         definition of __sendmmsg hidden.
68090         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
68091         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
68092         Move ENOSYS stub into and include it from...
68093         * socket/sendmmsg.c: ... this new file.
68094         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
68095         (sysdep_routines): Move recvmmsg and sendmmsg...
68096         * socket/Makefile (routines): ... here.
68097         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
68098         (GLIBC_PRIVATE): Add __sendmmsg.
68099         * include/sys/socket.h (__sendmmsg): Add declarations.
68100         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
68101         sendmmsg.
68103 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
68105         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
68106         variable I1 with __attribute__ ((unused)).
68107         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68109 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
68111         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
68112         DUMMY variables with __attribute__ ((unused)).
68114         * bits/byteswap.h: Include <bits/types.h>.
68115         (__bswap_64): Use __uint64_t instead of unsigned long long int.
68117 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
68119         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
68120         string_t.  Do not manually set errno.
68121         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
68122         length with __strnlen.  Make sure to both set errno and return it on
68123         failure.
68125 2012-11-19  David S. Miller  <davem@davemloft.net>
68127         With help from Joseph Myers.
68128         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
68129         very large arguments properly.
68130         * math/libm-test.inc (atan_test): New tests.
68131         (atan2_test): New tests.
68132         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68133         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68135 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
68137         [BZ #14856]
68138         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
68139         Define to 3.
68141         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
68142         [POSIX] (EADDRNOTAVAIL): Likewise.
68143         [POSIX] (EAFNOSUPPORT): Likewise.
68144         [POSIX] (EALREADY): Likewise.
68145         [POSIX] (ECONNABORTED): Likewise.
68146         [POSIX] (ECONNREFUSED): Likewise.
68147         [POSIX] (ECONNRESET): Likewise.
68148         [POSIX] (EDESTADDRREQ): Likewise.
68149         [POSIX] (EDQUOT): Likewise.
68150         [POSIX] (EHOSTUNREACH): Likewise.
68151         [POSIX] (EIDRM): Likewise.
68152         [POSIX] (EISCONN): Likewise.
68153         [POSIX] (ELOOP): Likewise.
68154         [POSIX] (EMULTIHOP): Likewise.
68155         [POSIX] (ENETDOWN): Likewise.
68156         [POSIX] (ENETUNREACH): Likewise.
68157         [POSIX] (ENOBUFS): Likewise.
68158         [POSIX] (ENODATA): Likewise.
68159         [POSIX] (ENOLINK): Likewise.
68160         [POSIX] (ENOMSG): Likewise.
68161         [POSIX] (ENOPROTOOPT): Likewise.
68162         [POSIX] (ENOSR): Likewise.
68163         [POSIX] (ENOSTR): Likewise.
68164         [POSIX] (ENOTCONN): Likewise.
68165         [POSIX] (ENOTSOCK): Likewise.
68166         [POSIX] (EOPNOTSUPP): Likewise.
68167         [POSIX] (EOVERFLOW): Likewise.
68168         [POSIX] (EPROTO): Likewise.
68169         [POSIX] (EPROTONOSUPPORT): Likewise.
68170         [POSIX] (EPROTOTYPE): Likewise.
68171         [POSIX] (ESTALE): Likewise.
68172         [POSIX] (ETIME): Likewise.
68173         [POSIX] (ETXTBSY): Likewise.
68174         [POSIX] (EWOULDBLOCK): Likewise.
68175         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
68176         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
68177         [POSIX] (SEEK_CUR): Likewise.
68178         [POSIX] (SEEK_END): Likewise.
68179         [POSIX || UNIX98] (mode_t): Do not require.
68180         [POSIX] (off_t): Likewise.
68181         [POSIX] (pid_t): Likewise.
68182         [POSIX] (sys/stat.h): Do not allow header.
68183         [POSIX] (unistd.h): Likewise.
68184         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
68185         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
68186         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
68187         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
68188         require.
68189         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
68190         sigevent): Specify elements.
68191         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
68192         entry.
68193         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
68194         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
68196         * conform/data/cpio.h-data [POSIX]: Disable whole file.
68197         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
68198         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
68199         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
68200         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
68201         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
68202         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
68203         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
68204         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
68205         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
68206         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
68207         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
68208         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
68209         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
68210         Likewise.
68211         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
68212         Likewise.
68213         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
68214         Likewise.
68215         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
68216         Likewise.
68217         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
68218         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
68219         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
68220         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
68221         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
68222         Specify lower bound on value.
68223         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
68224         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
68225         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
68226         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
68227         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
68228         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
68229         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
68230         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
68231         value.
68232         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
68233         as optional.
68234         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
68235         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
68236         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
68237         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
68238         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
68239         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
68240         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
68241         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
68242         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
68243         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
68244         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
68245         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
68246         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
68247         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
68248         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
68249         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
68250         entry.
68251         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
68252         optional.
68253         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
68254         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
68255         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
68256         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
68257         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
68258         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
68259         Likewise.
68260         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
68261         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
68262         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
68263         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
68264         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
68265         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
68266         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
68267         as optional.
68268         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
68269         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
68270         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
68271         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
68272         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
68273         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
68274         specify as optional.
68275         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
68276         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
68277         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
68278         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
68279         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
68280         [XPG3] (NL_LANGMAX): Likewise.
68281         [POSIX || XPG3] (NL_MSGMAX): Likewise.
68282         [POSIX || XPG3] (NL_NMAX): Likewise.
68283         [POSIX || XPG3] (NL_SETMAX): Likewise.
68284         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
68285         [XPG3] (NZERO): Likewise.
68286         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
68287         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
68288         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
68289         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
68290         (REG_ERANGE): Expect.
68291         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
68292         optional-constant.
68293         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
68294         Use (void) in prototype.
68295         [POSIX] (*_t): Allow.
68296         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
68297         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
68298         (WRDE_BADVAL): Expect.
68300         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
68301         expect.
68302         [XPG3 || XPG4] (O_RSYNC): Likewise.
68303         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
68304         Likewise.
68305         [XPG3 || XPG4] (pthread_sigmask): Likewise.
68306         [XPG3 || XPG4] (sigqueue): Likewise.
68307         [XPG3 || XPG4] (sigtimedwait): Likewise.
68308         [XPG3 || XPG4] (sigwaitinfo): Likewise.
68309         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
68310         [XPG3 || XPG4] (vsnprintf): Likewise.
68311         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
68312         Likewise.
68313         [XPG3 || XPG4] (blksize_t): Likewise.
68314         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
68315         Likewise.
68316         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
68317         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
68318         [XPG3 || XPG4] (struct itimerspec): Likewise.
68319         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
68320         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
68321         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
68322         [XPG3 || XPG4] (clockid_t): Likewise.
68323         [XPG3 || XPG4] (timer_t): Likewise.
68324         [XPG3 || XPG4] (clock_getres): Likewise.
68325         [XPG3 || XPG4] (clock_gettime): Likewise.
68326         [XPG3 || XPG4] (clock_settime): Likewise.
68327         [XPG3 || XPG4] (nanosleep): Likewise.
68328         [XPG3 || XPG4] (timer_create): Likewise.
68329         [XPG3 || XPG4] (timer_delete): Likewise.
68330         [XPG3 || XPG4] (timer_gettime): Likewise.
68331         [XPG3 || XPG4] (timer_getoverrun): Likewise.
68332         [XPG3 || XPG4] (timer_settime): Likewise.
68333         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
68334         [XPG3 || XPG4] (getlogin_r): Likewise.
68335         [XPG3 || XPG4] (pread): Likewise.
68336         [XPG3 || XPG4] (pthread_atfork): Likewise.
68337         [XPG3 || XPG4] (pwrite): Likewise.
68339         [BZ #14835]
68340         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
68341         <bits/siginfo.h>.
68343 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
68345         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
68346         finalizing MALLSTREAM.
68348         * sysdeps/mach/hurd/syncfs.c: New file.
68350 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
68352         [BZ #14719]
68353         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
68354         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
68355         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
68356         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
68357         (_nss_dns_gethostbyname4_r): Likewise.
68358         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
68359         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
68361 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
68363         [BZ #13763]
68364         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
68366 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
68368         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
68369         * elf/cache.c (print_entry): Print ",AArch64" for
68370         FLAG_AARCH64_LIB64
68372         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
68373         * elf/cache.c (print_entry): Print ",hard-float" for
68374         FLAG_ARM_LIBHF.
68376 2012-11-18  David S. Miller  <davem@davemloft.net>
68378         With help from Joseph Myers.
68379         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
68380         cutoff to 2**-13.
68381         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
68382         cutoff to 2**-25.
68383         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
68384         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
68385         small.
68386         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
68387         * math/libm-test.inc (y0_test): New tests.
68388         (y1_test): New tests.
68389         * sysdeps/i386/fpu/libm-test-ulps: Update.
68390         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68393 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
68395         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
68396         64-bit targets.
68397         * configure: Regenerated.
68399 2012-11-17  David S. Miller  <davem@davemloft.net>
68401         [BZ #14811]
68402         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
68403         nonzero exponents with absolute value below 0x1p-128 to +/-
68404         0x1p-128.
68406 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
68408         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
68410         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
68412         * posix/getconf-speclist.c: New file.
68413         * posix/posix-envs.def: Likewise.
68414         * posix/confstr.c (START_ENV_GROUP): New macro.
68415         (END_ENV_GROUP): Likewise.
68416         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
68417         (KNOWN_PRESENT_ENV_STRING): Likewise.
68418         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
68419         (UNKNOWN_ENVIRONMENT): Likewise.
68420         (confstr): Include posix-envs.def instead of handling
68421         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
68422         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
68423         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
68424         (END_ENV_GROUP): Likewise.
68425         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
68426         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
68427         (UNKNOWN_ENVIRONMENT): Likewise.
68428         (__sysconf): Include posix-envs.def instead of handling associated
68429         cases directly here.
68430         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
68431         preprocessing getconf-speclist.c rather than running getconf or
68432         generating empty file.
68434 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
68436         * scripts/check-local-headers.sh: Ignore 'mach' headers.
68438 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
68440         [BZ #14672]
68441         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
68443 2012-11-16  David S. Miller  <davem@davemloft.net>
68445         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
68446         smaller than LDBL_EPSILON/2.0L, just return xm1.
68448 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
68450         * elf/tst-array1.c (init): Set constructor priority to 1000.
68451         (fini): Set destructor priority to 1000.
68452         * elf/tst-array2dep.c: Likewise.
68454 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68456         [BZ #11741]
68457         * libio/fileops.c (_IO_new_file_write): Correctly return error.
68458         (_IO_new_file_xsputn): Also return EOF if none of the input
68459         data was written when overflow failed.
68460         * libio/iopadn.c (_IO_padn): Likewise.
68461         * libio/iowpadn.c (_IO_wpadn): Likewise.
68462         * stdio-common/tst-put-error.c: Add copyright notice.
68463         (do_test): Add case for printing padded string.
68464         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
68465         _IO_padn returned error.
68466         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
68467         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
68468         return EOF.
68470 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68472         * libio/libioP.h: Add comment note that the references to C++
68473         bits are now obsolete.
68475 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68477         * math/libm-test.inc (check_complex): Use asprintf.
68479 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
68481         * debug/pcprofiledump.c (print_version): Update copyright year.
68482         * malloc/memusagestat.c (print_version): Likewise.
68484 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
68486         [BZ #14831]
68487         * elf/Makefile (tests): Add tst-audit8.
68488         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
68489         ($(objpfx)tst-audit8.out): New target.
68490         (tst-audit8-ENV): New variable.
68491         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
68492         audit if l_reloc_result is NULL.
68493         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
68494         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
68495         * elf/tst-audit8.c: New file.
68497 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68499         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
68500         * misc/Makefile (CFLAGS-select.c): Define.
68501         * posix/Makefile (CFLAGS-pause.c): Define.
68503 2012-11-13  David S. Miller  <davem@davemloft.net>
68505         * crypt/Makefile: Move test targets after toplevel Rules
68506         inclusion.  Grab any necessary sysdep routines when linking.
68507         * crypt/md5.c (md5_process_block): Remove define, we will always
68508         name it __md5_process_block.
68509         (md5_finish_ctx): Update md5_process_block call.
68510         (md5_stream): Likewise.
68511         (md5_process_bytes): Likewise.
68512         (md5_process_block): Rename to __md5_process_block and move to ...
68513         * crypt/md5-block.c: ... here.
68514         * crypt/sha256.c (sha256_process_block): Move to ...
68515         * crypt/sha256-block.c: ... here.
68516         * crypt/sha512.c (sha512_process_block): Move to ...
68517         * crypt/sha512-block.c: ... here.
68518         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
68519         path.
68520         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
68521         * sysdeps/sparc/sparc64/multiarch/Makefile
68522         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
68523         crypt subdir.
68524         (localedef-aux): Add md5 crypto assembler when in locale subdir.
68525         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
68526         multiarch changes.
68527         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
68528         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
68529         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
68530         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
68531         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
68532         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
68533         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
68534         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
68535         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
68536         file.
68537         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
68538         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
68539         file.
68540         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
68542 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
68544         * timezone/tzselect.ksh: Update from tzcode git revision
68545         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
68546         * timezone/zdump.c: Likewise.
68547         * timezone/zic.c: Likewise.
68548         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
68549         in TZVERSION setting, not $(PKGVERSION).
68550         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
68551         REPORT_BUGS_TO settings.
68553         [BZ #14838]
68554         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
68555         macro.
68557 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68559         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
68560         detection to immediately after _FP_ROUND().
68561         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
68562         bits are 0.
68564 2012-11-11  David S. Miller  <davem@davemloft.net>
68566         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
68567         inttypes.h
68568         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
68569         __close rather than their public counterparts.
68571 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
68573         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
68574         file.
68575         [UNIX98] (sem_timedwait): Do not expect.
68576         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
68577         [XPG4 || UNIX98] (sockatmark): Do not expect.
68578         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
68579         (clock_getcpuclockid): Do not expect.
68580         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
68581         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
68582         Do not expect.
68583         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
68584         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
68585         [UNIX98] (vwscanf): Likewise.
68586         [UNIX98] (vswscanf): Likewise.
68588 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
68590         * timezone/version.h: Remove file.
68591         * timezone/README: Do not refer to version.h.
68592         * timezone/Makefile ($(objpfx)zic.o): New dependency on
68593         $(objpfx)version.h.
68594         ($(objpfx)zdump.o): Likewise.
68595         ($(objpfx)version.h): New target.
68597         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
68598         2012i.
68599         * timezone/README: Don't mention modification to tzselect.ksh.
68600         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
68601         work on unmodified tzselect.ksh.  Substitute version numbers in
68602         tzselect.ksh.
68604         * Makefile (format-me): Remove.
68605         (INSTALL): Adjust indentation.  Use commands directly instead of
68606         using $(format-me).
68608         * aclocal.m4 (ACX_PKGVERSION): New macro.
68609         (ACX_BUGURL): Likewise.
68610         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
68611         (PKGVERSION): New AC_DEFINE_UNQUOTED.
68612         (REPORT_BUGS_TO): Likewise.
68613         * configure: Regenerated.
68614         * config.h.in (PKGVERSION): New macro.
68615         (REPORT_BUGS_TO): Likewise.
68616         * config.make.in (PKGVERSION): New variable.
68617         (PKGVERSION_TEXI): Likewise.
68618         (REPORT_BUGS_TO): Likewise.
68619         (REPORT_BUGS_TEXI): Likewise.
68620         * Makefile (format-me): Use -I$(common-objpfx)manual.
68621         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
68622         ($(common-objpfx)manual/%): New target.
68623         (manual/%): Remove target.
68624         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
68625         (print_version): Use PKGVERSION.
68626         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
68627         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
68628         and REPORT_BUGS_TO.
68629         ($(objpfx)xtrace): Likewise.
68630         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
68631         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
68632         (print_version): Use PKGVERSION.
68633         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
68634         (do_version): Use PKGVERSION.
68635         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
68636         REPORT_BUGS_TO.
68637         (common-ldd-rewrite): Likewise.
68638         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
68639         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
68640         (print_version): Use PKGVERSION.
68641         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
68642         * elf/pldd.c (argp_program_bug_address): Remove variable.
68643         (more_help): New function.
68644         (argp): Use more_help.
68645         (print_version): Use PKGVERSION.
68646         * elf/sln.c (main): Use PKGVERSION.
68647         (usage): Use REPORT_BUGS_TO.
68648         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
68649         (top level): Use PKGVERSION.
68650         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
68651         (print_version): Use PKGVERSION.
68652         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
68653         (print_version): Use PKGVERSION.
68654         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
68655         (print_version): Use PKGVERSION.
68656         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
68657         (print_version): Use PKGVERSION.
68658         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
68659         (print_version): Use PKGVERSION.
68660         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
68661         (print_version): Use PKGVERSION.
68662         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
68663         and BUGURL.
68664         ($(objpfx)memusage): Likewise.
68665         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
68666         (do_version): Use PKGVERSION.
68667         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
68668         (print_version): Use PKGVERSION.
68669         * malloc/mtrace.pl ($PACKAGE): Remove variable.
68670         ($PKGVERSION): New variable.
68671         ($REPORT_BUGS_TO): Likewise.
68672         (usage): Use $REPORT_BUGS_TO.
68673         (top level): Use $PKGVERSION.
68674         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
68675         ($(objpfx)pkgvers.texi): New rule.
68676         ($(objpfx)stamp-pkgvers): Likewise.
68677         * manual/install.texi: Include pkgvers.texi.
68678         (--with-pkgversion): Document new configure option.
68679         (--with-bugurl): Likewise.
68680         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
68681         than necessarily for this particular distribution.  Use
68682         REPORT_BUGS_TO for where to report bugs.
68683         * INSTALL: Regenerated.
68684         * manual/libc.texinfo: Include pkgvers.texi.
68685         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
68686         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
68687         (print_version): Use PKGVERSION.
68688         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
68689         (print_version): Use PKGVERSION.
68690         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
68691         (print_version): Use PKGVERSION.
68692         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
68693         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
68694         macro.
68695         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
68696         (print_version): Use PKGVERSION.
68697         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
68698         (print_version): Use PKGVERSION.
68699         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
68700         and PKGVERSION.
68702         * timezone/checktab.awk: Update from tzcode 2012i.
68703         * timezone/ialloc.c: Likewise.
68704         * timezone/private.h: Likewise.
68705         * timezone/scheck.c: Likewise.
68706         * timezone/tzfile.h: Likewise.
68707         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
68708         (TZVERSION): Hardcode tzcode version number.
68709         * timezone/zdump.c: Update from tzcode 2012i.
68710         * timezone/zic.c: Likewise.
68711         * timezone/version.h: New file.
68712         * timezone/README: Describe version.h.  Update upstream location.
68714         [BZ #14824]
68715         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
68716         (mktemp): Enable declaration.
68717         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
68718         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
68719         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
68720         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
68721         Likewise.
68722         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
68723         Likewise.
68724         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
68725         Likewise.
68726         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
68727         Likewise.
68728         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
68729         Likewise.
68730         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
68731         Likewise.
68733         [BZ #14821]
68734         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
68735         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
68736         for copies of such integer values.
68737         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
68738         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
68740 2012-11-09  Andreas Jaeger  <aj@suse.de>
68742         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
68743         definitions and declarations that are provided by
68744         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68746 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68748         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
68749         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
68750         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
68751         definition.
68753 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68755         * elf/elf.h: Update comment before AArch64 relocations.
68757 2012-11-07  David S. Miller  <davem@davemloft.net>
68759         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
68760         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68761         (__start_context): Declare.
68762         (__makecontext_ret): Delete.
68763         (__makecontext): Hook up __start_context instead of
68764         __makecontext_ret.
68765         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
68766         (sysdep_routines): Add __start_context when in stdlib.
68768 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68770         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
68771         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
68772         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
68773         hardcoded "nm".
68774         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
68775         (READELF): New variable.  Use it instead of hardcoded "readelf".
68777 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
68779         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
68780         * sysdeps/x86/Makefile: Here.
68781         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
68782         * sysdeps/x86/tst-xmmymm.sh: This.
68784 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68786         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
68787         expectations.
68788         [UNIX98] (pthread_barrier_t): Do not expect.
68789         [UNIX98] (pthread_barrierattr_t): Likewise.
68790         [UNIX98] (pthread_spinlock_t): Likewise.
68791         [UNIX98] (pthread_barrier_destroy): Likewise.
68792         [UNIX98] (pthread_barrier_init): Likewise.
68793         [UNIX98] (pthread_barrier_wait): Likewise.
68794         [UNIX98] (pthread_barrierattr_destroy): Likewise.
68795         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
68796         [UNIX98] (pthread_barrierattr_init): Likewise.
68797         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
68798         [UNIX98] (pthread_getcpuclockid): Likewise.
68799         [UNIX98] (pthread_mutex_timedlock): Likewise.
68800         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
68801         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
68802         [UNIX98] (pthread_sigmask): Likewise.
68803         [UNIX98] (pthread_spin_destroy): Likewise.
68804         [UNIX98] (pthread_spin_init): Likewise.
68805         [UNIX98] (pthread_spin_lock): Likewise.
68806         [UNIX98] (pthread_spin_trylock): Likewise.
68807         [UNIX98] (pthread_spin_unlock): Likewise.
68808         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
68809         Do not expect.
68810         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
68811         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
68812         [XPG3 || XPG4] (pthread_cond_t): Likewise.
68813         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
68814         [XPG3 || XPG4] (pthread_key_t): Likewise.
68815         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
68816         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
68817         [XPG3 || XPG4] (pthread_once_t): Likewise.
68818         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
68819         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
68820         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
68821         [XPG3 || XPG4] (pthread_t): Likewise.
68823         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
68824         not expect.
68825         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
68827         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
68828         Change function return type to int.
68830         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
68831         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
68832         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
68833         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
68834         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
68835         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
68836         [!POSIX] (posix_madvise): Likewise.
68837         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
68838         && !UNIX98].
68839         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
68840         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
68841         (mode_t): Likewise.
68842         (posix_mem_offset): Likewise.
68843         (posix_typed_mem_get_info): Likewise.
68844         (posix_typed_mem_open): Likewise.
68846         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
68847         Change condition to [XOPEN2K8].
68849         * conform/conformtest.pl: Preprocess allow-header data with -x c
68850         instead of from stdin.
68851         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
68852         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
68853         [C99-based standards] (cerfc): Likewise.
68854         [C99-based standards] (cexp2): Likewise.
68855         [C99-based standards] (cexpm1): Likewise.
68856         [C99-based standards] (clog10): Likewise.
68857         [C99-based standards] (clog1p): Likewise.
68858         [C99-based standards] (clog2): Likewise.
68859         [C99-based standards] (clgamma): Likewise.
68860         [C99-based standards] (ctgamma): Likewise.
68861         [C99-based standards] (cerff): Likewise.
68862         [C99-based standards] (cerfcf): Likewise.
68863         [C99-based standards] (cexp2f): Likewise.
68864         [C99-based standards] (cexpm1f): Likewise.
68865         [C99-based standards] (clog10f): Likewise.
68866         [C99-based standards] (clog1pf): Likewise.
68867         [C99-based standards] (clog2f): Likewise.
68868         [C99-based standards] (clgammaf): Likewise.
68869         [C99-based standards] (ctgammaf): Likewise.
68870         [C99-based standards] (cerfl): Likewise.
68871         [C99-based standards] (cerfcl): Likewise.
68872         [C99-based standards] (cexp2l): Likewise.
68873         [C99-based standards] (cexpm1l): Likewise.
68874         [C99-based standards] (clog10l): Likewise.
68875         [C99-based standards] (clog1pl): Likewise.
68876         [C99-based standards] (clog2l): Likewise.
68877         [C99-based standards] (clgammal): Likewise.
68878         [C99-based standards] (ctgammal): Likewise.
68879         * conform/data/inttypes.h-data [C99-based standards]: Include
68880         stdint.h-data.  Remove all expectations for stdint.h contents.
68881         [C99-based standards] (PRI*): Do not allow.
68882         [C99-based standards] (SCN*): Likewise.
68883         [C99-based standards] (*_t): Likewise.
68884         [C99-based-standards] (PRId8): Expect macro.
68885         [C99-based-standards] (PRIi8): Likewise.
68886         [C99-based-standards] (PRIo8): Likewise.
68887         [C99-based-standards] (PRIu8): Likewise.
68888         [C99-based-standards] (PRIx8): Likewise.
68889         [C99-based-standards] (PRIX8): Likewise.
68890         [C99-based-standards] (SCNd8): Likewise.
68891         [C99-based-standards] (SCNi8): Likewise.
68892         [C99-based-standards] (SCNo8): Likewise.
68893         [C99-based-standards] (SCNu8): Likewise.
68894         [C99-based-standards] (SCNx8): Likewise.
68895         [C99-based-standards] (PRIdLEAST8): Likewise.
68896         [C99-based-standards] (PRIiLEAST8): Likewise.
68897         [C99-based-standards] (PRIoLEAST8): Likewise.
68898         [C99-based-standards] (PRIuLEAST8): Likewise.
68899         [C99-based-standards] (PRIxLEAST8): Likewise.
68900         [C99-based-standards] (PRIXLEAST8): Likewise.
68901         [C99-based-standards] (SCNdLEAST8): Likewise.
68902         [C99-based-standards] (SCNiLEAST8): Likewise.
68903         [C99-based-standards] (SCNoLEAST8): Likewise.
68904         [C99-based-standards] (SCNuLEAST8): Likewise.
68905         [C99-based-standards] (SCNxLEAST8): Likewise.
68906         [C99-based-standards] (PRIdFAST8): Likewise.
68907         [C99-based-standards] (PRIiFAST8): Likewise.
68908         [C99-based-standards] (PRIoFAST8): Likewise.
68909         [C99-based-standards] (PRIuFAST8): Likewise.
68910         [C99-based-standards] (PRIxFAST8): Likewise.
68911         [C99-based-standards] (PRIXFAST8): Likewise.
68912         [C99-based-standards] (SCNdFAST8): Likewise.
68913         [C99-based-standards] (SCNiFAST8): Likewise.
68914         [C99-based-standards] (SCNoFAST8): Likewise.
68915         [C99-based-standards] (SCNuFAST8): Likewise.
68916         [C99-based-standards] (SCNxFAST8): Likewise.
68917         [C99-based-standards] (PRId16): Likewise.
68918         [C99-based-standards] (PRIi16): Likewise.
68919         [C99-based-standards] (PRIo16): Likewise.
68920         [C99-based-standards] (PRIu16): Likewise.
68921         [C99-based-standards] (PRIx16): Likewise.
68922         [C99-based-standards] (PRIX16): Likewise.
68923         [C99-based-standards] (SCNd16): Likewise.
68924         [C99-based-standards] (SCNi16): Likewise.
68925         [C99-based-standards] (SCNo16): Likewise.
68926         [C99-based-standards] (SCNu16): Likewise.
68927         [C99-based-standards] (SCNx16): Likewise.
68928         [C99-based-standards] (PRIdLEAST16): Likewise.
68929         [C99-based-standards] (PRIiLEAST16): Likewise.
68930         [C99-based-standards] (PRIoLEAST16): Likewise.
68931         [C99-based-standards] (PRIuLEAST16): Likewise.
68932         [C99-based-standards] (PRIxLEAST16): Likewise.
68933         [C99-based-standards] (PRIXLEAST16): Likewise.
68934         [C99-based-standards] (SCNdLEAST16): Likewise.
68935         [C99-based-standards] (SCNiLEAST16): Likewise.
68936         [C99-based-standards] (SCNoLEAST16): Likewise.
68937         [C99-based-standards] (SCNuLEAST16): Likewise.
68938         [C99-based-standards] (SCNxLEAST16): Likewise.
68939         [C99-based-standards] (PRIdFAST16): Likewise.
68940         [C99-based-standards] (PRIiFAST16): Likewise.
68941         [C99-based-standards] (PRIoFAST16): Likewise.
68942         [C99-based-standards] (PRIuFAST16): Likewise.
68943         [C99-based-standards] (PRIxFAST16): Likewise.
68944         [C99-based-standards] (PRIXFAST16): Likewise.
68945         [C99-based-standards] (SCNdFAST16): Likewise.
68946         [C99-based-standards] (SCNiFAST16): Likewise.
68947         [C99-based-standards] (SCNoFAST16): Likewise.
68948         [C99-based-standards] (SCNuFAST16): Likewise.
68949         [C99-based-standards] (SCNxFAST16): Likewise.
68950         [C99-based-standards] (PRId32): Likewise.
68951         [C99-based-standards] (PRIi32): Likewise.
68952         [C99-based-standards] (PRIo32): Likewise.
68953         [C99-based-standards] (PRIu32): Likewise.
68954         [C99-based-standards] (PRIx32): Likewise.
68955         [C99-based-standards] (PRIX32): Likewise.
68956         [C99-based-standards] (SCNd32): Likewise.
68957         [C99-based-standards] (SCNi32): Likewise.
68958         [C99-based-standards] (SCNo32): Likewise.
68959         [C99-based-standards] (SCNu32): Likewise.
68960         [C99-based-standards] (SCNx32): Likewise.
68961         [C99-based-standards] (PRIdLEAST32): Likewise.
68962         [C99-based-standards] (PRIiLEAST32): Likewise.
68963         [C99-based-standards] (PRIoLEAST32): Likewise.
68964         [C99-based-standards] (PRIuLEAST32): Likewise.
68965         [C99-based-standards] (PRIxLEAST32): Likewise.
68966         [C99-based-standards] (PRIXLEAST32): Likewise.
68967         [C99-based-standards] (SCNdLEAST32): Likewise.
68968         [C99-based-standards] (SCNiLEAST32): Likewise.
68969         [C99-based-standards] (SCNoLEAST32): Likewise.
68970         [C99-based-standards] (SCNuLEAST32): Likewise.
68971         [C99-based-standards] (SCNxLEAST32): Likewise.
68972         [C99-based-standards] (PRIdFAST32): Likewise.
68973         [C99-based-standards] (PRIiFAST32): Likewise.
68974         [C99-based-standards] (PRIoFAST32): Likewise.
68975         [C99-based-standards] (PRIuFAST32): Likewise.
68976         [C99-based-standards] (PRIxFAST32): Likewise.
68977         [C99-based-standards] (PRIXFAST32): Likewise.
68978         [C99-based-standards] (SCNdFAST32): Likewise.
68979         [C99-based-standards] (SCNiFAST32): Likewise.
68980         [C99-based-standards] (SCNoFAST32): Likewise.
68981         [C99-based-standards] (SCNuFAST32): Likewise.
68982         [C99-based-standards] (SCNxFAST32): Likewise.
68983         [C99-based-standards] (PRId64): Likewise.
68984         [C99-based-standards] (PRIi64): Likewise.
68985         [C99-based-standards] (PRIo64): Likewise.
68986         [C99-based-standards] (PRIu64): Likewise.
68987         [C99-based-standards] (PRIx64): Likewise.
68988         [C99-based-standards] (PRIX64): Likewise.
68989         [C99-based-standards] (SCNd64): Likewise.
68990         [C99-based-standards] (SCNi64): Likewise.
68991         [C99-based-standards] (SCNo64): Likewise.
68992         [C99-based-standards] (SCNu64): Likewise.
68993         [C99-based-standards] (SCNx64): Likewise.
68994         [C99-based-standards] (PRIdLEAST64): Likewise.
68995         [C99-based-standards] (PRIiLEAST64): Likewise.
68996         [C99-based-standards] (PRIoLEAST64): Likewise.
68997         [C99-based-standards] (PRIuLEAST64): Likewise.
68998         [C99-based-standards] (PRIxLEAST64): Likewise.
68999         [C99-based-standards] (PRIXLEAST64): Likewise.
69000         [C99-based-standards] (SCNdLEAST64): Likewise.
69001         [C99-based-standards] (SCNiLEAST64): Likewise.
69002         [C99-based-standards] (SCNoLEAST64): Likewise.
69003         [C99-based-standards] (SCNuLEAST64): Likewise.
69004         [C99-based-standards] (SCNxLEAST64): Likewise.
69005         [C99-based-standards] (PRIdFAST64): Likewise.
69006         [C99-based-standards] (PRIiFAST64): Likewise.
69007         [C99-based-standards] (PRIoFAST64): Likewise.
69008         [C99-based-standards] (PRIuFAST64): Likewise.
69009         [C99-based-standards] (PRIxFAST64): Likewise.
69010         [C99-based-standards] (PRIXFAST64): Likewise.
69011         [C99-based-standards] (SCNdFAST64): Likewise.
69012         [C99-based-standards] (SCNiFAST64): Likewise.
69013         [C99-based-standards] (SCNoFAST64): Likewise.
69014         [C99-based-standards] (SCNuFAST64): Likewise.
69015         [C99-based-standards] (SCNxFAST64): Likewise.
69016         [C99-based-standards] (PRIdMAX): Likewise.
69017         [C99-based-standards] (PRIiMAX): Likewise.
69018         [C99-based-standards] (PRIoMAX): Likewise.
69019         [C99-based-standards] (PRIuMAX): Likewise.
69020         [C99-based-standards] (PRIxMAX): Likewise.
69021         [C99-based-standards] (PRIXMAX): Likewise.
69022         [C99-based-standards] (SCNdMAX): Likewise.
69023         [C99-based-standards] (SCNiMAX): Likewise.
69024         [C99-based-standards] (SCNoMAX): Likewise.
69025         [C99-based-standards] (SCNuMAX): Likewise.
69026         [C99-based-standards] (SCNxMAX): Likewise.
69027         [C99-based-standards] (PRIdPTR): Likewise.
69028         [C99-based-standards] (PRIiPTR): Likewise.
69029         [C99-based-standards] (PRIoPTR): Likewise.
69030         [C99-based-standards] (PRIuPTR): Likewise.
69031         [C99-based-standards] (PRIxPTR): Likewise.
69032         [C99-based-standards] (PRIXPTR): Likewise.
69033         [C99-based-standards] (SCNdPTR): Likewise.
69034         [C99-based-standards] (SCNiPTR): Likewise.
69035         [C99-based-standards] (SCNoPTR): Likewise.
69036         [C99-based-standards] (SCNuPTR): Likewise.
69037         [C99-based-standards] (SCNxPTR): Likewise.
69038         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
69039         allow.
69040         * conform/data/stdint.h-data: Update comments to clarify
69041         requirements.
69042         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
69043         type.
69044         [C99-based standards] (INT8_MAX): Likewise.
69045         [C99-based standards] (INT16_MIN): Likewise.
69046         [C99-based standards] (INT16_MAX): Likewise.
69047         [C99-based standards] (INT32_MIN): Likewise.
69048         [C99-based standards] (INT32_MAX): Likewise.
69049         [C99-based standards] (INT64_MIN): Likewise.
69050         [C99-based standards] (INT64_MAX): Likewise.
69051         [C99-based standards] (UINT8_MAX): Likewise.
69052         [C99-based standards] (UINT16_MAX): Likewise.
69053         [C99-based standards] (UINT32_MAX): Likewise.
69054         [C99-based standards] (UINT64_MAX): Likewise.
69055         [C99-based standards] (INT_LEAST8_MIN): Likewise.
69056         [C99-based standards] (INT_LEAST8_MAX): Likewise.
69057         [C99-based standards] (INT_LEAST16_MIN): Likewise.
69058         [C99-based standards] (INT_LEAST16_MAX): Likewise.
69059         [C99-based standards] (INT_LEAST32_MIN): Likewise.
69060         [C99-based standards] (INT_LEAST32_MAX): Likewise.
69061         [C99-based standards] (INT_LEAST64_MIN): Likewise.
69062         [C99-based standards] (INT_LEAST64_MAX): Likewise.
69063         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
69064         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
69065         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
69066         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
69067         [C99-based standards] (INT_FAST8_MIN): Likewise.
69068         [C99-based standards] (INT_FAST8_MAX): Likewise.
69069         [C99-based standards] (INT_FAST16_MIN): Likewise.
69070         [C99-based standards] (INT_FAST16_MAX): Likewise.
69071         [C99-based standards] (INT_FAST32_MIN): Likewise.
69072         [C99-based standards] (INT_FAST32_MAX): Likewise.
69073         [C99-based standards] (INT_FAST64_MIN): Likewise.
69074         [C99-based standards] (INT_FAST64_MAX): Likewise.
69075         [C99-based standards] (UINT_FAST8_MAX): Likewise.
69076         [C99-based standards] (UINT_FAST16_MAX): Likewise.
69077         [C99-based standards] (UINT_FAST32_MAX): Likewise.
69078         [C99-based standards] (UINT_FAST64_MAX): Likewise.
69079         [C99-based standards] (INTPTR_MIN): Likewise.
69080         [C99-based standards] (INTPTR_MAX): Likewise.
69081         [C99-based standards] (UINTPTR_MAX): Likewise.
69082         [C99-based standards] (INTMAX_MIN): Likewise.
69083         [C99-based standards] (INTMAX_MAX): Likewise.
69084         [C99-based standards] (UINTMAX_MAX): Likewise.
69085         [C99-based standards] (PTRDIFF_MIN): Likewise.
69086         [C99-based standards] (PTRDIFF_MAX): Likewise.
69087         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
69088         [C99-based standards] (SIZE_MAX): Likewise.
69089         [C99-based standards] (WCHAR_MAX): Likewise.
69090         [C99-based standards] (WINT_MAX): Likewise.
69091         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
69092         constraint on value.
69093         [C99-based standards] (WCHAR_MIN): Likewise.
69094         [C99-based standards] (WINT_MIN): Likewise.
69095         [C99-based standards] (*_t): Allow.
69096         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
69097         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
69098         Include math.h-data and complex.h-data.  Remove all expectations
69099         of math.h and complex.h contents.
69100         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
69101         at end of line.
69102         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
69103         (struct tm): Expect tag.
69104         [C99-based-standards] (wcstof): Expect function.
69105         [C99-based-standards] (wcstold): Likewise.
69106         [C99-based-standards] (wcstoll): Likewise.
69107         [C99-based-standards] (wcstoull): Likewise.
69108         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
69109         macro-int-constant.  Specify type.
69110         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
69111         constraint on value.
69112         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
69113         Specify type.
69114         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
69115         Specify value.
69116         [ISO C standards]: Do not allow headers.
69117         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
69118         wcs[abcdefghijklmnopqrstuvwxyz]*.
69119         [ISO C standards] (*_t): Do not allow.
69120         * conform/data/wctype.h-data [C99-based standards] (iswblank):
69121         Expect function.
69122         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
69123         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
69124         Specify type.
69125         [ISO C standards]: Do not allow headers.
69126         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
69127         is[abcdefghijklmnopqrstuvwxyz]*.
69128         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
69129         to[abcdefghijklmnopqrstuvwxyz]*.
69130         [ISO C standards] (*_t): Do not allow.
69131         * conform/data/stdalign.h-data: New file.
69132         * conform/data/stdbool.h-data: Likewise.
69133         * conform/data/stdnoreturn.h-data: Likewise.
69135 2012-11-07  Roland McGrath  <roland@hack.frob.com>
69137         [BZ #14815]
69138         * manual/filesys.texi (Directory Entries): Typo fix.
69139         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
69141 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69143         * elf/elf.h (EM_AARCH64): New macro.
69144         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
69145         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
69146         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
69147         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
69148         (R_AARCH64_TLSDESC): Likewise.
69149         (NT_ARM_TLS): Likewise.
69150         (NT_ARM_HW_BREAK): Likewise.
69151         (NT_ARM_HW_WATCH): Likewise.
69153 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
69155         [BZ #14811]
69156         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
69157         (__ieee754_powl): Saturate nonzero exponents with absolute value
69158         below 0x1p-79 to +/- 0x1p-79.
69159         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
69160         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
69161         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
69162         nonzero exponents with absolute value below 0x1p-32 to +/-
69163         0x1p-32.
69164         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
69165         (__ieee754_powl): Saturate nonzero exponents with absolute value
69166         below 0x1p-79 to +/- 0x1p-79.
69167         * math/libm-test.inc (pow_test): Add more tests.
69169 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69171         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
69172         _dl_s390_cap_flags with kernel. Increase string length.
69173         (_dl_s390_platforms): Add z196 and zEC12.
69175 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
69177         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
69178         Change XOPEN21K to XOPEN2K.
69180 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
69182         * string/memmove.c: Use memcpy when possible.
69184 2012-11-06  Andreas Jaeger  <aj@suse.de>
69186         * po/eo.po: Update from translation team.
69188 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
69190         [BZ #14793]
69191         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
69192         exponent and small x and y exponents, scale x or y up.  Increase
69193         by 2 the exponent used in scaling up.
69194         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69195         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69196         * math/libm-test.inc (fma_test): Add more tests.
69197         (fma_test_towardzero): Likewise.
69198         (fma_test_downward): Likewise.
69199         (fma_test_upward): Likewise.
69201 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
69203         [BZ #14805]
69204         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
69205         fenv_t *.
69207         [BZ #14801]
69208         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
69209         namespace for names of struct fields.
69210         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
69211         fenv_t fields.
69212         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
69213         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
69215 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69217         [BZ #3665]
69218         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
69220 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
69222         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
69223         PTR_DEMANGLE.
69225         [BZ #5246]
69226         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
69227         PTR_DEMANGLE.
69229 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
69231         [BZ #14797]
69232         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
69233         definitely overflow as x * y not x * y + z.
69234         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69235         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69236         * math/libm-test.inc (fma_test): Add more tests.
69237         (fma_test_towardzero): Likewise.
69238         (fma_test_downward): Likewise.
69239         (fma_test_upward): Likewise.
69241 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
69243         [BZ #157]
69245         * include/stub-tag.h: Remove file.
69246         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
69247         '#include' of it.
69248         * manual/maint.texi (Porting): Don't reference it.
69249         * Makerules ($(objpfx)stubs): Likewise.
69250         * dirent/closedir.c: Don't include <stub-tag.h>.
69251         * dirent/dirfd.c: Likewise.
69252         * dirent/fdopendir.c: Likewise.
69253         * dirent/getdents.c: Likewise.
69254         * dirent/getdents64.c: Likewise.
69255         * dirent/opendir.c: Likewise.
69256         * dirent/readdir.c: Likewise.
69257         * dirent/readdir64.c: Likewise.
69258         * dirent/readdir64_r.c: Likewise.
69259         * dirent/readdir_r.c: Likewise.
69260         * dirent/rewinddir.c: Likewise.
69261         * dirent/seekdir.c: Likewise.
69262         * dirent/telldir.c: Likewise.
69263         * gmon/profil.c: Likewise.
69264         * grp/setgroups.c: Likewise.
69265         * inet/if_index.c: Likewise.
69266         * io/access.c: Likewise.
69267         * io/chdir.c: Likewise.
69268         * io/chmod.c: Likewise.
69269         * io/chown.c: Likewise.
69270         * io/close.c: Likewise.
69271         * io/dup.c: Likewise.
69272         * io/dup2.c: Likewise.
69273         * io/dup3.c: Likewise.
69274         * io/euidaccess.c: Likewise.
69275         * io/faccessat.c: Likewise.
69276         * io/fchdir.c: Likewise.
69277         * io/fchmod.c: Likewise.
69278         * io/fchmodat.c: Likewise.
69279         * io/fchown.c: Likewise.
69280         * io/fchownat.c: Likewise.
69281         * io/fcntl.c: Likewise.
69282         * io/flock.c: Likewise.
69283         * io/fstatfs.c: Likewise.
69284         * io/fstatfs64.c: Likewise.
69285         * io/fstatvfs.c: Likewise.
69286         * io/fstatvfs64.c: Likewise.
69287         * io/futimens.c: Likewise.
69288         * io/fxstat.c: Likewise.
69289         * io/fxstat64.c: Likewise.
69290         * io/fxstatat.c: Likewise.
69291         * io/fxstatat64.c: Likewise.
69292         * io/getcwd.c: Likewise.
69293         * io/isatty.c: Likewise.
69294         * io/lchmod.c: Likewise.
69295         * io/lchown.c: Likewise.
69296         * io/link.c: Likewise.
69297         * io/linkat.c: Likewise.
69298         * io/lseek.c: Likewise.
69299         * io/lseek64.c: Likewise.
69300         * io/lxstat64.c: Likewise.
69301         * io/mkdir.c: Likewise.
69302         * io/mkdirat.c: Likewise.
69303         * io/mkfifo.c: Likewise.
69304         * io/mkfifoat.c: Likewise.
69305         * io/open.c: Likewise.
69306         * io/open64.c: Likewise.
69307         * io/openat.c: Likewise.
69308         * io/openat64.c: Likewise.
69309         * io/pipe.c: Likewise.
69310         * io/pipe2.c: Likewise.
69311         * io/poll.c: Likewise.
69312         * io/posix_fadvise.c: Likewise.
69313         * io/posix_fadvise64.c: Likewise.
69314         * io/posix_fallocate.c: Likewise.
69315         * io/posix_fallocate64.c: Likewise.
69316         * io/read.c: Likewise.
69317         * io/readlink.c: Likewise.
69318         * io/readlinkat.c: Likewise.
69319         * io/rmdir.c: Likewise.
69320         * io/sendfile.c: Likewise.
69321         * io/sendfile64.c: Likewise.
69322         * io/statfs.c: Likewise.
69323         * io/statfs64.c: Likewise.
69324         * io/statvfs.c: Likewise.
69325         * io/statvfs64.c: Likewise.
69326         * io/symlink.c: Likewise.
69327         * io/symlinkat.c: Likewise.
69328         * io/ttyname.c: Likewise.
69329         * io/ttyname_r.c: Likewise.
69330         * io/umask.c: Likewise.
69331         * io/unlink.c: Likewise.
69332         * io/unlinkat.c: Likewise.
69333         * io/utime.c: Likewise.
69334         * io/utimensat.c: Likewise.
69335         * io/write.c: Likewise.
69336         * io/xmknod.c: Likewise.
69337         * io/xmknodat.c: Likewise.
69338         * io/xstat.c: Likewise.
69339         * io/xstat64.c: Likewise.
69340         * login/getpt.c: Likewise.
69341         * login/grantpt.c: Likewise.
69342         * login/unlockpt.c: Likewise.
69343         * math/e_acoshl.c: Likewise.
69344         * math/e_acosl.c: Likewise.
69345         * math/e_asinl.c: Likewise.
69346         * math/e_atan2l.c: Likewise.
69347         * math/e_atanhl.c: Likewise.
69348         * math/e_coshl.c: Likewise.
69349         * math/e_expl.c: Likewise.
69350         * math/e_fmodl.c: Likewise.
69351         * math/e_gammal_r.c: Likewise.
69352         * math/e_hypotl.c: Likewise.
69353         * math/e_j0l.c: Likewise.
69354         * math/e_j1l.c: Likewise.
69355         * math/e_jnl.c: Likewise.
69356         * math/e_lgammal_r.c: Likewise.
69357         * math/e_log10l.c: Likewise.
69358         * math/e_log2l.c: Likewise.
69359         * math/e_logl.c: Likewise.
69360         * math/e_powl.c: Likewise.
69361         * math/e_rem_pio2l.c: Likewise.
69362         * math/e_sinhl.c: Likewise.
69363         * math/e_sqrtl.c: Likewise.
69364         * math/fclrexcpt.c: Likewise.
69365         * math/fedisblxcpt.c: Likewise.
69366         * math/feenablxcpt.c: Likewise.
69367         * math/fegetenv.c: Likewise.
69368         * math/fegetexcept.c: Likewise.
69369         * math/fegetround.c: Likewise.
69370         * math/feholdexcpt.c: Likewise.
69371         * math/fesetenv.c: Likewise.
69372         * math/fesetround.c: Likewise.
69373         * math/feupdateenv.c: Likewise.
69374         * math/fgetexcptflg.c: Likewise.
69375         * math/fraiseexcpt.c: Likewise.
69376         * math/fsetexcptflg.c: Likewise.
69377         * math/ftestexcept.c: Likewise.
69378         * math/k_cosl.c: Likewise.
69379         * math/k_rem_pio2l.c: Likewise.
69380         * math/k_sinl.c: Likewise.
69381         * math/k_tanl.c: Likewise.
69382         * math/s_asinhl.c: Likewise.
69383         * math/s_atanl.c: Likewise.
69384         * math/s_cbrtl.c: Likewise.
69385         * math/s_erfl.c: Likewise.
69386         * math/s_expm1l.c: Likewise.
69387         * math/s_log1pl.c: Likewise.
69388         * math/s_tanhl.c: Likewise.
69389         * misc/acct.c: Likewise.
69390         * misc/brk.c: Likewise.
69391         * misc/chflags.c: Likewise.
69392         * misc/chroot.c: Likewise.
69393         * misc/fchflags.c: Likewise.
69394         * misc/fgetxattr.c: Likewise.
69395         * misc/flistxattr.c: Likewise.
69396         * misc/fremovexattr.c: Likewise.
69397         * misc/fsetxattr.c: Likewise.
69398         * misc/fsync.c: Likewise.
69399         * misc/ftruncate.c: Likewise.
69400         * misc/futimes.c: Likewise.
69401         * misc/futimesat.c: Likewise.
69402         * misc/getdomain.c: Likewise.
69403         * misc/getdtsz.c: Likewise.
69404         * misc/gethostid.c: Likewise.
69405         * misc/gethostname.c: Likewise.
69406         * misc/getloadavg.c: Likewise.
69407         * misc/getpagesize.c: Likewise.
69408         * misc/getsysstats.c: Likewise.
69409         * misc/getxattr.c: Likewise.
69410         * misc/gtty.c: Likewise.
69411         * misc/ioctl.c: Likewise.
69412         * misc/lgetxattr.c: Likewise.
69413         * misc/listxattr.c: Likewise.
69414         * misc/llistxattr.c: Likewise.
69415         * misc/lremovexattr.c: Likewise.
69416         * misc/lsetxattr.c: Likewise.
69417         * misc/lutimes.c: Likewise.
69418         * misc/madvise.c: Likewise.
69419         * misc/mincore.c: Likewise.
69420         * misc/mlock.c: Likewise.
69421         * misc/mlockall.c: Likewise.
69422         * misc/mmap.c: Likewise.
69423         * misc/mprotect.c: Likewise.
69424         * misc/msync.c: Likewise.
69425         * misc/munlock.c: Likewise.
69426         * misc/munlockall.c: Likewise.
69427         * misc/munmap.c: Likewise.
69428         * misc/preadv.c: Likewise.
69429         * misc/preadv64.c: Likewise.
69430         * misc/ptrace.c: Likewise.
69431         * misc/pwritev.c: Likewise.
69432         * misc/pwritev64.c: Likewise.
69433         * misc/readv.c: Likewise.
69434         * misc/reboot.c: Likewise.
69435         * misc/remap_file_pages.c: Likewise.
69436         * misc/removexattr.c: Likewise.
69437         * misc/revoke.c: Likewise.
69438         * misc/select.c: Likewise.
69439         * misc/setdomain.c: Likewise.
69440         * misc/setegid.c: Likewise.
69441         * misc/seteuid.c: Likewise.
69442         * misc/sethostid.c: Likewise.
69443         * misc/sethostname.c: Likewise.
69444         * misc/setregid.c: Likewise.
69445         * misc/setreuid.c: Likewise.
69446         * misc/setxattr.c: Likewise.
69447         * misc/sstk.c: Likewise.
69448         * misc/stty.c: Likewise.
69449         * misc/swapoff.c: Likewise.
69450         * misc/swapon.c: Likewise.
69451         * misc/sync.c: Likewise.
69452         * misc/syncfs.c: Likewise.
69453         * misc/syscall.c: Likewise.
69454         * misc/truncate.c: Likewise.
69455         * misc/ualarm.c: Likewise.
69456         * misc/usleep.c: Likewise.
69457         * misc/ustat.c: Likewise.
69458         * misc/utimes.c: Likewise.
69459         * misc/vhangup.c: Likewise.
69460         * misc/writev.c: Likewise.
69461         * posix/_exit.c: Likewise.
69462         * posix/alarm.c: Likewise.
69463         * posix/execve.c: Likewise.
69464         * posix/fexecve.c: Likewise.
69465         * posix/fork.c: Likewise.
69466         * posix/fpathconf.c: Likewise.
69467         * posix/getaddrinfo.c: Likewise.
69468         * posix/getegid.c: Likewise.
69469         * posix/geteuid.c: Likewise.
69470         * posix/getgid.c: Likewise.
69471         * posix/getgroups.c: Likewise.
69472         * posix/getlogin.c: Likewise.
69473         * posix/getlogin_r.c: Likewise.
69474         * posix/getpgid.c: Likewise.
69475         * posix/getpid.c: Likewise.
69476         * posix/getppid.c: Likewise.
69477         * posix/getresgid.c: Likewise.
69478         * posix/getresuid.c: Likewise.
69479         * posix/getsid.c: Likewise.
69480         * posix/getuid.c: Likewise.
69481         * posix/glob64.c: Likewise.
69482         * posix/nanosleep.c: Likewise.
69483         * posix/pathconf.c: Likewise.
69484         * posix/pause.c: Likewise.
69485         * posix/posix_madvise.c: Likewise.
69486         * posix/pread.c: Likewise.
69487         * posix/pread64.c: Likewise.
69488         * posix/pwrite.c: Likewise.
69489         * posix/pwrite64.c: Likewise.
69490         * posix/sched_getaffinity.c: Likewise.
69491         * posix/sched_getp.c: Likewise.
69492         * posix/sched_gets.c: Likewise.
69493         * posix/sched_primax.c: Likewise.
69494         * posix/sched_primin.c: Likewise.
69495         * posix/sched_rr_gi.c: Likewise.
69496         * posix/sched_setaffinity.c: Likewise.
69497         * posix/sched_setp.c: Likewise.
69498         * posix/sched_sets.c: Likewise.
69499         * posix/sched_yield.c: Likewise.
69500         * posix/setgid.c: Likewise.
69501         * posix/setlogin.c: Likewise.
69502         * posix/setpgid.c: Likewise.
69503         * posix/setresgid.c: Likewise.
69504         * posix/setresuid.c: Likewise.
69505         * posix/setsid.c: Likewise.
69506         * posix/setuid.c: Likewise.
69507         * posix/sleep.c: Likewise.
69508         * posix/spawni.c: Likewise.
69509         * posix/sysconf.c: Likewise.
69510         * posix/times.c: Likewise.
69511         * posix/wait.c: Likewise.
69512         * posix/wait3.c: Likewise.
69513         * posix/wait4.c: Likewise.
69514         * posix/waitpid.c: Likewise.
69515         * resolv/gai_sigqueue.c: Likewise.
69516         * resource/getpriority.c: Likewise.
69517         * resource/getrlimit.c: Likewise.
69518         * resource/getrusage.c: Likewise.
69519         * resource/nice.c: Likewise.
69520         * resource/setpriority.c: Likewise.
69521         * resource/setrlimit.c: Likewise.
69522         * resource/ulimit.c: Likewise.
69523         * rt/aio_cancel.c: Likewise.
69524         * rt/aio_fsync.c: Likewise.
69525         * rt/aio_read.c: Likewise.
69526         * rt/aio_sigqueue.c: Likewise.
69527         * rt/aio_suspend.c: Likewise.
69528         * rt/aio_write.c: Likewise.
69529         * rt/clock_getres.c: Likewise.
69530         * rt/clock_gettime.c: Likewise.
69531         * rt/clock_nanosleep.c: Likewise.
69532         * rt/clock_settime.c: Likewise.
69533         * rt/lio_listio.c: Likewise.
69534         * rt/mq_close.c: Likewise.
69535         * rt/mq_getattr.c: Likewise.
69536         * rt/mq_notify.c: Likewise.
69537         * rt/mq_open.c: Likewise.
69538         * rt/mq_receive.c: Likewise.
69539         * rt/mq_send.c: Likewise.
69540         * rt/mq_setattr.c: Likewise.
69541         * rt/mq_timedreceive.c: Likewise.
69542         * rt/mq_timedsend.c: Likewise.
69543         * rt/mq_unlink.c: Likewise.
69544         * rt/shm_open.c: Likewise.
69545         * rt/shm_unlink.c: Likewise.
69546         * rt/timer_create.c: Likewise.
69547         * rt/timer_delete.c: Likewise.
69548         * rt/timer_getoverr.c: Likewise.
69549         * rt/timer_gettime.c: Likewise.
69550         * rt/timer_settime.c: Likewise.
69551         * setjmp/__longjmp.c: Likewise.
69552         * setjmp/setjmp.c: Likewise.
69553         * signal/kill.c: Likewise.
69554         * signal/killpg.c: Likewise.
69555         * signal/raise.c: Likewise.
69556         * signal/sigaction.c: Likewise.
69557         * signal/sigaltstack.c: Likewise.
69558         * signal/sigblock.c: Likewise.
69559         * signal/sigignore.c: Likewise.
69560         * signal/sigintr.c: Likewise.
69561         * signal/signal.c: Likewise.
69562         * signal/sigpause.c: Likewise.
69563         * signal/sigpending.c: Likewise.
69564         * signal/sigqueue.c: Likewise.
69565         * signal/sigreturn.c: Likewise.
69566         * signal/sigset.c: Likewise.
69567         * signal/sigsetmask.c: Likewise.
69568         * signal/sigstack.c: Likewise.
69569         * signal/sigsuspend.c: Likewise.
69570         * signal/sigtimedwait.c: Likewise.
69571         * signal/sigvec.c: Likewise.
69572         * signal/sigwait.c: Likewise.
69573         * signal/sigwaitinfo.c: Likewise.
69574         * signal/sysv_signal.c: Likewise.
69575         * socket/accept.c: Likewise.
69576         * socket/accept4.c: Likewise.
69577         * socket/bind.c: Likewise.
69578         * socket/connect.c: Likewise.
69579         * socket/getpeername.c: Likewise.
69580         * socket/getsockname.c: Likewise.
69581         * socket/getsockopt.c: Likewise.
69582         * socket/isfdtype.c: Likewise.
69583         * socket/listen.c: Likewise.
69584         * socket/recv.c: Likewise.
69585         * socket/recvfrom.c: Likewise.
69586         * socket/recvmsg.c: Likewise.
69587         * socket/send.c: Likewise.
69588         * socket/sendmsg.c: Likewise.
69589         * socket/sendto.c: Likewise.
69590         * socket/setsockopt.c: Likewise.
69591         * socket/shutdown.c: Likewise.
69592         * socket/sockatmark.c: Likewise.
69593         * socket/socket.c: Likewise.
69594         * socket/socketpair.c: Likewise.
69595         * stdio-common/ctermid.c: Likewise.
69596         * stdio-common/cuserid.c: Likewise.
69597         * stdio-common/remove.c: Likewise.
69598         * stdio-common/rename.c: Likewise.
69599         * stdio-common/renameat.c: Likewise.
69600         * stdio-common/tempname.c: Likewise.
69601         * stdlib/getcontext.c: Likewise.
69602         * stdlib/makecontext.c: Likewise.
69603         * stdlib/setcontext.c: Likewise.
69604         * stdlib/swapcontext.c: Likewise.
69605         * stdlib/system.c: Likewise.
69606         * streams/fattach.c: Likewise.
69607         * streams/fdetach.c: Likewise.
69608         * streams/getmsg.c: Likewise.
69609         * streams/getpmsg.c: Likewise.
69610         * streams/putmsg.c: Likewise.
69611         * streams/putpmsg.c: Likewise.
69612         * sysdeps/unix/bsd/getpt.c: Likewise.
69613         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
69614         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
69615         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
69616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69617         Likewise.
69618         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
69619         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69620         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
69621         * sysvipc/msgctl.c: Likewise.
69622         * sysvipc/msgget.c: Likewise.
69623         * sysvipc/msgrcv.c: Likewise.
69624         * sysvipc/msgsnd.c: Likewise.
69625         * sysvipc/semctl.c: Likewise.
69626         * sysvipc/semget.c: Likewise.
69627         * sysvipc/semop.c: Likewise.
69628         * sysvipc/semtimedop.c: Likewise.
69629         * sysvipc/shmat.c: Likewise.
69630         * sysvipc/shmctl.c: Likewise.
69631         * sysvipc/shmdt.c: Likewise.
69632         * sysvipc/shmget.c: Likewise.
69633         * termios/tcdrain.c: Likewise.
69634         * termios/tcflow.c: Likewise.
69635         * termios/tcflush.c: Likewise.
69636         * termios/tcgetattr.c: Likewise.
69637         * termios/tcgetpgrp.c: Likewise.
69638         * termios/tcsendbrk.c: Likewise.
69639         * termios/tcsetattr.c: Likewise.
69640         * termios/tcsetpgrp.c: Likewise.
69641         * time/adjtime.c: Likewise.
69642         * time/clock.c: Likewise.
69643         * time/getitimer.c: Likewise.
69644         * time/gettimeofday.c: Likewise.
69645         * time/setitimer.c: Likewise.
69646         * time/settimeofday.c: Likewise.
69647         * time/stime.c: Likewise.
69648         * time/time.c: Likewise.
69650 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
69652         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
69653         /usr/old/bin.
69655         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
69656         instead of spaces.
69657         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
69659 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
69661         [BZ #14796]
69662         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
69663         FE_TONEAREST before applying Dekker multiplication and Knuth
69664         addition.  Clear inexact exceptions and check for exact zero
69665         results afterwards.
69666         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69667         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
69668         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69669         * math/libm-test.inc (fma_test): Add more tests.
69670         (fma_test_towardzero): Likewise.
69671         (fma_test_downward): Likewise.
69672         (fma_test_upward): Likewise.
69673         * sysdeps/generic/math_private.h (default_libc_fesetround): New
69674         function.
69675         (libc_fesetround): New macro.
69676         (libc_fesetroundf): Likewise.
69677         (libc_fesetroundl): Likewise.
69678         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
69679         function.
69680         (libc_fesetround_387): Likewise.
69681         (libc_fesetroundf): New macro.
69682         (libc_fesetround): Likewise.
69683         (libc_fesetroundl): Likewise.
69684         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
69685         function.
69686         (libc_fesetroundf): New macro.
69687         (libc_fesetround): Likewise.
69688         (libc_fesetroundl): Likewise.
69689         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
69690         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
69691         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
69692         libm_hidden_ver.
69693         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
69694         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
69695         libm_hidden_def.
69696         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
69697         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
69698         libm_hidden_ver.
69699         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
69700         libm_hidden_def.
69702         [BZ #3439]
69703         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
69704         integer constant usable in #if and use that to give value to enum
69705         constant.
69706         (FE_DIVBYZERO): Likewise.
69707         (FE_UNDERFLOW): Likewise.
69708         (FE_OVERFLOW): Likewise.
69709         (FE_INVALID): Likewise.
69710         (FE_INVALID_SNAN): Likewise.
69711         (FE_INVALID_ISI): Likewise.
69712         (FE_INVALID_IDI): Likewise.
69713         (FE_INVALID_ZDZ): Likewise.
69714         (FE_INVALID_IMZ): Likewise.
69715         (FE_INVALID_COMPARE): Likewise.
69716         (FE_INVALID_SOFTWARE): Likewise.
69717         (FE_INVALID_SQRT): Likewise.
69718         (FE_INVALID_INTEGER_CONVERSION): Likewise.
69719         (FE_TONEAREST): Likewise.
69720         (FE_TOWARDZERO): Likewise.
69721         (FE_UPWARD): Likewise.
69722         (FE_DOWNWARD): Likewise.
69723         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
69724         (FE_DIVBYZERO): Likewise.
69725         (FE_OVERFLOW): Likewise.
69726         (FE_UNDERFLOW): Likewise.
69727         (FE_INEXACT): Likewise.
69728         (FE_TONEAREST): Likewise.
69729         (FE_DOWNWARD): Likewise.
69730         (FE_UPWARD): Likewise.
69731         (FE_TOWARDZERO): Likewise.
69732         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
69733         (FE_UNDERFLOW): Likewise.
69734         (FE_OVERFLOW): Likewise.
69735         (FE_DIVBYZERO): Likewise.
69736         (FE_INVALID): Likewise.
69737         (FE_TONEAREST): Likewise.
69738         (FE_TOWARDZERO): Likewise.
69739         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
69740         (FE_OVERFLOW): Likewise.
69741         (FE_UNDERFLOW): Likewise.
69742         (FE_DIVBYZERO): Likewise.
69743         (FE_INEXACT): Likewise.
69744         (FE_TONEAREST): Likewise.
69745         (FE_TOWARDZERO): Likewise.
69746         (FE_UPWARD): Likewise.
69747         (FE_DOWNWARD): Likewise.
69748         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
69749         (FE_DIVBYZERO): Likewise.
69750         (FE_OVERFLOW): Likewise.
69751         (FE_UNDERFLOW): Likewise.
69752         (FE_INEXACT): Likewise.
69753         (FE_TONEAREST): Likewise.
69754         (FE_DOWNWARD): Likewise.
69755         (FE_UPWARD): Likewise.
69756         (FE_TOWARDZERO): Likewise.
69758 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
69760         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
69762 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
69764         * scripts/cross-test-ssh.sh (command): Use newlines to separate
69765         commands.  Quote $PWD.
69766         (blacklist_exports): Don't use remove_newlines.  Replace "declare
69767         -x" by "export".
69768         (remove_newlines): Remove.
69770 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
69772         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
69773         * stdlib/stdlib.h (atof): Moved to ...
69774         * include/bits/stdlib-float.h: Here.  New file.
69775         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
69776         * stdlib/bits/stdlib-float.h: New file.
69777         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
69778         -mno-sse -mno-mmx.
69779         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
69780         <xmmintrin.h>.
69782 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69784         * conform/conformtest.pl (@headers): Add fenv.h.
69785         * conform/data/fenv.h-data: New file.
69786         * include/fenv.h [_ISOMAC]: Disable all contents of file except
69787         include of <math/fenv.h>.
69789         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
69790         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
69791         && !UNIX98].  Enables tests for XOPEN2K8.
69792         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
69793         POSIX2008]: Likewise.
69795         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
69796         (struct rusage): Do not expect type or its members.
69798         [BZ #3439]
69799         * math/math.h (FP_NAN): Define macro to integer constant usable in
69800         #if and use that to give value to enum constant.
69801         (FP_INFINITE): Likewise.
69802         (FP_ZERO): Likewise.
69803         (FP_SUBNORMAL): Likewise.
69804         (FP_NORMAL): Likewise.
69806 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
69808         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
69809         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
69810         arguments.
69812 2012-11-02  Roland McGrath  <roland@hack.frob.com>
69814         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
69815         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
69816         autoconf-time if not.
69817         * configure.in: Remove AC_PREREQ.
69819 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69821         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
69822         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
69823         of the internal implementation.
69825 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69827         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
69828         except include of <misc/sys/syslog.h>.
69830 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
69833         function returns with a NULL context exit with zero.
69835 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69837         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
69839 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
69841         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
69842         (run_program_cmd): This.
69843         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
69844         (tst_langinfo): New variable.  Use it.
69846 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
69848         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
69849         floating point opcodes.
69851 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69853         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
69854         variable.
69856         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
69858         * sysdeps/mach/hurd/powerpc: Remove directory.
69859         * sysdeps/mach/powerpc: Likewise.
69861 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69863         * scripts/check-local-headers.sh: Ignore c++ headers.
69865 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69867         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
69868         __libc_cleanup_region_start argument.
69870 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
69872         [BZ #14784]
69873         [BZ #14785]
69874         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
69875         x * y using scaling, not as x * y + z.
69876         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69877         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69878         * math/libm-test.inc (fma_test): Add more tests.
69879         (fma_test_towardzero): Likewise.
69880         (fma_test_downward): Likewise.
69881         (fma_test_upward): Likewise.
69883 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69885         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
69887 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
69889         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
69890         New variable.
69892 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
69894         * rt/tst-shm.c (worker): Correct checking for mmap failure.
69896 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
69898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69899         Fix sort order.
69900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69901         Likewise.
69903 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69906         Fix the order of the list for glibc 2.17.
69907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69908         Likewise.
69910 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
69912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69914 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
69916         [BZ #14610]
69917         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
69918         for low part of x being zero before using __atanl (y).
69919         * math/libm-test.inc (atan2_test): Add another test.
69921         * manual/install.texi (Configuring and compiling): Document
69922         general use of test-wrapper and test-wrapper-env.
69923         * INSTALL: Regenerated.
69925         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
69926         (__fma): Do not extract and scale down low bits on after-rounding
69927         systems when result rounded to normal precision would have normal
69928         exponent.
69929         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
69930         (__fmal): Do not extract and scale down low bits on after-rounding
69931         systems when result rounded to normal precision would have normal
69932         exponent.
69933         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
69934         (__fmal): Do not extract and scale down low bits on after-rounding
69935         systems when result rounded to normal precision would have normal
69936         exponent.
69937         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
69938         macro.
69939         (fma_test): Add more tests.
69940         (fma_test_towardzero): Likewise.
69941         (fma_test_downward): Likewise.
69942         (fma_test_upward): Likewise.
69944 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
69946         * sysdeps/i386/tininess.h: Renamed to ...
69947         * sysdeps/x86/tininess.h: This.
69948         * sysdeps/x86_64/tininess.h: Removed.
69950 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
69952         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
69953         input.  Use $(build-program-cmd).
69954         ($(objpfx)tst-array1-static.out): Likewise.
69955         ($(objpfx)tst-array2.out): Likewise.
69956         ($(objpfx)tst-array3.out): Likewise.
69957         ($(objpfx)tst-array4.out): Likewise.
69958         ($(objpfx)tst-array5.out): Likewise.
69959         ($(objpfx)tst-array5-static.out): Likewise.
69961 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
69963         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
69964         if defined.
69966         * nss/nsswitch.h (nss_interface_function): Provide new
69967         macro for use with NSS functions.
69968         * grp/initgroups.c: Use new macro.
69969         * nss/getXXbyYY.c: Likewise.
69970         * nss/getXXbyYY_r.c: Likewise.
69971         * nss/getXXent.c: Likewise.
69972         * nss/getXXent_r.c: Likewise.
69973         * sysdeps/posix/getaddrinfo.c: Likewise.
69975 2012-10-30  Andreas Jaeger  <aj@suse.de>
69977         * po/ru.po: Update Russion translation from translation project.
69979 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
69981         [BZ #14152]
69982         [BZ #14783]
69983         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
69984         result and shift together with sticky bit instead of replicating
69985         round-to-nearest rounding.
69986         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69987         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69988         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
69989         missing underflow exceptions.
69990         (fma_test_towardzero): Add more tests.
69991         (fma_test_downward): Likewise.
69992         (fma_test_upward): Likewise.
69994         [BZ #14047]
69995         * sysdeps/generic/tininess.h: New file.
69996         * sysdeps/i386/tininess.h: Likewise.
69997         * sysdeps/sh/tininess.h: Likewise.
69998         * sysdeps/x86_64/tininess.h: Likewise.
69999         * stdlib/tst-strtod-underflow.c: Likewise.
70000         * stdlib/tst-tininess.c: Likewise.
70001         * stdlib/strtod_l.c: Include <tininess.h>.
70002         (round_and_return): Do not set errno for exact underflow cases.
70003         Force an underflow exception when setting errno for underflow.
70004         Determine underflow based on rounding to normal precision if
70005         TININESS_AFTER_ROUNDING.
70006         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
70007         ERANGE for exact underflow cases.
70008         * stdlib/Makefile (tests): Add tst-tininess and
70009         tst-strtod-underflow.
70010         ($(objpfx)tst-tininess): Use $(link-libm).
70011         ($(objpfx)tst-strtod-underflow): Likewise.
70013 2012-10-30  Andreas Jaeger  <aj@suse.de>
70015         [BZ #14767]
70016         * elf/Makefile (tests): Remove conditional for have-initfini-array
70017         since this is now always required and the variable does not exist
70018         anymore.
70019         (tests-static): Likewise.
70020         (modules-names): Likewise.
70022         * po/eo.po: Add Esperanto translation from translation project.
70024         * elf/tst-array1.c (fini_array): Make writeable so that it can be
70025         merged with constructor/destructor.
70026         (init_array): Likewise.
70027         * elf/tst-array2dep.c (fini_array): Likewise.
70028         (init_array): Likewise.
70030 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
70032         * manual/message.texi: Delete @cartouche tags.
70034 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
70036         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
70037         EOPNOTSUPP.
70038         * sysdeps/mach/hurd/fsync.c: Likewise.
70040         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
70041         [_POSIX_REALTIME_SIGNALS]: Change condition to
70042         [_POSIX_REALTIME_SIGNALS > 0].
70044 2012-10-27  Andreas Jaeger  <aj@suse.de>
70046         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
70047         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
70048         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
70049         [__WORDSIZE != 64]: Likewise.
70051 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
70053         *  iconvdata/tst-table.sh: Remove ${SHELL}.
70054         *  iconvdata/tst-tables.sh: Likewise.
70056 2012-10-25  David S. Miller  <davem@davemloft.net>
70058         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70059         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
70060         of strtoull.
70062         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
70063         ifunc-impl-list.c
70064         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70065         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
70066         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
70067         file.
70069 2012-10-25  Roland McGrath  <roland@hack.frob.com>
70071         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70072         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
70073         __getdirentries.
70075 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
70076             Jim Blandy  <jimb@codesourcery.com>
70078         * scripts/cross-test-ssh.sh: New file.
70079         * manual/install.texi (Configuring and compiling): Document use of
70080         cross-test-ssh.sh.
70081         * INSTALL: Regenerated.
70083 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
70085         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
70086         EOPNOTSUPP.
70088 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
70090         * Makeconfig (run-program-prefix): Fix comment.
70092 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
70093             Jim Blandy  <jimb@codesourcery.com>
70095         * Makeconfig (test-wrapper): New variable,
70096         (test-wrapper-env): Likewise.
70097         [$(cross-compiling) = yes && $(test-wrapper) != ""]
70098         (run-built-tests): Define to yes.
70099         (run-program-prefix): Use $(test-wrapper).
70100         (built-program-cmd): Likewise.
70101         * Rules (make-test-out): Use $(test-wrapper-env) and
70102         $(host-built-program-cmd).
70103         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
70104         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
70105         tst-pathopt.sh.
70106         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
70107         $(test-wrapper-env) to tst-rtld-load-self.sh.
70108         ($(objpfx)order2.out): Use $(test-wrapper).
70109         ($(objpfx)tst-initorder.out): Likewise.
70110         ($(objpfx)tst-initorder2.out): Likewise.
70111         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
70112         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
70113         (test_wrapper_env): New variable.  Use it to run ld.so.
70114         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
70115         Use it to run ld.so.
70116         (test_wrapper_env): Likewise.
70117         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
70118         $(test-wrapper) to run-iconv-test.sh.
70119         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
70120         (ICONV): Use $test_wrapper.
70121         * posix/Makefile ($(objpfx)globtest.out): Pass
70122         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
70123         globtest.sh, not $(run-program-prefix).
70124         * posix/globtest.sh (run_via_rtld_prefix): New variable.
70125         (test_wrapper): Likewise.
70126         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
70127         set together with run_via_rtld_prefix.
70128         (run_program_prefix): Define in terms of test_wrapper and
70129         run_via_rtld_prefix.
70131 2012-10-24  Roland McGrath  <roland@hack.frob.com>
70133         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
70134         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
70135         Targets removed.
70137         [BZ #14743]
70138         * include/time.h: Remove librt_hidden_proto (clock_gettime).
70139         Declare __clock_getres, __clock_gettime, __clock_settime,
70140         __clock_nanosleep, and __clock_getcpuclockid.
70141         * rt/clock_gettime.c: Define __clock_gettime as an alias.
70142         Remove librt_hidden_def (clock_gettime).
70143         * sysdeps/unix/clock_gettime.c: Likewise.
70144         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
70145         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
70146         * rt/clock_getres.c: Define __clock_getres as an alias.
70147         * sysdeps/posix/clock_getres.c: Likewise.
70148         * rt/clock_settime.c: Define __clock_settime as an alias.
70149         * sysdeps/unix/clock_settime.c: Likewise.
70150         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
70151         * sysdeps/unix/clock_nanosleep.c: Likewise.
70152         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
70153         * rt/clock-compat.c: New file.
70154         * rt/Makefile (librt-routines): Add clock-compat and move
70155         $(clock-routines) to ...
70156         (routines): ... here, new variable.
70157         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
70158         Don't add get_clockfreq here.
70159         * rt/Versions (libc: GLIBC_2.17): New version set.
70160         Add clock_* symbols here.
70161         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
70162         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
70163         (GLIBC_2.17): Add clock_* symbols.
70164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
70165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
70166         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70168         Likewise.
70169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70170         Likewise.
70171         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
70173         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
70174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
70175         * NEWS: Mention the move.
70177         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
70178         Use __open, __read, __close rather than their public counterparts.
70179         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70180         (__get_clockfreq_via_cpuinfo): Likewise.
70181         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
70182         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
70184         * config.h.in (HAVE_IFUNC): New #undef.
70185         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
70186         was successful.
70187         * configure: Regenerated.
70189 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
70191         * configure.in: Move READELF check to start of file.
70192         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
70193         libc_cv_asm_gnu_indirect_function in the process.
70194         * configure: Regenerated.
70196 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
70198         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
70199         send the output to /dev/null.
70200         (libc_cv_cc_with_libunwind): Likewise.
70201         (libc_cv_as_noexecstack): Likewise.
70202         * configure: Regenerate.
70204 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
70206         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
70208         * posix/globtest.sh (TMPDIR): Do not set.
70209         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
70210         (testout): Likewise.
70212 2012-10-24  Andreas Jaeger  <aj@suse.de>
70214         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
70215         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
70216         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
70217         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
70218         posix_fadvise64, posix_fallocate64.
70220         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
70221         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
70222         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
70223         Likewise.
70224         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
70225         Likewise.
70226         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
70228         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
70229         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
70230         <bits/fcntl-linux.h>.
70231         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
70233         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
70234         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
70235         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
70236         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
70237         [__WORDSIZE != 64]: Likewise.
70239 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
70241         * Makeconfig (run-built-tests): New variable.
70242         * Rules [$(cross-compiling) = yes]: Change condition to
70243         [$(run-built-tests) = no].
70244         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
70245         to [$(run-built-tests) = yes].
70246         * elf/Makefile [$(cross-compiling) = no]: Likewise.
70247         * grp/Makefile [$(cross-compiling) = no]: Likewise.
70248         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
70249         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
70250         * intl/Makefile [$(cross-compiling) = no]: Likewise.
70251         * io/Makefile [$(cross-compiling) = no]: Likewise.
70252         * libio/Makefile [$(cross-compiling) = no]: Likewise.
70253         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
70254         * misc/Makefile [$(cross-compiling) = no]: Likewise.
70255         * posix/Makefile [$(cross-compiling) = no]: Likewise.
70256         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
70257         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
70258         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
70259         * string/Makefile [$(cross-compiling) = no]: Likewise.
70261         * posix/Makefile ($(objpfx)globtest.out): Pass
70262         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
70263         $(rtld-installed-name).
70264         * posix/globtest.sh (elf_objpfx): Remove variable.
70265         (rtld_installed_name): Likewise.
70266         (library_path): Likewise.
70267         (run_program_prefix): New variable.  Use for running globtest
70268         binary.
70270 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
70271             Joseph Myers  <joseph@codesourcery.com>
70273         * Makeconfig (host-built-program-cmd): New variable.
70274         * elf/Makefile (tst-stackguard1-ARGS): Use
70275         $(host-built-program-cmd).
70276         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
70277         (tst-spawn-ARGS): Likewise.
70278         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
70280 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
70281             Jim Blandy  <jimb@codesourcery.com>
70283         * Makeconfig (run-via-rtld-prefix): New variable.
70284         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
70285         (built-program-cmd): Likewise.
70287 2012-10-22  Andreas Jaeger  <aj@suse.de>
70289         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
70290         __O_RSYNC if it exists, otherwise to O_SYNC.
70292 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
70293             Joseph Myers  <joseph@codesourcery.com>
70295         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
70296         /dev/null.
70297         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
70298         from /dev/null
70299         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
70300         /dev/null.
70302 2012-10-22  Andreas Jaeger  <aj@suse.de>
70304         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
70305         Define always.
70306         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
70308         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70309         bits/fcntl-linux.h.
70311         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
70312         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
70314         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
70315         to __O_LARGEFILE.
70316         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
70317         to __O_LARGEFILE.
70319 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
70320             Joseph Myers  <joseph@codesourcery.com>
70322         * config.make.in (NM): New variable.
70324 2012-10-21  Andreas Jaeger  <aj@suse.de>
70326         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
70327         definitions and declarations that are provided by
70328         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
70330 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
70332         [BZ #14683]
70333         * elf/Makefile (tests-static): Add tst-leaks1-static.
70334         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
70335         ($(objpfx)tst-leaks1-static): New rule.
70336         ($(objpfx)tst-leaks1-static-mem): Likewise.
70337         (tst-leaks1-static-ENV): New macro.
70338         * elf/dl-open.c (dl_open_worker): Check the main application
70339         only if SHARED is defined.
70340         * elf/tst-leaks1-static.c: New file.
70342 2012-10-20  Andreas Jaeger  <aj@suse.de>
70344         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
70345         generic values for Linux.
70346         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
70347         and declarations that are provided by <bits/fcntl-linux.h> and
70348         include <bits/fcntl-linux.h>.
70349         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70350         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70352 2012-10-20  Roland McGrath  <roland@hack.frob.com>
70354         * io/fcntl.h: Move include of <bits/types.h> to the top and
70355         include it unconditionally.
70357 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
70359         * wcsmbs/Makefile (tests-ifunc): New variable.
70360         (tests): Add $(tests-ifunc).
70361         * wcsmbs/test-wcschr-ifunc.c: New file.
70362         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
70363         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
70364         * wcsmbs/test-wcslen-ifunc.c: Likewise.
70365         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
70366         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
70368         * string/Makefile (tests-ifunc): New variable.
70369         (tests): Add $(tests-ifunc).
70370         * string/test-memccpy.c (TEST_NAME): New macro.
70371         * string/test-memchr.c (TEST_NAME): Likewise.
70372         * string/test-memcmp.c (TEST_NAME): Likewise.
70373         * string/test-memcpy.c (TEST_NAME): Likewise.
70374         * string/test-memmem.c (TEST_NAME): Likewise.
70375         * string/test-memmove.c (TEST_NAME): Likewise.
70376         * string/test-memset.c (TEST_NAME): Likewise.
70377         * string/test-rawmemchr.c (TEST_NAME): Likewise.
70378         * string/test-stpcpy.c (TEST_NAME): Likewise.
70379         * string/test-stpncpy.c (TEST_NAME): Likewise.
70380         * string/test-strcasecmp.c (TEST_NAME): Likewise.
70381         * string/test-strcasestr.c (TEST_NAME): Likewise.
70382         * string/test-strcat.c (TEST_NAME): Likewise.
70383         * string/test-strchr.c (TEST_NAME): Likewise.
70384         * string/test-strcmp.c(TEST_NAME): Likewise.
70385         * string/test-strcpy.c (TEST_NAME): Likewise.
70386         * string/test-strcspn.c (TEST_NAME): Likewise.
70387         * string/test-strlen.c (TEST_NAME): Likewise.
70388         * string/test-strncasecmp.c (TEST_NAME): Likewise.
70389         * string/test-strncmp.c (TEST_NAME): Likewise.
70390         * string/test-strncpy.c (TEST_NAME): Likewise.
70391         * string/test-strnlen.c (TEST_NAME): Likewise.
70392         * string/test-strpbrk.c (TEST_NAME): Likewise.
70393         * string/test-strrchr.c (TEST_NAME): Likewise.
70394         * string/test-strspn.c (TEST_NAME): Likewise.
70395         * string/test-strstr.c (TEST_NAME): Likewise.
70396         * string/test-bcopy-ifunc.c: New file.
70397         * string/test-bzero-ifunc.c: Likewise.
70398         * string/test-memccpy-ifunc.c: Likewise.
70399         * string/test-memchr-ifunc.c: Likewise.
70400         * string/test-memcmp-ifunc.c: Likewise.
70401         * string/test-memcpy-ifunc.c: Likewise.
70402         * string/test-memmem-ifunc.c: Likewise.
70403         * string/test-memmove-ifunc.c: Likewise.
70404         * string/test-mempcpy-ifunc.c: Likewise.
70405         * string/test-memset-ifunc.c: Likewise.
70406         * string/test-rawmemchr-ifunc.c: Likewise.
70407         * string/test-stpcpy-ifunc.c: Likewise.
70408         * string/test-stpncpy-ifunc.c: Likewise.
70409         * string/test-strcasecmp-ifunc.c: Likewise.
70410         * string/test-strcasestr-ifunc.c: Likewise.
70411         * string/test-strcat-ifunc.c: Likewise.
70412         * string/test-strchr-ifunc.c: Likewise.
70413         * string/test-strchrnul-ifunc.c: Likewise.
70414         * string/test-strcmp-ifunc.c: Likewise.
70415         * string/test-strcpy-ifunc.c: Likewise.
70416         * string/test-strcspn-ifunc.c: Likewise.
70417         * string/test-strlen-ifunc.c: Likewise.
70418         * string/test-strncasecmp-ifunc.c: Likewise.
70419         * string/test-strncat-ifunc.c: Likewise.
70420         * string/test-strncmp-ifunc.c: Likewise.
70421         * string/test-strncpy-ifunc.c: Likewise.
70422         * string/test-strnlen-ifunc.c: Likewise.
70423         * string/test-strpbrk-ifunc.c: Likewise.
70424         * string/test-strrchr-ifunc.c: Likewise.
70425         * string/test-strspn-ifunc.c: Likewise.
70426         * string/test-strstr-ifunc.c: Likewise.
70428         * debug/Makefile (tests-ifunc): New variable.
70429         (tests): Add $(tests-ifunc).
70430         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
70431         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
70432         * debug/test-stpcpy_chk-ifunc.c: New file.
70433         * debug/test-strcpy_chk-ifunc.c: Likewise.
70435 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
70437         [BZ #13601]
70438         * elf/dl-load.c (open_verify): Retry read if the entire ELF
70439         header is not read in.
70441 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
70443         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
70444         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
70445         directly.  Pass built executable to script as
70446         $(built-program-cmd).
70447         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
70448         $testprogram without using LD_LIBRARY_PATH and $ldso.
70450         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
70451         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
70452         $(rtld-installed-name).
70453         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
70454         (rtld_installed_name): Likewise.
70455         (library_path): Likewise.
70456         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
70457         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
70458         $(run-program-prefix) to tst-tables.sh.
70459         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
70460         it to run tst-table-from and tst-table-to.
70461         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
70462         Pass it to tst-table.sh.
70463         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
70464         $(run-program-prefix) to tst-gettext.sh.
70465         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
70466         tst-translit.sh.
70467         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
70468         tst-gettext2.sh.
70469         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
70470         to run tst-gettext.
70471         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
70472         to run tst-gettext2.
70473         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
70474         to run tst-translit.
70475         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
70476         $(run-program-prefix) to tst-mtrace.sh.
70477         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
70478         to run tst-mtrace.
70479         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
70480         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
70481         $(rtld-installed-name).
70482         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
70483         (rtld_installed_name): Likewise.
70484         (run_program_prefix): New variable.  Use it to run wordexp-test.
70486         * Makeconfig (ARCH): Remove all definitions.
70487         (machine): Likewise.
70488         [ARCH]: Remove conditional code.
70489         [!objdir]: Give error.
70490         [!objdir] (objpfx): Remove.
70491         [!objdir] (common-objpfx): Likewise.
70492         [!objdir] (common-objdir): Likewise.
70493         * configure.in (config_makefile): Remove.  Hardcode Makefile in
70494         AC_CONFIG_FILES call.
70495         * configure: Regenerated.
70497         [BZ #13888]
70498         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
70499         or TMPDIR.
70500         (testout): Likewise.
70502         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
70503         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
70504         $(rtld-installed-name).
70505         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
70506         (rtld_installed_name): Likewise.
70507         (runit): Remove function.
70508         (run_getconf): New variable,  Use it for running getconf binary.
70510 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
70512         [BZ #14716]
70513         * string/test-memmem.c (check_result): New function.
70514         (do_one_test): Use it.
70515         (check1): New function.
70516         (test_main): Use it.
70518 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
70520         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
70522 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
70524         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
70525         (_G_LSEEK64): Likewise.
70526         (_G_MMAP64): Likewise.
70527         (_G_FSTAT64): Likewise.
70528         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
70529         (_G_LSEEK64): Likewise.
70530         (_G_MMAP64): Likewise.
70531         (_G_FSTAT64): Likewise.
70532         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
70533         unconditional.  Call __mmap64 directly.
70534         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
70535         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
70536         __lseek64 directly.
70537         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
70538         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
70539         __mmap64 directly.
70540         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
70541         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70542         __lseek64 directly.
70543         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
70544         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70545         __lseek64 directly.
70546         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
70547         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
70548         __lseek64 directly.
70549         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
70550         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
70551         __fxstat64 directly.
70552         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
70553         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
70554         unconditional.
70555         (freopen64) [!_G_OPEN64]: Remove conditional code.
70556         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
70557         unconditional.
70558         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
70559         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
70560         unconditional.
70561         (ftello64) [!_G_LSEEK64]: Remove conditional code.
70562         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
70563         unconditional.
70564         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70565         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
70566         unconditional.
70567         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
70568         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
70569         unconditional.
70570         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70571         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
70572         unconditional.
70573         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70574         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
70575         unconditional.
70576         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70578 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70580         [BZ #12140]
70581         * manual/memory.texi (Malloc Tunable Parameters): Add note
70582         about free list pointers overwriting some perturb bytes.
70583         Wording suggested by Roland McGrath.
70585 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
70587         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
70588         (lgamma_test): Likewise.
70589         (tgamma_test): Likewise.
70591 2012-10-16  Florian Weimer  <fweimer@redhat.com>
70593         [BZ #14700]
70594         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
70595         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
70597 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
70599         * NEWS: Mention BZ #14716.
70600         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
70601         when removing AVAILABLE1_USES_J macro.
70603 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
70605         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
70606         (__bswap_64): __uint64_t for unsigned 64-bit int.
70608 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
70610         * include/string.h (memmem): Declare libc hidden alias.
70611         * string/memmem.c (memmem): Define libc hidden alias.
70612         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
70613         __read, __close instead of open, read, close.
70615 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
70617         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
70618         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
70619         global and hidden.
70620         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
70621         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
70622         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
70623         Likewise.
70624         (__rawmemchr_sse2): Likewise.
70625         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
70626         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
70627         (__strchr_sse2): Likewise.
70628         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
70629         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
70630         (__strcasecmp_sse2): Likewise.
70631         (__strncasecmp_sse2): Likewise.
70632         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
70633         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
70634         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
70635         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
70636         (__strrchr_sse2): Likewise.
70637         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
70638         ifunc-impl-list.c.
70639         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
70640         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
70641         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
70642         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
70643         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
70644         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
70645         * sysdeps/x86_64/multiarch/memset.S: Likewise.
70646         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
70647         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
70648         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
70649         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
70650         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
70651         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
70652         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
70653         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
70654         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
70655         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
70656         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
70657         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
70658         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
70659         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
70660         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
70661         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
70662         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
70663         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
70664         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
70665         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
70666         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70667         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
70668         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
70670         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
70671         global and hidden.
70672         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
70673         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
70674         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
70675         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
70676         Likewise.
70677         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
70678         Likewise.
70679         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
70680         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
70681         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
70682         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
70683         ifunc-impl-list.c.
70684         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70685         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70686         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70687         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70688         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70689         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70690         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70691         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70692         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70693         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70694         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70695         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70696         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70697         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
70698         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
70699         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70700         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
70701         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
70702         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70703         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70704         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70705         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70706         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70707         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70708         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70709         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
70710         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
70711         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
70712         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
70713         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70714         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
70715         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70716         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70717         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
70718         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70719         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70720         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70721         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70722         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70723         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70724         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
70726         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
70727         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
70728         * include/ifunc-impl-list.h: New file.
70729         * misc/ifunc-impl-list.c: Likewise.
70730         * misc/Makefile (routines): Add ifunc-impl-list.
70731         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
70732         * string/test-string.h: Include <ifunc-impl-list.h>.
70733         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
70734         TEST_NAME]: New variables.
70735         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
70736         are defined.
70737         (test_init): Call __libc_ifunc_impl_list to initialize
70738         func_list if TEST_IFUNC and TEST_NAME are defined.
70740         * string/Makefile (strop-tests): Add bcopy and bzero.
70741         * string/test-bcopy.c: New file.
70742         * string/test-bzero.c: Likewise.
70743         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
70744         defined.
70745         * string/test-memset.c: Support bzero test if TEST_BZERO is
70746         defined.
70747         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
70748         __libc_memmove.
70749         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
70750         __libc_memset.
70751         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
70752         of memset.
70754 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
70756         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
70757         * configure: Regenerated.
70759         * Makeconfig (+link-static-before-libc): Don't include
70760         $(link-static-libc).
70762         * libio/libio.h (_IO_pos_t): Remove.
70764 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70766         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
70767         McGrath.
70769 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70771         * crypt/crypt-entry.c: Include fips-private.h.
70772         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
70773         * crypt/md5c-test.c (main): Tolerate disabled MD5.
70774         * sysdeps/unix/sysv/linux/fips-private.h: New file.
70775         * sysdeps/generic/fips-private.h: New file, dummy fallback.
70777 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70779         * crypt/crypt-private.h: Include stdbool.h.
70780         (_ufc_setup_salt_r): Return bool.
70781         * crypt/crypt-entry.c: Include errno.h.
70782         (__crypt_r): Return NULL with EINVAL for bad salt.
70783         * crypt/crypt_util.c (bad_for_salt): New.
70784         (_ufc_setup_salt_r): Check that salt is long enough and within
70785         the specified alphabet.
70786         * crypt/badsalttest.c: New file.
70787         * crypt/Makefile (tests): Add it.
70788         ($(objpfx)badsalttest): New.
70790 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
70792         * NEWS: Add entry for BZ #14602.
70794 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70796         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
70797         type-generic.
70798         * math/libm-test.inc: Update comment listing what functions and
70799         macros are tested.
70800         (isgreater_test): New function.
70801         (isgreaterequal_test): Likewise.
70802         (isless_test): Likewise.
70803         (islessequal_test): Likewise.
70804         (islessgreater_test): Likewise.
70805         (isunordered_test): Likewise.
70806         (main): Call the new functions.
70808 2012-10-09  Roland McGrath  <roland@hack.frob.com>
70810         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
70811         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
70812         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
70813         * sysdeps/i386/configure: Regenerated.
70814         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
70815         * sysdeps/mach/configure: Regenerated.
70816         * sysdeps/mach/hurd/configure: Regenerated.
70817         * sysdeps/powerpc/configure: Regenerated.
70818         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70819         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70820         * sysdeps/s390/s390-32/configure: Regenerated.
70821         * sysdeps/s390/s390-64/configure: Regenerated.
70822         * sysdeps/sh/configure: Regenerated.
70823         * sysdeps/sparc/configure: Regenerated.
70824         * sysdeps/unix/sysv/linux/configure: Regenerated.
70825         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
70826         * sysdeps/x86_64/configure: Regenerated.
70828         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
70829         defined.  Don't check if MAP is NULL.
70831 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70833         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
70834         (_G_stat64): Likewise.
70835         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
70836         (_G_stat64): Likewise.
70837         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
70838         instead of struct _G_stat64.
70839         * libio/fileops.c (mmap_remap_check): Likewise.
70840         (decide_maybe_mmap): Likewise.
70841         (_IO_new_file_seekoff): Likewise.
70842         (_IO_file_stat): Likewise.
70843         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
70844         _G_off64_t.
70845         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
70846         instead of struct _G_stat64.
70847         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70849 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
70851         [BZ #14602]
70852         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70853         Replace with ...
70854         (CHECK_EOL): New macro.
70855         (two_way_short_needle): Check beginning of haystack for EOL.  Use
70856         CHECK_EOL.
70857         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70858         Replace with CHECK_EOL.
70859         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70860         Replace with CHECK_EOL.
70862 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
70864         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
70865         type-generic.
70866         * math/libm-test.inc: Update comment listing what functions and
70867         macros are tested.
70868         (finite_test): New function.
70869         (isinf_test): Likewise.
70870         (isnan_test): Likewise.
70871         (fpclassify_test): Test subnormal input.
70872         (isfinite_test): Likewise.
70873         (isnormal_test): Likewise.
70874         (main): Call the new functions.
70876 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
70878         [BZ #14660]
70879         * Makerules (%.dynsym): Force C locale when running
70880         $(OBJDUMP) --dynamic-syms.
70882 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
70884         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
70885         <stdint.h>.
70887 2012-10-06  David S. Miller  <davem@davemloft.net>
70889         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
70890         upper 32-bits of the length value in %o2 since we use branch-on-register
70891         tests which consider the entire 64-bit register.
70893 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
70895         * string/test-strstr.c (check2): Add a test for page boundary.
70897 2012-10-05  David S. Miller  <davem@davemloft.net>
70899         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
70900         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
70901         file.
70902         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70903         sysdep_routines.
70904         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
70905         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
70906         and bzero when HWCAP_SPARC_CRYPTO is present.
70908 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
70910         [BZ #14602]
70911         * string/test-strstr.c (check2): New function.
70912         (test_main): Call check2.
70914         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
70915         and bug-strchr1.
70916         * string/bug-strcasestr1.c (do_test): Moved to ...
70917         * string/test-strcasestr.c (check1): Here.  New function.
70918         (do_one_test): Break out result checking code into ...
70919         (check_result): This.  New function.
70920         (do_one_test): Call check_result.
70921         (test_main): Call check1.
70922         * string/bug-strchr1.c (do_test): Moved to ...
70923         * string/test-strchr.c (check1): Here.  New function.
70924         (do_one_test): Break out result checking code into ...
70925         (check_result): This.  New function.
70926         (do_one_test): Call check_result.
70927         (test_main): Call check1.
70928         * string/bug-strstr1.c (main): Moved to ...
70929         * string/test-strstr.c (check1): Here.  New function.
70930         (do_one_test): Break out result checking code into ...
70931         (check_result): This.  New function.
70932         (do_one_test): Call check_result.
70933         (test_main): Call check1.
70934         * string/bug-strcasestr1.c: Removed.
70935         * string/bug-strchr1.c: Likewise.
70936         * string/bug-strstr1.c: Likewise.
70938         * elf/Makefile (dl-routines): Add hwcaps.
70939         * elf/dl-support.c (_dl_important_hwcaps): Removed.
70940         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
70941         (_dl_important_hwcaps): Moved to ...
70942         * elf/dl-hwcaps.c: Here.  New file.
70943         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
70945         [BZ #14557]
70946         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
70947         if IS_IN_rtld isn't defined.
70949         * elf/dl-support.c (_dl_sysinfo_map): New.
70950         Include "get-dynamic-info.h" and "setup-vdso.h".
70951         (_dl_non_dynamic_init): Call setup_vdso.
70952         * elf/dynamic-link.h: Don't include <assert.h>.
70953         (elf_get_dynamic_info): Moved to ...
70954         * elf/get-dynamic-info.h: Here.  New file.
70955         * elf/dynamic-link.h: Include "get-dynamic-info.h".
70956         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
70957         * elf/setup-vdso.h: Here.  New file.
70958         * elf/rtld.c: Include "setup-vdso.h".
70959         (dl_main): Call setup_vdso.
70961 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
70963         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
70964         creal in comment listing functions tested.  List finite, isinf,
70965         isnan, isless, islessequal, isgreater, isgreaterequal,
70966         islessgreater, isunordered, lgamma_r and pow10 as functions and
70967         macros not tested.  Mention which functions not tested are aliases
70968         for other functions.  Fix typo.  Note that signs of NaNs are not
70969         tested.
70971         * scripts/config.guess: Update from config.git.
70972         * scripts/config.sub: Likewise.
70974 2012-10-04  Roland McGrath  <roland@hack.frob.com>
70976         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
70977         * misc/madvise.c (madvise): Renamed to __madvise.
70978         Make madvise a weak alias.
70979         * include/sys/mman.h: Declare __madvise.
70980         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
70981         * sysdeps/unix/syscalls.list
70982         (madvise): Make __madvise the strong name, and madvise a weak alias.
70983         * sysdeps/unix/sysv/linux/syscalls.list
70984         (madvise, mmap): Remove redundant entries.
70985         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
70986         * malloc/malloc.c (mtrim): Likewise.
70987         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
70989 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70991         * sysdeps/mach/hurd/dl-cache.c: File removed.
70992         * config.h.in (USE_LDCONFIG): New #undef.
70993         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
70994         * configure: Regenerated.
70995         * elf/Makefile (dl-routines): Add dl-cache only under
70996         [$(use-ldconfig) = yes].
70997         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
70998         cache on [USE_LDCONFIG].
70999         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
71000         [USE_LDCONFIG].
71001         * elf/rtld.c (dl_main): Likewise.
71003 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
71005         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
71006         _SC_LEVEL4_CACHE_LINESIZE.
71008 2012-10-03  Roland McGrath  <roland@hack.frob.com>
71010         * sysdeps/unix/bsd/confstr.h: File removed.
71012 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
71014         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
71015         sys/sdt-config.h.
71017 2012-10-02  Roland McGrath  <roland@hack.frob.com>
71019         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
71020         Make 'mapoff' field ElfW(Off) rather than off_t.
71022 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
71024         * nscd/Makefile: Remove nscd-cflags and all its users.
71025         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
71026         (CFLAGS-nonlib): Add compiler flags for nscd modules.
71028         [BZ #10631]
71029         * malloc.c (malloc_printerr): Clarify error message.
71031 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
71033         [BZ #14648]
71034         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71035         Set bit_FMA_Usable if FMA is supported.
71036         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
71037         macro.
71038         (bit_FMA4_Usable): Updated.
71039         (index_FMA_Usable): New macro.
71040         (CPUID_FMA): Likewise.
71041         (HAS_FMA): Defined with bit_FMA_Usable.
71043 2012-10-01  Roland McGrath  <roland@hack.frob.com>
71045         * bits/types.h (__swblk_t): Type removed.
71046         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
71047         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
71048         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71049         (__SWBLK_T_TYPE): Likewise.
71050         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71051         (__SWBLK_T_TYPE): Likewise.
71052         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71053         (__SWBLK_T_TYPE): Likewise.
71054         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71055         (__SWBLK_T_TYPE): Likewise.
71057 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
71058             Honza Horak <hhorak@redhat.com>
71060         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
71061         (xdr_mapname): Use YPMAXMAP as maxsize.
71062         (xdr_peername): Use YPMAXPEER as maxsize.
71063         (xdr_keydat): Use YPAXRECORD as maxsize.
71064         (xdr_valdat): Use YPMAXRECORD as maxsize.
71066 2012-10-01  Roland McGrath  <roland@hack.frob.com>
71068         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
71070         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
71071         * csu/init-first.c: ... here.
71072         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
71073         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
71074         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
71075         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
71076         * sysdeps/i386/init-first.c: File removed.
71077         * sysdeps/sh/init-first.c: File removed.
71079 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
71081         [BZ #14645]
71082         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
71083         if x * y might underflow to zero and z is zero.
71084         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71085         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71086         * math/libm-test.inc (min_subnorm_value): New variable.
71087         (fma_test): Add more tests.
71088         (fma_test_towardzero): Likewise.
71089         (fma_test_downward): Likewise.
71090         (fma_test_upward): Likewise.
71091         (initialize): Set min_subnorm_value.
71093 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
71095         [BZ #14638]
71096         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
71097         0 + 0.
71098         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
71099         mode for addition resulting in exact zero.
71100         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
71101         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
71102         exact 0 + 0.
71103         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
71104         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71105         * math/libm-test.inc (fma_test): Add more tests.
71106         (fma_test_towardzero): New function.
71107         (fma_test_downward): Likewise.
71108         (fma_test_upward): Likewise.
71109         (main): Call the new functions.
71111 2012-09-28  David S. Miller  <davem@davemloft.net>
71113         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
71115 2012-09-28  Roland McGrath  <roland@hack.frob.com>
71117         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
71118         instead of SIGALRM.
71120         * sysdeps/gnu/_G_config.h: Moved to ...
71121         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
71122         * sysdeps/mach/hurd/_G_config.h: Moved to ...
71123         * sysdeps/generic/_G_config.h: ... here.
71125         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
71127         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
71129         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
71130         Conditionalize target on [libnss_test1.so-version].
71132         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
71134         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
71135         (elfobjdir): Move out of conditionals.
71137         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
71138         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
71139         (__nss_lookup_function): Conditionalize label remove_from_tree on
71140         [!DO_STATIC_NSS || SHARED], matching its only use.
71142 2012-09-28  David S. Miller  <davem@davemloft.net>
71144         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
71145         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
71146         file.
71147         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
71148         sysdep_routines.
71149         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
71150         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
71151         when HWCAP_SPARC_CRYPTO is present.
71153 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
71155         * io/tst-mknodat.c: Create a FIFO instead of a socket.
71157 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
71159         [BZ #6530]
71160         * stdio-common/vfprintf.c (process_string_arg): Revert
71161         2000-07-22 change.
71163 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
71165         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
71166         for testcase.
71167         * stdio-common/tst-sprintf.c: Include <locale.h>
71168         (main): Test sprintf's handling of incomplete multibyte
71169         characters.
71171 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
71173         * elf/dl-runtime.c (VERSYMIDX): Removed.
71174         * elf/dl-version.c (VERSYMIDX): Likewise.
71175         * elf/do-rel.h (VERSYMIDX): Likewise.
71176         (VALIDX): Likewise.
71177         * elf/dynamic-link.h (VERSYMIDX): Likewise.
71178         * elf/rtld.c (VALIDX): Likewise.
71179         (ADDRIDX): Likewise.
71180         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
71181         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
71182         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
71183         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
71184         (VALIDX): Likewise.
71185         (ADDRIDX): Likewise.
71187 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
71189         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
71191 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
71193         [BZ #11438]
71194         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
71195         to global scope.
71196         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
71197         addresses are in the same scope as 192.0.2/24.
71198         * posix/gai.conf: Document new scope table defaults.
71200 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71202         [BZ #5298]
71203         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
71204         for ftell.  Compute offsets from write pointers instead.
71205         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
71207 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71209         [BZ #14543]
71210         * libio/Makefile (tests): New test case tst-fseek.
71211         * libio/tst-fseek.c: New test case to verify that fseek/ftell
71212         combination works in wide mode.
71213         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
71214         state when the external buffer state changes.
71216 2012-09-27  David S. Miller  <davem@davemloft.net>
71218         [BZ #14376]
71219         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
71220         pass reloc->r_addend in as the 'high' argument to
71221         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
71223         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71225 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
71227         * rt/tst-aio2.c: Include <pthread.h>.
71228         * rt/tst-aio3.c: Likewise.
71230 2012-09-27  Steve Ellcey  <sellcey@mips.com>
71232         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
71234 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
71236         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
71237         contents on [SHARED].
71239 2012-09-26  Marek Polacek  <polacek@redhat.com>
71241         [BZ #14530]
71242         [BZ #13741]
71243         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
71244         for C++ and GCC <4.3 as well as for non GCC compilers.
71246 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
71248         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71250 2012-09-25  Roland McGrath  <roland@hack.frob.com>
71252         * Makefile.in (all, install): Declare with .PHONY.
71253         Reported by Michael Hope <michael.hope@linaro.org>.
71255 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71257         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
71258         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
71259         system header.
71260         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
71261         Likewise.
71262         (sydep_routines): Add the new and the internal functions.
71263         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
71264         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
71265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
71266         (GLIBC_2.17): Add the new function.
71267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
71268         (GLIBC_2.17): Likewise.
71269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
71270         (GLIBC_2.17): Likewise.
71271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
71272         (GLIBC_2.17): Likewise.
71273         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
71275 2012-09-25  Alan Modra  <amodra@gmail.com>
71277         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
71278         Add release barrier before setting once_control to say
71279         initialisation is done.  Add hints on lwarx.  Use macro in
71280         place of isync.
71281         (clear_once_control): Add release barrier.
71283 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
71285         [BZ #13629]
71286         * math/s_clog.c (__clog): Handle more values close to |z| = 1
71287         specially.
71288         * math/s_clog10.c (__clog10): Likewise.
71289         * math/s_clog10f.c (__clog10f): Likewise.
71290         * math/s_clog10l.c (__clog10l): Likewise.
71291         * math/s_clogf.c (__clogf): Likewise.
71292         * math/s_clogl.c (__clogl): Likewise.
71293         * math/Makefile (libm-calls): Add x2y2m1.
71294         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
71295         (__x2y2m1): Likewise.
71296         (__x2y2m1l): Likewise.
71297         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
71298         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
71299         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
71300         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
71301         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
71302         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
71303         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
71304         * sysdeps/i386/fpu/libm-test-ulps: Update.
71305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71307         [BZ #14621]
71308         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
71309         int as type of variable DEPTH.
71310         (glob): Use size_t instead of int as type of variables NEWCOUNT
71311         and OLD_PATHC.
71313 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71315         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
71316         Add s_sincosf-sse2.
71317         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
71318         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
71319         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
71320         macros for using routine as __sincosf_ia32.
71321         Use macro for function declaration and weak_alias.
71322         * sysdeps/i386/fpu/libm-test-ulps: Update.
71324         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
71325         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71327         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
71328         subnormal argument.
71329         * math/s_cexpf.c (__cexpf): Likewise.
71330         * math/s_csinf.c (__csinf): Likewise.
71331         * math/s_csinhf.c (__csinhf): Likewise.
71332         * math/s_ctanf.c (__ctanf): Likewise.
71333         * math/s_ctanhf.c (__ctanhf): Likewise.
71334         * math/s_ccosh.c (__ccoshf): Likewise.
71335         * math/s_cexp.c (__cexpl): Likewise.
71336         * math/s_csin.c (__csin): Likewise.
71337         * math/s_csinh.c (__csinh): Likewise.
71338         * math/s_ctan.c (__ctan): Likewise.
71339         * math/s_ctanh.c (ctanh): Likewise.
71340         * math/s_ccoshl.c (__ccoshl): Likewise.
71341         * math/s_cexpl.c (__cexpl): Likewise.
71342         * math/s_csinl.c (__csinl): Likewise.
71343         * math/s_csinhl.c (__csinhl): Likewise.
71344         * math/s_ctanl.c (__ctanl): Likewise.
71345         * math/s_ctanhl.c (__ctanhl): Likewise.
71347 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
71349         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
71350         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
71351         (_IO_off_t): Define to __off_t, not _G_off_t.
71352         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
71353         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
71354         (_IO_wint_t): Define to wint_t, not _G_wint_t.
71355         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
71356         type of __dummy and __dummy2 fields.
71357         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
71358         (_G_ssize_t): Likewise.
71359         (_G_off_t): Likewise.
71360         (_G_pid_t): Likewise.
71361         (_G_uid_t): Likewise.
71362         (_G_wchar_t): Likewise.
71363         (_G_wint_t): Likewise.
71364         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
71365         (_G_ssize_t): Likewise.
71366         (_G_off_t): Likewise.
71367         (_G_pid_t): Likewise.
71368         (_G_uid_t): Likewise.
71369         (_G_wchar_t): Likewise.
71370         (_G_wint_t): Likewise.
71371         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
71372         (_G_ssize_t): Likewise.
71373         (_G_off_t): Likewise.
71374         (_G_pid_t): Likewise.
71375         (_G_uid_t): Likewise.
71376         (_G_wchar_t): Likewise.
71377         (_G_wint_t): Likewise.
71379 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71381         * malloc/arena.c: Include malloc-sysdep.h.
71382         (shrink_heap): Use check_may_shrink_heap to decide if madvise
71383         is sufficient to shrink the heap or an unmap is needed.
71384         * sysdeps/generic/malloc-sysdep.h: New file.  Define
71385         new function check_may_shrink_heap.
71386         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
71387         new function check_may_shrink_heap.
71389 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71391         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
71392         comments.
71394 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
71396         * catgets/test-gencat.sh: Add "set -e".
71397         * elf/tst-pathopt.sh: Likewise.
71398         * grp/tst_fgetgrent.sh: Likewise.
71399         * iconvdata/run-iconv-test.sh: Likewise.
71400         * intl/tst-gettext.sh: Likewise.
71401         * intl/tst-gettext2.sh: Likewise.
71402         * intl/tst-gettext4.sh: Likewise.
71403         * intl/tst-gettext6.sh: Likewise.
71404         * intl/tst-translit.sh: Likewise.
71405         * io/ftwtest-sh: Likewise.
71406         * libio/test-freopen.sh: Likewise.
71407         * malloc/tst-mtrace.sh: Likewise.
71408         * posix/globtest.sh: Likewise.
71409         * posix/tst-getconf.sh: Likewise.
71410         * posix/wordexp-tst.sh: Likewise.
71411         * stdio-common/tst-printf.sh: Likewise.
71412         * stdio-common/tst-unbputc.sh: Likewise.
71413         * stdlib/tst-fmtmsg.sh: Likewise.
71414         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
71415         * catgets/Makefile: Do not specify -e option when running
71416         testsuite shell scripts.
71417         * elf/Makefile: Likewise.
71418         * grp/Makefile: Likewise.
71419         * iconvdata/Makefile: Likewise.
71420         * intl/Makefile: Likewise.
71421         * io/Makefile: Likewise.
71422         * libio/Makefile: Likewise.
71423         * malloc/Makefile: Likewise.
71424         * posix/Makefile: Likewise.
71425         * stdio-common/Makefile: Likewise.
71426         * stdlib/Makefile: Likewise.
71427         * sysdeps/x86_64/Makefile: Likewise.
71429         * io/ftwtest-sh: Add copyright header.
71430         * posix/globtest.sh: Likewise.
71431         * posix/tst-getconf.sh: Likewise.
71432         * posix/wordexp-tst.sh: Likewise.
71433         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
71435 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
71437         [BZ #13679]
71438         * Makeconfig (+link): Defined as $(+link-static) if
71439         $(build-shared) isn't yes.
71440         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
71441         isn't yes.
71442         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
71444         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
71446         [BZ #14562]
71447         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
71448         new chunk size with MALLOC_ALIGN_MASK.
71450 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
71452         [BZ #5044]
71453         * stdio-common/printf_fphex.c: Include <stdbool.h> and
71454         <rounding-mode.h>.
71455         (__printf_fphex): Determine rounding using get_rounding_mode and
71456         round_away.
71457         * stdio-common/tst-printf-round.c (struct hex_test): New
71458         structure.
71459         (hex_tests): New variable.
71460         (test_hex_in_one_mode): New function.
71461         (do_test): Also run tests for hex float output.
71463 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
71465         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
71466         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
71467         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
71468         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
71469         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
71470         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
71471         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71472         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71474 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
71476         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
71477         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
71478         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
71479         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
71481 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
71483         [BZ #14579]
71484         * elf/rtld.c (dl_main): Limit the check for self loading to normal
71485         mode only.
71486         * elf/tst-rtld-load-self.sh: New test.
71487         * elf/Makefile: Run it.
71489 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
71491         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
71492         (tst-writev-ENV): Remove.
71493         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
71495 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
71497         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
71499 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
71501         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
71502         unconditional.
71503         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
71504         Likewise.
71505         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
71506         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
71507         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
71508         Likewise.
71510 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
71512         [BZ #14587]
71513         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
71514         * config.make.in (have-cpp-asm-debuginfo): Removed.
71515         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
71516         * configure: Regenerated.
71518 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
71520         [BZ #5044]
71521         * stdio-common/printf_fp.c: Include <stdbool.h> and
71522         <rounding-mode.h>.
71523         (___printf_fp): Determine rounding using get_rounding_mode and
71524         round_away.
71525         * stdio-common/tst-printf-round.c: New file.
71526         * stdio-common/Makefile (tests): Add tst-printf-round.
71527         (link-libm): New variable.
71528         ($(objpfx)tst-printf-round): Depend in $(link-libm).
71530 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
71532         [BZ #14576]
71533         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
71534         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
71535         Likewise.
71536         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
71537         Likewise.
71539 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
71541         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
71542         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71543         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71544         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71546 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
71548         [BZ #14518]
71549         * include/rounding-mode.h: New file.
71550         * sysdeps/generic/get-rounding-mode.h: Likewise.
71551         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
71552         * stdlib/strtod_l.c: Include <rounding-mode.h>.
71553         (MAX_VALUE): New macro.
71554         (MIN_VALUE): Likewise.
71555         (overflow_value): New function.
71556         (underflow_value): Likewise.
71557         (round_and_return): Use overflow_value and underflow_value to
71558         determine return values in overflow and underflow cases.  Use
71559         round_away to determine rounding depending on rounding mode.
71560         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
71561         determine return values in overflow and underflow cases.
71562         * stdlib/tst-strtod-round.c: Include <fenv.h>.
71563         (struct test_results): New structure.
71564         (struct test): Use struct test_results to store expected results
71565         for all rounding modes.
71566         (TEST): Include expected results for all rounding modes.
71567         (test_in_one_mode): New function.
71568         (do_test): Use test_in_one_mode to compute and check results.
71569         Check results for all rounding modes.
71570         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
71571         $(link-libm).
71573 2012-12-09  Allan McRae  <allan@archlinux.org>
71575         * sysdeps/i386/fpu/libm-test-ulps: Update
71577 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
71579         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
71580         (_G_int32_t): Likewise.
71581         (_G_uint16_t): Likewise.
71582         (_G_uint32_t): Likewise.
71583         (_G_HAVE_BOOL): Likewise.
71584         (_G_HAVE_ATEXIT): Likewise.
71585         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71586         (_G_HAVE_IO_FILE_OPEN): Likewise.
71587         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
71588         (_G_int32_t): Likewise.
71589         (_G_uint16_t): Likewise.
71590         (_G_uint32_t): Likewise.
71591         (_G_HAVE_BOOL): Likewise.
71592         (_G_HAVE_ATEXIT): Likewise.
71593         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71594         (_G_HAVE_IO_FILE_OPEN): Likewise.
71595         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
71596         (_G_int32_t): Likewise.
71597         (_G_uint16_t): Likewise.
71598         (_G_uint32_t): Likewise.
71599         (_G_HAVE_BOOL): Likewise.
71600         (_G_HAVE_ATEXIT): Likewise.
71601         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71602         (_G_HAVE_IO_FILE_OPEN): Likewise.
71604 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
71606         * csu/libc-tls.c: Update copyright years.
71608 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
71610         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
71611         [!_G_USING_THUNKS]: Remove conditional code.
71612         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
71613         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
71615         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
71616         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
71617         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71618         (_G_VTABLE_LABEL_PREFIX): Likewise.
71619         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71620         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71621         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71622         (_G_VTABLE_LABEL_PREFIX): Likewise.
71623         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71624         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71625         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71626         (_G_VTABLE_LABEL_PREFIX): Likewise.
71627         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71629 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
71631         * libio/Makefile: Include ../Makeconfig before tests.
71632         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
71633         only if $(build-shared) is yes.
71635         * iconv/gconv_db.c: Update copyright years.
71637 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71639         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
71640         unwind info if defined PIC. Fix special cases description.
71641         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
71643         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
71644         DP_HI_MASK entry.
71645         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
71647 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
71649         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
71651         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
71652         is NULL.
71654         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
71655         (LDLIBS-tst-chk4): This.
71656         (LDFLAGS-tst-chk5): Renamed to ...
71657         (LDLIBS-tst-chk5): This.
71658         (LDFLAGS-tst-chk6): Renamed to ...
71659         (LDLIBS-tst-chk6): This.
71660         (LDFLAGS-tst-lfschk4): Renamed to ...
71661         (LDLIBS-tst-lfschk4): This.
71662         (LDFLAGS-tst-lfschk5): Renamed to ...
71663         (LDLIBS-tst-lfschk5): This.
71664         (LDFLAGS-tst-lfschk6): Renamed to ...
71665         (LDLIBS-tst-lfschk6): This.
71667         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
71668         on $(common-objpfx)soversions.mk.
71670 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
71672         [BZ #10014]
71673         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
71674         example host name.
71676 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
71678         * malloc/arena.c (arena_get_retry): New function that gets
71679         another arena for the caller to try its request on.
71680         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
71681         current arena cannot fulfill the request.
71682         (__libc_memalign): Likewise.
71683         (__libc_memalign): Likewise.
71684         (__libc_pvalloc): Likewise.
71685         (__libc_calloc): Likewise.
71687 2012-09-05  John Tobey  <john.tobey@gmail.com>
71689         [BZ #13542]
71690         * manual/arith.texi (Operations on Complex): Fix description
71691         of carg branch cut.
71693 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71695         [BZ #10014]
71696         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
71697         host name.
71699         [BZ #10038]
71700         * manual/memory.texi (Memory): Make order of menu items match
71701         order of sections.
71703 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71705         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
71706         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
71707         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
71709 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71711         * csu/libc-tls.c (static_dtv): Renamed to ...
71712         (_dl_static_dtv): This.  Make it global.
71713         (_dl_initial_dtv): Removed.
71714         (__libc_setup_tls): Updated.
71715         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
71716         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
71717         DL_INITIAL_DTV.
71719 2012-09-06  Petr Machata  <pmachata@redhat.com>
71721         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
71722         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
71723         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
71724         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
71726 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71728         [BZ #14545]
71729         * csu/libc-tls.c (_dl_initial_dtv): New variable.
71730         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
71731         freeing dtv[-1].
71733 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71735         [BZ #14544]
71736         * Makeconfig (link-static-before-libc): Replace $(+prector)
71737         with $(+prectorT).
71738         (link-static-after-libc): Replace $(+postctor) with
71739         $(+postctorT).
71740         (link-bounded): Replace $(+prector)/$(+postctor) with
71741         $(+prectorT)/$(+postctorT).
71742         (+prectorT): New macro.
71743         (+postctorT): Likewise.
71745 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71747         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
71748         (round_str): Handle values above the maximum for IBM long double
71749         as inexact.
71750         * stdlib/tst-strtod-round.c (tests): Regenerated.
71752 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71754         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
71755         assembler flag.
71756         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
71757         zarch_nohighgprs around the zarch optimized routines.
71758         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
71759         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
71760         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
71761         for zarch.
71763 2012-09-05  David S. Miller  <davem@davemloft.net>
71765         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71767         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
71768         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
71769         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
71770         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71771         entries.
71773 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71775         * malloc/arena.c: Fold copyright years.
71776         * malloc/mcheck.c, malloc/memusage.c: Likewise.
71778 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71780         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
71782 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71784         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
71786 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71788         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
71789         change internal state upon failure.
71791 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71793         * malloc/mcheck.c (mcheck_check_all): Fix typo.
71794         * malloc/memusage.c (mmap): Likewise.
71795         (mmap64, mremap): Likewise.  Adjust name in comment.
71797 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71799         * libio/fileops.c: Fix typos in comments.
71800         * libio/oldfileops.c: Likewise.
71801         * libio/wfileops.c: Likewise.
71803 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71805         [BZ #1349]
71806         * malloc/Makefile (tests): Add tst-malloc-usable test case.
71807         (tst-malloc-usable-ENV): Set environment for test case.
71808         * malloc/hooks.c (malloc_check_get_size): New function to get
71809         requested size.
71810         * malloc/malloc.c (musable): Use malloc_check_get_size.
71811         * malloc/tst-malloc-usable.c: New test case.
71813 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71815         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
71817 2012-09-05  Allan McRae  <allan@archlinux.org>
71819         [BZ #13966]
71820         * configure.in (CXX_SYSINCLUDES): Use compiler output to
71821         determine header location.
71822         * configure: Regenerated.
71824 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71826         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
71827         float format.
71828         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
71829         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
71830         format.
71831         (test): Regenerate.
71833 2012-09-04  David S. Miller  <davem@davemloft.net>
71835         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
71836         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
71837         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
71839 2012-09-04  Florian Weimer  <fweimer@redhat.com>
71841         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
71842         failures.
71844         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
71846 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
71848         [BZ #9914]
71849         * libio/iogetdelim.c: Include <limits.h>.
71850         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
71851         + len + 1 would overflow.
71853 2012-09-03  Andreas Jaeger  <aj@suse.de>
71855         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71856         * sysdeps/i386/fpu/libm-test-ulps: Update.
71858 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71860         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
71861         Add s_sinf-sse2, s_conf-sse2.
71863         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
71864         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
71865         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
71866         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
71868         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
71869         for using routine as __sinf_ia32.
71870         Use macro for function declaration and weak_alias.
71871         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
71872         for using routine as __cosf_ia32.
71873         Use macro for function declaration and weak_alias.
71875         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
71876         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
71878         * sysdeps/x86_64/fpu/s_sinf.S: New file.
71879         * sysdeps/x86_64/fpu/s_cosf.S: New file.
71880         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71882         * math/libm-test.inc (cos_test): Add more test cases.
71883         (sin_test): Likewise.
71884         (sincos_test): Likewise.
71886 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71888         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
71889         (IFUNC_RESOLVE): Make pointers to the specialized implementations
71890         hidden.
71891         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
71893 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
71895         [BZ #14538]
71896         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
71897         first element of the GOT.
71898         (elf_machine_load_address): Return the difference between
71899         the runtime address of _DYNAMIC and elf_machine_dynamic ().
71901 2012-09-01  Allan McRae  <allan@archlinux.org>
71903         [BZ #13412]
71904         * configure.in (AWK): Require gawk version 3.0 or later.
71905         * configure: Regenerated.
71907 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
71909         * sysdeps/unix/sysv/linux/kernel-features.h
71910         (__ASSUME_POSIX_CPU_TIMERS): Remove.
71911         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
71912         [__NR_clock_getres]: Make code unconditional.
71913         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
71914         (clock_getcpuclockid): Remove code left unreachable by removal of
71915         conditionals.
71916         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
71917         code unconditional.
71918         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
71919         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71920         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
71921         Make code unconditional.
71922         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
71923         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71924         * sysdeps/unix/sysv/linux/clock_settime.c
71925         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
71926         conditional code.
71927         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
71928         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71930 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
71932         [BZ #14476]
71933         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
71934         scripts/test-installation.pl.
71936         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
71937         and $ld_so_version if it is set.
71939 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
71941         [BZ #14516]
71942         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
71943         failure if reading from procfs failed.
71944         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
71946 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
71948         * sysdeps/unix/sysv/linux/kernel-features.h
71949         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
71950         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
71951         Remove conditional code.
71952         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71953         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
71954         Remove conditional code.
71955         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71956         * sysdeps/unix/sysv/linux/i386/fxstat.c
71957         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71958         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71959         * sysdeps/unix/sysv/linux/i386/fxstatat.c
71960         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71961         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71962         * sysdeps/unix/sysv/linux/i386/lxstat.c
71963         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71964         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71965         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
71966         Remove conditional code.
71967         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71968         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
71969         Remove conditional code.
71970         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71971         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
71972         <kernel-features.h>.
71973         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
71974         Remove.
71975         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
71976         Remove conditional code.
71977         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71978         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
71979         Remove conditional.
71981 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
71983         [BZ #5400]
71984         * NEWS: Add fixed bug number.
71986 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
71988         [BZ #14519]
71989         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
71990         underflowing exponent in case of negative sign.
71991         * stdlib/tst-strtod-round-data: Add more tests.
71992         * stdlib/tst-strtod-round.c (tests): Regenerated.
71994         [BZ #3479]
71995         * stdlib/strtod_l.c (NDIG): Remove.
71996         (HEXNDIG): Likewise.
71997         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
71998         smallest representable value.
71999         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
72000         lie within an exact representation of 1/2 ulp of the result.
72001         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
72002         unconditionally.
72003         (TENS_P9_IDX): Define unconditionally.
72004         (TENS_P9_SIZE): Likewise.
72005         (TENS_P10_IDX): Likewise.
72006         (TENS_P10_SIZE): Likewise.
72007         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
72008         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
72009         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
72010         entries for 10^2^13 and 10^2^14.
72011         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
72012         (TENS_P13_IDX): Define.
72013         (TENS_P13_SIZE): Likewise.
72014         (TENS_P14_IDX): Likewise.
72015         (TENS_P14_SIZE): Likewise.
72016         (_fpioconst_pow10): Change array size to
72017         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
72018         unconditional.
72019         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
72020         1024]: Add entries for 10^2^13 and 10^2^14.
72021         [LAST_POW10 > _LAST_POW10]: Remove #error.
72022         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
72023         (_fpioconst_pow10): Change array size to
72024         FPIOCONST_POW10_ARRAY_SIZE.
72025         * stdlib/gen-fpioconst.c: New file.
72026         * stdlib/gen-tst-strtod-round.c: Likewise.
72027         * stdlib/tst-strtod-round-data: Likewise.
72028         * stdlib/tst-strtod-round.c: Likewise.
72029         * stdlib/Makefile (tests): Add tst-strtod-round.
72031         [BZ #14459]
72032         * stdlib/strtod_l.c: Include <stdint.h>.
72033         (NDEBUG): Do not define.
72034         (round_and_return): Change EXPONENT parameter to type intmax_t.
72035         Rearrange calculations to avoid internal overflow possibilities.
72036         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
72037         Rearrange calculations to avoid internal overflow possibilities.
72038         Assert that number fits inside MPNSIZE limbs.
72039         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
72040         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
72041         calculations and add assertions to avoid internal overflow
72042         possibilities.  Add casts to avoid signed/unsigned operations.
72043         * stdlib/tst-strtod-overflow.c: New file.
72044         * stdlib/Makefile (tests): Add tst-strtod-overflow.
72046 2012-08-25  Marek Polacek  <polacek@redhat.com>
72048         * time/time.h: Fix some typos in comments.
72050 2012-08-23  Roland McGrath  <roland@hack.frob.com>
72052         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
72053         * posix/tst-rfc3484-2.c: Likewise.
72054         * posix/tst-rfc3484-3.c: Likewise.
72056 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
72058         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
72059         (EF_ARM_ABI_FLOAT_HARD): Likewise.
72061 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
72063         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
72064         #include of fxstatat64.c.
72066 2012-08-22  Roland McGrath  <roland@hack.frob.com>
72068         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
72069         * shadow/getspent_r.c: Likewise.
72070         * shadow/getspnam.c: Likewise.
72071         * shadow/getspnam_r.c: Likewise.
72072         * gshadow/getsgent.c: Likewise.
72073         * gshadow/getsgent_r.c: Likewise.
72074         * gshadow/getsgnam.c: Likewise.
72075         * gshadow/getsgnam_r.c: Likewise.
72076         * inet/getnetbyad.c: Likewise.
72077         * inet/getnetbyad_r.c: Likewise.
72078         * inet/getnetbynm.c: Likewise.
72079         * inet/getnetbynm_r.c: Likewise.
72080         * inet/getnetent.c: Likewise.
72081         * inet/getnetent_r.c: Likewise.
72082         * inet/getproto.c: Likewise.
72083         * inet/getproto_r.c: Likewise.
72084         * inet/getprtent.c: Likewise.
72085         * inet/getprtent_r.c: Likewise.
72086         * inet/getprtname.c: Likewise.
72087         * inet/getprtname_r.c: Likewise.
72088         * inet/getrpcbyname.c: Likewise.
72089         * inet/getrpcbyname_r.c: Likewise.
72090         * inet/getrpcbynumber.c: Likewise.
72091         * inet/getrpcbynumber_r.c: Likewise.
72092         * inet/getrpcent.c: Likewise.
72093         * inet/getrpcent_r.c: Likewise.
72094         * inet/getaliasent.c: Likewise.
72095         * inet/getaliasent_r.c: Likewise.
72096         * inet/getaliasname.c: Likewise.
72097         * inet/getaliasname_r.c: Likewise.
72098         * nscd/getgrgid_r.c: Likewise.
72099         * nscd/getgrnam_r.c: Likewise.
72100         * nscd/gethstbyad_r.c: Likewise.
72101         * nscd/gethstbynm3_r.c: Likewise.
72102         * nscd/getpwnam_r.c: Likewise.
72103         * nscd/getpwuid_r.c: Likewise.
72104         * nscd/getsrvbynm_r.c: Likewise.
72105         * nscd/getsrvbypt_r.c: Likewise.
72106         * nscd/gai.c: Likewise.
72108         * configure.in (build_nscd): New substituted variable, set
72109         by --disable-build-nscd and defaults to $use_nscd.
72110         * configure: Regenerated.
72111         * config.make.in (build-nscd): New substituted variable.
72112         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
72113         Change conditional to require [$(build-nscd) = yes] as well.
72114         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
72116         [BZ #13696]
72117         * configure.in (use_nscd): New substituted variable, set by
72118         --disable-nscd.  If enabled, define USE_NSCD.
72119         * configure: Regenerated.
72120         * config.h.in: Add USE_NSCD.
72121         * config.make.in (use-nscd): New substituted variable.
72122         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
72123         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
72124         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
72125         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
72126         (CFLAGS-getgrnam_r.c): Likewise.
72127         (CFLAGS-initgroups.c): Likewise.
72128         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
72129         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
72130         Variables removed.
72131         * inet/getnetgrent_r.c
72132         (nscd_setnetgrent): New function, broken out of ...
72133         (setnetgrent): ... here.  Call it.
72134         (innetgr): Conditionalize nscd bits on [USE_NSCD].
72135         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
72136         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
72137         * nscd/Makefile (routines, aux): Move definitions after include of
72138         Makeconfig.  Conditionalize on [$(use-nscd) != no].
72139         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
72140         Conditionalize on [USE_NSCD].
72141         (is_nscd, nscd_init_cb): Likewise.
72142         (nss_load_library): Conditionalize init callback on [USE_NSCD].
72143         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
72144         * nss/nss_db/db-init.c: Likewise.
72145         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
72146         [USE_NSCD].
72147         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
72148         (make_request): Use it.
72149         (cache_valid_p): New function.
72150         (__check_pf): Use it.
72151         * NEWS: Add item for --disable-nscd.
72153 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
72155         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
72156         to support sed >= 4.2.1-20-ga9bf076.
72157         * configure: Regenerated.
72159 2012-08-22  Roland McGrath  <roland@hack.frob.com>
72161         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
72162         Conditionalize whole body on [IREL].
72164 2012-08-22  Jeff Law <law@redhat.com>
72166         [BZ #14505]
72167         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
72168         if the family is PF_UNSPEC.
72170 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
72172         * Makerules (lib-version): Rename from V.
72173         (install-lib-nosubdir): Change V to lib-version.
72175 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
72177         [BZ #14252]
72178         * powerpc32/power6/wcschr.c: New file.
72179         * powerpc32/power6/wcscpy.c: New file.
72180         * powerpc32/power6/wcsrchr.c: New file.
72181         * powerpc64/power6/wcschr.c: New file.
72182         * powerpc64/power6/wcscpy.c: New file.
72183         * powerpc64/power6/wcsrchr.c: New file.
72185 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
72187         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
72188         (two_way_short_needle): Use it.
72189         * string/strstr.c (AVAILABLE1_USES_J): Define.
72190         * string/strcasestr.c: Likewise.
72192         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
72193         array references.
72194         * string/strcasestr.c (TOLOWER): Make side-effect safe.
72196         [BZ #11607]
72197         * NEWS: Add an entry.
72198         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
72199         define their defaults.
72200         (two_way_short_needle): Detect end-of-string on-the-fly.
72201         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
72202         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
72203         * string/bug-strcasestr1.c: New test.
72204         * string/Makefile: Run it.
72206 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
72208         [BZ #11607]
72209         * string/str-two-way.h (two_way_short_needle): Optimize matching of
72210         the first character.
72212 2012-08-21  Roland McGrath  <roland@hack.frob.com>
72214         * csu/elf-init.c (__libc_csu_irel): Function removed.
72215         * csu/libc-start.c (apply_irel): New function.
72216         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
72218 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
72220         * sysdeps/unix/sysv/linux/kernel-features.h
72221         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
72222         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
72223         <kernel-features.h>.
72224         [__NR_fadvise64_64]: Make code unconditional.
72225         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
72226         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
72227         !__NR_fadvise64_64)]: Likewise.
72228         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
72229         !__NR_fadvise64_64))]: Likewise.
72230         [__NR_fadvise64]: Make code unconditional.
72231         [!__NR_fadvise64]: Remove conditional code.
72232         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
72233         <kernel-features.h>.
72234         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
72235         unconditional.
72236         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
72237         conditional code.
72238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
72239         not include <kernel-features.h>.
72240         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
72241         unconditional.
72242         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
72243         conditional code.
72244         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
72245         include <kernel-features.h>.
72246         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
72247         unconditional.
72248         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
72249         conditional code.
72251 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
72253         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
72254         slight instruction rearrangements per scrollpipe analysis.
72255         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72257 2012-08-20  Roland McGrath  <roland@hack.frob.com>
72259         * manual/syslog.texi (syslog; vsyslog, closelog):
72260         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
72261         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
72263         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
72264         DSOCAPS to match condition on defining it.
72266 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
72268         * sysdeps/unix/sysv/linux/kernel-features.h
72269         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
72270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
72271         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
72272         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
72273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
72274         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
72275         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
72276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
72277         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
72278         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
72280         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
72281         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
72283         * sysdeps/unix/sysv/linux/kernel-features.h
72284         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
72285         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
72286         unconditional.
72287         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72288         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
72289         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
72290         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72291         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
72292         Make code unconditional.
72293         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72294         (__mmap64) [!__NR_mmap2]: Likewise.
72295         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
72296         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
72297         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72298         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
72299         [__NR_mmap2]: Make code unconditional.
72300         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72301         (__mmap64) [!__NR_mmap2]: Likewise.
72303 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72305         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
72307 2012-08-18  Andreas Jaeger  <aj@suse.de>
72309         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
72311 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
72313         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
72314         * include/unistd.h (__have_sock_cloexec): Likewise.
72315         (__have_pipe2): Likewise.
72316         (__have_dup3): Likewise.
72318 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
72320         [BZ #9685]
72321         * include/unistd.h (__have_pipe2): Change define into an extern int.
72322         (__have_dup3): Likewise.
72323         * socket/have_sock_cloexec.c: Include fcntl.h.
72324         (__have_pipe2): New variable.
72325         (__have_dup3): Likewise.
72327 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
72329         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
72331 2012-08-17  Marek Polacek  <polacek@redhat.com>
72333         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
72334         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
72336 2012-08-17  Roland McGrath  <roland@hack.frob.com>
72338         * configure.in: Add AC_SUBST for sysheaders.
72339         * configure: Regenerated.
72340         * config.make.in (sysheaders): New substituted variable.
72342         * sysdeps/unix/mkfifo.c: Moved ...
72343         * sysdeps/posix/mkfifo.c: ... here.
72344         * sysdeps/unix/mkfifoat.c: Moved ...
72345         * sysdeps/posix/mkfifoat.c: ... here.
72347         * sysdeps/unix/utime.c: Moved ...
72348         * sysdeps/posix/utime.c: ... here.
72350         * sysdeps/unix/time.c: Moved ...
72351         * sysdeps/posix/time.c: ... here.
72352         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
72353         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
72355         * sysdeps/unix/nice.c: Moved ...
72356         * sysdeps/posix/nice.c: ... here.
72358         * sysdeps/unix/alarm.c: Moved ...
72359         * sysdeps/posix/alarm.c: ... here.
72361         * intl/Makefile ($(codeset_mo)): Depend on the input file.
72363 2012-08-17  Jeff Law <law@redhat.com>
72365         * intl/Makefile (codeset_mo): New variable.
72366         ($(codeset_mo)): New target.
72367         (tst-codeset.out): Depend on that.  Remove explicit rule.
72368         (tst-gettext3.out, tst-gettext5.out): Likewise.
72369         (LOCPATH-ENV, tst-codeset-ENV): New variables.
72370         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
72371         * intl/tst-codeset.sh: Remove.
72372         * intl/tst-gettext3.sh: Likewise.
72373         * intl/tst-gettext5.sh: Likewise.
72375 2012-08-17  Roland McGrath  <roland@hack.frob.com>
72377         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
72378         * sysdeps/unix/syscalls.list: ... here.
72380         * sysdeps/posix/getaddrinfo.c
72381         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
72382         (gaiconf_init, gaiconf_reload): Use them.
72383         [!_STATBUF_ST_NSEC]
72384         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
72385         Define using time_t rather than struct timespec.
72387         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
72388         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
72389         Macros removed.
72390         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
72391         [!NO_THREADS].
72392         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
72393         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
72394         Likewise.
72396         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
72397         __libc_cleanup_push argument.
72399         * bits/param.h: New file.
72400         * misc/sys/param.h: New file.
72401         * include/sys/param.h: New file.
72402         * misc/Makefile (headers): Add bits/param.h.
72403         * sysdeps/generic/sys/param.h: File removed.
72404         * sysdeps/unix/sysv/linux/bits/param.h: New file.
72405         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
72406         * sysdeps/mach/hurd/bits/param.h: New file.
72407         * sysdeps/mach/hurd/sys/param.h: File removed.
72409         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
72410         last change.
72412         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
72413         [_IO_MTSAFE_IO].
72414         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
72415         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
72416         New macros.
72418         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
72419         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
72420         rather than -D_IO_MTSAFE_IO conditionally.
72421         * stdio-common/Makefile (CPPFLAGS): Likewise.
72422         * wcsmbs/Makefile (CPPFLAGS): Likewise.
72423         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
72424         Use $(libio-mtsafe).
72425         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
72426         of -D_IO_MTSAFE_IO.
72427         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
72428         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
72429         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
72430         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
72431         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
72432         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
72433         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
72434         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
72435         (CFLAGS-fread_u_chk.c): Likewise.
72436         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
72437         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
72438         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
72439         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
72440         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
72441         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
72442         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
72443         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
72444         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
72446         * libio/Makefile: Test [$(libc-reentrant) = yes]
72447         instead of [$(filter %REENTRANT, $(defines)) nonempty].
72449         * Makeconfig
72450         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
72451         * sysdeps/pthread/configure: File removed.
72452         * sysdeps/pthread/Makeconfig: New file.
72453         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
72454         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
72456 2012-08-16  Gary Benson  <gbenson@redhat.com>
72458         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
72459         unmapping the first object in a namespace.
72461 2012-08-16  Roland McGrath  <roland@hack.frob.com>
72463         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
72464         (__internal_setnetgrent): ... this.  Add internal_function to
72465         definition.  Add libc_hidden_def.
72466         (setnetgrent): Update caller.
72467         (internal_endnetgrent): Renamed to ...
72468         (__internal_endnetgrent): ... this.  Add internal_function to
72469         definition.  Add libc_hidden_def.
72470         (endnetgrent): Update caller.
72471         (internal_getnetgrent_r): Renamed to ...
72472         (__internal_getnetgrent_r): ... this.  Add internal_function to
72473         definition.  Add libc_hidden_def.
72474         (__getnetgrent_r): Update caller.
72475         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
72477 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72479         * stdlib/longlong.h: Update from GCC.
72481 2012-08-16  Roland McGrath  <roland@hack.frob.com>
72483         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
72484         on _QL, which is set by umul_ppmm but never used.
72485         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
72486         variables, which are set by GMP macros but never used.
72487         * stdio-common/_itowa.c (_itowa): Likewise.
72488         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
72489         * stdlib/mod_1.c (mpn_mod_1): Likewise.
72491 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
72493         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
72494         struct La_sh_regs is not constant.
72495         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
72496         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
72497         and struct La_sparc64_regs are not constant.
72499 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72501         * sysdeps/unix/sysv/linux/kernel-features.h
72502         (__ASSUME_POSIX_TIMERS): Remove.
72503         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
72504         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72505         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
72506         Make code unconditional.
72507         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72508         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
72509         Make code unconditional.
72510         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72511         * sysdeps/unix/sysv/linux/clock_nanosleep.c
72512         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
72513         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72514         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
72515         Make code unconditional.
72516         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72517         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
72518         (__libc_missing_posix_timers): Remove.
72520 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72522         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
72523         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
72525         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
72527         * elf/dl-sym.c: Include <stdlib.h>.
72529         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
72530         constants, which avoids warnings in 32-bit builds.
72532         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
72533         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
72535         * misc/lseek.c: File moved to ...
72536         * io/lseek.c: ... here.
72538         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
72540         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
72541         shifting LEN more than 31 bits at once.
72543 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72545         [BZ #14195]
72546         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
72547         segmentation fault for a case of two empty input strings.
72548         * string/test-strncasecmp.c (check1): Renamed to...
72549         (bz12205): ...this.
72550         (bz14195): Add new testcase for two empty input strings and N > 0.
72551         (test_main): Call new testcase, adapt for renamed function.
72553 2012-08-15  Andreas Jaeger  <aj@suse.de>
72555         [BZ #14090]
72556         * crypt/md5test2.c: New test, based on test supplied by Serge
72557         Belyshev <belyshev@depni.sinp.msu.ru>.
72558         * crypt/Makefile (xtests): Add md5test-giant..
72559         * crypt/Makefile ($(objpfx)md5test-giant): Add.
72561 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
72563         [BZ #14090]
72564         * crypt/md5.c (md5_process_block): Don't assume the buffer
72565         length is less than 2**32.
72566         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
72567         length is less than 2**64.
72569 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72571         * string/str-two-way.h: Include <sys/param.h>.
72572         (MAX): Macro removed.
72574         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
72575         Move #define and #undef of memmove to just before and after
72576         including <string.h>.
72578         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
72579         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
72580         and after including <string.h>.  Move declarations of
72581         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
72582         to before #include "string/memmove.c".
72584         * include/dirent.h: Declare __getdirentries.
72586         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
72587         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
72589 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
72591         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
72592         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
72593         * sysdeps/i386/configure: Regenerated.
72594         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
72595         STABS_CURRENT_FILE, and STABS_FUN.
72596         (END): Remove call to STABS_FUN_END.
72597         (STABS_CURRENT_FILE1): Delete.
72598         (STABS_CURRENT_FILE): Likewise.
72599         (STABS_FUN): Likewise.
72600         (STABS_FUN_END): Likewise.
72601         (STABS_FUN2): Likewise.
72602         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
72603         * sysdeps/x86_64/configure: Regenerated.
72605 2012-08-14  Roland McGrath  <roland@hack.frob.com>
72607         * elf/dl-open.c: Include <atomic.h>.
72608         * elf/dl-lookup.c: Likewise.
72610 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
72612         * sysdeps/unix/sysv/linux/kernel-features.h
72613         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
72614         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
72615         unconditionally.
72616         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
72617         unconditionally.
72618         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
72619         condition on __ASSUME_CLONE_THREAD_FLAGS.
72621 2012-08-14  Andreas Jaeger  <aj@suse.de>
72623         * sysdeps/i386/fpu/libm-test-ulps: Update.
72625 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
72627         * include/atomic.h (atomic_exchange_and_add): Split into ...
72628         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
72629         New atomic macros.
72631 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
72633         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72635 2012-08-13  Jeff Law <law@redhat.com>
72637         * manual/stdio.texi (snprintf): Clarify handling of the trailing
72638         null byte in the output string.
72640 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
72642         * sysdeps/unix/sysv/linux/kernel-features.h
72643         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
72644         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
72645         (__ASSUME_ARG_MAX_STACK_BASED): Define.
72646         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
72647         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
72648         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
72649         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
72651 2012-08-09  Jeff Law <law@redhat.com>
72653         [BZ #13939]
72654         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
72655         When avoid_arena is set, don't retry in the that arena.  Pick the
72656         next one, whatever it might be.
72657         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
72658         (arena_lock): Pass in new parameter to arena_get2.
72659         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
72660         arena_get2.
72661         (__libc_malloc): Unify retrying after main arena failure with
72662         __libc_memalign version.
72663         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
72665 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
72667         [BZ #14166]
72668         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
72669         to __redirect_strstr.
72670         (__strstr_sse42): Use typeof __redirect_strstr.
72671         (__strstr_ia32): Likewise.
72672         (__libc_strstr): New prototype.
72673         (strstr): Renamed to ...
72674         (__libc_strstr): This.
72675         (strstr): New strong alias of __libc_strstr.
72676         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
72677         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
72678         __redirect_time.
72679         Include <time.h>.
72680         (__libc_time): New prototype.
72681         (time_ifunc): Replace time with __libc_time.
72682         (time): New strong alias and hidden definition of __libc_time.
72683         (__GI_time): Remove strong alias.
72684         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
72685         Include <stddef.h>.
72686         (memmove): Redefined to __redirect_memmove.
72687         (__memmove_sse2): Use typeof __redirect_memmove.
72688         (__memmove_ssse3): Likewise.
72689         (__memmove_ssse3_back): Likewise.
72690         (__libc_memmove): New prototype.
72691         (memmove): Renamed to ...
72692         (__libc_memmove): This.
72693         (memmove): New strong alias of __libc_memmove.
72695 2012-08-08  Mark Salter  <msalter@redhat.com>
72697         * elf/elf.h
72698         (R_MN10300_TLS_GD): Define.
72699         (R_MN10300_TLS_LD): Likewise.
72700         (R_MN10300_TLS_LDO): Likewise.
72701         (R_MN10300_TLS_GOTIE): Likewise.
72702         (R_MN10300_TLS_IE): Likewise.
72703         (R_MN10300_TLS_LE): Likewise.
72704         (R_MN10300_TLS_DTPMOD): Likewise.
72705         (R_MN10300_TLS_DTPOFF): Likewise.
72706         (R_MN10300_TLS_TPOFF): Likewise.
72707         (R_MN10300_SYM_DIFF): Likewise.
72708         (R_MN10300_ALIGN): Likewise.
72709         (R_MN10300_NUM): Update.
72711 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
72713         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
72714         Remove.
72716 2012-08-08  Roland McGrath  <roland@hack.frob.com>
72718         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
72720         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
72721         sysdeps/unix -> sysdeps/posix move.
72722         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
72724 2012-08-07      Allan McRae     <allan@archlinux.org>
72726         [BZ #14303]
72727         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
72728         (SUNOS_CPP): Likewise.
72729         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
72730         not found.
72731         (open_input): Call CPP using execvp.
72733 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72735         * sysdeps/unix/sysv/linux/kernel-features.h
72736         (__ASSUME_PROT_GROWSUPDOWN): Remove.
72737         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72738         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72739         (__ASSUME_WAITID_SYSCALL): Likewise.
72740         * sysdeps/unix/sysv/linux/dl-execstack.c
72741         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
72742         code unconditional.
72743         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
72744         conditional code.
72745         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
72746         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
72747         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
72748         code.
72749         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
72750         unconditional.
72751         [__ASSUME_WAITID_SYSCALL]: Likewise.
72752         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
72754 2012-08-07  Roland McGrath  <roland@hack.frob.com>
72756         * sysdeps/unix/closedir.c: Renamed to ...
72757         * sysdeps/posix/closedir.c: ... here.
72758         * sysdeps/unix/dirfd.c: Renamed to ...
72759         * sysdeps/posix/dirfd.c: ... here.
72760         * sysdeps/unix/dirstream.h: Renamed to ...
72761         * sysdeps/posix/dirstream.h: ... here.
72762         * sysdeps/unix/fdopendir.c: Renamed to ...
72763         * sysdeps/posix/fdopendir.c: ... here.
72764         * sysdeps/unix/opendir.c: Renamed to ...
72765         * sysdeps/posix/opendir.c: ... here.
72766         * sysdeps/unix/readdir.c: Renamed to ...
72767         * sysdeps/posix/readdir.c: ... here.
72768         * sysdeps/unix/readdir_r.c: Renamed to ...
72769         * sysdeps/posix/readdir_r.c: ... here.
72770         * sysdeps/unix/rewinddir.c: Renamed to ...
72771         * sysdeps/posix/rewinddir.c: ... here.
72772         * sysdeps/unix/seekdir.c: Renamed to ...
72773         * sysdeps/posix/seekdir.c: ... here.
72774         * sysdeps/unix/telldir.c: Renamed to ...
72775         * sysdeps/posix/telldir.c: ... here.
72776         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
72777         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
72778         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
72779         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
72781         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
72782         * bits/fcntl.h: ... here.
72784         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
72785         not 0.
72786         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
72787         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
72788         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
72789         (struct flock): Move l_start, l_len to the beginning.
72790         Use __pid_t for l_pid.
72791         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
72792         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
72793         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
72794         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
72795         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
72796         [__USE_LARGEFILE64] (struct flock64): New type.
72797         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
72799         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
72800         * bits/dirent.h: ... here.
72802         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
72803         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
72805 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72807         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72808         Change from 2.6.0 to 2.6.16.
72809         * sysdeps/unix/sysv/linux/configure: Regenerated.
72810         * sysdeps/unix/sysv/linux/kernel-features.h
72811         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
72812         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
72813         version.
72814         (__ASSUME_UTIMES): Likewise.
72815         (__ASSUME_CLONE_STOPPED): Remove.
72816         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
72817         architectures, not kernel version.
72818         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
72819         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72820         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72821         (__ASSUME_WAITID_SYSCALL): Likewise.
72822         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
72823         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
72824         * README: State 2.6.16 as minimum Linux kernel version.  Do not
72825         refer to older versions.
72827 2012-08-06  Roland McGrath  <roland@hack.frob.com>
72829         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
72830         Define alphasort64 as an alias.
72831         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
72832         Define versionsort64 as an alias.
72833         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
72834         Define scandir64 as an alias.
72835         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
72836         Define scandirat64 as an alias.
72837         * dirent/alphasort64.c (alphasort64):
72838         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
72839         * dirent/versionsort64.c: Likewise.
72840         * dirent/scandir64.c: Likewise.
72841         * dirent/scandirat64.c: Likewise.
72842         * sysdeps/wordsize-64/alphasort.c: File removed.
72843         * sysdeps/wordsize-64/alphasort64.c: File removed.
72844         * sysdeps/wordsize-64/scandir.c: File removed.
72845         * sysdeps/wordsize-64/scandir64.c: File removed.
72846         * sysdeps/wordsize-64/scandirat.c: File removed.
72847         * sysdeps/wordsize-64/scandirat64.c: File removed.
72848         * sysdeps/wordsize-64/versionsort.c: File removed.
72849         * sysdeps/wordsize-64/versionsort64.c: File removed.
72850         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
72851         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
72852         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
72853         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
72854         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
72855         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
72856         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
72857         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
72859         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
72860         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
72861         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
72862         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72863         [defined __arch64__ || defined __sparcv9]
72864         (__INO_T_MATCHES_INO64_T): New macro.
72865         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72866         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
72867         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
72868         * sysdeps/unix/sysv/linux/bits/dirent.h
72869         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
72870         (_DIRENT_MATCHES_DIRENT64): New macro.
72872         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
72873         Define lockf64 as an alias.
72874         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
72875         Define fseeko64 as an alias.
72876         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
72877         Define ftello64 as an alias.
72878         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
72879         Define _IO_fgetpos64 and fgetpos64 as aliases.
72880         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
72881         Define _IO_fsetpos64 and fsetpos64 as aliases.
72882         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
72883         Conditionalize body on this.
72884         * libio/fseeko64.c: Likewise.
72885         * libio/ftello64.c: Likewise.
72886         * libio/iofgetpos64.c: Likewise.
72887         * libio/iofsetpos64.c: Likewise.
72888         * sysdeps/wordsize-64/lockf.c: File removed.
72889         * sysdeps/wordsize-64/lockf64.c: File removed.
72890         * sysdeps/wordsize-64/fseeko.c: File removed.
72891         * sysdeps/wordsize-64/fseeko64.c: File removed.
72892         * sysdeps/wordsize-64/ftello.c: File removed.
72893         * sysdeps/wordsize-64/ftello64.c: File removed.
72894         * sysdeps/wordsize-64/iofgetpos.c: File removed.
72895         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
72896         * sysdeps/wordsize-64/iofsetpos.c: File removed.
72897         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
72898         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
72899         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
72900         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
72901         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
72902         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
72903         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
72904         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
72905         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
72906         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
72907         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
72909         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
72910         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
72911         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
72912         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72913         [defined __arch64__ || defined __sparcv9]
72914         (__OFF_T_MATCHES_OFF64_T): New macro.
72915         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72916         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
72917         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72918         (__OFF_T_MATCHES_OFF64_T): New macro.
72920 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
72922         * stdlib/secure-getenv.c (__secure_getenv): Replace
72923         GLIBC_2_16 with GLIBC_2_17.
72925 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
72927         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
72928         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
72930 2012-08-03  David S. Miller  <davem@davemloft.net>
72932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72934 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
72936         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
72937         Remove.
72938         (__ASSUME_CORRECT_SI_PID): Likewise.
72939         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
72940         (__ASSUME_TMPFS_NAME): Likewise.
72941         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
72942         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
72943         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
72944         (HAVE_AUX_SECURE): Make definition unconditional.
72945         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
72946         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
72948 2012-08-03  Roland McGrath  <roland@hack.frob.com>
72950         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
72951         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
72952         * sysdeps/mach/hurd/eloop-threshold.h: New file.
72953         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72954         __eloop_threshold instead of SYMLOOP_MAX.
72956         * sysdeps/generic/eloop-threshold.h: New file.
72957         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
72958         of MAXSYMLINKS.
72959         * elf/chroot_canon.c (chroot_canon): Likewise.
72961 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
72963         [BZ #13717]
72964         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72965         Change to 2.6.0 everywhere.
72966         * sysdeps/unix/sysv/linux/configure: Regenerated.
72967         * sysdeps/unix/sysv/linux/kernel-features.h
72968         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
72969         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
72970         kernel versions.
72971         (__ASSUME_POSIX_TIMERS): Define unconditionally.
72972         (__ASSUME_FUTEX_REQUEUE): Remove.
72973         (__ASSUME_STATFS64): Define unconditionally.
72974         (__ASSUME_AT_SECURE): Likewise.
72975         (__ASSUME_CORRECT_SI_PID): Likewise.
72976         (__ASSUME_TGKILL): Define without depending on kernel version for
72977         i386.
72978         (__ASSUME_UTIMES): Likewise.
72979         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
72980         kernel version.
72981         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
72982         (__ASSUME_TMPFS_NAME): Likewise.
72983         * README: Update reference to Linux kernel versions.
72985 2012-08-02  Marek Polacek  <polacek@redhat.com>
72987         [BZ #14150]
72988         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
72989         libc_cv_asm_type_prefix with %.
72990         * configure: Regenerated.
72991         * include/libc-symbols.h: Remove comment about
72992         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72993         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
72994         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
72995         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
72996         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
72997         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72998         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
72999         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
73000         * elf/tst-unique2mod1.c: Likewise.
73001         * elf/tst-unique1mod2.c: Likewise.
73002         * elf/tst-unique1mod1.c: Likewise.
73003         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
73004         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
73005         Replace ASM_TYPE_DIRECTIVE with .type.
73006         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73007         * sysdeps/i386/sysdep.h: Likewise.
73008         * sysdeps/x86_64/sysdep.h: Likewise.
73009         * sysdeps/sh/sysdep.h: Likewise.
73010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
73011         Do not define ASM_TYPE_DIRECTIVE.
73012         * sysdeps/powerpc/sysdep.h: Likewise.
73013         * sysdeps/powerpc/powerpc32/sysdep.h:
73014         Replace ASM_TYPE_DIRECTIVE with .type.
73015         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
73016         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
73017         * sysdeps/i386/fpu/e_powf.S: Likewise.
73018         * sysdeps/i386/fpu/e_expl.S: Likewise.
73019         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73020         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73021         * sysdeps/i386/fpu/e_pow.S: Likewise.
73022         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
73023         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73024         * sysdeps/i386/fpu/s_expm1.S: Likewise.
73025         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
73026         * sysdeps/i386/fpu/e_log2.S: Likewise.
73027         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73028         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73029         * sysdeps/i386/fpu/e_powl.S: Likewise.
73030         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73031         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
73032         * sysdeps/i386/fpu/e_logl.S: Likewise.
73033         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
73034         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
73035         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73036         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73037         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73038         * sysdeps/i386/fpu/e_log.S: Likewise.
73039         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73040         * sysdeps/i386/fpu/e_logf.S: Likewise.
73041         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73042         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73043         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73044         * sysdeps/i386/fpu/e_log10.S: Likewise.
73045         * sysdeps/i386/fpu/s_frexp.S: Likewise.
73046         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73047         * sysdeps/i386/fpu/s_asinh.S: Likewise.
73048         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73049         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73050         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
73051         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73052         * sysdeps/i386/i686/strtok.S: Likewise.
73053         * sysdeps/i386/i386-mcount.S: Likewise.
73054         * sysdeps/i386/strtok.S: Likewise.
73055         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
73056         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73057         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73058         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73059         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
73060         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73061         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73062         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73063         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73064         * sysdeps/x86_64/_mcount.S: Likewise.
73065         * sysdeps/x86_64/strtok.S: Likewise.
73066         * sysdeps/sh/_mcount.S: Likewise.
73068 2012-08-01  Roland McGrath  <roland@hack.frob.com>
73070         * libio/iofopen.c: Include <fcntl.h>.
73071         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
73072         (_IO_fopen64, fopen64): Define as aliases.
73073         * libio/iofopen64.c: Include <fcntl.h>.
73074         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
73075         Conditionalize body on this.
73076         * sysdeps/wordsize-64/iofopen.c: File removed.
73077         * sysdeps/wordsize-64/iofopen64.c: File removed.
73079 2012-08-01  Marek Polacek  <polacek@redhat.com>
73081         * libc/Makeconfig: Use elf in place of binfmt-subdir.
73082         Use dlfcn directly instead of a variable.
73083         (binfmt-subdir): Do not define.
73084         (dlfcn): Likewise.
73086 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
73088         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
73089         Remove all definitions.
73090         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
73091         <kernel-features.h>.
73092         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
73093         (miss_F_GETOWN_EX): Remove all definitions.
73094         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
73095         macro definition.
73096         [!__ASSUME_FCNTL64]: Remove conditional code.
73097         [__ASSUME_FCNTL64]: Make code unconditional.
73098         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
73099         <kernel-features.h>.
73100         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
73101         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
73102         (lockf64) [__NR_fcntl64]: Make code unconditional.
73103         (lockf64) [__ASSUME_FCNTL64]: Likewise.
73105         * sysdeps/unix/sysv/linux/kernel-features.h
73106         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
73107         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
73108         Make code unconditional.
73109         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73110         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
73112         [__NR_vfork]: Make code unconditional.
73113         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73114         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
73116         [__NR_vfork]: Make code unconditional.
73117         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73118         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73120 2012-08-01  Roland McGrath  <roland@hack.frob.com>
73122         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
73123         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
73125         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73126         Define mkstemp64 as an alias.
73127         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73128         Define mkstemps64 as an alias.
73129         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73130         Define mkostemp64 as an alias.
73131         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73132         Define mkostemps64 as an alias.
73133         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
73134         Conditionalize body on this.
73135         * misc/mkostemp64.c: Likewise.
73136         * misc/mkostemps64.c: Likewise.
73137         * misc/mkstemps64.c: Likewise.
73138         * sysdeps/wordsize-64/mkstemp64.c: File removed.
73139         * sysdeps/wordsize-64/mkostemp64.c: File removed.
73140         * sysdeps/wordsize-64/mkostemp.c: File removed.
73141         * sysdeps/wordsize-64/mkstemp.c: File removed.
73142         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
73143         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
73144         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
73145         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
73147         [BZ #14138]
73148         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
73149         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
73150         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
73151         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
73153         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
73154         compat_symbol macros from <shlib-compat.h> rather than the underlying
73155         default_symbol_version and symbol_version macros, so that DEFAULT
73156         lines in shlib-versions are respected.
73157         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
73159 2012-08-01  Florian Weimer  <fweimer@redhat.com>
73161         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
73162         Declare with warn_unused_result.
73163         (setgid, setregid, setegid, setresgid): Likewise.
73164         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
73165         Likewise.
73166         * WUR-REPORT: Remove set*id functions.
73168 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
73170         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
73172 2012-07-31  Roland McGrath  <roland@hack.frob.com>
73174         [BZ #10191]
73175         * include/sys/socket.h (__libc_accept, __libc_accept4):
73176         Add attribute_hidden.
73177         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
73179         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
73180         use of PTR_MANGLE.
73181         * inet/getnetgrent_r.c (setup): Likewise.
73183         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
73185 2012-07-31  David S. Miller  <davem@davemloft.net>
73187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73189 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
73191         [BZ #13629]
73192         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
73193         value between 1.0 and 2.0 and smaller part has absolute value less
73194         than 1.0.
73195         * math/s_clog10.c (__clog10): Likewise.
73196         * math/s_clog10f.c (__clog10f): Likewise.
73197         * math/s_clog10l.c (__clog10l): Likewise.
73198         * math/s_clogf.c (__clogf): Likewise.
73199         * math/s_clogl.c (__clogl): Likewise.
73200         * math/libm-test.inc (clog_test): Add more tests.
73201         (clog10_test): Likewise.
73202         * sysdeps/i386/fpu/libm-test-ulps: Update.
73203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73205 2012-07-31  Florian Weimer  <fweimer@redhat.com>
73207         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
73208         Exit with zero in case no suitable GID is found, and write a
73209         message to standard error.
73211 2012-07-30  Roland McGrath  <roland@hack.frob.com>
73213         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
73214         rather than to 1.
73215         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
73216         (MAXPATHLEN): Removed.
73217         (NOGROUP, NODEV): New macros.
73218         (setbit, clrbit, isset, isclr): New macros.
73219         (howmany, roundup, powerof2): New macros.
73220         (DEV_BSIZE): New macro.
73222         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
73223         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
73225         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
73226         definition on [!__NO_LONG_DOUBLE_MATH].
73228         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
73229         PTR_MANGLE and PTR_DEMANGLE.
73231         * socket/accept4.c (accept4): Rename to __libc_accept4.
73232         Define accept4 as a weak alias.
73234         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
73235         on [_DIRENT_HAVE_D_TYPE].
73236         * io/ftw.c (ftw_dir): Likewise.
73238         * io/xmknod.c (__xmknod): Don't check PATH for being null.
73240         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
73242         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
73243         Use the BSD numbers rather than the arbitrary ones we had.
73244         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
73245         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
73246         (SIGXCPU, SIGXFSZ): New macros.
73247         (_NSIG): Now 32.
73249         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
73250         initializer on [_LIBC_REENTRANT].
73252         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
73253         definitions inside [_POSIX_MAPPED_FILES].
73255         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
73257         * dirent/opendir.c: Include <fcntl.h>.
73259         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
73260         (__libc_getspecific): Likewise.
73261         (__libc_key_create): Likewise.
73263         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
73264         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
73265         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
73266         (tmpfile64): Define as alias.
73267         * sysdeps/wordsize-64/tmpfile.c: File removed.
73268         * sysdeps/wordsize-64/tmpfile64.c: File removed.
73269         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
73270         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
73272         * stdio-common/vfscanf.c: Include <stdbool.h>.
73273         * nss/makedb.c: Likewise.
73274         * stdio-common/_i18n_number.h: Likewise.
73275         * argp/argp-help.c: Likewise.
73276         * posix/wordexp.c: Likewise.
73277         * sysdeps/posix/spawni.c: Likewise.
73278         * nss/nss_files/files-initgroups.c: Likewise.
73279         * stdio-common/reg-modifier.c: Include <stdlib.h>.
73280         * nss/nss_files/files-initgroups.c: Likewise.
73281         * nss/nss_db/db-netgrp.c: Likewise.
73282         * nss/nss_db/db-initgroups.c: Likewise.
73283         * io/fchmodat.c: Include <sys/stat.h>.
73285         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
73286         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
73288         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
73289         [HAVE_MMAP].
73291         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
73292         Add multiple inclusion protection.
73294 2012-07-27  David S. Miller  <davem@davemloft.net>
73296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73298 2012-07-27  Gary Benson  <gbenson@redhat.com>
73300         [BZ #14298]
73301         * elf/rtld.c: Include <stap-probe.h>.
73302         (dl_main): Added static probes "init_start" and "init_complete".
73303         * elf/dl-load.c: Include <stap-probe.h>.
73304         (lose): Take new parameter "nsid".
73305         Added static probe "map_failed".
73306         (_dl_map_object_from_fd): Pass namespace id to lose.
73307         Added static probe "map_start".
73308         (open_verify): Pass namespace id to lose.
73309         * elf/dl-open.c: Include <stap-probe.h>.
73310         (dl_open_worker) Added static probes "map_complete", "reloc_start"
73311         and "reloc_complete".
73312         * elf/dl-close.c: Include <stap-probe.h>.
73313         (_dl_close_worker): Added static probes "unmap_start" and
73314         "unmap_complete".
73315         * elf/rtld-debugger-interface.txt: New file documenting the above.
73317 2012-07-26  Roland McGrath  <roland@hack.frob.com>
73319         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
73320         rather than a string variable.
73321         * sunrpc/rpc_main.c (h_output): Likewise.
73322         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
73324 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
73326         * inet/check_native.c: New file.
73328 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
73330         [BZ #13629]
73331         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
73332         if larger part has absolute value 1.0.
73333         * math/s_clog10.c (__clog10): Likewise.
73334         * math/s_clog10f.c (__clog10f): Likewise.
73335         * math/s_clog10l.c (__clog10l): Likewise.
73336         * math/s_clogf.c (__clogf): Likewise.
73337         * math/s_clogl.c (__clogl): Likewise.
73338         * math/libm-test.inc (clog_test): Add more tests.
73339         (clog10_test): Likewise.
73340         * sysdeps/i386/fpu/libm-test-ulps: Update.
73341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73343         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
73344         (pltexit): Likewise.
73345         (La_regs): Likewise.
73346         (La_retval): Likewise.
73347         (int_retval): Likewise.
73348         Update #error for removed macros to refer only to definitions in
73349         tst-audit.h.
73350         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
73351         macro.
73352         (pltexit): Likewise.
73353         (La_regs): Likewise.
73354         (La_retval): Likewise.
73355         (int_retval): Likewise.
73356         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
73357         macro.
73358         (pltexit): Likewise.
73359         (La_regs): Likewise.
73360         (La_retval): Likewise.
73361         (int_retval): Likewise.
73362         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
73363         macro.
73364         (pltexit): Likewise.
73365         (La_regs): Likewise.
73366         (La_retval): Likewise.
73367         (int_retval): Likewise.
73368         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
73369         macro.
73370         (pltexit): Likewise.
73371         (La_regs): Likewise.
73372         (La_retval): Likewise.
73373         (int_retval): Likewise.
73374         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
73375         macro.
73376         (pltexit): Likewise.
73377         (La_regs): Likewise.
73378         (La_retval): Likewise.
73379         (int_retval): Likewise.
73380         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
73381         macro.
73382         (pltexit): Likewise.
73383         (La_regs): Likewise.
73384         (La_retval): Likewise.
73385         (int_retval): Likewise.
73386         * sysdeps/generic/tst-audit.h: Update comment to refer only to
73387         macro definitions in tst-audit.h.
73388         * sysdeps/i386/tst-audit.h: New file.
73389         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
73390         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
73391         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
73392         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
73393         * sysdeps/sh/tst-audit.h: Likewise.
73394         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
73395         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
73396         * sysdeps/x86_64/tst-audit.h: Likewise.
73398 2012-07-26  Andreas Jaeger  <aj@suse.de>
73400         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
73401         ptrace.
73403         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
73404         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
73405         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
73406         PTRACE_O_MASK.
73407         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
73408         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
73409         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
73411         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
73412         value.
73414         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
73415         _sigsys.
73416         (si_call_addr, si_syscall, si_arch): Define new macro.
73417         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
73418         _sigsys.
73419         (si_call_addr, si_syscall, si_arch): Define new marcro.
73420         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
73421         _sigsys.
73422         (si_call_addr, si_syscall, si_arch): Define new macro.
73423         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
73424         _sigsys.
73425         (si_call_addr, si_syscall, si_arch): Define new macro.
73427 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
73429         [BZ #13717]
73430         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73431         Change to 2.4.21 where previously 2.4.1.
73432         * sysdeps/unix/sysv/linux/configure: Regenerated.
73433         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
73434         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
73435         Linux kernel version.
73436         (__ASSUME_STD_AUXV): Remove.
73437         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
73438         kernel version.
73439         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
73440         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
73441         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
73442         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
73443         (__ASSUME_NETLINK_SUPPORT): Likewise.
73444         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
73445         (__no_netlink_support): Remove conditional definition.
73446         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
73447         Remove.
73448         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
73449         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
73450         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
73451         (if_nameindex_ioctl): Remove.
73452         (if_nameindex_netlink): Do not handle __no_netlink_support.
73453         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
73454         code.
73455         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
73456         Remove conditional code.
73457         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
73458         code.
73459         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
73460         unconditional.
73461         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
73462         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
73463         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
73464         Remove.
73465         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
73466         [!__ASSUME_STD_AUXV]: Remove conditional code.
73467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
73468         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
73469         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
73470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
73471         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
73472         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73473         code.
73474         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
73476         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
73477         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73478         conditional code.
73479         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
73481         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73482         code.
73483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
73484         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73485         conditional code.
73486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
73487         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73488         code unconditional.
73489         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73490         conditional code.
73491         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73492         unconditional.
73493         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73494         conditional code.
73495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
73496         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73497         unconditional.
73498         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73499         conditional code.
73500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
73501         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73502         code unconditional.
73503         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73504         conditional code.
73505         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73506         unconditional.
73507         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73508         conditional code.
73509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
73510         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73511         code unconditional.
73512         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73513         conditional code.
73514         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73515         unconditional.
73516         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73517         conditional code.
73519 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
73521         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
73522         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
73523         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
73524         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
73525         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
73526         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
73527         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
73528         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
73529         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
73530         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
73531         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
73532         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
73533         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
73534         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
73535         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
73536         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
73537         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
73538         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
73539         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
73540         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
73541         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
73542         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
73543         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
73545 2012-07-25  Florian Weimer  <fweimer@redhat.com>
73547         * Versions.def: Add GLIBC_2.17.
73548         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
73549         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
73550         Introduce __libc_secure_getenv.
73551         * stdlib/Versions (2.17): Add secure_getenv
73552         (GLIBC_PRIVATE): Add __libc_secure_getenv.
73553         * stdlib/secure-getenv.c: Rename __secure_getenv to
73554         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
73555         symbol __secure_getenv for GLIBC_2.0.
73556         * stdlib/tst-secure-getenv.c: New.
73557         * stdlib/Makefile (tests): Add testcase.
73558         * manual/startup.texi (Environment Access): Document
73559         secure_getenv.
73560         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
73561         __libc_secure_getenv.
73562         * inet/ruserpass.c (ruserpass): Likewise.
73563         * malloc/mtrace.c (mtrace): Likewise.
73564         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
73565         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
73566         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
73567         * sysdeps/posix/tempname.c: Likewise.  Evaluate
73568         HAVE_SECURE_GETENV.
73569         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
73570         __secure_getenv to __libc_secure_getenv.
73571         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
73572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73573         Likewise.
73574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73575         Likewise.
73576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
73577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
73578         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
73579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
73580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
73581         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
73582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
73584 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
73586         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
73587         (struct La_i86_retval): Likewise.
73588         (struct La_x86_64_regs): Likewise.
73589         (struct La_x86_64_retval): Likewise.
73590         (struct La_x32_regs): Likewise.
73591         (struct La_x32_retval): Likewise.
73592         (struct La_ppc32_regs): Likewise.
73593         (struct La_ppc32_retval): Likewise.
73594         (struct La_ppc64_regs): Likewise.
73595         (struct La_ppc64_retval): Likewise.
73596         (struct La_sh_regs): Likewise.
73597         (struct La_sh_retval): Likewise.
73598         (struct La_s390_32_regs): Likewise.
73599         (struct La_s390_32_retval): Likewise.
73600         (struct La_s390_64_regs): Likewise.
73601         (struct La_s390_64_retval): Likewise.
73602         (struct La_sparc32_regs): Likewise.
73603         (struct La_sparc32_retval): Likewise.
73604         (struct La_sparc64_regs): Likewise.
73605         (struct La_sparc64_retval): Likewise.
73606         (struct audit_ifaces): Remove architecture-specific pltenter and
73607         pltexit members.
73608         * sysdeps/i386/ldsodefs.h: New file.
73609         * sysdeps/powerpc/ldsodefs.h: Likewise.
73610         * sysdeps/s390/ldsodefs.h: Likewise.
73611         * sysdeps/sh/ldsodefs.h: Likewise.
73612         * sysdeps/sparc/ldsodefs.h: Likewise.
73613         * sysdeps/x86_64/ldsodefs.h: Likewise.
73615 2012-07-25  Marek Polacek  <polacek@redhat.com>
73617         [BZ #6808]
73618         * math/libm-test.inc (yn_test): Add another test.
73619         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
73620         to ERANGE when the result is +-Inf.
73621         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
73622         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
73623         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
73624         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
73626 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
73628         * conform/data/time.h-data (NULL): Use macro-constant.  Require
73629         equal to 0.
73630         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
73631         clock_t.
73632         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
73634 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
73636         * configure.in <sysdeps resolving>: Correct printing
73637         Implies_before.
73638         * configure: Regenerate.
73640 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
73642         * math/w_ilogb.c: Include <limits.h>.
73643         * math/w_ilogbl.c: Likewise.
73645 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73647         * manual/lang.texi (__va_copy): Document primarily as ISO C99
73648         va_copy.  Document allowing for unavailable va_copy only as
73649         pre-C99 compatibility.
73650         * manual/string.texi (Copying and Concatenation): Use va_copy
73651         instead of __va_copy in concat example.
73653 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
73655         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
73656         (__sendto): Use create_address_port.  Initialize APORT and deallocate
73657         it if not null.
73659         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
73660         with O_NOLINK passed to __file_name_lookup.
73662         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
73663         with O_NOLINK passed to __file_name_lookup.
73665         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
73666         negative N or less than NGIDS.
73668         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
73669         type to string_t.  Set ERANGE as errno and return it if NAME is not big
73670         enough.  Use memcpy instead of strncpy.
73672 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73674         * elf/Makefile (check-data): Remove.
73675         (localplt.data): New vpath directive.
73676         ($(objpfx)check-localplt.out): Use localplt.data from vpath
73677         instead of $(check-data).
73678         * scripts/data/localplt-generic.data: Move to ...
73679         * sysdeps/generic/localplt.data: ... here.
73680         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
73681         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
73682         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
73683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
73684         ... here.
73685         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
73686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
73687         ... here.
73688         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
73689         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
73690         ... here.
73691         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
73692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
73693         ... here.
73694         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
73695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
73696         ... here.
73697         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
73698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
73699         ... here.
73701 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73703         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
73704         PPC32 and PPC64 files.
73705         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
73706         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
73708 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73710         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
73711         __makecontext_ret to ...
73712         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
73713         ... here and call exit if uc_link is NULL.  New file.
73714         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
73715         __makecontext_ret.S.
73716         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
73717         __makecontext_ret to ...
73718         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
73719         ... here and call exit if uc_link is NULL.  New file.
73720         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
73721         __makecontext_ret.S.
73723 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73725         * elf/elf.h (R_390_IRELATIVE): New definition.
73726         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
73727         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
73728         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
73729         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
73730         (elf_machine_lazy_rel): Likewise.
73731         * sysdeps/s390/dl-irel.h: New file.
73732         * sysdeps/s390/s390-64/memcpy.S: New asm code.
73733         * sysdeps/s390/s390-64/memset.S: New asm code.
73734         * sysdeps/s390/s390-64/memcmp.S: New asm code.
73735         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
73736         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
73737         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
73738         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
73739         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
73740         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
73741         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
73742         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
73743         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
73744         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
73745         * sysdeps/s390/s390-32/memcpy.S: New asm code.
73746         * sysdeps/s390/s390-32/memset.S: New asm code.
73747         * sysdeps/s390/s390-32/memcmp.S: New asm code.
73749 2012-07-17  Marek Polacek  <polacek@redhat.com>
73751         [BZ #14349]
73752         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
73753         * sysdeps/s390/s390-64/configure.in: Likewise.
73754         * sysdeps/sparc/configure.in: Likewise.
73755         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
73756         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
73757         * sysdeps/i386/configure.in: Likewise.
73758         * sysdeps/x86_64/configure.in: Likewise.
73759         * sysdeps/sh/configure.in: Likewise.
73760         * sysdeps/s390/s390-32/configure: Regenerated.
73761         * sysdeps/s390/s390-64/configure: Likewise.
73762         * sysdeps/x86_64/configure: Likewise.
73763         * sysdeps/sh/configure: Likewise.
73764         * sysdeps/powerpc/powerpc64/configure: Likewise.
73765         * sysdeps/powerpc/powerpc32/configure: Likewise.
73766         * sysdeps/sparc/configure: Likewise.
73767         * sysdeps/i386/configure: Likewise.
73769         * elf/dl-open.c: Comment fixes.
73771 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
73773         * Makefile [CXX] (check-data): Remove.
73774         [CXX] (c++-types.data): New vpath directive.
73775         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
73776         vpath.  Do not allow for C++ type data being missing.
73777         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
73778         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
73779         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
73780         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
73781         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
73782         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
73783         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
73784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
73785         ... here.
73786         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
73787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
73788         ... here.
73789         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
73790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
73791         ... here.
73792         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
73793         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
73794         ... here.
73795         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
73796         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
73797         ... here.
73798         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
73799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
73800         ... here.
73801         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
73802         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
73803         ... here.
73804         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
73805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
73807         * elf/tls-macros.h (TLS_LE): Move architecture-specific
73808         definitions to architecture-specific files.
73809         (TLS_IE): Likewise.
73810         (TLS_LD): Likewise.
73811         (TLS_GD): Likewise.
73812         * sysdeps/i386/tls-macros.h: New file.
73813         * sysdeps/powerpc/tls-macros.h: Likewise.
73814         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
73815         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
73816         * sysdeps/sh/tls-macros.h: Likewise.
73817         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
73818         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
73819         * sysdeps/x86_64/tls-macros.h: Likewise.
73821 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73823         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
73824         zero value for regular exit case.
73826         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
73827         (__start_context): Preserve zero value for regular exit case.
73829 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73830             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73832         * manual/setjmp.texi (setcontext): Clarify normal process
73833         termination when uc_link is the null pointer.
73834         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
73835         exit call.
73837 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
73839         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
73840         preprocessor.  Test for each exception mask separately.
73842 2012-07-16  Andreas Jaeger  <aj@suse.de>
73844         * po/ru.po: Update from translation team.
73846 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
73848         * conform/data/string.h-data (NULL): Use macro-constant.  Require
73849         equal to 0.
73850         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73851         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73852         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
73853         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
73854         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73856 2012-07-13  Andreas Jaeger  <aj@suse.de>
73858         * po/fr.po: Update from translation team.
73860 2012-07-12  Marek Polacek  <polacek@redhat.com>
73862         [BZ #14173]
73863         * math/libm-test.inc (yn_test): Add test for BZ #14173.
73864         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
73865         loop condition.
73867 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
73869         [BZ #13717]
73870         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73871         Change to 2.4.1 where previously 2.4.0.
73872         * sysdeps/unix/sysv/linux/configure: Regenerated.
73873         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
73874         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
73875         version.
73876         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
73877         (__ASSUME_AT_CLKTCK): Remove.
73878         (__ASSUME_AT_PAGESIZE): Likewise.
73879         (__ASSUME_AT_XID): Likewise.
73880         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
73881         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
73882         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
73883         unconditionally.
73884         (HAVE_AUX_PAGESIZE): Likewise.
73885         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
73886         [__ASSUME_AT_CLKTCK]: Make code unconditional.
73887         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
73889 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
73891         [BZ #14307]
73892         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
73893         the temporary buffer used to invoke __gethostbyname2_r,
73894         __gethostbyaddr_r and gethostbyname4_r to make room for struct
73895         host_data / struct gaih_addrtuple.
73896         * resolv/nss_dns/dns-host.c (global scope): Move definition of
73897         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
73898         header file nss/nsswitch.h.
73899         * nss/nsswitch.h (global scope): Add definition of implementation
73900         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
73901         resolv/nss_dns/dns-host.c).
73903 2012-07-11  Andreas Jaeger  <aj@suse.de>
73905         * po/fr.po: Update from translation team.
73907         * po/sv.po: Update from translation team
73908         * po/fr.po: Another update from translation team.
73910 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73912         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
73913         for subnormals or multiply small sinh result by itself.
73914         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
73915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73917 2012-07-11  David S. Miller  <davem@davemloft.net>
73919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73921 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
73923         [BZ #14347]
73924         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
73925         (INTERNAL_MARK): Shift it here.
73927 2012-07-10  Marek Polacek  <polacek@redhat.com>
73929         [BZ #14151]
73930         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
73931         libc_cv_asm_global_directive with .globl.
73932         * configure: Regenerated.
73933         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
73934         with .globl.
73935         * sysdeps/i386/configure: Regenerated.
73936         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
73937         with .globl.
73938         * sysdeps/x86_64/configure: Regenerated.
73939         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
73940         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
73941         * elf/tst-unique2mod2.c: Likewise.
73942         * elf/tst-unique2mod1.c: Likewise.
73943         * elf/tst-unique1mod2.c: Likewise.
73944         * elf/tst-unique1mod1.c: Likewise.
73945         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73946         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
73947         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73948         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
73949         * sysdeps/mach/sysdep.h: Likewise.
73950         * sysdeps/i386/sysdep.h: Likewise.
73951         * sysdeps/i386/i386-mcount.S: Likewise.
73952         * sysdeps/x86_64/_mcount.S: Likewise.
73953         * sysdeps/x86_64/sysdep.h: Likewise.
73954         * sysdeps/sh/_mcount.S: Likewise.
73955         * sysdeps/sh/sysdep.h: Likewise.
73956         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
73957         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
73958         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
73959         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73960         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
73961         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
73962         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
73963         * locale/localeinfo.h: Likewise.
73964         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
73965         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
73967 2012-07-09  Roland McGrath  <roland@hack.frob.com>
73969         [BZ #14336]
73970         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
73971         system".
73972         * manual/message.texi (The Uniforum approach): Likewise.
73973         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
73974         (glibc iconv Implementation): Likewise.
73976 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
73978         [BZ #14337]
73979         * math/s_clog.c (__clog): Avoid scaling a value down where that
73980         could result in underflow.
73981         * math/s_clog10.c (__clog10): Likewise.
73982         * math/s_clog10f.c (__clog10f): Likewise.
73983         * math/s_clog10l.c (__clog10l): Likewise.
73984         * math/s_clogf.c (__clogf): Likewise.
73985         * math/s_clogl.c (__clogl): Likewise.
73986         * math/libm-test.inc (clog_test): Add more tests.
73987         (clog10_test): Likewise.
73988         * sysdeps/i386/fpu/libm-test-ulps: Update.
73989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73991 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
73993         [BZ #14283]
73994         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
73995         by 7 not 8 to examine high bit of fractional part.
73997         [BZ #14042]
73998         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
73999         for call to __mcount_internal.
74000         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
74001         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
74002         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
74004 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
74006         [BZ #14154]
74007         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
74008         approximation for values within 0x1p-13f of an odd multiple of
74009         pi/4.
74010         * math/libm-test.inc (tan_test): Do not allow spurious underflow
74011         exception.  Add more tests.
74012         * sysdeps/i386/fpu/libm-test-ulps: Update.
74014         [BZ #6778]
74015         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
74016         inputs and return -1 for them.  Do not check for +Inf in case not
74017         reachable for +Inf.
74018         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
74019         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
74020         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
74021         and return -1 for them.  Do not check for +Inf in case not
74022         reachable for +Inf.
74023         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
74024         define.
74025         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
74026         and return -1 for them.  Do not check for +Inf in case not
74027         reachable for +Inf.
74028         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
74029         spurious underflow.
74030         * sysdeps/i386/fpu/libm-test-ulps: Update.
74031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74033 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
74035         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
74037 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
74039         [BZ #14157]
74040         [BZ #14331]
74041         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
74042         could result in spurious underflow.  Scale down values above
74043         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
74044         * math/s_csqrtf.c (__csqrtf): Likewise.
74045         * math/s_csqrtl.c (__csqrtl): Likewise.
74046         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
74047         spurious underflow.
74048         * sysdeps/i386/fpu/libm-test-ulps: Update.
74049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74051 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
74053         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
74054         xopen-msg.sed.
74055         * catgets/xopen-msg.awk: New file.
74056         * catgets/xopen-msg.sed: Removed.
74058         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
74059         po2text.sed.
74060         * intl/po2test.awk: New file.
74061         * intl/po2test.sed: Removed.
74063 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
74065         [BZ #14328]
74066         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
74067         or multiply small sinh result by itself.
74068         * math/s_ctanf.c (__ctanf): Likewise.
74069         * math/s_ctanh.c (__ctanh): Likewise.
74070         * math/s_ctanhf.c (__ctanhf): Likewise.
74071         * math/s_ctanhl.c (__ctanhl): Likewise.
74072         * math/s_ctanl.c (__ctanl): Likewise.
74073         * math/libm-test.inc (ctan_test_tonearest): New function.
74074         (ctan_test_towardzero): Likewise.
74075         (ctan_test_downward): Likewise.
74076         (ctan_test_upward): Likewise.
74077         (ctanh_test_tonearest): Likewise.
74078         (ctanh_test_towardzero): Likewise.
74079         (ctanh_test_downward): Likewise.
74080         (ctanh_test_upward): Likewise.
74081         (main): Call these new functions.
74082         * sysdeps/i386/fpu/libm-test-ulps: Update.
74083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74085 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
74087         * .gitignore: Delete /ports entry.
74089 2012-07-03  Andreas Jaeger  <aj@suse.de>
74091         * po/bg.po: Update from translation team.
74092         * po/cs.po: Likewise.
74093         * po/de.po: Likewise.
74094         * po/hr.po: Likewise.
74095         * po/nl.pl: Likewise.
74096         * po/pl.po: Likewise.
74097         * po/vi.po: Likewise.
74099 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
74101         * Makeconfig [!+link] (+link-before-libc): New variable.
74102         [!+link] (+link-after-libc): Likewise.
74103         [!+link] (+link-tests): Likewise.
74104         [!+link] (+link): Define in terms of $(+link-before-libc) and
74105         $(+link-after-libc).
74106         [!+link-static] (+link-static-before-libc): New variable.
74107         [!+link-static] (+link-static-after-libc): Likewise.
74108         [!+link-static] (+link-static-tests): Likewise.
74109         [!+link-static] (+link-static): Define in terms of
74110         $(+link-static-before-libc) and $(+link-static-after-libc).
74111         [build-shared] (link-libc-before-gnulib): New variable.
74112         [build-shared] (link-libc-tests): Likewise.
74113         [build-shared] (link-libc): Define in terms of
74114         $(link-libc-before-gnulib).
74115         [!build-shared] (link-libc-tests): New variable.
74116         (link-libc-static-tests): New variable.
74117         [!gnulib] (gnulib-arch): New variable.
74118         [!gnulib] (gnulib-tests): Likewise.
74119         [!gnulib] (static-gnulib-arch): Likewise.
74120         [!gnulib] (static-gnulib-tests): Likewise.
74121         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
74122         Define with "=" instead of ":=".
74123         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
74124         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
74125         * Rules (binaries-all-notests): New variable.
74126         (binaries-all-tests): Likewise.
74127         (binaries-static-notests): Likewise.
74128         (binaries-static-tests): Likewise.
74129         (binaries-all): Define using $(binaries-all-notests) and
74130         $(binaries-all-tests).
74131         (binaries-static): Define using $(binaries-static-notests) and
74132         $(binaries-static-tests).
74133         (binaries-shared-tests): New variable.
74134         (binaries-shared-notests): Likewise.
74135         (binaries-shared): Remove variable.
74136         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
74137         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
74138         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
74139         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
74140         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
74141         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
74142         * elf/Makefile (sln-modules): New variable.
74143         (extra-objs): Add $(sln-modules:=.o).
74144         (ldconfig-modules): Add static-stubs.
74145         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
74146         * elf/static-stubs.c: New file.
74148         [BZ #14283]
74149         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
74150         by 7 not 8 to examine high bit of fractional part.  Use volatile
74151         variables when splitting into final array of floats if
74152         __FLT_EVAL_METHOD__ != 0.
74153         * math/libm-test.inc (cos_test): Add another test.
74154         (sin_test): Likewise.
74155         * sysdeps/i386/fpu/libm-test-ulps: Update.
74157         [BZ #14273]
74158         * math/libm-test.inc (cosh_test): Add more tests.
74160         * version.h (RELEASE): Set to "development".
74161         (VERSION): Set to "2.16.90".
74163 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
74165         * NEWS: Update copyright. Remove last-updated date.
74166         Mention math library bug fixes and timezone data changes.
74167         * README: Mention GNU/Hurd, x32, and HPPA support status.
74169 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
74171         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
74173 2012-06-27  Andreas Jaeger  <aj@suse.de>
74175         * manual/contrib.texi (Contributors): Add Samuel Thibault.
74177 2012-06-25  Andreas Jaeger  <aj@suse.de>
74179         * sysdeps/s390/fpu/libm-test-ulps: Update.
74181 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
74182             Thomas Schwinge  <thomas@codesourcery.com>
74184         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
74185         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
74186         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
74187         fanotify_mark.
74189 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
74191         * sysdeps/mach/start.c: Remove file.
74192         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
74193         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
74194         * sysdeps/sh/init-first.c: Likewise.
74196         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
74197         registers for frame unwinding purposes, add CFI directives.
74198         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
74199         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
74200         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
74201         Likewise.
74203         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
74204         __fortify_fail returning.
74205         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
74207         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
74208         sysdeps/sh/____longjmp_chk.S.
74209         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
74210         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
74211         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
74212         (gen-as-const-headers): Append sigaltstack-offsets.sym.
74214         * sysdeps/sh/abort-instr.h: New file.
74215         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
74216         process in case exit returns.
74218         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
74219         initialize the GOT register before use.
74221         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
74222         calculation of ARGC > 4.
74224         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
74225         meaningful names to some local labels.
74227 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74228             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74230         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
74231         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
74232         (__arch_compare_and_exchange_val_16_acq): Likewise.
74233         (__arch_compare_and_exchange_val_32_acq): Likewise.
74234         (atomic_exchange_and_add): Fix gUSA sequence.
74235         (atomic_add): Likewise.
74236         (atomic_add_negative): Likewise.
74237         (atomic_add_zero): Likewise.
74238         (atomic_bit_test_set): Likewise.
74240 2012-06-22  Andreas Schwab  <schwab@redhat.com>
74242         [BZ #13579]
74243         * include/link.h (struct link_map): Add l_free_initfini.
74244         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
74245         l_initfini.
74246         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
74247         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
74248         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
74249         set.
74251 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
74253         * configure.in: Use AC_LANG_SOURCE.
74254         * configure: Regenerate.
74256 2012-06-22  Roland McGrath  <roland@hack.frob.com>
74258         * configure.in (libc_cv_localstatedir): New substituted variable.
74259         * configure: Regenerated.
74260         * config.make.in (localstatedir): New variable, substituted from
74261         libc_cv_localstatedir.
74262         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
74263         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
74264         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
74265         * sysdeps/gnu/configure: Regenerated.
74267 2012-06-21  Jeff Law  <law@redhat.com>
74269         [BZ #14277]
74270         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
74271         free.  Simplify list management for _LIBC case.
74273 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
74275         [BZ #14273]
74276         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
74277         Clear sign bit of 64-bit integer value before comparing against
74278         overflow value.
74280         * sysdeps/mach/configure: Regenerated.
74282 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
74284         [BZ #14278]
74285         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
74287 2012-06-21  Jeff Law  <law@redhat.com>
74289         [BZ #13882]
74290         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
74291         uint16_t for elements in the "seen" array to avoid char overflows.
74292         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74293         * elf/dl-open.c (dl_open_worker): Likewise.
74295 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
74297         * scripts/list-sources.sh: Scan PORTS for translations.
74298         * po/libc.pot: Regenerated.
74300 2012-06-21  Andreas Jaeger  <aj@suse.de>
74302         [BZ #12194]
74303         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
74304         warning.
74305         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
74306         * bits/byteswap-16.h (__bswap_16): Likewise.
74307         * bits/byteswap.h (__bswap_constant_16): Likewise.
74309 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
74311         [BZ #14117]
74312         * sysdeps/i386/fpu_control.h: Removed.
74313         * sysdeps/x86_64/fpu_control.h: Moved to ...
74314         * sysdeps/x86/fpu_control.h: Here.
74316         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
74317         (_FPU_SETCW): Likewise.
74319 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
74321         [BZ #14117]
74322         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
74323         * sysdeps/x86/fpu/bits/mathinline.h: This.
74324         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
74326         [BZ #14050]
74327         [BZ #14117]
74328         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
74329         functions if __x86_64__ is defined.
74331 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
74333         * string/endian.h: Add !__ASSEMBLER__ condition for including
74334         conversion interfaces.
74336 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
74338         [BZ #14241]
74339         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
74340         of ABS(x) in calculating zero to negative powers other than odd
74341         integers.
74342         * math/libm-test.inc (pow_test): Add more tests.
74344 2012-06-15  Andreas Jaeger  <aj@suse.de>
74346         * manual/contrib.texi (Contributors): Update entry of Liubov
74347         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
74348         Machado Filho.
74350 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
74352         * string/string.h: Add __wur to GNU version of strerror_r.
74354 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
74356         [BZ #14229]
74357         * string/Makefile (tests): Add tst-strtok_r.
74358         * string/tst-strtok_r.c: New file.
74359         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
74360         RAX_LP/RDX_LP on SAVE_PTR.
74362 2012-06-14  Roland McGrath  <roland@hack.frob.com>
74364         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
74366 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
74368         * libm_test.inc (csqrt_test): Allow more spurious underflow
74369         exceptions.
74370         (j0_test): Likewise.
74371         (j1_test): Likewise.
74372         (y0_test): Likewise.
74373         (y1_test): Likewise.
74375 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
74377         * po/Makefile (libc.pot): Use UTF-8 charset.
74379 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
74381         [BZ #14210]
74382         Suppress sign-conversion warning from FD_SET.
74383         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
74384         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
74385         not unsigned long int.
74386         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
74388 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
74390         [BZ #14050]
74391         [BZ #14117]
74392         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
74393         __extern_always_inline instead of __extern_inline.
74394         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
74395         (__signbit): Likewise.
74396         (__signbitl): Support C++ namespace.
74397         (lrintf): New inline function.
74398         (lrint): Likewise.
74399         (llrintf): Likewise.
74400         (llrint): Likewise.
74401         (fmaxf): Likewise.
74402         (fmax): Likewise.
74403         (fminf): Likewise.
74404         (fmin): Likewise.
74405         (rint): Likewise.
74406         (rintf): Likewise.
74407         (ceil): Likewise.
74408         (ceilf): Likewise.
74409         (floor): Likewise.
74410         (floorf): Likewise.
74411         (nearbyint): Likewise.
74412         (nearbyintf): Likewise.
74414 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
74416         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
74417         non-default versions.
74419 2012-06-11  Roland McGrath  <roland@hack.frob.com>
74421         [BZ #14218]
74422         * manual/argp.texi (Argp): Reword argp_parse description slightly.
74424 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
74426         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
74427         (FE_UPWARD, FE_DOWNWARD): Don't define.
74428         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
74429         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
74431         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
74432         reading it.
74433         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
74434         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74436 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74438         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
74439         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
74440         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
74441         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
74443 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
74445         [BZ #14117]
74446         * sysdeps/i386/fpu/bits/fenv.h: Removed.
74447         * sysdeps/i386/fpu/Implies: New file.
74448         * sysdeps/x86_64/fpu/Implies: Likewise.
74449         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
74450         * sysdeps/x86/fpu/bits/fenv.h: This.
74452         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
74453         __SSE_MATH__.
74455 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
74457         [BZ #14134]
74458         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
74459         character 0xffff that matches the last element of the
74460         conversion table.
74462 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74464         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
74465         fmodl commit.
74467 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74469         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
74470         values higher than 25.6283.
74472 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74474         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
74475         subnormal exponent extraction and add some __builtin_expect.
74476         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
74477         Fix for subnormal mantissa calculation.
74479 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
74481         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
74482         cpu2 is -1 and errno is not ENOSYS.
74484 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
74486         [BZ #14117]
74487         * sysdeps/i386/i486/bits/string.h: Renamed to ...
74488         * sysdeps/x86/bits/string.h: This.
74489         * sysdeps/x86_64/bits/string.h: Removed.
74491         * sysdeps/i386/i486/bits/string.h: Define inline functions only
74492         if not compiling for x86-64, but compiling for >= i486.
74494         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
74495         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
74497         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
74498         New macro from Linux kernel 3.4.0.
74499         (FP_XSTATE_MAGIC2): Likewise.
74500         (FP_XSTATE_MAGIC2_SIZE): Likewise.
74501         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
74502         (struct _fpx_sw_bytes): New struct.
74503         (struct _xsave_hdr): Likewise.
74504         (struct _ymmh_state): Likewise.
74505         (struct _xstate): Likewise.
74507         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
74508         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
74509         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
74510         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
74511         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
74512         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
74514         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
74515         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
74516         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
74517         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
74518         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
74519         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
74521 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74523         [BZ #13743]
74524         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
74525         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
74526         (sysdep_headers): Include sys/platform/ppc.h.
74527         * sysdeps/powerpc/test-gettimebase.c: Test for
74528         __ppc_get_timebase() to catch future ISA opcode/insn changes.
74529         * manual/Makefile (appendices): Include platform.texi.
74530         * manual/contrib.texi (Contributors): Update @node pointers.
74531         * manual/maint.texi (Maintenance): Likewise.
74532         (Platform): New node.
74533         * manual/platform.texi: New file.  Document the new features.
74535 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
74536             Jakub Jelinek  <jakub@redhat.com>
74538         [BZ #14188]
74539         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
74540         where __builtin_expect is unavailable.
74542 2012-06-03  David S. Miller  <davem@davemloft.net>
74544         * stdlib/longlong.h: Updated from GCC.
74546 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
74548         [BZ #14042]
74549         * sysdeps/powerpc/powerpc32/mcount.c: New file.
74550         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
74551         __mcount_internal.
74552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
74553         (GLIBC_2.16): Likewise.
74555 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74557         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
74559 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
74562         (default-abi): New variable.
74563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
74564         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
74565         variable.
74566         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
74567         Likewise.
74568         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
74569         Likewise.
74570         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
74571         Likewise.
74573         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
74574         definition.  Document in comment.
74576 2012-06-01  David S. Miller  <davem@davemloft.net>
74578         * stdlib/longlong.h: Updated from GCC.
74580 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74582         [BZ #14117]
74583         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
74584         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
74585         sys/debugreg.h sys/io.h here.
74586         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
74587         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
74588         sys/io.h.
74589         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
74590         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
74591         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
74592         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
74593         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
74594         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
74596         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
74597         Define only if __x86_64__ is defined.
74599 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74601         [BZ #14048]
74602         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
74603         Use int64_t for variable i.
74604         * math/libm-test.inc (fmod_test): Add more tests.
74606         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
74607         z computation is not scheduled after fetestexcept.
74608         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
74609         Use math_force_eval instead of asm to ensure calculation scheduled
74610         before exception test.
74611         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
74612         Ensure a1 + u.d computation is not scheduled after fetestexcept.
74614 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
74616         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
74617         computation is not scheduled after fetestexcept.
74619 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74621         [BZ #14117]
74622         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
74623         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
74625 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74627         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
74628         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74630 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74632         [BZ #14117]
74633         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
74634         <bits/wordsize.h>.
74635         (__WCHAR_MIN): Support __WORDSIZE == 64.
74636         (__WCHAR_MAX): Likewise.
74638         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
74639         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
74641         [BZ #14183]
74642         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
74643         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
74645         [BZ #14117]
74646         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
74647         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
74649         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
74650         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
74652         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
74653         Defined to 1 if __x86_64__ isn't defined.
74654         (_STAT_VER_LINUX_OLD): New.
74655         (st_atime): Remove duplicate.
74656         (st_mtime): Likewise.
74657         (st_ctime): Likewise.
74659 2012-05-31  David S. Miller  <davem@davemloft.net>
74661         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
74662         entries.
74664 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
74666         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
74667         gen-libm-test.pl.
74669         [BZ #14132]
74670         * elf/dl-reloc.c: Include <_itoa.h>.
74671         (_dl_reloc_bad_type): Remove use of INTUSE.
74672         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
74673         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
74674         * stdio-common/psiginfo.c (psiginfo): Likewise.
74675         * stdio-common/psignal.c (psignal): Likewise.
74676         * string/strsignal.c (strsignal): Likewise.
74677         * include/signal.h (_sys_siglist): Declare hidden proto.
74678         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
74679         INTVARDEF with libc_hidden_data_def.
74680         * stdio-common/itoa-udigits.c: Likewise.
74681         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
74682         (_itoa_lower_digits_internal): Remove declaration.
74683         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
74684         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
74685         (_sys_sigabbrev_internal): Remove aliases.
74686         (_sys_siglist): Define hidden alias.
74688 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
74690         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74691         bits/sysctl.h.
74693 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74695         [BZ #14117]
74696         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
74697         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
74699         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
74700         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
74701         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
74702         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
74703         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
74704         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
74706         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
74707         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
74708         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
74710         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
74711         with __addr.
74712         (insw): Likewise.
74713         (insl): Likewise.
74714         (outsb): Likewise.
74715         (outsw): Likewise.
74716         (outsl): Likewise.
74718         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
74719         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
74720         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
74722         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
74723         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
74724         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
74725         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
74726         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
74727         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
74729         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
74730         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
74732         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
74733         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
74735         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
74736         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
74737         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
74739         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
74740         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
74741         to ...
74742         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
74744         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
74745         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
74746         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
74748         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
74749         for x86-64.
74750         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
74752 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
74754         * math/math.h (M_El): Use two more decimal places.
74755         (M_LOG2El): Likewise.
74756         (M_LOG10El): Likewise.
74757         (M_LN2l): Likewise.
74758         (M_LN10l): Likewise.
74759         (M_PIl): Likewise.
74760         (M_PI_2l): Likewise.
74761         (M_PI_4l): Likewise.
74762         (M_1_PIl): Likewise.
74763         (M_2_PIl): Likewise.
74764         (M_2_SQRTPIl): Likewise.
74765         (M_SQRT2l): Likewise.
74766         (M_SQRT1_2l): Likewise.
74768 2012-05-31  David S. Miller  <davem@davemloft.net>
74770         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
74771         values between float registers.
74772         * sysdeps/sparc/sparc64/memset.S: Likewise.
74773         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74775 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
74777         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
74778         -D_FORTIFY_SOURCE=1.
74779         (CPPFLAGS-tst-longjmp_chk.c): Define.
74780         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
74781         (CPPFLAGS-tst-longjmp_chk2.c): Define.
74782         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
74783         CFLAGS-tst-wchar-h.c.
74785 2012-05-31  Marek Polacek  <polacek@redhat.com>
74787         [BZ #14132]
74788         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
74789         __endmntent_internal): Remove declaration.
74790         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
74791         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
74792         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
74794 2012-05-30  David S. Miller  <davem@davemloft.net>
74796         * sysdeps/sparc/sparc32/soft-fp/q_util.c
74797         (___Q_simulate_exceptions): Use real FP ops rather than writing
74798         into the %fsr.
74799         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
74800         Likewise.
74802 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74804         [BZ #14117]
74805         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
74806         * sysdeps/x86/bits/xtitypes.h: This.
74808         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
74809         * sysdeps/x86/bits/wordsize.h: This.
74811         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
74812         * sysdeps/x86/bits/huge_vall.h: This.
74814         * sysdeps/i386/bits/select.h: Removed.
74815         * sysdeps/x86_64/bits/select.h: Renamed to ...
74816         * sysdeps/x86/bits/select.h: This.
74818         * sysdeps/i386/bits/setjmp.h: Removed.
74819         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
74820         * sysdeps/x86/bits/setjmp.h: This.
74822         * sysdeps/i386/bits/mathdef.h: Removed.
74823         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
74824         * sysdeps/x86/bits/mathdef.h: This.
74826 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
74828         [BZ #14132]
74829         * include/sys/socket.h (__connect_internal)
74830         (__libc_sa_len_internal): Remove declaration.
74831         (__connect, __libc_sa_len): Declare hidden_proto.
74832         (SA_LEN): Remove use of INTUSE.
74833         * socket/connect.c: Add libc_hidden_def.
74834         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
74835         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
74836         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
74837         alias.
74838         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
74839         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
74840         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
74841         of adding _internal alias.
74843 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74845         [BZ #14117]
74846         * sysdeps/i386/bits/link.h: Removed.
74847         * sysdeps/i386/bits/linkmap.h: Likewise.
74848         * sysdeps/x86_64/bits/link.h: Renamed to ...
74849         * sysdeps/x86/bits/link.h: This.
74850         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
74851         * sysdeps/x86/bits/linkmap.h: This.
74853         * sysdeps/i386/bits/endian.h: Removed.
74854         * sysdeps/x86_64/bits/endian.h: Renamed to ...
74855         * sysdeps/x86/bits/endian.h: This.
74857         * sysdeps/i386/bits/byteswap.h: Removed.
74858         * sysdeps/i386/bits/byteswap-16.h: Likewise.
74859         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
74860         * sysdeps/x86/bits/byteswap.h: This.
74861         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
74862         * sysdeps/x86/bits/byteswap-16.h: This.
74863         * sysdeps/i386/Implies: Add x86.
74864         * sysdeps/x86_64/Implies: Likewise.
74866 2012-05-30  David S. Miller  <davem@davemloft.net>
74868         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
74869         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
74870         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
74871         (FP_TRAPPING_EXCEPTIONS): Define.
74872         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
74873         (FP_TRAPPING_EXCEPTIONS): Define.
74874         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
74875         subnormals only when inexact has been signalled or underflow
74876         exceptions are enabled.
74877         (_FP_PACK_CANONICAL): Likewise.
74879 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74881         [BZ #14183]
74882         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
74883         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
74885 2012-05-30  Richard Henderson  <rth@twiddle.net>
74887         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
74888         with #ifndef NOT_IN_libc.
74890         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
74891         marked to avoid plt entry.
74893 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74895         [BZ #14112]
74896         * Makeconfig (default-abi): New macro.
74897         (abi-includes): Likewise.
74898         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
74899         $(abi-$(default-abi)-lib-soname) for soname if defined.
74900         ($(common-objpfx)gnu/lib-names.stmp): Generate from
74901         abi-variants.
74902         * Makefile (installed-stubs): Likewise.
74903         * include/stubs-biarch.h: Removed.
74904         * scripts/lib-names.awk: Only handle one library at a time.
74905         * scripts/soversions.awk: Remove WORDSIZE support.
74906         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
74907         entries.
74908         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
74909         Removed.
74910         (syscall-list-default-condition): Likewise.
74911         (syscall-list-default-condition): Likewise.
74912         (syscall-list-includes): Likewise.
74913         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
74914         syscall-list-* with abi-*.  Handle undefined abi-variants.
74915         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
74916         * sysdeps/unix/sysv/linux/i386/Implies: New file.
74917         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
74918         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
74919         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
74920         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
74921         Removed.
74922         (syscall-list-32-options): Likewise.
74923         (syscall-list-32-condition): Likewise.
74924         (syscall-list-64-options): Likewise.
74925         (syscall-list-64-condition): Likewise.
74926         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
74927         macro.
74928         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
74929         Renamed to ...
74930         (abi-*): This.
74931         (abi-64-ld-soname): New macro.
74932         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
74933         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
74934         Renamed to ...
74935         (abi-*): This.
74936         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
74937         * sysdeps/x86_64/x32/shlib-versions: Likewise.
74939 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
74941         * sysdeps/unix/sysv/linux/kernel-features.h
74942         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
74943         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
74944         include <kernel-features.h>.
74945         [!__NR_ftruncate64]: Remove conditional code.
74946         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74947         [__NR_ftruncate64]: Make code unconditional.
74948         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74949         * sysdeps/unix/sysv/linux/truncate64.c: Do not
74950         include <kernel-features.h>.
74951         [!__NR_ftruncate64]: Remove conditional code.
74952         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74953         [__NR_ftruncate64]: Make code unconditional.
74954         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
74956         include <kernel-features.h>.
74957         [!__NR_ftruncate64]: Remove conditional code.
74958         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74959         [__NR_ftruncate64]: Make code unconditional.
74960         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
74962         include <kernel-features.h>.
74963         [!__NR_ftruncate64]: Remove conditional code.
74964         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74965         [__NR_ftruncate64]: Make code unconditional.
74966         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74968         * configure.in (libc_cv_fpie): Weaken to a compile test using
74969         LIBC_TRY_CC_OPTION.
74970         * configure: Regenerated.
74972 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
74975         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
74976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
74977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
74978         Refreshed.
74979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
74980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
74981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
74982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
74983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
74984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
74985         Refreshed.
74987 2012-05-27  David S. Miller  <davem@davemloft.net>
74989         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
74990         (___Q_zero): New.
74991         (__Q_simulate_exceptions): Return void.  Change to simulate
74992         exceptions by writing into the %fsr.
74993         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
74994         (__Qp_handle_exceptions): Likewise.
74995         (numbers): Delete.
74996         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
74997         __Qp_handle_exceptions.
74998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
74999         __Qp_handle_exceptions.
75000         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
75001         as unused and give dummy FP_RND_NEAREST initializer.
75002         (FP_INHIBIT_RESULTS): Define.
75003         (___Q_simulate_exceptions): Update declaration.
75004         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
75005         formatting.
75006         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
75007         as unused and give dummy FP_RND_NEAREST initializer.
75008         (__Qp_handle_exceptions): Update declaration.
75009         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
75010         formatting.
75012 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
75014         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
75015         the temporary FPU control word.
75016         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
75017         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
75018         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
75019         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
75020         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
75021         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
75022         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
75023         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
75024         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
75025         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
75026         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75028 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75030         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
75031         fields.
75033 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
75035         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
75036         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
75037         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
75038         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
75039         Likewise.
75040         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
75041         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
75042         Likewise.
75044 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
75046         * po/h.po: Update from translation team.
75048 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
75050         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
75052         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
75053         handling of denormals.
75054         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
75055         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
75056         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
75057         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
75058         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
75059         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
75060         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
75061         Likewise.
75063 2012-05-26  Marek Polacek  <polacek@redhat.com>
75065         [BZ #14152]
75066         * math/libm-test.inc (fma_test): Don't always expect underflow
75067         exception.
75069 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
75071         [BZ #12416]
75072         * elf/tst-execstack.c: Include stackinfo.h.
75073         (do_test): Adjust test case to ensure that pthread_getattr_np
75074         behaviour remains the same after marking stack executable.
75076 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
75078         * sysdeps/unix/sysv/linux/kernel-features.h
75079         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
75080         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
75081         kernel-features.h.
75082         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
75083         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
75084         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
75085         kernel-features.h.
75086         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
75087         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
75089 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
75091         * configure.in: Define the default includes to being none.
75092         * configure: Regenerated.
75094 2012-05-25  Roland McGrath  <roland@hack.frob.com>
75096         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
75097         * sysdeps/x86_64/setjmp.S: Likewise.
75098         * sysdeps/i386/bsd-setjmp.S: Likewise.
75099         * sysdeps/i386/bsd-_setjmp.S: Likewise.
75100         * sysdeps/i386/setjmp.S: Likewise.
75101         * sysdeps/i386/__longjmp.S: Likewise.
75102         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
75103         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
75105         * include/stap-probe.h: New file.
75106         * configure.in: Handle --enable-systemtap.
75107         * configure: Regenerated.
75108         * config.h.in (USE_STAP_PROBE): New #undef.
75109         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
75110         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
75111         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
75113 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
75115         [BZ #13717]
75116         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
75117         to 2.4.0 where earlier.
75118         * sysdeps/unix/sysv/linux/configure: Regenerated.
75119         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
75120         <kernel-features.h>.
75121         [__ASSUME_32BITUIDS]: Make code unconditional.
75122         [!__ASSUME_32BITUIDS]: Remove conditional code.
75123         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
75124         <kernel-features.h>.
75125         [__ASSUME_32BITUIDS]: Make code unconditional.
75126         [!__ASSUME_32BITUIDS]: Remove conditional code.
75127         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
75128         [__ASSUME_32BITUIDS]: Make code unconditional.
75129         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
75130         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
75135         <kernel-features.h>.
75136         [__ASSUME_32BITUIDS]: Make code unconditional.
75137         [!__ASSUME_32BITUIDS]: Remove conditional code.
75138         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
75139         <kernel-features.h>.
75140         [__ASSUME_32BITUIDS]: Make code unconditional.
75141         [!__ASSUME_32BITUIDS]: Remove conditional code.
75142         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
75143         <kernel-features.h>.
75144         [__ASSUME_32BITUIDS]: Make code unconditional.
75145         [!__ASSUME_32BITUIDS]: Remove conditional code.
75146         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
75147         <kernel-features.h>.
75148         [__ASSUME_32BITUIDS]: Make code unconditional.
75149         [!__ASSUME_32BITUIDS]: Remove conditional code.
75150         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
75151         <kernel-features.h>.
75152         [__ASSUME_32BITUIDS]: Make code unconditional.
75153         [!__ASSUME_32BITUIDS]: Remove conditional code.
75154         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
75155         <kernel-features.h>.
75156         [__ASSUME_32BITUIDS]: Make code unconditional.
75157         [!__ASSUME_32BITUIDS]: Remove conditional code.
75158         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
75159         <kernel-features.h>.
75160         [__ASSUME_32BITUIDS]: Make code unconditional.
75161         [!__ASSUME_32BITUIDS]: Remove conditional code.
75162         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
75163         <kernel-features.h>.
75164         [__ASSUME_32BITUIDS]: Make code unconditional.
75165         [!__ASSUME_32BITUIDS]: Remove conditional code.
75166         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
75167         <kernel-features.h>.
75168         [__ASSUME_32BITUIDS]: Make code unconditional.
75169         [!__ASSUME_32BITUIDS]: Remove conditional code.
75170         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
75171         <kernel-features.h>.
75172         [__NR_setresgid] (__setresgid): Do not declare.
75173         [__ASSUME_32BITUIDS]: Make code unconditional.
75174         [!__ASSUME_32BITUIDS]: Remove conditional code.
75175         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
75176         <kernel-features.h>.
75177         [__NR_setresuid] (__setresuid): Do not declare.
75178         [__ASSUME_32BITUIDS]: Make code unconditional.
75179         [!__ASSUME_32BITUIDS]: Remove conditional code.
75180         * sysdeps/unix/sysv/linux/i386/setfsgid.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/i386/setfsuid.c: Do not include
75185         <kernel-features.h>.
75186         [__ASSUME_32BITUIDS]: Make code unconditional.
75187         [!__ASSUME_32BITUIDS]: Remove conditional code.
75188         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
75189         <kernel-features.h>.
75190         [__ASSUME_32BITUIDS]: Make code unconditional.
75191         [!__ASSUME_32BITUIDS]: Remove conditional code.
75192         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
75193         <kernel-features.h>.
75194         [__ASSUME_32BITUIDS]: Make code unconditional.
75195         [!__ASSUME_32BITUIDS]: Remove conditional code.
75196         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
75197         <kernel-features.h>.
75198         [__ASSUME_32BITUIDS]: Make code unconditional.
75199         [!__ASSUME_32BITUIDS]: Remove conditional code.
75200         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
75201         <kernel-features.h>.
75202         [__ASSUME_32BITUIDS]: Make code unconditional.
75203         [!__ASSUME_32BITUIDS]: Remove conditional code.
75204         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
75205         <kernel-features.h>.
75206         [__ASSUME_32BITUIDS]: Make code unconditional.
75207         [!__ASSUME_32BITUIDS]: Remove conditional code.
75208         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
75209         <kernel-features.h>.
75210         [__ASSUME_32BITUIDS]: Make code unconditional.
75211         [!__ASSUME_32BITUIDS]: Remove conditional code.
75212         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
75213         <kernel-features.h>.
75214         [__ASSUME_32BITUIDS]: Make code unconditional.
75215         [!__ASSUME_32BITUIDS]: Remove conditional code.
75216         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
75217         <kernel-features.h>.
75218         [__ASSUME_32BITUIDS]: Make code unconditional.
75219         [!__ASSUME_32BITUIDS]: Remove conditional code.
75220         * sysdeps/unix/sysv/linux/kernel-features.h
75221         (__ASSUME_SETRESUID_SYSCALL): Remove.
75222         (__ASSUME_SETRESGID_SYSCALL): Likewise.
75223         (__ASSUME_32BITUIDS): Likewise.
75224         (__ASSUME_LDT_WORKS): Likewise.
75225         (__ASSUME_O_DIRECTORY): Likewise.
75226         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
75227         architecture but not kernel version.
75228         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
75229         (__ASSUME_MMAP2_SYSCALL): Likewise.
75230         (__ASSUME_STAT64_SYSCALL): Likewise.
75231         (__ASSUME_IPC64): Likewise.
75232         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
75233         <kernel-features.h>.
75234         [__ASSUME_32BITUIDS]: Make code unconditional.
75235         [!__ASSUME_32BITUIDS]: Remove conditional code.
75236         * sysdeps/unix/sysv/linux/opendir.c: Do not include
75237         <kernel-features.h>.
75238         [__ASSUME_O_DIRECTORY]: Make code unconditional.
75239         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
75240         132096]: Remove conditional code.
75241         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
75242         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
75243         <kernel-features.h>.
75244         [__ASSUME_32BITUIDS]: Make code unconditional.
75245         [!__ASSUME_32BITUIDS]: Remove conditional code.
75246         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
75247         <kernel-features.h>.
75248         [__ASSUME_32BITUIDS]: Make code unconditional.
75249         [!__ASSUME_32BITUIDS]: Remove conditional code.
75250         * sysdeps/unix/sysv/linux/setegid.c: Do not include
75251         <kernel-features.h>.
75252         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
75253         unconditional.
75254         (__setresgid): Do not declare.
75255         [__ASSUME_32BITUIDS]: Make code unconditional.
75256         [!__ASSUME_32BITUIDS]: Remove conditional code.
75257         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
75258         <kernel-features.h>.
75259         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
75260         unconditional.
75261         (__setresuid): Do not declare.
75262         [__ASSUME_32BITUIDS]: Make code unconditional.
75263         [!__ASSUME_32BITUIDS]: Remove conditional code.
75264         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
75265         <kernel-features.h>.
75266         [__ASSUME_32BITUIDS]: Make code unconditional.
75267         [!__ASSUME_32BITUIDS]: Remove conditional code.
75268         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
75269         <kernel-features.h>.
75270         [__ASSUME_32BITUIDS]: Make code unconditional.
75271         [!__ASSUME_32BITUIDS]: Remove conditional code.
75273 2012-05-25  Richard Henderson  <rth@twiddle.net>
75275         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
75276         dl_hwcap to ifunc resolver.
75277         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
75278         elf_ifunc_invoke.
75279         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
75280         dl_hwcap to ifunc resolver.
75281         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
75283 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75285         [BZ #14153]
75286         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
75287         for |x| <= 2**-26, not 2**-57.
75288         * math/libm-test.inc (acos_test): Do not allow spurious underflow
75289         exception.
75291 2012-05-24  Jeff Law  <law@redhat.com>
75293         * stdio-common/Makefile (tests): Add bug25.
75294         * stdio-common/bug25.c: New test.
75296 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
75298         [BZ #13576]
75299         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
75300         multiple of MALLOC_ALIGNMENT in size.
75301         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
75303 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75305         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
75306         Require >= 256.
75307         (FILENAME_MAX): Use macro-int-constant.
75308         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
75309         (_IOFBF): Use macro-int-constant.
75310         (_IOLBF): Likewise.
75311         (_IONBF): Likewise.
75312         (SEEK_CUR): Likewise.
75313         (SEEK_END): Likewise.
75314         (SEEK_SET): Likewise.
75315         (TMP_MAX): Likewise.
75316         (EOF): Use macro-int-constant.  Require < 0.
75317         (NULL): Use macro-constant.  Require == 0.
75318         (stdin): Require type to be FILE *.
75319         (stdout): Likewise.
75320         (stderr): Likewise.
75321         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
75322         macro-int-constant.
75323         (EXIT_SUCCESS): Likewise.
75324         (NULL): Use macro-constant.  Require == 0.
75325         (RAND_MAX): Use macro-int-constant.
75326         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
75327         [C99-based standards] (strtof): Require function.
75328         [C99-based standards] (strtold): Likewise.
75329         [C99-based standards] (strtoll): Likewise.
75330         [C99-based standards] (strtoull): Likewise.
75331         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
75332         [ISO || ISO99 || ISO11] (limits.h): Likewise.
75333         [ISO || ISO99 || ISO11] (math.h): Likewise.
75334         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
75335         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
75336         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75338 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
75340         [BZ #14132]
75341         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
75342         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
75343         * intl/dgettext.c (DCGETTEXT): Likewise.
75344         * intl/gettext.c (DCGETTEXT): Likewise.
75345         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
75346         * posix/regex_internal.h (gettext): Likewise.
75347         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
75348         Remove declaration.
75349         * include/argz.h (__argz_count_internal)
75350         (__argz_stringify_internal): Remove declaration.
75351         (__argz_count, __argz_stringify): Declare hidden proto.
75352         * intl/dcgettext.c: Remove use of INTDEF.
75353         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
75354         * string/argz-stringify.c: Likewise.
75355         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
75356         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
75357         Declare hidden proto.
75358         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
75359         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
75360         Declare hidden proto.
75361         * include/stdio.h (__asprintf_internal): Don't declare.
75362         (__asprintf): Don't define as macro.  Declare hidden proto.
75363         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
75364         (__fsetlocking): Declare hidden proto.
75365         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
75366         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
75367         hidden proto.
75368         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
75369         (_IO_setlinebuf): Remove use of INTUSE.
75370         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
75371         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
75372         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
75373         Remove declaration.
75374         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
75375         (_IO_do_flush): Remove use of INTUSE.
75376         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
75377         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
75378         (_IO_adjust_column, _IO_least_wmarker)
75379         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
75380         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
75381         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
75382         (_IO_default_doallocate, _IO_wdefault_doallocate)
75383         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
75384         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
75385         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
75386         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
75387         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
75388         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
75389         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
75390         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
75391         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
75392         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
75393         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
75394         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
75395         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
75396         proto.
75397         (_IO_flush_all_internal, _IO_adjust_column_internal)
75398         (_IO_default_uflow_internal, _IO_default_finish_internal)
75399         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
75400         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
75401         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
75402         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
75403         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
75404         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
75405         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
75406         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
75407         (_IO_file_close_internal, _IO_file_close_it_internal)
75408         (_IO_file_underflow_internal, _IO_file_overflow_internal)
75409         (_IO_file_init_internal, _IO_file_attach_internal)
75410         (_IO_file_fopen_internal, _IO_file_read_internal)
75411         (_IO_file_sync_internal, _IO_file_seek_internal)
75412         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
75413         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
75414         (_IO_str_underflow_internal, _IO_str_overflow_internal)
75415         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
75416         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
75417         (_IO_list_all_internal, _IO_link_in_internal)
75418         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
75419         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
75420         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
75421         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
75422         (_IO_do_write_internal, _IO_padn_internal)
75423         (_IO_getline_info_internal, _IO_getline_internal)
75424         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
75425         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
75426         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
75427         (_IO_vfscanf_internal, _IO_vfprintf_internal)
75428         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
75429         (_IO_init_internal, _IO_un_link_internal): Don't declare.
75430         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
75431         with libc_hidden_ver, remove use of INTUSE.
75432         * libio/genops.c: Likewise.
75433         * libio/freopen.c: Likewise.
75434         * libio/freopen64.c: Likewise.
75435         * libio/iofclose.c: Likewise.
75436         * libio/iofdopen.c: Likewise.
75437         * libio/iofflush.c: Likewise.
75438         * libio/iofflush_u.c: Likewise.
75439         * libio/iofgets.c: Likewise.
75440         * libio/iofgets_u.c: Likewise.
75441         * libio/iofopen.c: Likewise.
75442         * libio/iofopncook.c: Likewise.
75443         * libio/iofread.c: Likewise.
75444         * libio/iofread_u.c: Likewise.
75445         * libio/ioftell.c: Likewise.
75446         * libio/iofwrite.c: Likewise.
75447         * libio/iogetline.c: Likewise.
75448         * libio/iogets.c: Likewise.
75449         * libio/iogetwline.c: Likewise.
75450         * libio/iopadn.c: Likewise.
75451         * libio/iopopen.c: Likewise.
75452         * libio/ioseekoff.c: Likewise.
75453         * libio/ioseekpos.c: Likewise.
75454         * libio/iosetbuffer.c: Likewise.
75455         * libio/iosetvbuf.c: Likewise.
75456         * libio/ioungetc.c: Likewise.
75457         * libio/ioungetwc.c: Likewise.
75458         * libio/iovdprintf.c: Likewise.
75459         * libio/iovsprintf.c: Likewise.
75460         * libio/iovsscanf.c: Likewise.
75461         * libio/memstream.c: Likewise.
75462         * libio/obprintf.c: Likewise.
75463         * libio/oldfileops.c: Likewise.
75464         * libio/oldiofclose.c: Likewise.
75465         * libio/oldiofdopen.c: Likewise.
75466         * libio/oldiofopen.c: Likewise.
75467         * libio/oldiopopen.c: Likewise.
75468         * libio/oldstdfiles.c: Likewise.
75469         * libio/putc.c: Likewise.
75470         * libio/setbuf.c: Likewise.
75471         * libio/setlinebuf.c: Likewise.
75472         * libio/stdfiles.c: Likewise.
75473         * libio/strops.c: Likewise.
75474         * libio/vasprintf.c: Likewise.
75475         * libio/vscanf.c: Likewise.
75476         * libio/vsnprintf.c: Likewise.
75477         * libio/vswprintf.c: Likewise.
75478         * libio/wfiledoalloc.c: Likewise.
75479         * libio/wfileops.c: Likewise.
75480         * libio/wgenops.c: Likewise.
75481         * libio/wmemstream.c: Likewise.
75482         * libio/wstrops.c: Likewise.
75483         * libio/__fpurge.c: Likewise.
75484         * libio/__fsetlocking.c: Likewise.
75485         * assert/assert.c: Likewise.
75486         * debug/fgets_chk.c: Likewise.
75487         * debug/fgets_u_chk.c: Likewise.
75488         * debug/fread_chk.c: Likewise.
75489         * debug/fread_u_chk.c: Likewise.
75490         * debug/gets_chk.c: Likewise.
75491         * debug/obprintf_chk.c: Likewise.
75492         * debug/vasprintf_chk.c: Likewise.
75493         * debug/vdprintf_chk.c: Likewise.
75494         * debug/vsnprintf_chk.c: Likewise.
75495         * debug/vsprintf_chk.c: Likewise.
75496         * malloc/mtrace.c: Likewise.
75497         * misc/error.c: Likewise.
75498         * misc/syslog.c: Likewise.
75499         * stdio-common/asprintf.c: Likewise.
75500         * stdio-common/fxprintf.c: Likewise.
75501         * stdio-common/getw.c: Likewise.
75502         * stdio-common/isoc99_fscanf.c: Likewise.
75503         * stdio-common/isoc99_scanf.c: Likewise.
75504         * stdio-common/isoc99_vfscanf.c: Likewise.
75505         * stdio-common/isoc99_vscanf.c: Likewise.
75506         * stdio-common/isoc99_vsscanf.c: Likewise.
75507         * stdio-common/printf-prs.c: Likewise.
75508         * stdio-common/printf_fp.c: Likewise.
75509         * stdio-common/printf_fphex.c: Likewise.
75510         * stdio-common/printf_size.c: Likewise.
75511         * stdio-common/putw.c: Likewise.
75512         * stdio-common/scanf.c: Likewise.
75513         * stdio-common/sprintf.c: Likewise.
75514         * stdio-common/tmpfile.c: Likewise.
75515         * stdio-common/vfprintf.c: Likewise.
75516         * stdio-common/vfscanf.c: Likewise.
75517         * stdlib/strfmon_l.c: Likewise.
75518         * sunrpc/openchild.c: Likewise.
75519         * sunrpc/xdr_stdio.c: Likewise.
75520         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
75521         * sysdeps/mach/hurd/tmpfile.c: Likewise.
75523 2012-05-24  Roland McGrath  <roland@hack.frob.com>
75525         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
75527         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
75528         in the third column, to generate for the shared library an IFUNC
75529         that uses _dl_vdso_vsym.
75530         * Makerules (COMPILE.c, compile-stdin.c): New variables.
75531         * Makeconfig (object-suffixes-noshared): New variable.
75533         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
75534         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
75535         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
75536         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
75538         [BZ #14132]
75539         * include/sys/time.h (__gettimeofday): Remove macro.
75540         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
75541         * time/gettimeofday.c (__gettimeofday): Remove #undef.
75542         Remove INTDEF.
75543         (__gettimeofday): Add libc_hidden_def.
75544         (gettimeofday): Add libc_hidden_weak.
75545         * sysdeps/mach/gettimeofday.c: Likewise.
75546         * sysdeps/posix/gettimeofday.c: Likewise.
75547         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
75548         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
75549         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
75550         (__gettimeofday_internal): Remove strong_alias.
75551         (__gettimeofday): Add libc_hidden_def.
75552         (gettimeofday): Add libc_hidden_weak.
75553         * sysdeps/unix/syscalls.list (gettimeofday):
75554         Remove __gettimeofday_internal alias.
75556 2012-05-24  Daniel Jacobowitz  <drow@false.org>
75557             H.J. Lu  <hongjiu.lu@intel.com>
75559         [BZ #12495]
75560         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
75561         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
75562         (largebin_index_32_big): New.
75563         (largebin_index): Use it for 16-byte alignment.
75564         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
75565         correction with front_misalign.
75567 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
75569         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
75570         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
75571         Likewise.
75572         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
75573         Likewise.
75574         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
75575         Likewise.
75576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
75577         Likewise.
75578         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
75579         Likewise.
75580         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
75581         Likewise.
75582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
75583         Likewise.
75584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
75585         Likewise.
75586         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
75587         Likewise.
75588         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
75589         Likewise.
75590         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
75591         Likewise.
75592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
75593         Likewise.
75595         * scripts/data/c++-types-x32-linux-gnu.data: New file.
75596         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
75598 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75600         [BZ #10846]
75601         [BZ #14036]
75602         * math/libm-test.inc (exp_test): Add test from bug 14036.
75603         (pow_test): Add test from bug 10846.
75605         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
75606         and other flags.
75607         (special_function): Do not include flags in test name.
75608         (parse_args): Likewise.
75609         * sysdeps/i386/fpu/libm-test-ulps: Update.
75610         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75611         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
75612         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
75613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75615         * math/gen-libm-test.pl (%beautify): Add entries for underflow
75616         exceptions.
75617         * math/libm-test.inc ("Philosophy"): Update comment about
75618         exception testing.
75619         (UNDERFLOW_EXCEPTION): New macro.
75620         (UNDERFLOW_EXCEPTION_OK): Likewise.
75621         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
75622         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
75623         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
75624         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
75625         (INVALID_EXCEPTION_OK): Update value.
75626         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75627         (OVERFLOW_EXCEPTION_OK): Likewise.
75628         (IGNORE_ZERO_INF_SIGN): Likewise.
75629         (test_exceptions): Handle underflow exceptions.
75630         (acos_test): Update for underflow exception expectations.
75631         (cexp_test): Likewise.
75632         (clog_test): Likewise.
75633         (clog10_test): Likewise.
75634         (csqrt_test): Likewise.
75635         (ctan_test): Likewise.
75636         (ctanh_test): Likewise.
75637         (exp_test): Likewise.
75638         (exp10_test): Likewise.
75639         (exp2_test): Likewise.
75640         (expm1_test): Likewise.
75641         (fma_test): Likewise.
75642         (j0_test): Likewise.
75643         (jn_test): Likewise.
75644         (nexttoward_test): Likewise.
75645         (pow_test): Likewise.
75646         (scalbn_test): Likewise.
75647         (scalbln_test): Likewise.
75648         (tan_test): Likewise.
75649         (y1_test): Likewise.
75650         * sysdeps/i386/fpu/libm-test-ulps: Update.
75651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75653 2012-05-23  David S. Miller  <davem@davemloft.net>
75655         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75656         (__libc_sigaction): Remove unused local variables.
75658 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75660         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
75662 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
75664         mktime: avoid signed integer overflow
75665         * time/mktime.c (__mktime_internal): Do not mishandle the case
75666         where diff == INT_MIN.
75668         mktime: simplify computation of average
75669         * time/mktime.c (ranged_convert): Use new time_t_avg function
75670         instead of rolling our own (probably-slower) code.
75672         mktime: do not assume signed right shift propagates sign bit
75673         * time/mktime.c (isdst_differ): New static function.
75674         (__mktime_internal): No need to normalize tm_isdst now.
75675         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
75676         tm_isdst values.
75678         mktime: merge another wrapv change from gnulib
75679         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
75680         from some compilers.
75682         mktime: remove incorrect attempt at unusual arithmetics
75683         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
75684         The code didn't really work on such machines anyway.
75685         (TYPE_MINIMUM): Assume two's complement.
75686         (twos_complement_arithmetic): Verify that long_int and time_t
75687         are two's complement (or unsigned, in the latter case).
75689         mktime: check signed shifts on long_int and time_t, too
75690         * time/mktime.c (SHR): Check that shifts work as desired
75691         on the types long_int and time_t too, as SHR is used on
75692         such types.
75694         mktime: do not assume 'long' is wide enough
75695         * time/mktime.c (verify): Move decl up.
75696         (long_int): New type.
75697         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
75698         to remove assumption in the code that 'long' is wide enough to
75699         store year values.  This assumption is not true on x32 and on
75700         some non-glibc platforms.
75702         mktime: merge wrapv change from gnulib
75703         * time/mktime.c (WRAPV): New macro.
75704         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
75705         (guess_time_tm, __mktime_internal): Do not assume that signed
75706         integer overflow wraps around; modern compilers generate code
75707         where this assumption is no longer valid.
75709 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75711         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75712         Replace "jmp L(pseudo_end)" with "ret".
75713         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
75714         Likewise.
75716 2012-05-23  Andreas Jaeger  <aj@suse.de>
75718         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
75719         * sysdeps/unix/sysv/linux/poll.c: Remove file.
75721 2012-05-23  Andreas Jaeger  <aj@suse.de>
75722             Maximilian Attems  <max@stro.at>
75724         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
75725         New macros.
75727 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75729         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
75730         code so that pseudo_end is just ret and the stack pointer is
75731         correct also for static library in error case.
75733 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
75735         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
75736         move to syscalls.list.
75737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
75738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
75739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
75740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
75742         * manual/install.texi (Running make install): Do not mention Linux
75743         kernel version for which pt_chown is not needed.
75744         (Linux): Do not mention problems with nscd with 2.0 kernels.
75745         * INSTALL: Regenerated.
75747 2012-05-23  Andreas Jaeger  <aj@suse.de>
75749         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
75750         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
75751         macro.
75752         * sysdeps/unix/sysv/linux/s390/bits/mman.h
75753         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75754         * sysdeps/unix/sysv/linux/sh/bits/mman.h
75755         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75756         * sysdeps/unix/sysv/linux/i386/bits/mman.h
75757         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75758         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
75759         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75760         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
75761         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75762         * sysdeps/unix/sysv/linux/bits/in.h
75763         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
75765 2012-05-22  Roland McGrath  <roland@hack.frob.com>
75767         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
75768         (PREPARE_VERSION): Just use assert instead, it will be elided
75769         under [NDEBUG] anyway.
75771 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75773         * sysdeps/unix/sysv/linux/Makefile: Include
75774         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
75775         (sysdep_routines): Remove sysctl.
75776         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
75777         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
75778         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
75779         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
75780         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
75782 2012-05-22  Andreas Jaeger  <aj@suse.de>
75784         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
75785         that pseudo_end is just ret and the stack pointer is correct also
75786         for static library in error case.
75788 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
75790         [BZ #14122]
75791         * nss/nsswitch.c (defconfig_entries): New variable.
75792         (__nss_database_lookup): Don't leak defconfig entries.
75793         (nss_parse_service_list): Don't leak on error paths.
75794         (free_database_entries): New function.
75795         (free_defconfig): New function.
75796         (free_mem): Move common code to free_database_entries.
75798 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75800         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
75801         Add arch_prctl.
75802         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
75804         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
75805         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
75806         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
75807         New macro.
75808         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
75809         (INTERNAL_SYSCALL_TYPES): Likewise.
75810         (LOAD_ARGS_TYPES_[1-6]): Likewise.
75811         (LOAD_REGS_TYPES_[1-6]): Likewise.
75812         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
75813         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
75815 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75817         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
75818         copysignl for GLIBC_2_0.
75819         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
75820         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
75821         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
75822         logbl for GLIBC_2_0.
75823         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
75824         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
75826 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75828         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
75829         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75831         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75832         Use "neg %eax".
75834         * time/mktime.c: Update copyright years.
75836 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
75838         mktime: merge comment-quoting-style change from gnulib
75839         * time/mktime.c: Quote 'like this' in comments.
75840         The GNU coding standards suggest that we no longer quote `like this',
75841         as "`" and "'" are typically rendered asymmetrically nowadays.
75842         The typical gnulib style is to quote 'like this' when quoting
75843         code, and "like this" when quoting English.
75845         * time/mktime.c (compile-command): Add "-I.".
75847         mktime: merge mktime-internal.h change from gnulib
75848         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
75850         mktime: merge time_r change from gnulib
75851         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
75853         mktime: merge DEBUG change from gnulib
75854         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
75855         case system <time.h> has a #define.
75857         mktime: merge <sys/types.h> change from gnulib
75858         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
75859         since <time.t> is now guaranteed to define time_t.
75861         mktime: merge HAVE_CONFIG_H change from gnulib
75862         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
75864 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75866         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75867         Use "neg %eax".
75869         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
75870         __rlim_t cast.
75871         (struct rusage): Use anonymous union to pad each field to
75872         __syscall_slong_t.
75874 2012-05-21  David S. Miller  <davem@davemloft.net>
75876         * Makefules (o-iterator): Remove .s cases.
75877         (compile-command.s): Delete.
75878         (COMPILE.s): Delete.
75879         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
75881 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
75883         * configure.in (libc_cv_predef_stack_protector): Only consider
75884         "foobar" and "__stack_chk_fail" lines in libc_undefs.
75885         * configure: Regenerated.
75887 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75889         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75890         New macro.  Use R*LP on int and pointer.
75891         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
75892         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
75893         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
75894         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
75896         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
75897         [__WORDSIZE_TIME64_COMPAT32] instead of
75898         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
75899         (struct utmp): Likewise.
75900         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
75901         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
75902         Renamed to ...
75903         (__WORDSIZE_TIME64_COMPAT32): This.
75904         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
75905         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
75906         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
75907         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
75908         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
75909         (__WORDSIZE_TIME64_COMPAT32): New macro.
75911 2012-05-21  Andreas Jaeger  <aj@suse.de>
75913         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
75914         only if [SHARED]. Add prototype for __wcschr_ia32.
75916 2012-05-21  Roland McGrath  <roland@hack.frob.com>
75918         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
75919         of %rbp unmolested in the jmp_buf while mangling the low bits.
75920         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
75921         unmolested high bits of %rbp while demangling the low bits.
75922         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
75924 2012-05-21  Andreas Jaeger  <aj@suse.de>
75926         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
75927         * sunrpc/svc_simple.c: Use it for registerrpc.
75928         * sunrpc/xcrypt.c: Use it for passwd2des.
75930         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
75932 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75934         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
75935         Don't define if [__SYSCALL_WORDSIZE != 32].
75936         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
75937         New macro.
75939 2012-05-21  Bruno Haible  <bruno@clisp.org>
75940             Andreas Jaeger  <aj@suse.de>
75942         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
75943         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
75944         inptr and inend for must_buffer_ch.
75945         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
75946         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
75947         * stdio-common/Makefile (tests): Remove bug15.
75948         (bug15-ENV): Remove macro.
75949         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
75950         anymore.
75952 2012-05-19  Andreas Jaeger  <aj@suse.de>
75953             Roland McGrath  <roland@hack.frob.com>
75955         * manual/contrib.texi: Completely rewritten. It contains now an
75956         alphabetical list of contributors and their contributions.
75958 2012-05-21  Richard Henderson  <rth@twiddle.net>
75960         * misc/getauxval.c (__getauxval): Use unsigned long int.
75961         * misc/sys/auxv.h: Include <sys/cdefs.h>.
75962         (getauxval): Use unsigned long int.
75964 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75966         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
75968 2012-05-21  Roland McGrath  <roland@hack.frob.com>
75970         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
75971         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
75972         __alignof__ (long double).
75974 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75978 2012-05-20  Richard Henderson  <rth@twiddle.net>
75980         * misc/getauxval.c: New file.
75981         * misc/sys/auxv.h: New file.
75982         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
75983         (routines): Add getauxval.
75984         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
75985         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
75986         * elf/dl-sysdep.c (_dl_auxv): Remove.
75987         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
75988         * elf/dl-support.c (_dl_auxv): New variable.
75989         (_dl_aux_init): Initialize it.
75990         * manual/startup.texi (Auxiliary Vector): New node.
75991         * sysdeps/generic/bits/hwcap.h: New file.
75992         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
75993         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
75994         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
75995         * sysdeps/sparc/sysdep.h: ... here.  Include it.
75996         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
75997         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
75998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75999         Update.
76000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
76001         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
76002         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
76003         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
76004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
76005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
76006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
76007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
76009 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76013 2012-05-19  David S. Miller  <davem@davemloft.net>
76015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76017 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
76019         [BZ #14123]
76020         * math/s_ccosh.c: Include <float.h>
76021         (__ccosh): Avoid internal overflow calculating sinh and cosh
76022         values before multiplying by sin and cos values.
76023         * math/s_ccoshf.c: Likewise.
76024         * math/s_ccoshl.c: Likewise.
76025         * math/s_csin.c: Likewise.
76026         * math/s_csinf.c: Likewise.
76027         * math/s_csinl.c: Likewise.
76028         * math/s_csinh.c: Likewise.
76029         * math/s_csinhf.c: Likewise.
76030         * math/s_csinhl.c: Likewise.
76031         * math/libm-test.inc (ccos_test): Add more tests.
76032         (ccosh_test): Likewise.
76033         (csin_test): Likewise.
76034         (csinh_test): Likewise.
76035         * sysdeps/i386/fpu/libm-test-ulps: Update.
76036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76038 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
76040         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
76041         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
76043         * sysdeps/x86_64/x32/_itoa.h: Add comment.
76045 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
76047         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
76048         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
76049         * sysdeps/powerpc/soft-fp/Versions: Likewise.
76050         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
76051         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
76052         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
76053         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
76054         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
76055         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
76056         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
76057         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
76058         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
76059         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
76060         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
76061         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
76062         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
76063         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
76064         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
76065         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
76066         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
76067         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
76068         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
76069         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
76070         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
76071         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
76072         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
76073         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
76074         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
76075         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
76076         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
76077         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
76079 2012-05-18  Andreas Jaeger  <aj@suse.de>
76081         * csu/.gitignore: Delete.
76083 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76085         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
76086         (timex): Use __syscall_slong_t.
76088 2012-05-18  Andreas Jaeger  <aj@suse.de>
76089             Carlos O'Donell  <carlos_odonell@mentor.com>
76091         * manual/install.texi (Configuring and compiling): Update
76092         description about files modified in the source directory.
76093         * INSTALL: Regenerated.
76095 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76097         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
76098         value.  Use "or" to set return value to -1.
76099         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
76100         negate return value.
76102 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76104         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
76105         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
76106         failure if the compiler has Graphite support disabled.
76107         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
76108         Likewise.
76109         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
76110         (CFLAGS-memmove.c): Likewise.
76111         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
76112         Likewise.
76114 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76116         * sysdeps/x86_64/x32/_itoa.h: New file.
76118         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
76119         getdents system call only if kernel and user dirents have the
76120         same d_ino and d_off.
76122         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
76123         LLONG_MAX != LONG_MAX.
76124         (_itoa_word): Use _ITOA_WORD_TYPE on value.
76125         (_fitoa_word): Likewise.
76127         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
76128         years.
76129         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
76130         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
76131         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
76133         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
76134         include <bits/wordsize.h>.  Check __x86_64__ instead of
76135         __WORDSIZE.
76136         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
76137         if __x86_64__ is defined.  Use anonymous union on fpstate.
76139         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
76140         anonymous union.
76142 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
76144         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
76145         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
76146         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
76147         Refer to _rtld_local_ro instead of _rtld_global_ro.
76148         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
76149         Likewise.
76150         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
76151         Likewise.
76152         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
76153         Likewise.
76154         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
76155         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
76156         of _rtld_global, and rtld_progname instead of _dl_argv[0].
76158         [BZ #10882]
76159         * sysdeps/powerpc/powerpc32/dl-machine.c
76160         (__elf_machine_runtime_setup) [PROF]: Don't reference
76161         _dl_prof_resolve.
76163 2012-05-18  Andreas Jaeger  <aj@suse.de>
76165         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
76166         function only available for GCCs before 3.4 since GCC 3.4
76167         introduced a builtin.
76168         (lrint): Likewise.
76169         (llrintf): Likewise.
76170         (llrint): Likewise.
76171         (fmaxf): Likewise.
76172         (fmax): Likewise.
76173         (fminf): Likewise.
76174         (fmin): Likewise.
76175         (rint): Likewise.
76176         (rintf): Likewise.
76177         (nearbyint): Likewise.
76178         (nearbyintf): Likewise.
76179         (ceil): Likewise.
76180         (ceilf): Likewise.
76181         (floor): Likewise.
76182         (floorf): Likewise.
76184 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76186         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
76187         on both fields and cast pointer to __syscall_ulong_t.
76189         * bits/types.h (__fsword_t): New type.
76190         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
76191         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
76192         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76193         (__FSWORD_T_TYPE): Likewise.
76194         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76195         (__FSWORD_T_TYPE): Likewise.
76196         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76197         (__FSWORD_T_TYPE): Likewise.
76198         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
76199         (__FSWORD_T_TYPE): Likewise.
76200         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
76201         __SWORD_TYPE with __fsword_t.
76202         (statfs64): Likewise.
76204 2012-05-17  David S. Miller  <davem@davemloft.net>
76206         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
76208 2012-05-17  Andreas Jaeger  <aj@suse.de>
76210         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
76211         warning.
76213 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76215         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
76217 2012-05-17  Andreas Jaeger  <aj@suse.de>
76219         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
76220         when it is used.
76222 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
76224         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
76226 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76228         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
76229         * sysdeps/x86_64/tst-mallocalign1.c: New file.
76231 2012-05-17  Andreas Jaeger  <aj@suse.de>
76232             Carlos O'Donell  <carlos_odonell@mentor.com>
76234         [BZ #14059]
76235         * sysdeps/x86_64/multiarch/init-arch.h
76236         (bit_YMM_Usable): Rename to...
76237         (bit_AVX_Usable): ... this.
76238         (bit_FMA4_Usable): New macro.
76239         (bit_XMM_state): New macro.
76240         (bit_YMM_state): New macro.
76241         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
76242         [__ASSEMBLER__] (index_AVX_Usable): ... this.
76243         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
76244         (CPUID_OSXSAVE): New macro.
76245         (CPUID_AVX): New macro.
76246         (CPUID_FMA4): New macro.
76247         (index_YMM_Usable): Rename to...
76248         (index_AVX_Usable): ... this.
76249         (HAS_AVX): Use HAS_ARCH_FEATURE.
76250         (HAS_FMA4): Likewise.
76251         (HAS_YMM_USABLE): Remove.
76252         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76253         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
76254         are present.
76255         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
76256         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
76257         * sysdeps/x86_64/multiarch/Makefile: Likewise.
76258         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
76259         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
76261 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
76263         * math/libm-test.c: Support platforms without multiple rounding modes.
76264         * math/bug-nextafter.c: Support platforms without FP exceptions.
76265         * math/bug-nexttoward.c: Likewise.
76266         * math/test-fenv.c: Likewise.
76267         * math/test-misc.c: Likewise.
76268         * stdlib/bug-getcontext.c: Likewise.
76270 2012-05-17  Andreas Jaeger  <aj@suse.de>
76272         * manual/examples/search.c (critter_cmp): Change signature to
76273         avoid warnings.
76274         * manual/string.texi (Collation Functions): Likewise.
76276 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76278         * bits/types.h: Fold copyright years.
76279         * bits/typesizes.h: Likewise.
76280         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
76281         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
76282         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
76283         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
76284         * time/time.h: Likewise.
76286 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
76288         [BZ #208]
76289         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
76290         in instead of returning them.  Return void.
76291         (__libc_mallinfo): Accumulate over all arenas.
76292         (__malloc_stats): Adjust for change in int_mallinfo interface.
76294 2012-05-16  Roland McGrath  <roland@hack.frob.com>
76296         [BZ #10375]
76297         * configure.in (NM): Add AC_CHECK_TOOL for it.
76298         (libc_extra_cflags): New substituted variable.
76299         Check for -fstack-protector being used implicitly.
76300         * configure: Regenerated.
76301         * config.make.in (config-extra-cflags): New variable,
76302         gets @libc_extra_cflags@.
76303         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
76305         [BZ #10375]
76306         * configure.in: Check for _FORTIFY_SOURCE being predefined.
76307         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
76308         * configure: Regenerated.
76309         * config.make.in (CPPUNDEFS): New substituted variable.
76310         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
76311         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
76312         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
76314 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76316         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
76317         (mq_attr): Use __syscall_slong_t.
76319 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76321         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
76322         Check __x86_64__ instead of __WORDSIZE.
76323         (_STAT_VER_LINUX): Likewise.
76324         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
76325         __syscall_ulong_t and __syscall_slong_t.
76326         (stat64): Likewise.
76328 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76330         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
76332 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76334         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
76336 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76338         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
76339         __syscall_ulong_t.
76341         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
76342         include <bits/wordsize.h>.  Check __x86_64__ instead of
76343         __WORDSIZE.
76344         (greg_t): Use "__extension__ long long int" if __x86_64__ is
76345         defined.
76346         (mcontext_t): Replace "unsigned long" with "unsigned long long".
76348         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
76349         include <bits/wordsize.h>.  Check __x86_64__ instead of
76350         __WORDSIZE.
76351         (user_regs_struct): Use "__extension__ unsigned long long"
76352         instead of "unsigned long" if __x86_64__ is defined.
76353         (user): Likewise.  Pad after pointer field if __ILP32__ is
76354         defined.
76356 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
76358         * configure.in (makeinfo): Require version 4.5 or later.  Allow
76359         versions 5 to 9.
76360         * configure: Regenerated.
76361         * manual/install.texi (texinfo): Increase version requirement to
76362         4.5 or later.
76363         * INSTALL: Regenerated.
76365         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
76367 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76369         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
76371         * sysdeps/x86_64/x32/ffs.c: New file.
76373         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
76374         __syscall_ulong_t.
76375         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
76376         defined.  Use __syscall_ulong_t.
76377         (shminfo): Use __syscall_ulong_t.
76378         (shm_info): Likewise.
76380         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
76381         __syscall_ulong_t.
76383         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
76384         <bits/wordsize.h>.
76385         (msgqnum_t): Use __syscall_ulong_t.
76386         (msglen_t): Likewise.
76387         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
76388         __syscall_ulong_t.
76390         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
76391         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
76393         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
76395         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
76396         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
76398         * sysvipc/sys/msg.h (msgbuf): Replace long int with
76399         __syscall_slong_t.
76401         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
76402         include <bits/wordsize.h>.  Check __x86_64__ instead of
76403         __WORDSIZE.
76405         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
76406         "unsigned long long int" if __x86_64__ is defined.
76407         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
76409         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
76410         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
76411         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
76413         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
76414         <stdint.h>.
76415         (GET_PC): Cast to uintptr_t first.
76416         (GET_FRAME): Likewise.
76417         (GET_STACK): Likewise.
76419         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
76420         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
76421         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
76422         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
76423         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
76424         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
76425         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
76426         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
76427         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
76428         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
76429         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
76430         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
76431         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
76432         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
76433         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
76434         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
76435         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
76436         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
76437         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
76438         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
76439         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
76440         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
76441         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
76442         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
76443         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
76444         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
76445         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
76446         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
76447         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
76449 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
76451         * Makerules (+depfiles): Also collect depfiles from .oS in
76452         $(extra-objs).
76453         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
76454         .oS, $(libnldbl-routines)).
76456         * Makerules (native-compile-mkdep-flags): Define.
76457         * sunrpc/Makefile (extra-objs): Add $(addprefix
76458         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
76459         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
76460         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
76461         calling $(make-target-directory).
76463 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76465         * bits/types.h (__snseconds_t): Removed.
76466         * time/time.h (struct timespec): Replace __snseconds_t with
76467         __syscall_slong_t.
76468         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
76469         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
76470         Likewise.
76471         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76472         (__SNSECONDS_T_TYPE): Likewise.
76473         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76474         (__SNSECONDS_T_TYPE): Likewise.
76475         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76476         (__SNSECONDS_T_TYPE): Likewise.
76478 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76480         * sysdeps/mach/hurd/bits/typesizes.h
76481         (__SYSCALL_SLONG_TYPE): New macro.
76482         (__SYSCALL_ULONG_TYPE): Likewise.
76484 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76486         * bits/types.h (__syscall_slong_t): New type.
76487         (__syscall_ulong_t): Likewise.
76489         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
76490         (__SYSCALL_ULONG_TYPE): Likewise.
76491         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76492         (__SYSCALL_SLONG_TYPE): Likewise.
76493         (__SYSCALL_ULONG_TYPE): Likewise.
76494         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76495         (__SYSCALL_SLONG_TYPE): Likewise.
76496         (__SYSCALL_ULONG_TYPE): Likewise.
76497         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76498         (__SYSCALL_SLONG_TYPE): Likewise.
76499         (__SYSCALL_ULONG_TYPE): Likewise.
76501 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76503         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
76504         Add sigaltstack-offsets.sym.
76505         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
76506         <sigaltstack-offsets.h>.
76507         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
76508         longjmp_msg pointer.
76509         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
76510         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
76511         signal stack.
76512         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
76514 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76516         * elf/stackguard-macros.h: Remove file.
76517         * sysdeps/generic/stackguard-macros.h: New file.
76518         * sysdeps/i386/stackguard-macros.h: Likewise.
76519         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
76520         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
76521         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
76522         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
76523         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
76524         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
76525         * sysdeps/x86_64/stackguard-macros.h: Likewise.
76526         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
76527         <elf/stackguard-macros.h>.
76529         [BZ #14109]
76530         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
76531         __aligned__ in attribute.
76532         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
76533         (gregset_t): Likewise.
76535 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76537         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
76538         * sysdeps/x86_64/64/Implies-after: Here.  New file.
76539         * sysdeps/x86_64/x32/Implies-after: New file.
76541 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76543         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
76544         and access return value for _dl_profile_fixup.  Use R10_LP to
76545         load frame size.
76547 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76549         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
76551 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76553         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
76554         * sysdeps/x86_64/x32/sysdep.h: New file.
76556 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76558         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
76559         * sysdeps/x86_64/setjmp.S: Likewise.
76561 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76563         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
76564         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
76565         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
76566         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
76567         remove unused global constant.
76569 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
76571         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
76572         include of <not-cancel.h>.
76574 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76576         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
76578 2012-05-15  Jeff Law  <law@redhat.com>
76579             Andreas Jaeger  <aj@suse.de>
76581         [BZ #13594]
76582         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
76583         out from...
76584         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
76585         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
76586         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
76587         code changing __hst_map_handle.map.
76589 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76591         * configure.in (sysnames): Look for Implies-before and Implies-after
76592         files.
76593         * configure: Regenerated.
76595 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76597         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
76598         8-byte data alignment with LP_SIZE alignment.
76600 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76602         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
76603         into R10_LP.
76605 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76607         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
76609 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76611         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
76612         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
76613         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
76614         Likewise.
76615         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
76617 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76619         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
76620         (stackinfo_sub_sp): Likewise.
76622 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76624         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
76625         RAX_LP.
76627 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76629         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
76630         into R*_LP.
76632 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76634         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
76635         sizes into R*_LP.
76637 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76639         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
76641 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76643         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
76644         into R11_LP and load __x86_64_shared_cache_size_half into
76645         R8_LP.
76647 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76649         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
76650         R8_LP.
76652 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76654         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
76655         logb for POWER7.
76656         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
76657         logbf for POWER7.
76658         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
76659         logbl for POWER7.
76660         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
76661         powerpc32/power7/fpu/s_logb.c via #include.
76662         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
76663         powerpc32/power7/fpu/s_logbf.c via #include.
76664         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
76665         powerpc32/power7/fpu/s_logbl.c via #include.
76667 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76669         * README.libm: Remove file.
76671 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76673         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
76674         count for x32.  Use R*_LP and omit operand-size suffix.
76676 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76678         * shlib-versions: Move x86_64-.*-linux.* entries to ...
76679         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
76680         * sysdeps/x86_64/x32/shlib-versions: New file.
76682 2012-05-14  Roland McGrath  <roland@hack.frob.com>
76684         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
76685         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
76686         Use _dl_fatal_printf instead.
76688 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76690         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
76691         set if not set by the user.  Do not allow for being unset.
76692         * sysdeps/unix/sysv/linux/configure: Regenerated.
76694 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76696         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
76697         the `q' suffix from lea and replace .quad with ASM_ADDR.
76699 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76701         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
76702         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
76703         instead of $17.
76704         (PTR_DEMANGLE): Likewise.
76706 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76708         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
76709         (LP_OP): Likewise.
76710         (ASM_ADDR): Likewise.
76711         (RAX_LP): Likewise.
76712         (RBP_LP): Likewise.
76713         (RBX_LP): Likewise.
76714         (RCX_LP): Likewise.
76715         (RDI_LP): Likewise.
76716         (RSI_LP): Likewise.
76717         (RSP_LP): Likewise.
76718         (R8_LP): Likewise.
76719         (R9_LP): Likewise.
76720         (R10_LP): Likewise.
76721         (R10_LP): Likewise.
76722         (R11_LP): Likewise.
76723         (R12_LP): Likewise.
76724         (R13_LP): Likewise.
76725         (R14_LP): Likewise.
76726         (R15_LP): Likewise.
76728 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76730         * sysdeps/x86_64/x32/dl-machine.h: New file.
76732 2012-05-14  Andreas Jaeger  <aj@suse.de>
76734         * manual/Makefile (subdir): Remove export of subdir.
76735         (all): Remove target.
76736         (.PHONY): Remove all from list.
76737         (mkinstalldirs): Remove.
76738         (.PHONY): Remove installdirs from list.
76739         ($(inst_infodir)/libc.info): Use make-target-directory.
76740         (installdirs): Remove.
76741         (subdir_%): Remove.
76742         (glibc-targets): Remove.
76743         (lib): Remove.
76744         (stubs): Remove.
76745         ($(objpfx)stubs ../po/manual.pot): Remove.
76746         ($(objpfx)stamp%): Remove.
76747         (make-target-directory): Remove.
76748         (subdir_install): Remove.
76749         (routines): Remove.
76750         (aux): Remove.
76751         (sources): Remove.
76752         (objects): Remove.
76753         (headers): Remove.
76755         [BZ #13750]
76756         * manual/.gitignore: Remove, it's not needed anymore.
76757         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
76758         all files in it.
76759         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
76760         directory.
76761         (texis): Renamed to $(objpfx)texis.
76762         (texis-path): New, contains path to generated files.
76763         (chapters.%): Use texis-path for complete path, add extra argument
76764         libc-texinfo.sh.
76765         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
76766         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
76767         (summary,texi, stamp-summary): Use complete path of
76768         files. Generate files in build dir.
76769         (dir-add.texi): Build in build dir.
76770         (libm-err.texi,stamp-libm-err): Likewise.
76771         (version.texi, stamp-version): Likewise.
76772         (.%c.texi): Likewise.
76773         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
76774         (mostlyclean): Remove target.
76775         (realclean): Remove target.
76776         (generated): Add new variable with contents from mostlyclean and
76777         realclean, remove entries duplicated in common-mostlyclean, add
76778         stamp-libm-err and stamp-version.
76779         (generated-dirs): Add libc directory.
76780         ($(inst_infodir)/libc.info): Install files from build dir.
76782         * manual/install.texi (Configuring and compiling): Adjust since
76783         the info files are not part of the tar ball anymore.
76785 2012-05-14  Andreas Jaeger  <aj@suse.de>
76787         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
76788         variable.
76790 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76792         [BZ #13717]
76793         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
76794         to 2.2.0 where earlier.
76795         * sysdeps/unix/sysv/linux/configure: Regenerated.
76796         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
76797         Remove conditional code.
76798         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
76799         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
76800         Remove conditional code.
76801         [!__NR_lchown]: Likewise.
76802         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76803         [__NR_lchown]: Likewise.
76804         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
76805         comment referencing __ASSUME_LCHOWN_SYSCALL.
76806         * sysdeps/unix/sysv/linux/i386/sigaction.c
76807         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76808         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76809         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
76810         Remove conditional code.
76811         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
76812         (__protocol_available): Remove #if 0 code.
76813         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
76814         conditional code.
76815         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
76816         * sysdeps/unix/sysv/linux/kernel-features.h
76817         (__ASSUME_GETCWD_SYSCALL): Don't define.
76818         (__ASSUME_REALTIME_SIGNALS): Likewise.
76819         (__ASSUME_PREAD_SYSCALL): Likewise.
76820         (__ASSUME_PWRITE_SYSCALL): Likewise.
76821         (__ASSUME_POLL_SYSCALL): Likewise.
76822         (__ASSUME_LCHOWN_SYSCALL): Likewise.
76823         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
76824         non-SPARC.
76825         (__ASSUME_SIOCGIFNAME): Don't define.
76826         (__ASSUME_MSG_NOSIGNAL): Likewise.
76827         (__ASSUME_SENDFILE): Define unconditionally.
76828         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
76829         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
76830         conditional code.
76831         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
76832         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
76833         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76834         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76835         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
76836         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76837         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
76839         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76840         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
76842         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76843         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
76845         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76846         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
76848         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76849         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
76851         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76852         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
76854         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76855         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
76857         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76858         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
76860         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76861         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76862         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
76863         Remove conditional code.
76864         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76865         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76866         Remove conditional code.
76867         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76868         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
76869         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
76870         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76871         Remove conditional code.
76872         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76873         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
76874         Remove conditional code.
76875         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76876         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
76877         Remove conditional code.
76878         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76879         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76880         Remove conditional code.
76881         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76882         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76883         Remove conditional code.
76884         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76885         * sysdeps/unix/sysv/linux/sh/pwrite64.c
76886         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76887         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76888         * sysdeps/unix/sysv/linux/sigaction.c
76889         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76890         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76891         * sysdeps/unix/sysv/linux/sigpending.c
76892         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76893         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76894         * sysdeps/unix/sysv/linux/sigprocmask.c
76895         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76896         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76897         * sysdeps/unix/sysv/linux/sigsuspend.c
76898         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76899         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76900         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
76901         (__libc_missing_rt_sigs): Remove.
76902         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
76903         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
76904         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
76905         Remove conditional code.
76906         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
76907         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
76908         return 1.
76909         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
76910         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
76911         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
76912         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
76914 2012-05-14  Andreas Jaeger  <aj@suse.de>
76916         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
76917         it's not used in glibc.
76918         (__coshm1): Likewise.
76919         (__acosh1p): Likewise.
76920         (__sgn): Likewise.
76922         * manual/string.texi (Copying and Concatenation): Add missing
76923         variable in concat example.
76924         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
76926 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76928         [BZ #14103]
76929         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
76930         __builtin_clzl with __builtin_clzll.
76932 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76934         [BZ #14104]
76935         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
76936         libc_freeres_ptr.
76938 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76940         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
76941         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
76942         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
76943         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
76945 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
76947         * NEWS: Update ia64 info.
76949 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
76951         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
76952         used as bcopy.
76954 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
76956         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
76957         * sysdeps/unix/syscalls.list (dup3): Likewise.
76958         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
76959         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
76961 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
76963         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
76964         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
76966 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
76968         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
76969         thread pointer.
76970         (TLS_IE): Use mov/add instead of movq/addq to load thread
76971         pointer.
76972         (TLS_GD_PREFIX): New.
76973         (TLS_GD): Use it.
76975 2012-05-11  David S. Miller  <davem@davemloft.net>
76977         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
76978         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
76979         (_FPU_SETCW): Likewise.
76981 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76983         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
76984         is 32-byte aligned.
76986 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
76988         [BZ #11837]
76989         * iconvdata/gb18030.c: Update tables.
76990         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
76991         characters specially.
76992         (BODY for TO_LOOP): Add encoding of missing ranges.
76994 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
76996         [BZ #13673]
76997         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
76998         * sysdeps/mach/hurd/dup3.c: Likewise.
76999         * sysdeps/mach/hurd/readlinkat.c: Likewise.
77000         * sysdeps/powerpc/memmove.c:: Likewise.
77002 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77004         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
77005         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
77007 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77009         * elf/elf.h (R_X86_64_RELATIVE64): New.
77010         (R_X86_64_NUM): Updated.
77011         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
77012         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
77013         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
77014         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
77015         tst-quad1pie tst-quad2pie
77016         (modules-names): Add tst-quadmod1 tst-quadmod2.
77017         ($(objpfx)tst-quad1): New dependency.
77018         ($(objpfx)tst-quad2): Likewise.
77019         ($(objpfx)tst-quad1pie): Likewise.
77020         ($(objpfx)tst-quad2pie): Likewise.
77021         * sysdeps/x86_64/tst-quad1.c: New file.
77022         * sysdeps/x86_64/tst-quad1pie.c: New file.
77023         * sysdeps/x86_64/tst-quad2.c: Likewise.
77024         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
77025         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
77026         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
77027         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
77028         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
77030 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77032         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
77033         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
77034         * streams/stropts.h (t_scalar_t): Define type.
77036         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
77037         (_PATH_PRESERVE): Set to "/var/lib".
77038         (_PATH_RWHODIR): Set to "/var/spool/rwho".
77040         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
77041         instead of int.
77043         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
77044         if __dir_mkfile succeeded.
77046         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
77047         checking for _hurd_dtablesize.  Unlock it right after having
77048         finished _hurd_dtable allocation.
77050 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77052         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
77053         * sysdeps/mach/hurd/configure: Regenerated.
77054         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
77055         special-casing to...
77056         * sysdeps/gnu/configure.in: ... this new file.
77057         * sysdeps/unix/sysv/linux/configure: Regenerated.
77058         * sysdeps/gnu/configure: New generated file.
77060         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
77061         for Linux: use nsec instead of usec, as well as:
77062         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
77063         members of type struct timespec.
77064         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
77065         New macros.
77066         (struct stat64): Likewise.
77067         (_STATBUF_ST_NSEC): New macro.
77068         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
77070         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
77071         __strtoul_internal rather than strtoul.
77073 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77075         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
77076         and reject them.
77078 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77080         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
77081         which preserves existing values.
77082         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
77084 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77086         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
77087         TIMEOUT values.  Return EINVAL for NFDS values either negative or
77088         greater than FD_SETSIZE.
77090 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77092         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
77093         allocated, call __vm_protect to finish enabling the existing space, and
77094         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
77095         allocate the remainder.
77097 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77099         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
77100         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
77102 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77104         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
77105         sysdeps/mach/hurd/readlink.c.
77107         * posix/tst-sysconf.c (posix_options): Only use
77108         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
77109         _POSIX_SYNCHRONIZED_IO when they are defined
77110         * sysdeps/mach/hurd/bits/posix_opt.h:
77111         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
77112         (_XOPEN_REALTIME): Undefine macro.
77113         (_XOPEN_REALTIME_THREADS): Undefine macro.
77114         (_XOPEN_SHM): Undefine macro.
77115         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
77116         macro to -1.
77117         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
77118         macro to -1.
77119         (_POSIX_ASYNC_IO): Undefine macro.
77120         (_POSIX_PRIORITIZED_IO): Undefine macro.
77121         (_POSIX_SPIN_LOCKS): Define macro to -1.
77123         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
77124         SA_NODEFER, SA_RESETHAND.
77125         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
77126         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
77127         F_DUPFD_CLOEXEC.
77129 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77131         * elf/Makefile (pldd-modules): Define unconditionally.
77133 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77135         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
77137 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77139         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
77140         Return ENOENT when name is empty.
77141         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
77143 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77145         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
77147         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
77149 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77151         Fix mlock in all cases except non-readable pages.
77152         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
77153         instead of VM_PROT_ALL as parameter to __vm_wire function.
77155         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
77156         (__mkdir): When path is `/', just fail with EEXIST.
77157         * sysdeps/mach/hurd/mkdirat.c: Likewise.
77159 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77161         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
77162         <sys/uio.h> (for writev).
77163         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
77164         and <sys/param.h> (for MIN).
77166 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77168         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
77169         REQUESTED_TIME.  Properly set the remaining time and return EINTR
77170         if interrupted.
77172 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77174         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
77175         Depend on against $(link-rpcuserlibs).
77177 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77179         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
77180         (__libc_stack_end): Do not use attribute_relro.
77181         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
77182         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
77183         to libthread-provided value.
77184         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
77185         attribute_relro.
77187 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77189         [BZ #3748]
77190         * bits/libc-lock.h (__libc_once_get): New macro.
77191         * sysdeps/mach/bits/libc-lock.h: Likewise.
77192         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
77193         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
77194         instead of using implementation details.
77196         * libio/fileops.c: Unconditionally include <kernel-features.h>.
77197         * libio/freopen.c: Likewise.
77198         * libio/freopen64.c: Likewise.
77199         * misc/syslog.c: Likewise.
77200         * nscd/connections.c: Likewise.
77201         * nscd/netgroupcache.c: Likewise.
77202         * sysdeps/posix/getcwd.c: Likewise.
77204 2012-05-10  Roland McGrath  <roland@hack.frob.com>
77206         * math/w_ilogbf.c: Add #include <limits.h>.
77208 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77210         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
77211         path instead of returning without unlocking.
77213         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
77214         immediate-write ioctls.
77215         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
77217 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77219         * sysdeps/mach/hurd/i386/init-first.c (init): Use
77220         __builtin_frame_address instead of making assumptions about the
77221         location of the return address relative to DATA.  Force early load of
77222         the return address.
77223         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
77224         __builtin_frame_address.
77226         dup3 for GNU Hurd.
77227         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
77228         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
77229         implement dup3 and do some further code clean-ups.
77230         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
77231         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
77233 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77235         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
77237         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
77238         HURD_CRITICAL_END around holding _hurd_dtable_lock.
77239         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
77240         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
77241         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
77242         d->port.lock.
77244         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
77245         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
77246         when handler == SIG_ERR, not when handler != SIG_ERR.
77248 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77250         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
77251         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
77252         definitions.
77254         accept4 for GNU Hurd.
77255         * include/sys/socket.h (__libc_accept4): New prototype.
77256         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
77257         to implement __libc_accept4.
77258         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
77259         __libc_accept4.
77260         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
77262         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
77263         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
77264         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
77265         signal-defines.sym.
77267 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77269         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
77271 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77273         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
77274         assertion on O_CLOEXEC flag.
77275         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
77276         * hurd/intern-fd.c: Likewise.
77277         * hurd/port2fd.c: Likewise.
77279 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77281         [BZ #3906]
77282         * bits/in.h (IPV6_PKTINFO): Define new macro.
77283         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
77285 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77287         [BZ #13954]
77288         [BZ #13955]
77289         [BZ #13956]
77290         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
77291         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
77292         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
77293         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
77294         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
77295         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
77296         * math/libm-test.inc (logb_test) : Additional logb tests.
77298 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
77299             Andreas Jaeger  <aj@suse.de>
77301         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
77302         * configure: Regenerated.
77303         * config.h.in (LINK_OBSOLETE_RPC): New macro.
77304         * config.make.in (link-obsolete-rpc): New substituted variable.
77305         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
77306         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
77307         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
77308         (shared-only-routines): Don't set it under [link-obsolete-rpc],
77309         so that libc.a contains the symbols.
77310         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
77311         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
77312         * sunrpc/auth_none.c: Likewise.
77313         * sunrpc/auth_unix.c: Likewise.
77314         * sunrpc/authdes_prot.c: Likewise.
77315         * sunrpc/authuxprot.c: Likewise.
77316         * sunrpc/clnt_gen.c: Likewise.
77317         * sunrpc/clnt_perr.c: Likewise.
77318         * sunrpc/clnt_raw.c: Likewise.
77319         * sunrpc/clnt_simp.c: Likewise.
77320         * sunrpc/clnt_tcp.c: Likewise.
77321         * sunrpc/clnt_udp.c: Likewise.
77322         * sunrpc/clnt_unix.c: Likewise.
77323         * sunrpc/des_crypt.c: Likewise.
77324         * sunrpc/des_soft.c: Likewise.
77325         * sunrpc/get_myaddr.c: Likewise.
77326         * sunrpc/key_call.c: Likewise.
77327         * sunrpc/key_prot.c: Likewise.
77328         * sunrpc/netname.c: Likewise.
77329         * sunrpc/pm_getmaps.c: Likewise.
77330         * sunrpc/pm_getport.c: Likewise.
77331         * sunrpc/pmap_clnt.c: Likewise.
77332         * sunrpc/pmap_prot.c: Likewise.
77333         * sunrpc/pmap_prot2.c: Likewise.
77334         * sunrpc/pmap_rmt.c: Likewise.
77335         * sunrpc/publickey.c: Likewise.
77336         * sunrpc/rpc_cmsg.c: Likewise.
77337         * sunrpc/rpc_common.c: Likewise.
77338         * sunrpc/rpc_dtable.c: Likewise.
77339         * sunrpc/rpc_prot.c: Likewise.
77340         * sunrpc/rpc_thread.c: Likewise.
77341         * sunrpc/rtime.c: Likewise.
77342         * sunrpc/svc.c: Likewise.
77343         * sunrpc/svc_auth.c: Likewise.
77344         * sunrpc/svc_raw.c: Likewise.
77345         * sunrpc/svc_run.c: Likewise.
77346         * sunrpc/svc_tcp.c: Likewise.
77347         * sunrpc/svc_udp.c: Likewise.
77348         * sunrpc/svc_unix.c: Likewise.
77349         * sunrpc/svcauth_des.c: Likewise.
77350         * sunrpc/xcrypt.c: Likewise.
77351         * sunrpc/xdr.c: Likewise.
77352         * sunrpc/xdr_array.c: Likewise.
77353         * sunrpc/xdr_float.c: Likewise.
77354         * sunrpc/xdr_intXX_t.c: Likewise.
77355         * sunrpc/xdr_mem.c: Likewise.
77356         * sunrpc/xdr_rec.c: Likewise.
77357         * sunrpc/xdr_ref.c: Likewise.
77358         * sunrpc/xdr_sizeof.c: Likewise.
77359         * sunrpc/xdr_stdio.c: Likewise.
77361 2012-05-10  Roland McGrath  <roland@hack.frob.com>
77363         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
77364         change.  Update copyright years.
77366 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
77368         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
77370 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
77371             Joseph Myers  <joseph@codesourcery.com>
77372             Paul Pluzhnikov  <ppluzhnikov@google.com>
77374         [BZ #14012]
77375         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
77376         requiring rpcgen.
77377         [cross-compiling] (extra-libs): Likewise.
77378         [cross-compiling] (extra-libs-others): Likewise.
77379         [cross-compiling] (librpcsvc-routines): Likewise.
77380         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
77381         [cross-compiling] (omit-deps): Likewise.
77382         (sunrpc-CPPFLAGS): New variable.
77383         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
77384         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
77385         (cross-rpcgen-objs): New variable.
77386         (extra-objs): Append $(cross-rpcgen-objs).
77387         ($(cross-rpcgen-objs)): New rule.
77388         ($(objpfx)cross-rpcgen): Likewise.
77389         (rpcgen-cmd): Define to use $(built-program-file).  Expand
77390         comment.
77391         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
77392         ($(objpfx)x%.stmp): Likewise.
77393         * sunrpc/proto.h [IS_IN_build] (_): Define.
77394         [IS_IN_build] (_libc_intl_domainname): Likewise.
77396 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77398         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
77399         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
77400         and R_X86_64_TPOFF64.
77402 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
77404         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
77405         sysdeps/unix/sysv/syscalls.list.
77406         (stime): Likewise.
77407         (utime): Likewise.
77408         * sysdeps/unix/sysv/syscalls.list: Remove file.
77410 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
77412         [BZ #3440]
77413         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
77414         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
77415         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
77416         (__LC_IDENTIFICATION): Make these macros useful in #if
77417         expressions, as required by C99.
77419 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
77421         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
77422         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
77423         after this.
77425 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
77427         * stdlib/longlong.h: Updated from GCC.
77429 2012-05-09  Andreas Jaeger  <aj@suse.de>
77431         * nscd/nscd.c (run_modes): Make named enum, reorder so that
77432         default is first entry.
77433         (run_mode): Set type.
77434         (main): Remove informal message about syslog.
77435         (options): Fix typo.
77437         [BZ #14053]
77438         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
77439         to asm.
77440         (lrint): Likewise.
77441         (llrintf): Likewise.
77442         (llrint): Likewise.
77443         (rint): Likewise.
77444         (rintf): Likewise.
77445         (nearbyint): Likewise.
77446         (nearbyintf): Likewise.
77448 2012-05-09  Andreas Jaeger  <aj@suse.de>
77449             Pedro Alves  <palves@redhat.com>
77451         * nscd/nscd.c (run_mode): Use enum.
77452         (main): Cleanup coding style issue.
77454 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
77455             Andreas Jaeger  <aj@suse.de>
77457         * nscd/nscd.c (go_background): Replaced with...
77458         (run_mode): ... this.
77459         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
77460         (options): Add -F --foreground.
77461         (main): Implement it.
77462         (parse_opt): Parse it.
77464 2012-05-09  Andreas Jaeger  <aj@suse.de>
77466         [BZ #14083]
77467         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
77468         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
77469         -Wconversion warning.
77470         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
77471         Likewise.
77473 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
77475         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
77476         == 0.
77477         (LC_ALL): Use macro-int-constant.
77478         (LC_COLLATE): Likewise.
77479         (LC_CTYPE): Likewise.
77480         (LC_MESSAGES): Likewise.
77481         (LC_MONETARY): Likewise.
77482         (LC_NUMERIC): Likewise.
77483         (LC_TIME): Likewise.
77484         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
77485         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77486         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77487         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
77488         Specify type.
77489         [C99-based standards] (float_t): Expect type.
77490         [C99-based standards] (double_t): Expect type.
77491         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
77492         type.
77493         [C99-based standards] (HUGE_VALL): Likewise.
77494         [C99-based standards] (INFINITY): Likewise.
77495         [C99-based standards] (NAN): Likewise.
77496         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
77497         [C99-based standards] (FP_NAN): Likewise.
77498         [C99-based standards] (FP_NORMAL): Likewise.
77499         [C99-based standards] (FP_SUBNORMAL): Likewise.
77500         [C99-based standards] (FP_ZERO): Likewise.
77501         [C99-based standards] (FP_FAST_FMA): Use
77502         optional-macro-int-constant.  Specify type.  Require == 1.
77503         [C99-based standards] (FP_FAST_FMAF): Likewise.
77504         [C99-based standards] (FP_FAST_FMAL): Likewise.
77505         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
77506         [C99-based standards] (FP_ILOGBNAN): Likewise.
77507         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
77508         Specify type.
77509         [C99-based standards] (MATH_ERREXCEPT): Likewise.
77510         [C99-based standards] (math_errhandling): Specify type.
77511         [ISO99 || ISO11] (signgam): Do not allow.
77512         [non-C99-based standards] (copysignf): Do not allow.
77513         [non-C99-based standards] (exp2f): Likewise.
77514         [non-C99-based standards] (log2f): Likewise.
77515         [non-C99-based standards] (modff): Allow.
77516         [non-C99-based standards] (erff): Do not allow.
77517         [non-C99-based standards] (erfcf): Likewise.
77518         [non-C99-based standards] (gammaf): Likewise.
77519         [non-C99-based standards] (hypotf): Likewise.
77520         [non-C99-based standards] (j0f): Likewise.
77521         [non-C99-based standards] (j1f): Likewise.
77522         [non-C99-based standards] (jnf): Likewise.
77523         [non-C99-based standards] (lgammaf): Likewise.
77524         [non-C99-based standards] (tgammaf): Likewise.
77525         [non-C99-based standards] (y0f): Likewise.
77526         [non-C99-based standards] (y1f): Likewise.
77527         [non-C99-based standards] (ynf): Likewise.
77528         [non-C99-based standards] (isnanf): Likewise.
77529         [non-C99-based standards] (acoshf): Likewise.
77530         [non-C99-based standards] (asinhf): Likewise.
77531         [non-C99-based standards] (atanhf): Likewise.
77532         [non-C99-based standards] (cbrtf): Likewise.
77533         [non-C99-based standards] (expm1f): Likewise.
77534         [non-C99-based standards] (ilogbf): Likewise.
77535         [non-C99-based standards] (log1pf): Likewise.
77536         [non-C99-based standards] (logbf): Likewise.
77537         [non-C99-based standards] (nextafterf): Likewise.
77538         [non-C99-based standards] (remainderf): Likewise.
77539         [non-C99-based standards] (rintf): Likewise.
77540         [non-C99-based standards] (scalbf): Likewise.
77541         [non-C99-based standards] (copysignl): Likewise.
77542         [non-C99-based standards] (exp2l): Likewise.
77543         [non-C99-based standards] (log2l): Likewise.
77544         [non-C99-based standards] (modfl): Allow.
77545         [non-C99-based standards] (erfl): Do not allow.
77546         [non-C99-based standards] (erfcl): Likewise.
77547         [non-C99-based standards] (gammal): Likewise.
77548         [non-C99-based standards] (hypotl): Likewise.
77549         [non-C99-based standards] (j0l): Likewise.
77550         [non-C99-based standards] (j1l): Likewise.
77551         [non-C99-based standards] (jnl): Likewise.
77552         [non-C99-based standards] (lgammal): Likewise.
77553         [non-C99-based standards] (tgammal): Likewise.
77554         [non-C99-based standards] (y0l): Likewise.
77555         [non-C99-based standards] (y1l): Likewise.
77556         [non-C99-based standards] (ynl): Likewise.
77557         [non-C99-based standards] (isnanl): Likewise.
77558         [non-C99-based standards] (acoshl): Likewise.
77559         [non-C99-based standards] (asinhl): Likewise.
77560         [non-C99-based standards] (atanhl): Likewise.
77561         [non-C99-based standards] (cbrtl): Likewise.
77562         [non-C99-based standards] (expm1l): Likewise.
77563         [non-C99-based standards] (ilogbl): Likewise.
77564         [non-C99-based standards] (log1pl): Likewise.
77565         [non-C99-based standards] (logbl): Likewise.
77566         [non-C99-based standards] (nextafterl): Likewise.
77567         [non-C99-based standards] (remainderl): Likewise.
77568         [non-C99-based standards] (rintl): Likewise.
77569         [non-C99-based standards] (scalbl): Likewise.
77570         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77571         [non-C99-based standards] (FP_*): Do not allow.
77572         [C99-based standards] (FP_*): Change to
77573         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77574         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77575         allow.
77576         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
77577         (SIG_ERR): Likewise.
77578         [X/Open-based standards] (SIG_HOLD): Likewise.
77579         (SIG_IGN): Likewise.
77580         (SIGABRT): Use macro-int-constant.  Specify type.  Require
77581         positive value.
77582         (SIGFPE): Likewise.
77583         (SIGILL): Likewise.
77584         (SIGINT): Likewise.
77585         (SIGSEGV): Likewise.
77586         (SIGTER): Likewise.
77587         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
77588         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
77589         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
77590         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
77591         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
77592         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
77593         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
77594         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
77595         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
77596         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
77597         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
77598         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
77599         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
77600         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
77601         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
77602         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
77603         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
77604         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
77605         [X/Open-based standards] (SIGTRAP): Likewise.
77606         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
77607         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
77608         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
77609         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
77610         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77611         allow.
77613 2012-05-08  Ian Wienand  <ianw@vmware.com>
77615         [BZ #14080]
77616         * time/tzset.c (__tzset_parse_tz): Update default rules for
77617         daylight time changes in the Energy Policy Act of 2005.
77619 2012-05-09  Andreas Jaeger  <aj@suse.de>
77621         [BZ #13983]
77622         * elf/ldconfig.c (parse_conf): Change string to make clear that
77623         ldconfig only issued a warning if ld.so.conf does not exist.
77625 2012-05-08  David S. Miller  <davem@davemloft.net>
77627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
77628         movxtod instead of popping the value on the stack.
77630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77632 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
77634         * config.h.in: Add HAVE_ARM_PCS_VFP.
77636 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
77638         [BZ #13979]
77639         * include/features.h: Warn if user requests __FORTIFY_SOURCE
77640         checking but the checks are disabled for any reason.
77642 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
77644         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
77645         and ELF64_R_TYPE with ELFW(R_TYPE).
77647 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
77649         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
77650         (ulimit): Likewise.
77652         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
77653         (settimeofday): Likewise.
77655 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
77657         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
77658         a struct th_u2 inside the union, and move tu_block/tu_code into
77659         a new th_u3 union of tu_block/tu_code inside of that.  Move
77660         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
77661         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
77662         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
77663         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
77664         (th_stuff): Change to th_u1.tu_stuff.
77665         (th_data): Define.
77666         (th_msg): Change to th_u1.th_u2.tu_data.
77668 2012-05-07  David S. Miller  <davem@davemloft.net>
77670         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77672         [BZ #14074]
77673         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
77674         (SETUP_PIC_REG): Use it.
77675         (SETUP_PIC_REG_LEAF): Use it.
77677 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
77679         [BZ #13885]
77680         [BZ #13923]
77681         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77682         USE_AS_EXPM1L.
77683         (EXPL_FINITE): Likewise.
77684         (FLDLOG): Likewise.
77685         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77686         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77687         e_expl.S.
77688         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77689         USE_AS_EXPM1L.
77690         (EXPL_FINITE): Likewise.
77691         (FLDLOG): Likewise.
77692         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77693         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77694         e_expl.S.
77695         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
77696         test of -max_value argument for long double.
77697         * sysdeps/i386/fpu/libm-test-ulps: Update.
77698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77700 2012-05-06  David S. Miller  <davem@davemloft.net>
77702         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
77703         quad soft-float symbols whose references which are compiler
77704         generated.
77705         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77707 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
77709         [BZ #13884]
77710         [BZ #13914]
77711         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77712         USE_AS_EXP10L.
77713         (EXPL_FINITE): Likewise.
77714         (FLDLOG): Likewise.
77715         (c0): Likewise.
77716         (c1): Likewise.
77717         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77718         Adjust comments for base varying.
77719         (__expl_finite): Change alias to EXPL_FINITE.
77720         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
77721         e_expl.S.
77722         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
77723         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
77724         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
77725         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
77726         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77727         USE_AS_EXP10L.
77728         (EXPL_FINITE): Likewise.
77729         (FLDLOG): Likewise.
77730         (c0): Likewise.
77731         (c1): Likewise.
77732         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77733         Adjust comments for base varying.
77734         (__expl_finite): Change alias to EXPL_FINITE.
77735         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
77736         tests for bugs.
77737         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77739         [BZ #14064]
77740         * math/libm-test.inc (check_float_internal): Correct ulp
77741         calculation for subnormal expected results.
77743 2012-05-06  Andreas Jaeger  <aj@suse.de>
77745         * Makeconfig (+math-flags): New, set to -frounding-math.
77746         (+cflags): Add +math-flags so that all of glibc gets compiled with
77747         it.
77749         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
77751 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
77753         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
77754         Disable one test.
77756         [BZ #13787]
77757         [BZ #13922]
77758         [BZ #14036]
77759         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
77760         (__ieee754_expl): Allow for and saturate large arguments.
77761         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
77762         (u_threshold): Likewise.
77763         (__exp): Call __ieee754_exp before checking for overflow and
77764         underflow.
77765         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
77766         (u_threshold): Likewise.
77767         (__expf): Call __ieee754_expf before checking for overflow and
77768         underflow.
77769         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
77770         (u_threshold): Likewise.
77771         (__expl): Call __ieee754_expl before checking for overflow and
77772         underflow.
77773         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
77774         (__ieee754_expl): Allow for and saturate large arguments.
77775         * math/libm-test.inc (exp_test): Add another test.  Do not allow
77776         missing overflow exception on overflow.
77777         (expm1_test): Do not allow missing overflow exception on overflow.
77779         * sysdeps/i386/fpu/e_expl.c: Move to ...
77780         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
77781         rather than using inline asm.
77782         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
77783         * sysdeps/x86_64/fpu/e_expl.S: Copy from
77784         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
77786         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
77787         (nice): Likewise.
77788         (poll): Likewise.
77789         (signal): Likewise.
77790         (time): Likewise.
77791         (times): Likewise.
77793 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77795         * sysdeps/unix/syscalls.list (adjtime): Add entry from
77796         sysdeps/unix/common/syscalls.list.
77797         (fchmod): Likewise.
77798         (fchown): Likewise.
77799         (ftruncate): Likewise.
77800         (getrusage): Likewise.
77801         (gettimeofday): Likewise.
77802         (setpgid): Likewise.
77803         (setregid): Likewise.
77804         (setreuid): Likewise.
77805         (sigaction): Likewise.
77806         (truncate): Likewise.
77807         (vhangup): Likewise.
77808         * sysdeps/unix/common/syscalls.list: Remove file.
77809         * sysdeps/unix/bsd/Implies: Don't include unix/common.
77810         * sysdeps/unix/sysv/linux/Implies: Likewise.
77812 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
77814         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
77815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
77816         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
77817         Moved to ...
77818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
77819         Here.
77820         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
77821         to ...
77822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
77823         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
77824         to ...
77825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
77826         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
77827         to ...
77828         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
77829         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
77830         to ...
77831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
77832         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
77833         to ...
77834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
77835         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
77836         to ...
77837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
77838         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
77839         to ...
77840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
77841         Here.
77842         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
77843         to ...
77844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
77845         Here.
77846         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
77847         to ...
77848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
77849         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
77850         Moved to ...
77851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
77852         Here.
77853         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
77854         to ...
77855         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
77857 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77859         * sysdeps/unix/common/bits/dirent.h: Remove file.
77860         * sysdeps/unix/common/bits/fcntl.h: Likewise.
77862         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
77863         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
77864         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
77865         * sysdeps/unix/bsd/isatty.c: Likewise.
77866         * sysdeps/unix/bsd/tcdrain.c: Likewise.
77867         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
77868         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
77870 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77872         [BZ #13563]
77873         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
77874         long double comparison inaccuracies.
77875         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
77876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77878 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
77880         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
77881         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
77883 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77885         [BZ #14049]
77886         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
77887         nonzero digits before rounding a hex value.
77888         * stdlib/tst-strtod.c (tests): Add another test.
77890 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77892         * sysdeps/s390/fpu/libm-test-ulps: Update.
77894 2012-05-03  Andreas Jaeger  <aj@suse.de>
77896         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
77897         does not get optimized out.
77898         (malloc_opt_barrier): New.
77900 2012-05-03  Andreas Jaeger  <aj@suse.de>
77901             Roland McGrath  <roland@hack.frob.com>
77903         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
77904         intermediate file deletion.
77905         (generated): Add .symlist files.
77907 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
77909         [BZ #13775]
77910         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
77911         Redirect under this condition.
77912         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
77913         [__USE_GNU] (__dprintf_chk): Not under this condition.
77914         [__USE_GNU] (__vdprintf_chk): Likewise.
77915         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
77916         under this condition.
77917         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
77918         [__USE_XOPEN2K8] (dprintf): Define under this condition.
77919         [__USE_XOPEN2K8] (vdprintf): Likewise.
77920         [__USE_GNU] (__dprintf_chk): Not under this condition.
77921         [__USE_GNU] (__vdprintf_chk): Likewise.
77922         [__USE_GNU] (dprintf): Likewise.
77923         [__USE_GNU] (vdprintf): Likewise.
77925 2012-05-03  Roland McGrath  <roland@hack.frob.com>
77927         * elf/Makefile (common-generated): Set this instead of generated for
77928         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
77929         $(all-built-dso)-derived lists.
77931 2012-05-03  Andreas Jaeger  <aj@suse.de>
77933         * sysdeps/i386/fpu/libm-test-ulps: Update.
77935         * FAQ: Removed.
77936         * FAQ.in: Likewise.
77937         * scripts/gen-FAQ.pl: Likewise.
77938         * manual/install.texi (Installation): Point to online location of
77939         FAQ.
77940         * Makefile (files-for-dist): Remove FAQ.
77941         (FAQ): Remove.
77943 2012-05-02  Allan McRae  <allan@archlinux.org>
77945         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
77946         (LDFLAGS-reldepmod5.so): Likewise.
77947         (LDFLAGS-reldep6mod1.so): Likewise.
77948         (LDFLAGS-reldep6mod4.so): Likewise.
77949         (LDFLAGS-reldep8mod3.so): Likewise.
77950         (LDFLAGS-unload4mod1.so): Likewise.
77951         (LDFLAGS-unload4mod2.so): Likewise.
77952         (LDFLAGS-tst-initorder): Likewise.
77953         (LDFLAGS-tst-initordera2.so): Likewise.
77954         (LDFLAGS-tst-initordera3.so): Likewise.
77955         (LDFLAGS-tst-initordera4.so): Likewise.
77956         (LDFLAGS-tst-initorderb2.so): Likewise.
77957         (LDFLAGS-noload): Likewise.
77958         (LDFLAGS-next): Likewise.
77959         (LDFLAGS-order2mod1.so): Likewise.
77960         (LDFLAGS-order2mod2.so): Likewise.
77961         (LDFLAGS-tst-initorder2): Likewise.
77962         (LDFLAGS-tst-initorder2a.so): Likewise.
77963         (LDFLAGS-tst-initorder2b.so): Likewise.
77964         (LDFLAGS-tst-initorder2c.so): Likewise.
77965         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
77967 2012-05-02  David S. Miller  <davem@davemloft.net>
77969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77971 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
77973         [BZ #14055]
77974         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
77976 2012-05-02  Andreas Jaeger  <aj@suse.de>
77978         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
77979         since we manipulate rounding mode.
77980         (CPPFLAGS-test-idouble.c): Likewise.
77981         (CPPFLAGS-test-ifloat.c): Likewise.
77982         (CFLAGS-test-ldouble.c): Likewise.
77983         (CFLAGS-test-double.c): Likewise.
77984         (CFLAGS-test-float.c): Likewise.
77985         (CFLAGS-test-misc.c): Likewise.
77986         (CFLAGS-test-test-fenv.c): Likewise.
77988 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77990         [BZ #2550]
77991         [BZ #2570]
77992         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
77993         comparisons to determine direction to adjust input.
77995 2012-05-01  Roland McGrath  <roland@hack.frob.com>
77997         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
77998         output to the target.
78000         * scripts/localplt.awk: New file.
78001         * elf/Makefile ($(objpfx)check-localplt): Target removed.
78002         (check-localplt-CFLAGS): Variable removed.
78003         ($(all-built-dso:=.jmprel)): New static pattern rule.
78004         (generated): Add those targets.
78005         (localplt-built-dso): New variable.
78006         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
78008         * elf/check-localplt.c: File removed.
78010         * scripts/check-execstack.awk: New file.
78011         * elf/Makefile ($(objpfx)check-execstack): Target removed.
78012         (check-execstack-CFLAGS): Variable removed.
78013         ($(objpfx)check-execstack.h): Target removed.
78014         ($(objpfx)execstack-default): New target.
78015         (generated): Add that instead of check-execstack.h.
78016         ($(all-built-dso:=.phdr)): New static pattern rule.
78017         (generated): Add those targets.
78018         * elf/check-execstack.c: File removed.
78020         * scripts/check-textrel.awk: New file.
78021         * elf/Makefile ($(objpfx)check-textrel): Target removed.
78022         (check-textrel-CFLAGS): Variable removed.
78023         (all-built-dso): Use := to define.o
78024         ($(all-built-dso:=.dyn)): New static pattern rule.
78025         (generated): Add those targets.
78026         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
78027         * config.make.in (READELF): New substituted variable.
78028         * elf/check-textrel.c: File removed.
78030 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
78032         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
78033         allow.
78034         * conform/data/ctype.h-data [C99-based standards] (isblank):
78035         Expect function.
78036         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
78037         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
78038         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78039         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
78040         Specify type.  Require positive value.
78041         (EILSEQ): Likewise.
78042         (ERANGE): Likewise.
78043         [ISO || POSIX] (EILSEQ): Do not expect.
78044         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
78045         Specify type.  Require positive value.
78046         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
78047         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
78048         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
78049         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
78050         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
78051         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
78052         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
78053         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
78054         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
78055         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
78056         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
78057         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
78058         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
78059         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
78060         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
78061         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
78062         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
78063         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
78064         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
78065         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
78066         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
78067         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
78068         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
78069         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
78070         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
78071         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
78072         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
78073         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
78074         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
78075         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
78076         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
78077         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
78078         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
78079         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
78080         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
78081         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
78082         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
78083         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
78084         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
78085         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
78086         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
78087         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
78088         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
78089         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
78090         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
78091         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
78092         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
78093         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
78094         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
78095         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
78096         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
78097         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
78098         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
78099         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
78100         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
78101         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
78102         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
78103         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
78104         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
78105         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
78106         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
78107         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
78108         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
78109         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
78110         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
78111         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
78112         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
78113         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
78114         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
78115         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
78116         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
78117         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
78118         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
78119         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
78120         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
78121         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
78122         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
78123         Require >= 2.
78124         (FLT_ROUNDS): Expect as macro, not constant.
78125         (FLT_MANT_DIG): Use macro-int-constant.
78126         (DBL_MANT_DIG): Likewise.
78127         (LDBL_MANT_DIG): Likewise.
78128         (FLT_DIG): Likewise.
78129         (DBL_DIG): Likewise.
78130         (LDBL_DIG): Likewise.
78131         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
78132         (DBL_MIN_EXP): Likewise.
78133         (LDBL_MIN_EXP): Likewise.
78134         (FLT_MAX_EXP): Use macro-int-constant.
78135         (DBL_MAX_EXP): Likewise.
78136         (LDBL_MAX_EXP): Likewise.
78137         (FLT_MAX_10_EXP): Likewise.
78138         (DBL_MAX_10_EXP): Likewise.
78139         (LDBL_MAX_10_EXP): Likewise.
78140         (FLT_MAX): Use macro-constant.
78141         (DBL_MAX): Likewise.
78142         (LDBL_MAX): Likewise.
78143         (FLT_EPSILON): Use macro-constant.  Give upper bound.
78144         (DBL_EPSILON): Likewise.
78145         (LDBL_EPSILON): Likewise.
78146         (FLT_MIN): Likewise.
78147         (DBL_MIN): Likewise.
78148         (LDBL_MIN): Likewise.
78149         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
78150         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
78151         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
78152         [ISO11] (FLT_HAS_SUBNORM): Likewise.
78153         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
78154         [ISO11] (DBL_DECIMAL_DIG): Likewise.
78155         [ISO11] (FLT_DECIMAL_DIG): Likewise.
78156         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
78157         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
78158         [ISO11] (FLT_TRUE_MIN): Likewise.
78159         [ISO11] (LDBL_TRUE_MIN): Likewise.
78160         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78161         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
78162         (SCHAR_MIN): Use macro-int-constant.  Specify type.
78163         (SCHAR_MAX): Likewise.
78164         (UCHAR_MAX): Likewise.
78165         (CHAR_MIN): Likewise.
78166         (CHAR_MAX): Likewise.
78167         (MB_LEN_MAX): Use macro-int-constant.
78168         (SHRT_MIN): Use macro-int-constant.  Specify type.
78169         (SHRT_MAX): Likewise.
78170         (USHRT_MAX): Likewise.
78171         (INT_MAX): Likewise.
78172         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
78173         bound negative.
78174         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78175         bound with "U".
78176         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78177         bound with "L".
78178         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
78179         bound negative.  Suffix upper bound with "L".
78180         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78181         bound with "UL".
78182         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
78183         Specify type.
78184         [C99-based standards] (LLONG_MAX): Likewise.
78185         [C99-based standards] (ULLONG_MAX): Likewise.
78186         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
78187         == 0.
78188         [ISO11] (max_align_t): Require type.
78189         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78191         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
78192         from $CFLAGS, without defining away __attribute__ calls.
78193         (checknamespace): Use $CFLAGS_namespace.
78195         * conform/conformtest.pl (@keywords): Only include C99 keywords
78196         for standards based on C99 or C11.
78198         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
78199         Disable tests.
78200         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
78201         UNIX98]: Likewise.
78203         * conform/conformtest.pl: Handle "macro-int-constant" and test for
78204         usability of symbols in #if.
78206         * conform/conformtest.pl: If macro or constant types start
78207         "promoted:", expect the symbol to be of the following type
78208         promoted by the integer promotions.
78210         * conform/conformtest.pl: Parse all "constant" and "macro" lines
78211         in one place.  Also handle "macro-constant".
78213         * conform/conformtest.pl: Only accept expected macro values with
78214         "==".  Parse all "macro" lines in one place.
78215         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
78217         * conform/conformtest.pl: Handle braced types on "constant" lines
78218         instead of handling "typed-constant".
78219         * conform/data/signal.h-data: Use "constant" instead of
78220         "typed-constant".
78222         * conform/conformtest.pl: Handle "optional-" at start of lines in
78223         one place rather than duplicating several cases.  Handle each
78224         format of "macro" line with initial "optional-".
78226         * conform/conformtest.pl: Only accept expected constant or
78227         optional-constant values with "==".  Parse all "constant" lines in
78228         one place.  Parse all "optional-constant" lines in one place.
78229         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
78230         * conform/data/fmtmsg.h-data: Likewise.
78231         * conform/data/netinet/in.h-data: Likewise.
78232         * conform/data/tar.h-data: Likewise.
78233         * conform/data/limits.h-data: Use "==" form on "constant" and
78234         "optional-constant" lines.
78236         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
78237         Use -std=c99 for XOPEN2K.
78238         (@knownproblems): Remove.
78239         (newtoken): Don't check %isknown.
78241         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
78242         Do not expect macro.
78243         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
78244         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
78245         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
78246         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
78247         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
78248         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
78249         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
78250         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
78251         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
78252         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
78253         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
78254         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
78255         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
78256         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
78257         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
78258         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
78259         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
78260         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
78261         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
78262         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
78263         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
78264         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
78265         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
78266         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
78267         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
78268         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
78269         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
78270         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
78271         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
78272         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
78273         [XPG3] (acosh): Likewise.
78274         [XPG3] (asinh): Likewise.
78275         [XPG3] (atanh): Likewise.
78276         [XPG3] (cbrt): Likewise.
78277         [XPG3] (expm1): Likewise.
78278         [XPG3] (ilogb): Likewise.
78279         [XPG3] (log1p): Likewise.
78280         [XPG3] (logb): Likewise.
78281         [XPG3] (nextafter): Likewise.
78282         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
78283         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
78284         [XPG3] (remainder): Likewise.
78285         [XPG3] (rint): Likewise.
78286         [XPG3 || XPG4 || UNIX98] (round): Likewise.
78287         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
78288         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
78289         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
78290         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
78291         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
78292         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
78293         [UNIX98 || XOPEN2K] (scalb): Expect.
78294         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
78295         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
78296         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
78297         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
78298         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
78299         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
78300         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
78301         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
78302         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
78303         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
78304         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
78305         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
78306         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
78307         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
78308         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
78309         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
78310         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
78311         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
78312         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
78313         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
78314         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
78315         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
78316         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
78317         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
78318         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
78319         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
78320         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
78321         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
78322         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
78323         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
78324         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
78325         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
78326         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
78327         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
78328         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
78329         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
78330         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
78331         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
78332         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
78333         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
78334         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
78335         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
78336         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
78337         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
78338         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
78339         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
78340         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
78341         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
78342         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
78343         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
78344         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
78345         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
78346         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
78347         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
78348         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
78349         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
78350         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
78351         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
78352         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
78353         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
78354         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
78355         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
78356         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
78357         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
78358         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
78359         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
78360         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
78361         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
78362         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
78363         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
78364         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
78365         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
78366         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
78367         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
78368         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
78369         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
78370         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
78371         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
78372         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
78373         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
78374         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
78375         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
78376         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
78377         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
78378         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
78379         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
78380         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
78381         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
78382         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
78383         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
78384         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
78385         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
78386         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
78387         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
78388         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
78389         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
78390         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
78391         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
78392         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
78393         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
78394         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
78395         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
78396         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
78397         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
78398         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
78399         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
78400         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
78401         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
78402         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
78403         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
78404         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
78405         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
78406         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
78407         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
78408         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
78409         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
78410         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
78411         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
78412         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
78413         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
78414         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
78415         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
78416         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
78417         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
78418         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
78419         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
78420         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
78421         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
78422         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
78423         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
78424         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
78425         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
78426         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
78427         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
78428         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
78429         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
78430         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
78432         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
78433         _XOPEN_SOURCE_EXTENDED for XPG4.
78435         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
78437         * Makeconfig (localtime): Remove variable.
78438         (inst_localtime-file): Likewise.
78440 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
78442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
78443         Update.
78444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78445         Update.
78446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
78447         Update.
78448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
78449         Update.
78450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
78451         Update.
78452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
78453         Update.
78454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
78455         Update.
78456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
78457         Update.
78458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
78459         Update.
78461 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
78463         [BZ #2550]
78464         [BZ #2570]
78465         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
78466         comparisons to determine direction to adjust input.
78467         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
78468         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
78469         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
78470         Likewise.
78471         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
78472         Likewise.
78473         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
78474         Likewise.
78475         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
78476         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
78477         Likewise.
78478         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
78479         Likewise.
78480         * math/libm-test.inc (nexttoward_test): Add more tests.
78482 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
78484         [BZ #14040]
78485         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
78486         in version GLIBC_2.1, not GLIBC_2.0.
78487         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
78488         Likewise.
78490 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
78492         [BZ #13942]
78493         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
78494         (1 - x) * (1 + x).
78495         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78496         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
78497         * math/libm-test.inc (acos_test): Add more tests.
78498         (asin_test): Likewise.
78499         * sysdeps/i386/fpu/libm-test-ulps: Update.
78500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78502         [BZ #14034]
78503         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
78504         of square root.
78505         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
78506         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78507         * math/libm-test.inc (acos_test_tonearest): New function.
78508         (acos_test_towardzero): Likewise.
78509         (acos_test_downward): Likewise.
78510         (acos_test_upward): Likewise.
78511         (asin_test_tonearest): Likewise.
78512         (asin_test_towardzero): Likewise.
78513         (asin_test_downward): Likewise.
78514         (asin_test_upward): Likewise.
78515         (main): Call the new functions.
78516         * sysdeps/i386/fpu/libm-test-ulps: Update.
78517         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78519         [BZ #13884]
78520         [BZ #13924]
78521         * math/e_exp10.c: Include <float.h>.
78522         (__ieee754_exp10): Handle underflow here rather than multiplying
78523         large negative argument by M_LN10.
78524         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
78525         of __ieee754_expf.
78526         * math/e_exp10l.c: Include <float.h>.
78527         (__ieee754_exp10l): Handle underflow here rather than multiplying
78528         large negative argument by M_LN10l.
78529         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
78530         spurious overflow exception on underflow.
78532 2012-04-29  Marek Polacek  <polacek@redhat.com>
78534         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
78535         (__fortify_function): New macro.
78536         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
78537         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
78538         __extern_always_inline.
78539         * libio/bits/stdio2.h: Likewise.
78540         * libio/bits/stdio.h: Likewise.
78541         * string/string.h: Likewise.
78542         * string/bits/string3.h: Likewise.
78543         * include/stdio.h: Likewise.
78544         * stdlib/bits/stdlib.h: Likewise.
78545         * stdlib/stdlib.h: Likewise.
78546         * rt/bits/mqueue2.h: Likewise.
78547         * rt/mqueue.h: Likewise.
78548         * posix/bits/unistd.h: Likewise.
78549         * posix/unistd.h: Likewise.
78550         * io/bits/poll2.h: Likewise.
78551         * io/bits/fcntl2.h: Likewise.
78552         * io/fcntl.h: Likewise.
78553         * io/sys/poll.h: Likewise.
78554         * misc/bits/syslog.h: Likewise.
78555         * misc/bits/syslog-ldbl.h: Likewise.
78556         * misc/sys/syslog.h: Likewise.
78557         * socket/bits/socket2.h: Likewise.
78558         * socket/sys/socket.h: Likewise.
78559         * debug/tst-chk1.c: Likewise.
78560         * wcsmbs/bits/wchar2.h: Likewise.
78561         * wcsmbs/bits/wchar-ldbl.h: Likewise.
78562         * wcsmbs/wchar.h: Likewise.
78564 2012-04-29  Andreas Jaeger  <aj@suse.de>
78566         * Makerules (tests): Remove enable-check-abi protection.
78567         (check-abi-warn): Remove.
78568         (check-abi-%): Remove check-abi-warn usage.
78570         * configure.in: Remove check-abi configure option.
78571         * configure: Regenerated.
78572         * config.make.in (enable-check-abi): Remove.
78574 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
78576         [BZ #14033]
78577         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
78578         double functions to double *_finite functions.
78580         [BZ #13941]
78581         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
78582         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
78583         LDBL_MIN_EXP.
78584         * stdio-common/Makefile (tests): Add tst-sprintf3.
78585         * stdio-common/tst-sprintf3.c: New file.
78587         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
78588         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
78590 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78592         * conform/conformtest.pl: Remove duplicate typed-constant
78593         handling.
78595 2012-04-28  David S. Miller  <davem@davemloft.net>
78597         * Makerules (%.abilist): Add vpath on sysdep_dirs.
78598         (check-abi-%): Remove AWK script prerequisite and explicit
78599         abilist directory.
78600         (check-abi): Rewrite to just diff the symlist with the abilist.
78601         (config-tls, config-abi-config): Delete, no longer used.
78602         (update-abi-%): Remove AWK script and explicit abilist directory.
78603         (update-abi): Rewrite to simply compare and conditionally copy the
78604         symlist and the sysdep abilist file.  Remove update-abi-config
78605         checks.
78606         * abilist/ld.abilist: Remove.
78607         * abilist/libBrokenLocale.abilist: Remove.
78608         * abilist/libanl.abilist: Remove.
78609         * abilist/libcrypt.abilist: Remove.
78610         * abilist/libdl.abilist: Remove.
78611         * abilist/librt.abilist: Remove.
78612         * abilist/libthread_db.abilist: Remove.
78613         * abilist/libutil.abilist: Remove.
78614         * scripts/extract-abilist.awk: Remove.
78615         * scripts/merge-abilist.awk: Remove.
78616         * sysdeps/generic/libcidn.abilist: New file.
78617         * sysdeps/generic/libnss_compat.abilist: New file.
78618         * sysdeps/generic/libnss_db.abilist: New file.
78619         * sysdeps/generic/libnss_dns.abilist: New file.
78620         * sysdeps/generic/libnss_files.abilist: New file.
78621         * sysdeps/generic/libnss_hesiod.abilist: New file.
78622         * sysdeps/generic/libnss_nis.abilist: New file.
78623         * sysdeps/generic/libnss_nisplus.abilist: New file.
78624         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
78625         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
78626         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
78627         file.
78628         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
78629         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
78630         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
78631         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
78632         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
78633         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
78634         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
78635         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
78636         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
78637         file.
78638         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
78639         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
78640         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
78641         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
78642         file.
78643         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
78644         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
78645         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
78646         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
78647         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
78648         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
78649         file.
78650         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
78651         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
78652         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
78653         file.
78654         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
78655         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
78656         New file.
78657         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
78658         New file.
78659         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
78660         New file.
78661         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
78662         New file.
78663         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
78664         New file.
78665         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
78666         New file.
78667         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
78668         New file.
78669         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
78670         New file.
78671         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
78672         New file.
78673         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
78674         New file.
78675         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
78676         New file.
78677         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
78678         New file.
78679         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
78680         New file.
78681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
78682         file.
78683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
78684         New file.
78685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
78686         New file.
78687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
78688         file.
78689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
78690         New file.
78691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
78692         New file.
78693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
78694         file.
78695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
78696         New file.
78697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
78698         New file.
78699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
78700         New file.
78701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
78702         New file.
78703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
78704         New file.
78705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
78706         New file.
78707         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
78708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
78709         file.
78710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
78711         New file.
78712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
78713         file.
78714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
78715         file.
78716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
78717         file.
78718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
78719         file.
78720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
78721         file.
78722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
78723         New file.
78724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
78725         file.
78726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
78727         file.
78728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
78729         New file.
78730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
78731         file.
78732         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
78733         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
78734         file.
78735         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
78736         New file.
78737         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
78738         file.
78739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
78740         file.
78741         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
78742         file.
78743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
78744         file.
78745         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
78746         file.
78747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
78748         New file.
78749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
78750         file.
78751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
78752         file.
78753         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
78754         New file.
78755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
78756         file.
78757         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
78758         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
78759         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
78760         file.
78761         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
78762         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
78763         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
78764         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
78765         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
78766         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
78767         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
78768         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
78769         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
78770         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
78771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
78772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
78773         file.
78774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
78775         New file.
78776         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
78777         file.
78778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
78779         file.
78780         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
78781         file.
78782         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
78783         file.
78784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
78785         file.
78786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
78787         New file.
78788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
78789         New file.
78790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
78791         file.
78792         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
78793         New file.
78794         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
78795         file.
78796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
78797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
78798         file.
78799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
78800         New file.
78801         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
78802         file.
78803         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
78804         file.
78805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
78806         file.
78807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
78808         file.
78809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
78810         file.
78811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
78812         New file.
78813         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
78814         New file.
78815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
78816         file.
78817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
78818         New file.
78819         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
78820         file.
78822 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78824         * conform/conformtest.pl: Fix typo in handling typed-constant from
78825         allow-header.
78827 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78829         * README: Cut down references to pre-2.6 Linux kernels and
78830         Linuxthreads.  Update lists of configurations in libc and ports
78831         and sort alphabetically.  Say "or newer" with Linux kernel version
78832         requirements.
78834         * config.h.in [IS_IN_build]: Allow compiling without optimization.
78836 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
78838         [BZ #887]
78839         * math/libm-test.inc (logb_test_downward): New test to expose
78840         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
78841         rounding mode.
78843 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78845         [BZ #14027]
78846         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
78847         to be done.
78848         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
78849         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
78851 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
78853         * sysdeps/unix/i386/brk.S: Remove file.
78854         * sysdeps/unix/i386/dl-brk.S: Likewise.
78855         * sysdeps/unix/i386/pipe.S: Likewise.
78856         * sysdeps/unix/i386/sigreturn.S: Likewise.
78857         * sysdeps/unix/i386/syscall.S: Likewise.
78858         * sysdeps/unix/i386/vfork.S: Likewise.
78859         * sysdeps/unix/i386/wait.S: Likewise.
78861         * sysdeps/unix/common/tcsendbrk.c: Move to ...
78862         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
78864         * configure.in (arm*-none*): Do not allow without
78865         --enable-hacker-mode.
78866         (netbsd*): Remove case setting base_os.
78867         (386bsd*): Likewise.
78868         (freebsd*): Likewise.
78869         (bsdi*): Likewise.
78870         (osf*): Likewise.
78871         (sunos*): Likewise.
78872         (ultrix*): Likewise.
78873         (newsos*): Likewise.
78874         (dynix*): Likewise.
78875         (*bsd*): Likewise.
78876         (sysv*): Likewise.
78877         (isc*): Likewise.
78878         (esix*): Likewise.
78879         (sco*): Likewise.
78880         (minix*): Likewise.
78881         (irix4*): Likewise.
78882         (irix6*): Likewise.
78883         (solaris[2-9]*): Likewise.
78884         (none): Likewise.
78885         * configure: Regenerated.
78887 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78889         [BZ #11521]
78890         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
78891         overflow or cancellation in calculating denominator.
78892         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
78893         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
78894         down expression to avoid unexpected rounding in newer GCCs.
78895         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
78897 2012-04-26  David S. Miller  <davem@davemloft.net>
78899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
78900         long-double compat symbols.
78901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
78902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
78903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
78904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
78905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
78906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
78907         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
78908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
78909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
78910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
78911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
78912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
78913         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
78915 2012-04-25  David S. Miller  <davem@davemloft.net>
78917         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
78918         HWCAP_* values only after the memory barriers have been defined.
78919         (atomic_full_barrier): Define.
78920         (atomic_read_barrier): Define.
78921         (atomic_write_barrier): Define.
78923 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
78925         * shlib-versions: Add libgcc_s version information.
78926         * sysdeps/generic/libgcc_s.h: Remove.
78927         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
78928         libgcc_s.h.
78929         * sysdeps/gnu/unwind-resume.c: Likewise.
78930         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
78932 2012-04-25  David S. Miller  <davem@davemloft.net>
78934         * sysdeps/unix/sparc/brk.S: Delete.
78935         * sysdeps/unix/sparc/dl-brk.S: Delete.
78936         * sysdeps/unix/sparc/pipe.S: Delete.
78937         * sysdeps/unix/sparc/sysdep.S: Delete.
78938         * sysdeps/unix/sparc/sysdep.h: Delete.
78939         * sysdeps/unix/sparc/vfork.S: Delete.
78940         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
78941         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
78942         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
78943         (ret_ERRVAL, r0, r1, MOVE): Define.
78944         (JUMPTARGET): Remove.
78945         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
78946         sysdeps/unix/sparc/sysdep.h
78947         (ENTRY, END): Remove.
78948         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78950 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
78952         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
78953         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
78954         -DIS_IN_build.
78956         * timezone/README: Update upstream location and email address for
78957         tzcode and tzdata.
78958         * timezone/zdump.c: Update from tzcode 2012b.
78959         * timezone/zic.c: Likewise.
78961         * configure.in (libc_cv_as_needed): Remove test.
78962         * configure: Regenerated.
78963         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
78964         conditional definition.
78965         [$(have-as-needed) != yes] (no-as-needed): Likewise.
78966         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
78967         * config.make.in (have-as-needed): Remove variable.
78969 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
78970             Paul Pluzhnikov  <ppluzhnikov@google.com>
78972         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
78973         strings correctly.
78975 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
78977         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
78978         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
78979         * sysdeps/sh/strlen.S: Likewise.
78981 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78983         * sysdeps/unix/fork.S: Remove file.
78984         * sysdeps/unix/i386/fork.S: Likewise.
78985         * sysdeps/unix/sparc/fork.S: Likewise.
78987         * sysdeps/unix/system.c: Remove file.
78988         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
78990         * sysdeps/unix/getegid.S: Remove file.
78991         * sysdeps/unix/geteuid.S: Likewise.
78993 2012-04-24  Roland McGrath  <roland@hack.frob.com>
78995         * scripts/check-localplt.awk: New file.
78996         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
78997         of diff.
78998         * scripts/data/localplt-generic.data: Add a comment.
79000         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
79001         NODE when __dir_mkfile failed.
79002         * sysdeps/mach/hurd/symlinkat.c: Likewise.
79003         Reported by Ludovic Courtès <ludo@gnu.org>.
79005 2012-04-24  Andreas Jaeger  <aj@suse.de>
79007         * Makerules (common-clean): Also remove gen-as-const-headers
79008         files.
79010 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
79012         * Makerules (native-compile): Do not change working directory for
79013         build.  Use $(OUTPUT_OPTION) in command.
79014         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
79016 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79018         [BZ #13886]
79019         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
79020         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
79021         * math/libm-test.inc (floor_test): Add more tests.
79022         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
79024 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
79026         * sysdeps/unix/getdents.c: Remove file.
79027         * sysdeps/unix/sysv/getdents.c: Likewise.
79028         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
79030         * sysdeps/unix/syscalls.list (madvise): Add syscall from
79031         sysdeps/unix/mman/syscalls.list.
79032         (mmap): Likewise.
79033         (mprotect): Likewise.
79034         (msync): Likewise.
79035         (munmap): Likewise.
79036         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
79037         * sysdeps/unix/mman/syscalls.list: Remove.
79038         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
79040         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
79041         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
79042         * configure: Regenerated.
79043         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
79044         $(libgcc_s_suffix).
79045         * config.make.in (libgcc_s_suffix): Remove variable.
79047 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
79049         * sysdeps/unix/sysv/gethostname.c: Move to ...
79050         * sysdeps/posix/gethostname.c: ... here.
79052         * sysdeps/unix/execve.S: Remove file.
79054         * sysdeps/unix/_exit.S: Remove file.
79056 2012-04-23  Andreas Jaeger  <aj@suse.de>
79058         [BZ #13739]
79059         * manual/Makefile: Remove make dist support, there's no
79060         need for a stand-alone documentation tar ball.
79061         (TEXI2DVI): Define always, it's not in Makeconfig.
79062         (dist): Removed.
79063         (tar-it): Removed.
79064         (edition): Removed.
79065         (glibc-doc-$(edition).tar): Removed
79066         (%.Z): Removed.
79067         (%.gz): Removed.
79068         (%.uu): Removed.
79069         (ETAGS): Remove, it's in Makeconfig.
79070         (move-if-change): Remove, it's in Makeconfig.
79072 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
79074         [BZ #13970]
79075         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
79076         (strtod, strtof, strtold, strtol, strtoul, strtoq)
79077         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
79078         (strtod_l, strtof_l, strtold_l): Remove __wur.
79079         It is not necessarily an error to ignore strtol's return value.
79080         One can reliably look at the stored endptr to decide whether
79081         the number had valid syntax.
79083 2012-04-21  Andreas Jaeger  <aj@suse.de>
79085         [BZ #13739]
79086         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
79088 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
79090         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
79091         * sysdeps/unix/sysv/Versions: Remove file.
79093 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
79095         [BZ #13927]
79096         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79098 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
79100         [BZ #7064]
79101         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
79102         version from __vm86.
79104 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
79106         * sysdeps/unix/common/lxstat.c: Remove file.
79107         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
79109         * sysdeps/unix/sysv/Makefile: Remove file.
79111         * sysdeps/unix/sysv/direct.h: Remove file.
79113         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
79114         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
79115         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
79116         * sysdeps/unix/sysv/bits/signum.h: Likewise.
79117         * sysdeps/unix/sysv/bits/stat.h: Likewise.
79118         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
79119         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
79121         * sysdeps/unix/sysv/setrlimit.c: Remove file.
79123         * sysdeps/unix/xmknod.c: Remove file.
79124         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
79126         * sysdeps/unix/sysv/settimeofday.c: Remove file.
79128         * sysdeps/unix/sysv/i386/time.S: Remove file.
79130         * sysdeps/unix/fxstat.c: Remove file.
79131         * sysdeps/unix/xstat.c: Likewise.
79132         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
79134         * sysdeps/unix/sysv/sigaction.c: Remove file.
79136         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
79137         (sysdep_headers): Remove variable.
79138         [termio.h not in sysdep_headers] (generated): Likewise.
79139         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
79140         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
79141         * sysdeps/unix/sysv/tcdrain.c: Likewise.
79142         * sysdeps/unix/sysv/tcflow.c: Likewise.
79143         * sysdeps/unix/sysv/tcflush.c: Likewise.
79144         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
79145         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
79146         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
79147         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
79148         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
79150         * sysdeps/unix/siglist.c: Remove file.
79152         * sysdeps/unix/getppid.S: Remove file.
79154         * sysdeps/unix/mkdir.c: Remove file.
79155         * sysdeps/unix/rmdir.c: Likewise.
79157 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
79159         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
79160         ERR_MAX value.
79161         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
79162         errlist-compat value.
79164 2012-04-18  David S. Miller  <davem@davemloft.net>
79166         * sysdeps/generic/memcopy.h (reg_char): Delete.
79167         * debug/strcat_chk.c: Use char, not reg_char.
79168         * debug/strcpy_chk.c: Likewise.
79169         * debug/strncat_chk.c: Likewise.
79170         * debug/strncpy_chk.c: Likewise.
79171         * string/memchr.c: Likewise.
79172         * string/memrchr.c: Likewise.
79173         * string/rawmemchr.c: Likewise.
79174         * string/strcat.c: Likewise.
79175         * string/strchr.c: Likewise.
79176         * string/strchrnul.c: Likewise.
79177         * string/strcmp.c: Likewise.
79178         * string/strcpy.c: Likewise.
79179         * string/strncat.c: Likewise.
79180         * string/strncmp.c: Likewise.
79181         * string/strncpy.c: Likewise.
79183 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79185         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
79186         __builtin_memcopy is called when src and dest ranges are known to not
79187         overlap.
79189 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79191         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
79192         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
79193         fwd_align_merge macro call.
79194         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
79195         bwd_align_merge macro call.
79196         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
79198 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79200         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
79201         bwd_align_merge macros.
79202         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
79203         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
79204         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
79206 2012-04-18  David S. Miller  <davem@davemloft.net>
79208         * sysdeps/sparc/sparc64/memcopy.h: Delete.
79210 2012-04-18  Andreas Jaeger  <aj@suse.de>
79212         [BZ #6794]
79213         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
79214         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
79215         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
79217         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
79218         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
79219         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
79221         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
79222         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
79223         Adjust for changed ldbl-128 files.
79225         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
79226         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
79227         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
79229 2012-04-17  David S. Miller  <davem@davemloft.net>
79231         * sysdeps/sparc/sparc32/memcopy.h: Delete.
79233 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
79235         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
79236         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
79237         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
79238         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
79239         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
79240         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
79242 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79244         [BZ #6794]
79245         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
79246         * math/libm-test.inc: Add ilogb errno and exception tests.
79247         * math/w_ilogb.c: New file: ilogb wrapper.
79248         * math/w_ilogbf.c: New file: ilogbf wrapper.
79249         * math/w_ilogbl.c: New file: ilogbl wrapper.
79250         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
79251         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
79252         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
79253         exception being thrown with 0.0 as argument.
79254         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
79255         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
79256         exception being thrown with 0.0 as argument.
79257         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
79258         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
79259         exception being thrown with 0.0 as argument.
79260         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
79261         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
79262         exception being thrown with 0.0 as argument.
79263         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
79264         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
79265         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
79266         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
79267         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
79268         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
79269         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
79270         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
79271         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
79273 2012-04-17  Petr Baudis  <pasky@ucw.cz>
79275         * include/sys/uio.h: Change __vector to __iovec to avoid clash
79276         with altivec.
79278 2012-04-16  Marek Polacek  <polacek@redhat.com>
79280         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
79282 2012-04-16  Marek Polacek  <polacek@redhat.com>
79284         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
79285         operands of fdivp instruction.
79287 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
79289         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
79290         * elf/tst-auditmod3b.c: Likewise.
79291         * elf/tst-auditmod4b.c: Likewise.
79292         * elf/tst-auditmod5b.c: Likewise.
79293         * elf/tst-auditmod6b.c: Likewise.
79294         * elf/tst-auditmod6c.c: Likewise.
79295         * elf/tst-auditmod7b.c: Likewise.
79296         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
79297         * sysdeps/x86_64/preconfigure.in: Likewise.
79298         * sysdeps/x86_64/preconfigure: Regenerated.
79300 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
79302         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
79303         __ILP32__.
79305 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
79307         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
79308         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
79310 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
79312         [BZ #13973]
79313         * locale/iso-639.def: Fix gl language name. Spotted by
79314         Yaron Shahrabani.
79316 2012-04-12  Roland McGrath  <roland@hack.frob.com>
79318         [BZ #2074]
79319         * libio/libio.h (__io_write_fn): Update comment.
79321 2012-04-12  Petr Baudis  <pasky@ucw.cz>
79323         [BZ #2074]
79324         * stdio.texi (Hook Functions): The user provided writer function
79325         is not allowed to return -1.
79327 2012-04-11  David S. Miller  <davem@davemloft.net>
79329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79331 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
79333         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
79334         Add a leading slash to rtkaio.
79336 2012-04-11  Jim Meyering  <meyering@redhat.com>
79338         [BZ #11959]
79339         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
79340         It is not necessarily an error to ignore fwrite's return
79341         value.  One can reliably use ferror to test for errors after
79342         the fact.
79344 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
79346         * bits/types.h (__snseconds_t): New type.
79347         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
79349         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
79350         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79351         (__SNSECONDS_T_TYPE): Likewise.
79352         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79353         (__SNSECONDS_T_TYPE): Likewise.
79354         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79355         (__SNSECONDS_T_TYPE): Likewise.
79357 2012-04-10  Andreas Jaeger  <aj@suse.de>
79359         [BZ #2636]
79360         * manual/time.texi (Processor Time): Return type of times is
79361         elapsed real time since an arbitrary point in the past.
79362         (CPU Time): Move CLK_TCK from here...
79363         (Processor Time): ...to here.  Correct description.
79364         * manual/conf.texi (Constants for Sysconf): Correct description of
79365         _SC_CLK_TCK.
79367 2012-04-10  David S. Miller  <davem@davemloft.net>
79369         [BZ #13967]
79370         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
79371         where the is a gap between DT_REL(A) and DT_JMPREL.
79373 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
79375         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
79376         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
79377         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
79379 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
79381         * elf/dl-support.c (_dl_inhibit_cache): New variable.
79382         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
79383         (dl_main): Handle --inhibit-cache.
79384         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
79385         _dl_inhibit_cache.
79386         * elf/dl-load.c (_dl_map_object): Use it.
79387         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
79389 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
79391         [BZ #13872]
79392         * sysdeps/i386/fpu/e_powl.S (p78): New object.
79393         (__ieee754_powl): Saturate large exponents rather than testing for
79394         overflow of y*log2(x).
79395         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
79396         * math/libm-test.inc (pow_test): Do not permit spurious overflow
79397         exceptions.
79399         [BZ #11521]
79400         * math/s_ctan.c: Include <float.h>.
79401         (__ctan): Avoid internal overflow or cancellation in calculating
79402         denominator.
79403         * math/s_ctanf.c: Likewise.
79404         * math/s_ctanl.c: Likewise.
79405         * math/s_ctanh.c: Likewise.
79406         * math/s_ctanhf.c: Likewise.
79407         * math/s_ctanhl.c: Likewise.
79408         * math/libm-test.inc (ctan_test): Add more tests.
79409         (ctanh_test): Likewise.
79410         * sysdeps/i386/fpu/libm-test-ulps: Update.
79411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79413 2012-04-09  Andreas Jaeger  <aj@suse.de>
79415         [BZ #6894]
79416         * manual/filesys.texi (Directory Entries): Mention that d_namlen
79417         is an optional BSD extension.
79419         [BZ #10254]
79420         * manual/stdio.texi (Opening Streams): Document additional fopen
79421         parameters.
79423 2012-04-09  Roland McGrath  <roland@hack.frob.com>
79425         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
79426         %eax without telling the compiler.
79428 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
79430         [BZ # 13963]
79431         * manual/install.texi: Use sourceware.org.
79433 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
79435         [BZ #13873]
79436         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
79437         (__ieee754_pow): Generate overflow and underflow using huge*huge
79438         and tiny*tiny rather than just returning constant infinity or zero
79439         for large exponents.
79440         * math/libm-test.inc (pow_test): Require overflow exceptions for
79441         applicable cases of large exponents.
79443         [BZ #706]
79444         * sysdeps/i386/fpu/e_pow.S (p10): New object.
79445         (__ieee754_pow): Use iterative multiplication algorithm only for
79446         integer exponents with absolute value below 1024.  Check for odd
79447         integer exponents when using algorithm for real exponents.
79448         * math/libm-test.inc (pow_test): Add more tests.
79449         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79451 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
79453         [BZ #13705]
79454         * math/libm-test.inc (exp_test): Do not allow overflow exception
79455         on underflow test.
79457 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
79459         [BZ #13705]
79460         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
79461         instead of __kernel_standard_f.
79463 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
79465         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
79466         * sysdeps/x86_64/memset_chk.S: Likewise.
79468 2012-04-08  Andreas Jaeger  <aj@suse.de>
79470         [BZ #10153]
79471         * manual/startup.texi (Environment Access): Describe return value
79472         for putenv and setenv.
79474         [BZ #6895]
79475         * manual/filesys.texi (Directory Entries): Add description for
79476         DT_LNK.
79478         [BZ #6890]
79479         * manual/filesys.texi (Directory Entries): Clarify that it's file
79480         system not operating system in the description of DT_UNKNOWN.
79482         [BZ #6578]
79483         * manual/syslog.texi (closelog): Fix reference, it's openlog.
79485 2012-04-08  Stephen Compall  <s11@member.fsf.org>
79487         [BZ #6649]
79488         * manual/llio.texi (Opening and Closing Files): Add cross
79489         reference to explain mode argument.
79491 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
79493         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
79494         * sysdeps/x86_64/memset_chk.S: Likewise.
79496 2012-04-07  David S. Miller  <davem@davemloft.net>
79498         * elf/elf.h (R_SPARC_WDISP10): Define.
79499         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
79500         R_SPARC_SIZE32.
79501         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
79502         R_SPARC_SIZE64 and R_SPARC_H34.
79504 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
79506         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
79507         conditions and remove no longer applicable assertion.
79509 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79511         * bits/byteswap.h: Include <features.h>.
79512         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
79513         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
79515 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79517         * bits/byteswap.h (__bswap_16): Removed.
79518         Include <bits/byteswap-16.h> to get __bswap_16.
79519         * sysdeps/i386/bits/byteswap.h: Likewise.
79520         * sysdeps/s390/bits/byteswap.h: Likewise.
79521         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79522         * bits/byteswap-16.h: New file.
79523         * sysdeps/i386/bits/byteswap-16.h: Likewise.
79524         * sysdeps/s390/bits/byteswap-16.h: Likewise.
79525         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
79526         * string/Makefile (headers): Add bits/byteswap-16.h.
79528 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
79530         [BZ #13895]
79531         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
79532         extra indirection.
79533         * nss/Makefile (tests-static, tests): Add tst-nss-static.
79534         * nss/tst-nss-static.c: New.
79536 2012-04-06  Robert Millan  <rmh@gnu.org>
79538         [BZ #6486]
79539         * manual/llio.texi (File Position Primitive): lseek
79540         refers to WHENCE when it really means OFFSET.
79542 2012-04-06  Andreas Jaeger  <aj@suse.de>
79544         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
79545         strncmp declarations.
79547         * abilist/libc.abilist: Add __poll and __ppoll.
79549 2012-04-05  David S. Miller  <davem@davemloft.net>
79551         * scripts/check-local-headers.sh: Accept a host triplet in the
79552         path matched by the exclude regexp.
79554         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
79555         definition.
79556         * sysdeps/powerpc/powerpc32/dl-machine.h
79557         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
79558         * sysdeps/s390/s390-32/dl-machine.h
79559         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79560         * sysdeps/sparc/sparc32/dl-machine.h
79561         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79562         * sysdeps/sparc/sparc64/dl-machine.h
79563         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79565         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
79566         lazy binding.
79567         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
79568         undefined symbol errors.
79570         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
79571         DT_NEEDED entries.
79573 2012-04-05  Michael Matz  <matz@suse.de>
79575         [BZ #13592]
79576         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
79578 2012-04-05  Andreas Jaeger  <aj@suse.de>
79580         [BZ #13908]
79581         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
79582         comment.
79584 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79586         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
79587         which ROUND is no valid rounding mode.
79589 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79591         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
79592         read again.
79593         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
79595 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79597         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
79598         an exception using FPU order intentionally.
79600 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79602         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
79603         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
79604         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
79605         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
79607 2012-04-05  Simon Josefsson  <simon@josefsson.org>
79609         [BZ #12340]
79610         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
79611         EINVAL when BUFLEN is too smal.
79613 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
79615         [BZ #13553]
79616         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
79617         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
79619 2012-04-03  Andreas Jaeger  <aj@suse.de>
79621         [BZ #13938]
79622         * manual/setjmp.texi (System V contexts): Fix sentence.
79624         [BZ #13926]
79625         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
79626         New macro for this case.
79627         [!__GNUC__] (__bswap_64): New inline function for this case.
79628         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79629         * bits/byteswap.h: Likewise.
79630         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
79631         ull, guard with __GLIBC_HAVE_LONG_LONG.
79633         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
79634         __GLIBC_HAVE_LONG_LONG.
79636         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
79637         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
79639 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
79641         [BZ #13691]
79642         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
79643         inptr and inend, rather than using last_ch.
79645 2012-04-02  David S. Miller  <davem@davemloft.net>
79647         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
79648         * stdio-common/printf-parse.h (read_int): Change return type to
79649         'int', return -1 on INT_MAX overflow.
79650         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
79651         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
79652         overflows INT_MAX.  Check for overflow of in-format-string precision
79653         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
79654         SIZE_MAX not INT_MAX for integer overflow test.
79655         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
79656         skip the construct in the format string but do not record anything.
79657         * stdio-common/bug22.c: Adjust to test both width/prevision
79658         INT_MAX overflow as well as total length INT_MAX overflow.  Check
79659         explicitly for proper errno values.
79661 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
79663         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
79664         CHAR_MAX.
79665         * string/test-strcmp.c [! WIDE]: Likewise.
79666         * time/tst-mktime2.c: Likewise for INT_MAX.
79667         * string/test-string.h: #include <sys/param.h> for MIN.
79669         * csu/init-first.c (__libc_init_first): Call __ctype_init.
79670         * sysdeps/i386/init-first.c (init): Likewise.
79671         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
79672         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
79673         * sysdeps/sh/init-first.c (init): Likewise.
79675 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
79677         * po/ru.po: Update from translation team.
79678         * po/vi.po: Likewise.
79680 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
79682         * resolv/nss_dns/dns-host.c: Merge copyright years.
79684 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79686         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79687         Optimize memcpy with prefetch if
79688         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
79689         src, dst pointers have unequal 16 byte alignments.
79691 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
79693         [BZ #13928]
79694         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
79695         from a CNAME entry and return the minimum ttl for the query.
79696         (gaih_getanswer_slice): Likewise.
79698 2012-03-30  Jeff Law  <law@redhat.com>
79700         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
79701         due to long keys.
79702         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
79703         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
79705         * resolv/nss_dns/dns-host.c: Update copyright year.
79707 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
79709         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
79710         requests to save a system call.  Fix check that all bytes are sent.
79712         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
79713         comments for sendmmsg.
79715 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
79717         [BZ #13691]
79718         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
79719         with only 1 character between 0x0041 and 0x01b0.
79720         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
79721         * wcsmbs/tst-mbsnrtowcs.c: New file.
79723 2012-03-29  David S. Miller  <davem@davemloft.net>
79725         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
79726         small copies by hand.
79728 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
79730         [BZ #13761]
79731         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
79732         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
79733         group memberships.
79735 2012-03-28  David S. Miller  <davem@davemloft.net>
79737         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
79738         that branches into memcpy.
79739         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
79740         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
79741         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
79742         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
79743         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
79744         bits.
79745         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
79746         implementation too.
79747         * sysdeps/sparc/mempcpy.S: New file.
79749         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
79750         the IFUNC routine in the libc case.
79751         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
79753         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
79754         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
79755         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
79756         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
79757         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
79758         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
79759         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
79760         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
79762         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
79763         loop to 256 bytes instead of 64 bytes and fix test signedness.
79765         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
79766         * sysdeps/sparc/sparc32/Makefile: rather than here...
79767         * sysdeps/sparc/sparc64/Makefile: and here.
79769 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
79771         * malloc/mallocbug.c: Avoid warnings about unused variables.
79773 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
79775         [BZ #13760]
79776         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
79777         in the right place. Discard and retry query if response is
79778         larger than input buffer size.
79780 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
79782         [BZ #369]
79783         [BZ #2678]
79784         [BZ #3866]
79785         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
79786         x for large integer exponent.
79787         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
79788         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
79789         sign of result as needed afterwards.
79790         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
79791         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
79792         result for underflowing pow the same as for overflow.
79793         (__kernel_standard_l): Handle powl overflow and underflow here
79794         rather than calling __kernel_standard.
79795         * math/libm-test.inc (pow_test): Add more tests.
79797         [BZ #3868]
79798         [BZ #13879]
79799         [BZ #13910]
79800         [BZ #13911]
79801         [BZ #13912]
79802         [BZ #13913]
79803         [BZ #13915]
79804         [BZ #13916]
79805         [BZ #13917]
79806         [BZ #13918]
79807         [BZ #13919]
79808         [BZ #13920]
79809         [BZ #13921]
79810         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
79811         * sysdeps/ieee754/k_standard.c: Include <float.h>.
79812         (__kernel_standard_l): New function.
79813         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
79814         __kernel_standard.
79815         * math/w_acosl.c (__acosl): Likewise.
79816         * math/w_asinl.c (__asinl): Likewise.
79817         * math/w_atan2l.c (__atan2l): Likewise.
79818         * math/w_atanhl.c (__atanhl): Likewise.
79819         * math/w_coshl.c (__coshl): Likewise.
79820         * math/w_exp10l.c (__exp10l): Likewise.
79821         * math/w_exp2l.c (__exp2l): Likewise.
79822         * math/w_fmodl.c (__fmodl): Likewise.
79823         * math/w_hypotl.c (__hypotl): Likewise.
79824         * math/w_j0l.c (__j0l, __y0l): Likewise.
79825         * math/w_j1l.c (__j1l, __y1l): Likewise.
79826         * math/w_jnl.c (__jnl, __ynl): Likewise.
79827         * math/w_lgammal.c (__lgammal): Likewise.
79828         * math/w_log10l.c (__log10l): Likewise.
79829         * math/w_log2l.c (__log2l): Likewise.
79830         * math/w_logl.c (__logl): Likewise.
79831         * math/w_powl.c (__powl): Likewise.
79832         * math/w_remainderl.c (__remainderl): Likewise.
79833         * math/w_scalbl.c (sysv_scalbl): Likewise.
79834         * math/w_sinhl.c (__sinhl): Likewise.
79835         * math/w_sqrtl.c (__sqrtl): Likewise.
79836         * math/w_tgammal.c (__tgammal): Likewise.
79837         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
79838         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
79839         * math/libm-test.inc (acos_test): Add more tests.
79840         (acosh_test): Likewise.
79841         (asin_test): Likewise.
79842         (atanh_test): Likewise.
79843         (exp_test): Likewise.
79844         (exp10_test): Likewise.
79845         (exp2_test): Likewise.
79846         (expm1_test): Likewise.
79847         (lgamma_test): Likewise.
79848         (log_test): Likewise.
79849         (log10_test): Likewise.
79850         (log1p_test): Likewise.
79851         (log2_test): Likewise.
79852         (pow_test): Do not allow some spurious overflow exceptions.
79853         (sqrt_test): Add more tests.
79854         (tgamma_test): Likewise.
79855         (y0_test): Likewise.
79856         (y1_test): Likewise.
79857         (yn_test): Likewise.
79859 2012-03-27  Anton Blanchard  <anton@samba.org>
79861         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
79862         MAP_HUGETLB.
79863         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79864         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79865         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79867 2012-03-27  David S. Miller  <davem@davemloft.net>
79869         * conform/Makefile: Run run-conformtest.sh using $(BASH).
79871         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
79872         have-as-vis3 check.
79874 2012-03-27  Andreas Jaeger  <aj@suse.de>
79876         * sysdeps/x86_64/elf/configure.in: Moved to ...
79877         * sysdeps/x86_64/configure.in: ... here.
79878         * sysdeps/x86_64/elf/start.S: Moved to ...
79879         * sysdeps/x86_64/start.S: ... here.
79880         * sysdeps/x86_64/elf/configure: Delete.
79882         * sysdeps/x86_64/configure.in: Merge contents from
79883         sysdeps/i386/configure.in (without i686 check).
79885         * sysdeps/i386/elf/Versions: Merge into ...
79886         * sysdeps/i386/Versions: ... this.
79887         * sysdeps/i386/elf/Versions: Delete file.
79888         * sysdeps/i386/elf/start.S: Moved to ...
79889         * sysdeps/i386/start.S: ...here.
79890         * sysdeps/i386/elf/configure.in: Merge into...
79891         * sysdeps/i386/configure.in: ...here.
79892         * sysdeps/i386/elf/configure.in: Delete file.
79893         * sysdeps/i386/elf/configure: Delete file.
79895         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
79896         * debug/backtracesyms.c: ... here.
79897         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
79898         * debug/backtracesymsfd.c: ... here.
79899         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
79900         * sysdeps/generic/ifunc-sel.h: ... here.
79902         * sysdeps/unix/i386/start.c: Delete file.
79903         * sysdeps/unix/sparc/start.c: Delete file.
79904         * sysdeps/unix/start.c: Delete file.
79906         * sysdeps/sh/elf/configure.in: Moved to ...
79907         * sysdeps/sh/configure.in: ... here.
79908         * sysdeps/sh/elf/start.S: Moved to ...
79909         * sysdeps/sh/start.S: ... here.
79910         * sysdeps/sh/elf/configure: Delete file.
79912         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
79913         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
79914         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
79915         * sysdeps/powerpc/powerpc64/entry.h: ... here.
79916         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
79917         * sysdeps/powerpc/powerpc64/start.S: here.
79918         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
79919         * sysdeps/powerpc/powerpc64/Makefile: ... this.
79920         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
79921         * sysdeps/powerpc/powerpc64/configure.in: ... this.
79922         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
79924         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
79925         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
79926         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
79927         * sysdeps/powerpc/powerpc32/start.S: ... here.
79928         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
79929         * sysdeps/powerpc/powerpc32/configure.in: ... this.
79930         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
79932         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
79933         * sysdeps/powerpc/ifunc-sel.h: ... here.
79934         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
79935         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
79937         * sysdeps/sparc/elf/configure.in: Moved to ...
79938         * sysdeps/sparc/configure.in: ... here.
79939         * sysdeps/sparc/elf/configure: Delete file.
79940         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
79941         * sysdeps/sparc/sparc32/start.S: ... here.
79942         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
79943         * sysdeps/sparc/sparc64/start.S: ... here.
79944         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
79945         * sysdeps/sparc/sparc32/Makefile: ... this.
79946         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
79947         * sysdeps/sparc/sparc64/Makefile: ... this.
79949         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
79950         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
79951         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
79952         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
79953         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
79954         * sysdeps/s390/s390-32/setjmp.S: ... here.
79955         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
79956         * sysdeps/s390/s390-32/configure.in: ... here.
79957         * sysdeps/s390/s390-32/elf/configure: Delete file.
79958         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
79959         * sysdeps/s390/s390-32/start.S: ... here.
79961         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
79962         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
79963         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
79964         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
79965         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
79966         * sysdeps/s390/s390-64/setjmp.S: ... here.
79967         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
79968         * sysdeps/s390/s390-64/configure.in: ... here
79969         * sysdeps/s390/s390-64/elf/configure: Delete file.
79970         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
79971         * sysdeps/s390/s390-64/start.S: ... here.
79972         * sysdeps/s390/s390-64/elf/configure: Delete.
79974         * configure.in: Remove support for elf directories in sysdeps.
79976         * configure: Regenerated.
79977         * sysdeps/i386/configure: Regenerated.
79978         * sysdeps/powerpc/powerpc32/configure: Regenerated.
79979         * sysdeps/powerpc/powerpc64/configure: Regenerated.
79980         * sysdeps/s390/s390-32/configure: Regenerated.
79981         * sysdeps/s390/s390-64/configure: Regenerated.
79982         * sysdeps/sh/configure: Regenerated.
79983         * sysdeps/sparc/configure: Regenerated.
79984         * sysdeps/x86_64/configure: Regenerated.
79986 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
79988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79990         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
79991         denormal result into account.
79993 2012-03-25  Roland McGrath  <roland@hack.frob.com>
79995         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
79996         Reported by Allan McRae <allan@archlinux.org>.
79998 2012-03-23  Jeff Law  <law@redhat.com>
80000         * nss/getnssent.c (__nss_getent): Fix typo.
80002 2012-03-23  David S. Miller  <davem@davemloft.net>
80004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80006 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
80008         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
80009         to pad to uint64_t for each field.
80010         (dl_tls_index): Replace unsigned long with uint64_t.
80012 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
80013         Paul Pluzhnikov  <ppluzhnikov@google.com>
80015         [BZ #6528]
80016         * grp/Makefile (otherlibs): Don't set it.
80017         * inet/Makefile (otherlibs): Likewise.
80018         * login/Makefile (otherlibs): Likewise.
80019         * nscd/Makefile (otherlibs): Likewise.
80020         * posix/Makefile (otherlibs): Likewise.
80021         * pwd/Makefile (otherlibs): Likewise.
80022         * rt/Makefile (otherlibs): Likewise.
80023         * sunrpc/Makefile (otherlibs): Likewise.
80024         * nss/Makefile (otherlibs): Likewise.
80025         Add libnss_files to routines and static-only-routines.
80026         ($(objpfx)getent): Remove rule.
80027         * resolv/Makefile: Add libnss_dns and libresolv to routines and
80028         static-only-routines.
80030 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
80032         [BZ #13892]
80033         * math/s_cexp.c: Include <float.h>.
80034         (__cexp): Handle exp result overflowing not necessarily
80035         overflowing both real and imaginary parts of result.
80036         * math/s_cexpf.c: Likewise.
80037         * math/s_cexpl.c: Likewise.
80038         * math/libm-test.inc (cexp_test): Add more tests.
80039         * sysdeps/i386/fpu/libm-test-ulps: Update.
80040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80042 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80044         * include/link.h (ELFW): New macro.
80045         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
80046         Replace ELF64_R_TYPE with ELFW(R_TYPE).
80048 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80050         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
80051         with uint64_t.
80053 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80055         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
80056         declaration.
80057         (struct La_x32_retval): Likewise.
80059 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80061         * sysdeps/x86_64/preconfigure.in: New file.
80062         * sysdeps/x86_64/preconfigure: New generated file.
80064 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
80066         [BZ #13824]
80067         * math/e_exp2l.c: Include <float.h>.
80068         (__ieee754_exp2l): Handle overflow and underflow cases
80069         separately.  Only pass fractional part of argument to
80070         __ieee754_expl.
80071         * math/libm-test.inc (exp2_test): Add more tests.
80073         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
80074         negating x to take absolute value.
80075         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
80076         Likewise.
80077         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
80078         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
80079         Likewise.
80080         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
80081         computing low part if x was negated.
80082         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
80084 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
80086         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
80087         la_x32_gnu_pltexit.
80088         (pltexit): Cast int_retval to ptrdiff_t.
80089         * elf/tst-auditmod3b.c: Likewise.
80090         * elf/tst-auditmod4b.c: Likewise.
80091         * elf/tst-auditmod5b.c: Likewise.
80092         * elf/tst-auditmod6b.c: Likewise.
80093         * elf/tst-auditmod6c.c: Likewise.
80094         * elf/tst-auditmod7b.c: Likewise.
80096         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
80097         and x32_gnu_pltexit.
80099         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
80100         __ELF_NATIVE_CLASS.
80101         (La_x32_regs): New macro.
80102         (La_x32_retval): Likewise.
80103         (la_x32_gnu_pltenter): New function prototype.
80104         (la_x32_gnu_pltexit): Likewise.
80106 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
80108         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
80109         exponent.
80111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80113         * configure.in (libc_cv_cc_nofma): Check for option to disable
80114         generation of FMA instructions.
80115         * configure: Regenerate.
80116         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
80117         * sysdeps/ieee754/dbl-64/Makefile: New file.
80118         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
80119         Remove brandred-fma4.
80120         (CFLAGS-brandred-fma4.c): Remove.
80121         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
80122         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
80123         define.
80124         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
80125         define.
80127 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
80129         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
80130         LLONG_MAX != LONG_MAX.
80131         (_itoa_word): Use _ITOA_WORD_TYPE on value.
80132         (_fitoa_word): Likewise.
80133         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
80134         LLONG_MAX != LONG_MAX.
80135         * stdio-common/_itowa.h: Include <_itoa.h>.
80136         (_itowa_word): Use _ITOA_WORD_TYPE on value.
80137         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
80138         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
80139         only if not defined.
80140         (_ITOA_WORD_TYPE): Likewise.
80141         (_itoa_word): Use _ITOA_WORD_TYPE on value.
80142         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
80144 2012-03-21  David S. Miller  <davem@davemloft.net>
80146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80148 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
80150         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
80151         of x86_64 when setting libc_cv_slibdir, libdir and
80152         libc_cv_localedir.
80153         * sysdeps/unix/sysv/linux/configure: Regenerated.
80155 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
80157         * manual/lang.texi (Old Varargs): Remove section.
80158         (How Variadic): Update menu.
80159         (va_start): Do not mention varargs.h.
80161 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
80162             Joseph Myers  <joseph@codesourcery.com>
80164         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
80165         link test.
80166         * configure: Regenerated.
80168 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
80170         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
80171         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
80172         conformtest.pl
80174 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
80176         * NOTES: Remove.
80177         * Makefile (files-for-dist): Remove NOTES.
80178         (NOTES): Remove rule.
80179         * README: Don't refer to NOTES.
80180         * manual/creature.texi: Don't include macros.texi.
80181         * manual/intro.texi (creature.texi): Remove comment referring to
80182         NOTES.
80184         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
80185         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
80186         * configure: Regenerated.
80187         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
80188         LIBC_TRY_CC_OPTION.
80189         (libc_cv_as_i686): Likewise.
80190         (libc_cv_cc_avx): Likewise.
80191         (libc_cv_cc_sse2avx): Likewise.
80192         (libc_cv_cc_fma4): Likewise.
80193         (libc_cv_cc_novzeroupper): Likewise.
80194         * sysdeps/i386/configure: Regenerated.
80196         [BZ #13883]
80197         * sysdeps/i386/fpu/s_cexp.S: Remove.
80198         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
80199         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
80200         * math/libm-test.inc (cexp_test): Add more tests.
80201         * sysdeps/i386/fpu/libm-test-ulps: Update.
80202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80204 2012-03-21  Allan McRae  <allan@archlinux.org>
80206         * timezone/Makefile: Do not install iso3166.tab and zone.tab
80208 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
80210         [BZ #13871]
80211         * math/w_exp2.c: Do not include <float.h>.
80212         (o_threshold, u_threshold): Remove.
80213         (__exp2): Calculate result before checking finiteness and calling
80214         __kernel_standard.
80215         * math/w_exp2f.c: Likewise.
80216         * math/w_exp2l.c: Likewise.
80217         * math/libm-test.inc (exp2_test): Require overflow exception for
80218         1e6 input.
80220         [BZ #3866]
80221         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
80222         range of signed 64-bit integers before using fistpll.  Remove
80223         checks for whether integers fit in mantissa bits.
80224         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
80225         the range of signed 32-bit integers before using fistpl.  Remove
80226         checks for whether integers fit in mantissa bits.
80227         * sysdeps/i386/fpu/e_powl.S (p64): New object.
80228         (__ieee754_powl): Test for y outside the range of signed 64-bit
80229         integers before using fistpll.  Reduce 64-bit values to 63-bit
80230         ones as needed.
80231         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
80232         divide-by-zero is raised for zero to large negative powers.
80233         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
80234         (__ieee754_powl): Test for y outside the range of signed 64-bit
80235         integers before using fistpll.  Reduce 64-bit values to 63-bit
80236         ones as needed.
80237         * math/libm-test.inc (pow_test): Add more tests.
80239 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80241         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
80242         <stdio-common/_itoa.h>.
80243         * debug/segfault.c: Likewise.
80244         * elf/dl-cache.c: Likewise.
80245         * elf/dl-minimal.c: Likewise.
80246         * elf/dl-misc.c: Likewise.
80247         * elf/dl-sysdep.c: Likewise.
80248         * elf/dl-version.c: Likewise.
80249         * elf/rtld.c: Likewise.
80250         * hurd/hurdsock.c: Likewise.
80251         * hurd/lookup-retry.c: Likewise.
80252         * malloc/malloc.c: Likewise.
80253         * malloc/mtrace.c: Likewise.
80254         * nscd/nscd_getgr_r.c: Likewise.
80255         * nscd/nscd_getpw_r.c: Likewise.
80256         * nscd/nscd_getserv_r.c: Likewise.
80257         * posix/getopt_init.c: Likewise.
80258         * posix/wordexp.c: Likewise.
80259         * stdio-common/_itoa.c: Likewise.
80260         * stdio-common/printf_fphex.c: Likewise.
80261         * stdio-common/vfprintf.c: Likewise.
80262         * string/_strerror.c: Likewise.
80263         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
80264         * sysdeps/i386/i686/hp-timing.h: Likewise.
80265         * sysdeps/mach/_strerror.c: Likewise.
80266         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
80267         * sysdeps/mach/hurd/sethostid.c: Likewise.
80268         * sysdeps/mach/hurd/xmknodat.c: Likewise.
80269         * sysdeps/mach/xpg-strerror.c: Likewise.
80270         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
80271         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
80272         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
80273         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
80274         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
80275         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
80276         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
80277         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
80278         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
80279         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
80280         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
80281         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
80282         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
80283         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
80284         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
80285         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
80286         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
80287         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
80288         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
80289         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
80290         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
80292         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
80294         * stdio-common/_itoa.h: Moved to ...
80295         * sysdeps/generic/_itoa.h: Here.
80297         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
80299         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
80300         instead of "_itoa.h" and "_itowa.h".
80301         * stdio-common/vfprintf.: Likewise.
80303 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80305         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
80306         <bits/wordsize.h>.
80307         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
80308         (__signbit): Likewise.
80309         (llrintf): Likewise.
80310         (llrint): Likewise.
80312 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80314         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
80315         __WORDSIZE != 64.
80317 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
80319         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
80320         OVERFLOW_EXCEPTION_OK.
80321         * math/libm-test.inc ("Philosophy"): Update comment about
80322         exception testing.
80323         (OVERFLOW_EXCEPTION): Define.
80324         (OVERFLOW_EXCEPTION_OK): Likewise.
80325         (INVALID_EXCEPTION_OK): Renumber.
80326         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
80327         (IGNORE_ZERO_INF_SIGN): Likewise.
80328         (test_exceptions): Handle FE_OVERFLOW.
80329         (exp10_test): Expect overflow exceptions.
80330         (exp2_test): Likewise.
80331         (expm1_test): Likewise.
80332         (nextafter_test): Likewise.
80333         (pow_test): Likewise.
80334         (scalbn_test): Likewise.
80335         (scalbln_test): Likewise.
80337 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80339         * sysdeps/x86_64/bits/atomic.h
80340         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
80341         64bit integer.
80342         (atomic_exchange_acq): Likewise.
80343         (__arch_exchange_and_add_body): Likewise.
80344         (__arch_add_body): Likewise.
80345         (atomic_add_negative): Likewise.
80346         (atomic_add_zero): Likewise.
80348 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80350         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
80351         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
80353 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80355         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
80356         Check __x86_64__ instead of __WORDSIZE.
80358 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80360         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
80362 2012-03-19  David S. Miller  <davem@davemloft.net>
80364         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80366         * sysdeps/sparc/fpu/fenv_private.h: New file.
80367         * sysdeps/sparc/fpu/math_private.h: Use it.
80368         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
80369         Remove.
80370         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
80371         (libc_feholdexcept_setroundl): Remove.
80372         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
80373         Remove.
80374         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
80375         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
80377 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80379         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
80380         int64_t instead of long int.
80381         (INSERT_WORDS64): Likewise.
80383 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80385         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
80386         _Unwind_GetCFA return to _Unwind_Ptr first.
80388 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
80390         [BZ #13629]
80391         * math/s_clog.c: Include <float.h>.
80392         (__clog): Scale large or subnormal inputs.
80393         * math/s_clogf.c: Likewise.
80394         * math/s_clogl.c: Likewise.
80395         * math/s_clog10.c: Include <float.h>.
80396         (M_LOG10_2): Define.
80397         (__clog10): Scale large or subnormal inputs.
80398         * math/s_clog10f.c: Likewise.
80399         * math/s_clog10l.c: Likewise.
80400         * math/libm-test.inc (clog_test): Add more tests.
80401         (clog10_test): Likewise.
80402         * sysdeps/i386/fpu/libm-test-ulps: Update.
80403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80405         [BZ #11451]
80406         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
80407         x and y.
80408         * math/libm-test.inc (atan2_test): Add another test.
80410         * Makerules (common-objdir-compile): Remove.
80411         * sysdeps/unix/Makefile (config-generated): Do not add
80412         $(unix-generated) to variable.
80413         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
80414         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
80415         Remove rule.
80416         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
80417         Likewise.
80418         [generic bits/local_lim.h] (before-compile): Do not append to
80419         variable.
80420         [generic bits/local_lim.h] (common-generated): Likewise.
80421         [generic sys/param.h] (before-compile): Do not append to variable.
80422         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
80423         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
80424         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
80425         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
80426         include.
80427         [generic sys/param.h] (sys/param.h-includes): Remove variable.
80428         [generic sys/param.h] (sys/param.h-includes): Remove rule.
80429         [generic sys/param.h] ($(addprefix
80430         $(common-objpfx),$(sys/param.h-includes))): Likewise.
80431         [generic sys/param.h] (common-generated): Do not append to
80432         variable.
80433         [generic sys/param.h] (sysdep_headers): Likewise.
80434         [generic bits/errno.h] (before-compile): Do not append to
80435         variable.
80436         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
80437         rule.
80438         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
80439         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
80440         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
80441         [generic bits/errno.h] (common-generated): Do not append to
80442         variable.
80443         [generic bits/ioctls.h] (before-compile): Do not append to
80444         variable.
80445         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
80446         rule.
80447         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
80448         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
80449         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
80450         rule.
80451         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
80452         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
80453         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
80454         [generic bits/ioctls.h] (common-generated): Do not append to
80455         variable.
80456         [generic sys/syscall.h] (syscall.h): Remove variable.
80457         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
80458         rule.
80459         [generic sys/syscall.h] (before-compile): Do not append to
80460         variable.
80461         [generic sys/syscall.h] (common-generated): Likewise.
80462         * sysdeps/unix/errnos-tmpl.c: Remove file.
80463         * sysdeps/unix/errnos.awk: Likewise.
80464         * sysdeps/unix/ioctls-tmpl.c: Likewise.
80465         * sysdeps/unix/ioctls.awk: Likewise.
80466         * sysdeps/unix/mk-local_lim.c: Likewise.
80467         * sysdeps/unix/snarf-ioctls: Likewise.
80469 2012-03-19  Richard Henderson  <rth@twiddle.net>
80471         * sysdeps/i386/fpu/fenv_private.h: New file.
80472         * sysdeps/i386/fpu/math_private.h: Use it.
80473         (math_opt_barrier, math_force_eval): Remove.
80474         (libc_feholdexcept_setround_53bit): Remove.
80475         (libc_feupdateenv_53bit): Remove.
80476         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80477         (math_opt_barrier, math_force_eval): Remove.
80478         (libc_feholdexcept): Remove.
80479         (libc_feholdexcept_setround): Remove.
80480         (libc_fetestexcept, libc_fesetenv): Remove.
80481         (libc_feupdateenv_test): Remove.
80482         (libc_feupdateenv, libc_feholdsetround): Remove.
80483         (libc_feresetround): Remove.
80485         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
80486         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
80488         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
80489         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
80490         (libc_feupdateenv_testl): New.
80491         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
80492         (libc_feupdateenv_testf): New.
80493         (libc_feupdateenv): Use libc_feupdateenv_test.
80494         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
80495         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
80497         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
80498         (libc_feholdsetroundf, libc_feholdsetroundl): New.
80499         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
80500         (libc_feresetround_noex): New.
80501         (libc_feresetround_noexf): New.
80502         (libc_feresetround_noexl): New.
80503         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
80504         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
80505         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
80506         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
80507         SET_RESTORE_ROUND.
80508         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
80509         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
80510         (__cos): Likewise.
80511         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
80512         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
80513         SET_RESTORE_ROUND_NOEX.
80514         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
80515         SET_RESTORE_ROUND_NOEXF.
80516         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
80517         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
80518         (libc_feholdsetroundf): New.
80519         (libc_feresetround, libc_feresetroundf): New.
80521         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
80522         (libc_feholdexcept_setround_53bit): Convert from macro to function.
80523         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
80525         * sysdeps/generic/math_private.h: Include <fenv.h>.
80526         (default_libc_feholdexcept): New.
80527         (default_libc_feholdexcept_setround): New.
80528         (default_libc_fesetenv, default_libc_feupdateenv): New.
80529         (libc_feholdexcept): Only define if undefined.
80530         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
80531         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
80532         (libc_feholdexcept_setroundl): Likewise.
80533         (libc_feholdexcept_setround_53bit): Likewise.
80534         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
80535         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
80536         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
80537         (libc_feupdateenv_53bit): Likewise.
80538         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
80539         (libc_feholdexcept): Convert from macro to inline function.
80540         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
80541         (libc_fesetenv, libc_feupdateenv): Likewise.
80543         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
80544         not previously defined.
80545         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
80546         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
80547         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
80548         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
80549         * sysdeps/ieee754/flt-32/math_private.h: New file.
80550         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
80551         math_private.h below SET_FLOAT_WORD.
80552         (__isnan, __isinf_ns, __finite): Remove.
80553         (__isnanf, __isinf_nsf, __finitef): Remove.
80555 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
80557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80559 2012-03-17  David S. Miller  <davem@davemloft.net>
80561         [BZ #6471]
80562         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
80563         for 2.16.
80565 2012-03-16  David S. Miller  <davem@davemloft.net>
80567         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
80568         warnings.
80570         [BZ #6471]
80571         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
80572         properly.
80573         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
80574         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
80575         sysdep_routines when subdir is sysvipc.
80576         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
80577         __getshmlba helper.
80579         * sysdeps/sparc/fpu/libm-test/ulps: Update.
80581 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80583         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
80584         [__LP64__].
80586 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80588         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
80589         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
80590         (__lround): Renamed to ...
80591         (__llround): This.  Replace long int with long long int.
80592         Define lround functions as aliases of llround functions.
80593         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
80595 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80597         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
80598         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
80599         adresses to uintptr_t.  Replace "long int" and "unsigned long
80600         int" with "greg_t" on va_arg.
80602 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80604         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
80605         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
80607         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
80608         Move e_machine check before EI_CLASS check.  Handle x32
80609         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
80610         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
80611         SKIP_EM_IA_64 and include
80612         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
80614         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
80615         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
80616         (add_system_dir): New macro.
80618         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
80619         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
80621 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80623         [BZ #2551]
80624         [BZ #2552]
80625         [BZ #2553]
80626         [BZ #2554]
80627         [BZ #2562]
80628         [BZ #2563]
80629         [BZ #2565]
80630         [BZ #2566]
80631         [BZ #2576]
80632         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
80633         (y0): Likewise.
80634         * math/w_j0f.c (j0f): Likewise.
80635         (y0f): Likewise.
80636         * math/w_j0l.c (__j0l): Likewise.
80637         (__y0l): Likewise.
80638         * math/w_j1.c (j1): Likewise.
80639         (y1): Likewise.
80640         * math/w_j1f.c (j1f): Likewise.
80641         (y1f): Likewise.
80642         * math/w_j1l.c (__j1l): Likewise.
80643         (__y1l): Likewise.
80644         * math/w_jn.c (jn): Likewise.
80645         (yn): Likewise.
80646         * math/w_jnf.c (jnf): Likewise.
80647         (ynf): Likewise.
80648         * math/w_jnl.c (__jnl): Likewise.
80649         (__ynl): Likewise.
80650         * math/libm-test.inc (j0_test): Add more tests.
80651         (j1_test): Likewise.
80652         (jn_test): Likewise.  Add trailing semicolon to existing test.
80653         (y0_test): Likewise.
80654         (y1_test): Likewise.
80655         * sysdeps/i386/fpu/libm-test-ulps: Update.
80656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80658         [BZ #13851]
80659         [BZ #13854]
80660         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
80661         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
80662         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
80663         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
80664         (__tanl): Set errno for infinite argument.
80665         * sysdeps/i386/fpu/mptan.c: Remove.
80666         * sysdeps/i386/fpu/s_tan.S: Likewise.
80667         * sysdeps/i386/fpu/s_tanl.S: Likewise.
80668         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
80669         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
80670         * math/libm-test.inc (tan_test): Add more tests and enable more
80671         tests for double and long double.
80672         * sysdeps/i386/fpu/libm-test-ulps: Update.
80673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80675 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
80677         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
80678         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
80680 2012-03-16  Roland McGrath  <roland@hack.frob.com>
80682         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
80683         * configure.in: Use it for both main tree and add-ons.
80684         * configure: Regenerated.
80686 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80688         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
80690 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80692         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
80693         in comment.
80695         [BZ #13851]
80696         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
80697         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
80698         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
80699         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
80700         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
80701         infinite argument.
80702         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
80703         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
80704         != 0 for prec == 2.
80705         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
80706         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
80707         * sysdeps/i386/fpu/s_cosl.S: Likewise.
80708         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
80709         * sysdeps/i386/fpu/s_sinl.S: Likewise.
80710         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
80711         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
80712         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
80713         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
80714         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
80715         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
80716         * math/libm-test.inc (cos_test): Add more tests and enable more
80717         tests for long double.
80718         (sin_test): Likewise.
80719         (sincos_test): Likewise.
80720         * sysdeps/i386/fpu/libm-test-ulps: Update.
80721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80723 2012-03-16  David S. Miller  <davem@davemloft.net>
80725         * sysdeps/sparc/fpu/math_private.h: New file.
80727 2012-03-15  David S. Miller  <davem@davemloft.net>
80729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
80730         file.
80731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
80732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
80733         file.
80734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
80735         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
80736         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
80737         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
80738         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
80739         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
80740         sysdep routines.
80741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80743         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
80744         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
80746         * sysdeps/sparc/sparc-ifunc.h: New file.
80747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
80748         sparc-ifunc.h
80749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
80750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
80751         Likewise.
80752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
80753         Likewise.
80754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
80755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
80756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
80757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
80758         Likewise.
80759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
80760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
80761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
80762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
80763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
80764         Likewise.
80765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
80766         Likewise.
80767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
80768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
80769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
80770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
80771         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
80772         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
80773         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
80774         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
80775         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
80776         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
80777         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
80778         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
80779         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
80780         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
80781         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
80782         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
80783         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
80784         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
80785         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
80786         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
80787         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
80788         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
80789         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
80790         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
80792 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80794         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
80795         scaling.
80796         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80798 2012-03-15  Andreas Jaeger  <aj@suse.de>
80800         [BZ #13852]
80801         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
80802         ieee754/flt-32 implementation for sin, cos and sincos.
80803         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
80804         * sysdeps/i386/fpu/s_cosf.S: Likewise.
80805         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
80806         * sysdeps/i386/fpu/s_sinf.S: Likewise.
80807         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
80808         ieee754/flt-32 implementation for tan.
80810         * math/libm-test.inc (cos_test): Enable some large input tests for
80811         float as well
80812         (sin_test): Likewise.
80813         (sincos_test): Likewise.
80814         (tan_test): Add tests for large input.
80816         * sysdeps/i386/fpu/libm-test-ulps: Update.
80818 2012-03-15  Andreas Jaeger  <aj@suse.de>
80820         [BZ #13658]
80821         * math/libm-test.inc (cos_test): Add more test cases.
80822         (sin_test): Likewise.
80823         (sincos_test): Likewise.
80825 2012-03-15  Andreas Jaeger  <aj@suse.de>
80827         [BZ #13837]
80828         * math/libm-test.inc (cos_test): Add a test case for large input
80829         value.
80830         (sin_test): Likewise.
80831         (sincos_test): Likewise.
80833 2012-03-15  Andreas Jaeger  <aj@suse.de>
80834             Joseph Myers  <joseph@codesourcery.com>
80836         [BZ #13658]
80837         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
80838         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
80839         * sysdeps/i386/fpu/branred.c: Likewise.
80840         * sysdeps/i386/fpu/dosincos.c: Likewise.
80841         * sysdeps/i386/fpu/mpa.c: Likewise.
80842         * sysdeps/i386/fpu/s_cos.S: Likewise.
80843         * sysdeps/i386/fpu/s_sin.S: Likewise.
80844         * sysdeps/i386/fpu/s_sincos.S: Likewise.
80845         * sysdeps/i386/fpu/sincos32.c: Likewise.
80847         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
80848         Define.
80849         (libc_feupdateenv_53bit): Define.
80850         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
80851         Define.
80852         (libc_feupdateenv_53bit): Define.
80854         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
80855         53 bit (without extend i386 double precision).
80857         * math/libm-test.inc (sincos_test): Add tests for large input.
80858         (sin): Likewise.
80859         (cos): Likewise.
80861         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
80863 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80865         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80867 2012-03-15  David S. Miller  <davem@davemloft.net>
80869         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
80870         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
80871         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
80872         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
80873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
80874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
80875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
80876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
80877         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
80878         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
80879         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
80880         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
80881         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
80882         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
80883         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
80884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
80885         file.
80886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
80887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
80888         file.
80889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
80890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
80891         file.
80892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
80893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
80894         file.
80895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
80896         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
80897         fmin/fmax sysdep routines.
80898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80900 2012-03-14  David S. Miller  <davem@davemloft.net>
80902         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
80903         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
80904         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
80905         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
80906         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
80907         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
80908         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
80909         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
80910         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
80911         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
80912         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
80913         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
80914         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
80915         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
80916         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
80917         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
80918         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
80919         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
80920         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
80921         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
80922         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
80923         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
80924         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
80925         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
80926         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
80927         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
80928         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
80929         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
80930         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
80931         routines.
80932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
80933         file.
80934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
80935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
80936         file.
80937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
80938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
80939         file.
80940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
80941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
80942         file.
80943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
80944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
80945         file.
80946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
80947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
80948         file.
80949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
80950         file.
80951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
80952         file.
80953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
80954         file.
80955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
80956         New file.
80957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
80958         file.
80959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
80960         file.
80961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
80962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
80963         file.
80964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
80965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
80966         file.
80967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
80968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
80969         file.
80970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
80971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
80972         VIS3 routines.
80974         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
80975         New file.
80977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80979         * sysdeps/sparc/configure.in: New file.
80980         * sysdeps/sparc/configure: Generate.
80981         * configure.in (libc_cv_sparc_as_vis3): Substitute.
80982         * configure: Regenerate.
80983         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
80984         * config.make.in (have-as-vis3): New.
80985         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
80986         available use -Av9d instead of -Av9a.
80987         * sysdeps/sparc/sparc64/Makefile: Likewise.
80988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
80989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
80990         New file.
80991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
80992         file.
80993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
80994         New file.
80995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
80996         file.
80997         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
80998         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
80999         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
81000         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
81001         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
81003         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
81004         fzeros/fnegs to load 0x80000000 into a float register instead of
81005         using the stack.
81006         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
81008 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
81010         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81011         bits/syscall.h.
81012         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
81013         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
81014         ($(inst_includedir)/bits/syscall.h): Remove rule.
81015         ($(objpfx)bits/syscall.d): Include instead of
81016         $(objpfx)syscall-list.d.
81017         (generated): Change syscall-list.h and syscall-list.d to
81018         bits/syscall.h and bits/syscall.d.
81020 2012-03-14  Roland McGrath  <roland@hack.frob.com>
81022         [BZ #13846]
81023         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
81025 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
81027         [BZ #13841]
81028         * math/s_csqrt.c: Include <float.h>.
81029         (__csqrt): Scale large or subnormal inputs.
81030         * math/s_csqrtf.c: Likewise.
81031         * math/s_csqrtl.c: Likewise.
81032         * math/libm-test.inc (csqrt_test): Add more tests.
81033         * sysdeps/i386/fpu/libm-test-ulps: Update.
81034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81036         [BZ #13840]
81037         * math/libm-test.inc (hypot_test): Add more tests.
81039 2012-03-13  David S. Miller  <davem@davemloft.net>
81041         [BZ #13840]
81042         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
81043         double-precision for the calculation instead of scaling.
81045 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
81047         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
81048         manipulate bits before adding and subtracting TWO52[sx].
81049         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
81050         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
81051         Likewise.
81052         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
81054 2012-03-13  David S. Miller  <davem@davemloft.net>
81056         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
81057         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
81058         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
81059         rtld-global-offsets.h
81060         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81062         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
81063         large parameters.
81065         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
81067         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
81068         'err' in the ifdef scope in which it is actually used.
81070         * nss/nss_db/db-init.c: Include string.h
81072 2012-03-12  David S. Miller  <davem@davemloft.net>
81074         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
81075         masking out of the most significant byte of random value used.
81076         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81077         Fix coding style in previous change.
81079         * sysdeps/unix/sysv/linux/kernel-features.h
81080         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
81081         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
81082         expression.
81083         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
81084         later.
81086 2012-03-11  David S. Miller  <davem@davemloft.net>
81088         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
81089         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
81090         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
81091         for 'resultvar' otherwise things get truncated on 64-bit.
81093         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81094         Fix masking out of the most significant byte of random value used.
81096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81098 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
81100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81102 2012-03-09  David S. Miller  <davem@davemloft.net>
81104         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
81105         variables with appropriate CPP guards.
81106         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
81107         from the frame pointer, not the stack pointer.  Correct layout
81108         comments.  Fix test on resulting framesize and the management of
81109         the outregs buffer for pltexit.  Preserve floating point return
81110         values across _dl_call_pltexit call.
81111         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
81112         framesize and the management of the outregs buffer for pltexit.
81113         Preserve floating point return values across _dl_call_pltexit
81114         call.
81115         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
81116         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
81117         (la_sparc64_gnu_pltexit): New functions.
81118         (print_exit): Fix format string for return register value.
81120 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
81122         * sunrpc/Makefile (others): Add rpcgen.
81123         ($(objpfx)rpcgen): Remove special build rule and dependency on
81124         libc.
81125         * sunrpc/rpcgen.c: New file.
81127 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
81129         [BZ #13673]
81130         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
81131         * stdio-common/bug-vfprintf-nargs.c: Likewise.
81132         * sysdeps/i386/crti.S: Likewise.
81133         * sysdeps/i386/crtn.S: Likewise.
81134         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
81135         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
81136         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
81137         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
81138         * sysdeps/sh/crti.S: Likewise.
81139         * sysdeps/sh/crtn.S: Likewise.
81140         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
81142         [BZ #13673]
81143         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
81144         with URL.
81145         * locale/programs/locfile-kw.gperf: Likewise.
81146         * locale/programs/charmap-kw.h: Regenerated.
81147         * locale/programs/locfile-kw.h: Likewise.
81149         [BZ #13673]
81150         * intl/plural.y: Replace FSF snail mail address with URL.
81151         * intl/plural.c: Regenerated.
81153 2012-03-09  Richard Henderson  <rth@twiddle.net>
81155         * include/math_private.h: Remove file.
81156         * math/math_private.h: Move file ...
81157         * sysdeps/generic/math_private.h: ... here.
81159         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
81160         * sysdeps/powerpc/fpu/math_private.h: Likewise.
81161         * sysdeps/x86_64/fpu/math_private.h: Likewise.
81163         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
81164         and <math_private.h>.
81165         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
81166         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
81167         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
81168         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
81169         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
81170         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
81171         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
81172         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81173         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
81174         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
81175         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81176         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
81177         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
81178         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81179         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
81180         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
81181         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
81182         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
81183         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
81184         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
81185         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81186         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
81187         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
81188         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81189         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
81190         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
81191         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
81192         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
81193         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81194         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
81195         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
81196         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81197         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
81198         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
81199         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
81200         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
81201         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
81202         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
81203         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
81204         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81205         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
81206         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
81207         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
81208         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
81209         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
81210         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
81211         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
81212         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
81213         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
81214         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
81215         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
81216         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
81217         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
81218         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
81219         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
81220         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
81221         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81222         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
81223         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
81224         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
81225         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
81226         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
81227         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81228         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
81229         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
81230         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
81231         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
81232         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
81233         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
81234         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
81235         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
81236         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
81237         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
81238         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
81239         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
81240         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
81241         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
81242         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
81243         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
81244         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
81245         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
81246         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
81247         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
81248         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
81249         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
81250         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
81251         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
81252         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
81253         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
81254         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
81255         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
81256         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
81257         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81258         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
81259         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
81260         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
81261         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
81262         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
81263         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81264         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
81265         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
81266         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
81267         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
81268         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
81269         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
81270         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
81271         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
81272         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
81273         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
81274         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
81275         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
81276         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
81277         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
81278         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
81279         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
81280         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
81281         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
81282         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
81283         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
81284         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
81285         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
81286         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
81287         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
81288         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
81289         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
81290         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
81291         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
81292         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
81293         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
81294         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
81295         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
81296         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
81297         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
81298         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
81299         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
81300         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
81301         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
81302         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
81303         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
81304         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
81305         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81306         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
81307         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
81308         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
81309         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
81310         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
81311         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
81312         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
81313         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
81314         * sysdeps/ieee754/k_standard.c: Likewise.
81315         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
81316         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
81317         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81318         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
81319         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
81320         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
81321         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
81322         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
81323         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
81324         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
81325         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81326         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
81327         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
81328         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
81329         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
81330         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
81331         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
81332         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
81333         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
81334         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
81335         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
81336         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
81337         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
81338         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
81339         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
81340         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
81341         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
81342         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
81343         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
81344         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
81345         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
81346         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
81347         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
81348         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
81349         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
81350         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
81351         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
81352         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
81353         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
81354         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
81355         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
81356         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
81357         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
81358         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
81359         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
81360         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
81361         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
81362         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
81363         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
81364         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
81365         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
81366         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
81367         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
81368         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
81369         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
81370         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
81371         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
81372         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
81373         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
81374         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
81375         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
81376         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
81377         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
81378         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
81379         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81380         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81381         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
81382         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
81383         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
81384         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
81385         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
81386         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81387         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
81388         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
81389         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
81390         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
81391         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
81392         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
81393         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81394         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
81395         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
81396         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
81397         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
81398         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
81399         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
81400         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
81401         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
81402         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
81403         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
81404         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
81405         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
81406         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
81407         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
81408         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
81409         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
81410         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
81411         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
81412         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
81413         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
81414         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
81415         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
81416         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
81417         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
81418         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
81419         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
81420         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
81421         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
81422         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
81423         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
81424         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
81425         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
81426         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
81427         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
81428         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81429         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
81430         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81431         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
81432         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81433         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81434         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
81435         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81436         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
81437         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
81438         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
81439         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81440         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
81441         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
81442         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
81443         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
81444         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
81445         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
81446         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
81447         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
81448         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
81449         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
81450         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
81451         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
81452         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
81453         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
81454         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
81455         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
81456         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
81457         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
81458         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
81459         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
81460         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
81461         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
81462         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
81463         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
81464         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
81465         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
81466         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
81467         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
81468         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
81469         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
81470         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
81471         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81472         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81473         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81474         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
81475         * sysdeps/ieee754/s_lib_version.c: Likewise.
81476         * sysdeps/ieee754/s_matherr.c: Likewise.
81477         * sysdeps/ieee754/s_signgam.c: Likewise.
81478         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
81479         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
81480         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
81481         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
81482         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
81483         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
81484         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
81485         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
81486         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
81487         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
81488         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
81489         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
81490         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
81491         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
81492         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
81493         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
81494         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
81495         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
81496         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
81497         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
81498         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
81500 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81502         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
81503         * sunrpc/rpc_main.c: Likewise.
81504         * sunrpc/rpc_svcout.c: Likewise.
81506 2012-03-09  David S. Miller  <davem@davemloft.net>
81508         * include/math_private.h: New file.
81510 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81512         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
81513         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
81514         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
81515         from <bits/socket_type.h>.
81516         (enum __socket_type): Don't define here.
81517         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
81518         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81519         bits/socket_type.h.
81521         [BZ #13566]
81522         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
81523         checking __USE_GNU.
81525         * Makerules ($(inst_includedir)/%.h): New rule.
81526         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
81527         (install-others): Remove variable setting.
81528         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
81530 2012-03-08  Richard Henderson  <rth@twiddle.net>
81532         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
81533         from macro to inline function; merge with the
81534         !__LIBC_INTERNAL_MATH_INLINES version.
81535         (__ieee754_sqrtf): Likewise.
81537         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
81538         to inline function.
81539         (__rintf, __floor, __floorf): Likewise.
81541         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
81542         macro to inline function.
81543         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
81545         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
81546         not <math/math_private.h>.
81548 2012-03-08  David S. Miller  <davem@davemloft.net>
81550         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
81551         copyright year.
81552         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
81554 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
81556         * resolv/gai_misc.c (handle_requests): Fix struct timespec
81557         normalization.
81558         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
81559         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
81561 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
81563         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
81564         be defined individually, they must be defined as a block.  Define
81565         S for printing a string instead of hidint the different by using a
81566         macro for adding the 'l'.
81567         * stdio-common/tst-fphex-wide.c: Adjust.
81569 2012-03-07  Marek Polacek  <polacek@redhat.com>
81571         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
81573 2012-03-08  Marek Polacek  <polacek@redhat.com>
81575         [BZ #13806]
81576         * stdio-common/Makefile (tests): Add tst-fphex-wide.
81577         * stdio-common/tst-fphex.c: Define a few macros to make the
81578         test reusable.  Use them.
81579         * stdio-common/tst-fphex-wide.c: New file.
81581 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
81583         [BZ #6911]
81584         * manual/macros.texi (gnusystems): New macro.
81585         (nongnusystems): Likewise.
81586         (gnulinuxhurdsystems): Likewise.
81587         (gnuhurdsystems): Likewise..
81588         (gnulinuxsystems): Likewise.
81589         * manual/charset.texi: Use new macros or @theglibc{} to refer to
81590         variants of the GNU system, not "GNU system".
81591         * manual/conf.texi: Likewise.
81592         * manual/errno.texi: Likewise.  Update example of errno macro
81593         expansion.
81594         * manual/filesys.texi: Likewise.
81595         (getumask): Document as specific to GNU/Hurd.
81596         * manual/install.texi: Likewise.  Reword some references to
81597         GNU/Linux.
81598         * manual/intro.texi: Likewise.
81599         * manual/io.texi: Likewise.
81600         (File Name Portability): Detail which constraints are inapplicable
81601         to all GNU systems and which are only inapplicable to GNU/Hurd.
81602         * manual/job.texi: Likewise.
81603         * manual/llio.texi: Likewise.
81604         (O_NOCTTY): Document as present on GNU/Linux.
81605         * manual/maint.texi: Likewise.
81606         * manual/memory.texi: Likewise.
81607         * manual/pattern.texi: Likewise.
81608         * manual/pipe.texi: Likewise.
81609         * manual/process.texi: Likewise.
81610         * manual/resource.texi: Likewise.
81611         (RUSAGE_CHILDREN): Remove statement about specifying a particular
81612         child on GNU/Hurd.
81613         * manual/setjmp.texi: Likewise.
81614         * manual/signal.texi: Likewise.
81615         * manual/startup.texi: Likewise.
81616         * manual/stdio.texi: Likewise.
81617         * manual/terminal.texi: Likewise.
81618         (ONLCR): Document as POSIX.
81619         (OXTABS): Document availability on GNU/Linux as XTABS.
81620         (ONOEOT): Document availability separately from other bits.
81621         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
81622         * manual/time.texi: Likewise.
81623         * manual/users.texi: Likewise.
81624         * INSTALL: Regenerated.
81625         * sysdeps/gnu/errlist.c: Regenerated.
81627         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
81628         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
81629         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
81630         puts.
81631         * configure: Regenerated.
81633 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
81635         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
81636         default includes instead of AC_HEADER_CHECK.
81637         * sysdeps/i386/configure: Regenerated.
81639         [BZ #10716]
81640         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
81641         * math/s_cacoshf.c (__cacoshf): Likewise.
81642         * math/s_cacoshl.c (__cacoshl): Likewise.
81643         * math/s_casinh.c (__casinh): Set signs of result from argument.
81644         * math/s_casinhf.c (__casinhf): Likewise.
81645         * math/s_casinhl.c (__casinhl): Likewise.
81646         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
81647         (casinh_test): Add more tests.
81648         * sysdeps/i386/fpu/libm-test-ulps: Update.
81649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81651 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
81653         * po/zh_TW.po: Update from translation team.
81655         * login/Makefile (distribute): Remove variable.
81656         * catgets/Makefile: Likewise.
81657         * mach/Makefile: Likewise.
81658         * malloc/Makefile: Likewise.
81659         * misc/Makefile: Likewise.
81660         * iconv/Makefile: Likewise.
81661         * nscd/Makefile: Likewise.
81662         * hurd/Makefile: Likewise.
81663         * manual/Makefile: Likewise.
81664         * locale/Makefile: Likewise.
81665         * intl/Makefile: Likewise.
81666         * conform/Makefile: Likewise.
81667         * nss/Makefile: Likewise.
81668         * time/Makefile: Likewise.
81669         * soft-fp/Makefile: Likewise.
81670         * dirent/Makefile: Likewise.
81671         * gmon/Makefile: Likewise.
81672         * po/Makefile: Likewise.
81673         * rt/Makefile: Likewise.
81674         * socket/Makefile: Likewise.
81675         * math/Makefile: Likewise.
81676         * signal/Makefile: Likewise.
81677         * debug/Makefile: Likewise.
81678         * elf/Makefile: Likewise.
81679         * timezone/Makefile: Likewise.
81680         * stdlib/Makefile: Likewise.
81681         * iconvdata/Makefile: Likewise.
81682         * sunrpc/Makefile: Likewise.
81683         * io/Makefile: Likewise.
81684         * argp/Makefile: Likewise.
81685         * inet/Makefile: Likewise.
81686         * hesiod/Makefile: Likewise.
81687         * grp/Makefile: Likewise.
81688         * csu/Makefile: Likewise.
81689         * wctype/Makefile: Likewise.
81690         * crypt/Makefile: Likewise.
81691         * libio/Makefile: Likewise.
81692         * string/Makefile: Likewise.
81693         * nis/Makefile: Likewise.
81694         * resolv/Makefile: Likewise.
81695         * stdio-common/Makefile: Likewise.
81696         * wcsmbs/Makefile: Likewise.
81697         * dlfcn/Makefile: Likewise.
81698         * posix/Makefile: Likewise.
81700         [BZ #6959]
81701         * timezone/Makefile: Don't install timezone files, just the programs
81702         and scripts.
81704 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
81706         * nss/databases.def: Add missing gshadow entry.
81708         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
81710 2012-03-06  Marek Polacek  <polacek@redhat.com>
81712         [BZ #13726]
81713         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
81714         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
81715         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
81716         * stdio-common/tst-long-dbl-fphex.c: New file.
81718 2012-03-06  David S. Miller  <davem@davemloft.net>
81720         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
81721         (set_obp_int): New function.
81722         (get_obp_int): New function.
81723         (__get_clockfreq_via_dev_openprom): Likewise.
81724         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
81725         Avoid unused variable warnings on 'val' and use builtin_expect.
81726         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
81727         __builtin_expect.
81728         (INLINE_CLONE_SYSCALL): Likewise.
81730 2012-03-05  David S. Miller  <davem@davemloft.net>
81732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81734 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
81736         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81738         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
81739         only for |x| >= 40.
81740         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81742 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
81744         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
81745         Replace gettimeofday with __vdso_gettimeofday.
81747         * sysdeps/unix/sysv/linux/x86_64/init-first.c
81748         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
81749         __vdso_clock_gettime and __vdso_getcpu.
81751         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
81752         time with __vdso_time.
81754 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81756         * manual/lang.texi (size_t): Note types to which size_t may be
81757         equivalent with the GNU C Library, but do not describe when
81758         differences between them are significant.
81760 2012-03-05  Andreas Jaeger  <aj@suse.de>
81762         * sysdeps/i386/fpu/libm-test-ulps: Update.
81764 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81766         [BZ #3976]
81767         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
81768         (__ieee754_pow): Save and restore rounding mode and use
81769         round-to-nearest for main computations.
81770         * math/libm-test.inc (pow_test_tonearest): New function.
81771         (pow_test_towardzero): Likewise.
81772         (pow_test_downward): Likewise.
81773         (pow_test_upward): Likewise.
81774         (main): Call the new functions.
81775         * sysdeps/i386/fpu/libm-test-ulps: Update.
81776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81778         [BZ #3976]
81779         * math/libm-test.inc (cosh_test_tonearest): New function.
81780         (cosh_test_towardzero): Likewise.
81781         (cosh_test_downward): Likewise.
81782         (cosh_test_upward): Likewise.
81783         (sinh_test_tonearest): Likewise.
81784         (sinh_test_towardzero): Likewise.
81785         (sinh_test_downward): Likewise.
81786         (sinh_test_upward): Likewise.
81787         (main): Call the new functions.
81788         * sysdeps/i386/fpu/libm-test-ulps: Update.
81789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81791 2012-03-05  Tom de Vries  <tom@codesourcery.com>
81793         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
81794         default stack guard is set in last bytes.
81795         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
81797 2012-03-05  Kees Cook  <keescook@chromium.org>
81799         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
81801         [BZ #13656]
81802         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
81803         possibly allocate from heap instead of stack.
81804         * stdio-common/bug-vfprintf-nargs.c: New file.
81805         * stdio-common/Makefile (tests): Add nargs overflow test.
81807 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
81809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81811 2012-03-03  Marek Polacek  <polacek@redhat.com>
81813         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
81814         * math/math_private.h: Likewise.
81815         * stdlib/tst-strtod.c: Likewise.
81816         * sysdeps/i386/i486/bits/atomic.h: Likewise.
81817         * sysdeps/x86_64/bits/atomic.h: Likewise.
81819 2012-03-02  David S. Miller  <davem@davemloft.net>
81821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
81822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
81823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
81824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
81825         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
81826         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
81827         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
81828         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
81830 2012-03-02  Roland McGrath  <roland@hack.frob.com>
81832         [BZ #13792]
81833         * manual/examples/README: New file, says the example source files
81834         can be used under GPL>=2.
81835         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
81836         line containing just "*/".
81837         * manual/examples/add.c: Add copyright header (GPL>=2).
81838         * manual/examples/argp-ex1.c: Likewise.
81839         * manual/examples/argp-ex2.c: Likewise.
81840         * manual/examples/argp-ex3.c: Likewise.
81841         * manual/examples/argp-ex4.c: Likewise.
81842         * manual/examples/atexit.c: Likewise.
81843         * manual/examples/db.c: Likewise.
81844         * manual/examples/dir.c: Likewise.
81845         * manual/examples/dir2.c: Likewise.
81846         * manual/examples/execinfo.c: Likewise.
81847         * manual/examples/filecli.c: Likewise.
81848         * manual/examples/filesrv.c: Likewise.
81849         * manual/examples/fmtmsgexpl.c: Likewise.
81850         * manual/examples/genpass.c: Likewise.
81851         * manual/examples/inetcli.c: Likewise.
81852         * manual/examples/inetsrv.c: Likewise.
81853         * manual/examples/isockad.c: Likewise.
81854         * manual/examples/longopt.c: Likewise.
81855         * manual/examples/memopen.c: Likewise.
81856         * manual/examples/memstrm.c: Likewise.
81857         * manual/examples/mkfsock.c: Likewise.
81858         * manual/examples/mkisock.c: Likewise.
81859         * manual/examples/mygetpass.c: Likewise.
81860         * manual/examples/pipe.c: Likewise.
81861         * manual/examples/popen.c: Likewise.
81862         * manual/examples/rprintf.c: Likewise.
81863         * manual/examples/search.c: Likewise.
81864         * manual/examples/select.c: Likewise.
81865         * manual/examples/setjmp.c: Likewise.
81866         * manual/examples/sigh1.c: Likewise.
81867         * manual/examples/sigusr.c: Likewise.
81868         * manual/examples/stpcpy.c: Likewise.
81869         * manual/examples/strdupa.c: Likewise.
81870         * manual/examples/strftim.c: Likewise.
81871         * manual/examples/strncat.c: Likewise.
81872         * manual/examples/subopt.c: Likewise.
81873         * manual/examples/swapcontext.c: Likewise.
81874         * manual/examples/termios.c: Likewise.
81875         * manual/examples/testopt.c: Likewise.
81876         * manual/examples/testpass.c: Likewise.
81877         * manual/examples/timeval_subtract.c: Likewise.
81879         [BZ #13792]
81880         * manual/time.texi (Elapsed Time): Move timeval_subtract example
81881         function to ...
81882         * manual/timeval_subtract.c.texi: ... here, new file.
81884 2012-03-02  David S. Miller  <davem@davemloft.net>
81886         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
81888 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
81890         [BZ #3976]
81891         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
81892         (__sin): Save and restore rounding mode and use round-to-nearest
81893         for all computations.
81894         (__cos): Save and restore rounding mode and use round-to-nearest
81895         for all computations.
81896         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
81897         <fenv.h>.
81898         (tan): Save and restore rounding mode and use round-to-nearest for
81899         all computations.
81900         * math/libm-test.inc (cos_test_tonearest): New function.
81901         (cos_test_towardzero): Likewise.
81902         (cos_test_downward): Likewise.
81903         (cos_test_upward): Likewise.
81904         (sin_test_tonearest): Likewise.
81905         (sin_test_towardzero): Likewise.
81906         (sin_test_downward): Likewise.
81907         (sin_test_upward): Likewise.
81908         (tan_test_tonearest): Likewise.
81909         (tan_test_towardzero): Likewise.
81910         (tan_test_downward): Likewise.
81911         (tan_test_upward): Likewise.
81912         (main): Call the new functions.
81913         * sysdeps/i386/fpu/libm-test-ulps: Update.
81914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81916         [BZ #10135]
81917         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
81918         small n, then large n, before computing and testing k+n.
81919         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
81920         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
81921         Likewise.
81922         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
81923         Likewise.
81924         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
81925         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
81926         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
81927         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
81928         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
81929         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
81930         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
81931         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
81932         * math/libm-test.inc (scalbn_test): Add more tests.
81933         (scalbln_test): Likewise.
81935         * manual/filesys.texi (mode_t): Describe constraints on size and
81936         signedness, not exact equivalence to a particular type.
81937         (ino_t): Likewise.
81938         (ino64_t): Likewise.
81939         (dev_t): Likewise.
81940         (nlink_t): Likewise.
81941         (blkcnt_t): Likewise.
81942         (blkcnt64_t): Likewise.
81943         * manual/llio.texi (off_t): Likewise.
81945         [BZ #3976]
81946         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
81947         (__ieee754_exp): Save and restore rounding mode and use
81948         round-to-nearest for all computations.
81949         * math/libm-test.inc (exp_test_tonearest): New function.
81950         (exp_test_towardzero): Likewise.
81951         (exp_test_downward): Likewise.
81952         (exp_test_upward): Likewise.
81953         (main): Call the new functions.
81954         * sysdeps/i386/fpu/libm-test-ulps: Update.
81955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81957 2012-03-01  Chris Demetriou  <cgd@google.com>
81959         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
81960         have predictable order.
81962 2012-03-01  David S. Miller  <davem@davemloft.net>
81964         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
81966         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
81967         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
81968         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
81969         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
81971         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
81972         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
81973         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
81974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
81975         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
81976         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
81977         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
81978         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
81979         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
81981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81983         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
81984         * sysdeps/sparc/fpu/libm-test-ulps: to here.
81985         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
81987         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
81988         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81989         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
81990         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
81991         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
81992         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
81993         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
81994         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81995         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
81996         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
81997         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
81998         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81999         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
82000         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
82001         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
82002         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82003         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
82004         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
82005         * sysdeps/sparc/elf/configure: Regenerated.
82007 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
82009         * configure.in (AS, LD): Require binutils 2.20 or later.
82010         * configure: Regenerated.
82011         * manual/install.texi (Tools for Compilation): Give binutils 2.20
82012         as required minimum version.
82013         * INSTALL: Regenerated.
82015         [BZ #2541]
82016         [BZ #4108]
82017         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
82018         before squaring exponent.
82019         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
82020         bottom long double and 27 bits of top long double before squaring
82021         exponent.
82022         * math/libm-test.inc (erfc_test): Add more tests.
82023         * sysdeps/i386/fpu/libm-test-ulps: Update.
82024         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
82025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82027 2012-03-01  Kai Tietz  <ktietz@redhat.com>
82029         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
82030         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
82031         containing bit-fields.
82032         * soft-fp/extended.h (_FP_UNION_E): Likewise.
82033         * soft-fp/single.h (_FP_UNION_S): Likewise.
82034         * soft-fp/double.h (_FP_UNION_D): Likewise.
82036 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
82038         [BZ #13786]
82039         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
82040         not include ../strcmp.S.
82041         [USE_AS_STRNCASECMP_L]: Likewise.
82042         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
82043         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
82044         * sysdeps/i386/i686/multiarch/strncase_l-c.c
82045         (__strncasecmp_l_ia32): Define as alias to
82046         __strncasecmp_l_nonascii.
82048         [BZ #5794]
82049         * math/libm-test.inc (expm1_test): Add test for bug 5794.
82050         * sysdeps/i386/fpu/libm-test-ulps: Update.
82051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82053         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
82054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82056 2012-02-29  Jeff Law  <law@redhat.com>
82058         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
82059         out of bounds read.
82061 2012-02-29  Marek Polacek  <polacek@redhat.com>
82063         [BZ #13706]
82064         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
82065         * elf/Makefile: Add rules to run tst-unused-dep.out.
82067 2012-02-28  David S. Miller  <davem@davemloft.net>
82069         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
82070         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
82071         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
82072         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
82073         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
82074         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
82076 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
82078         * math/libm-test.inc (llround_test): Move one test from
82079         lround_test.  Use TEST_f_L in moved test.
82080         (lround_test): Move misplaced test to llround_test.  Add testcase
82081         from bug 2561.
82083 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
82085         * sysdeps/x86_64/fpu/e_expf.S: New file.
82086         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
82088 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
82090         [BZ #13637]
82091         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
82092         of remain_len that may cause incomplete multi-byte character and
82093         false match.
82094         * posix/bug-regex33.c: New file.
82095         * posix/Makefile (tests): Add bug-regex33.
82097 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
82099         * manual/macros.texi: New file.
82100         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
82101         * manual/libc.texinfo: Include macros.texi.
82102         * manual/creatute.texi: Likewise.
82103         * manual/install.texi: Likewise.
82104         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
82105         @glibcadj{} in references to the GNU C Library.
82106         * manual/charset.texi: Likewise.
82107         * manual/conf.texi: Likewise.
82108         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
82109         when not using those macros.
82110         * manual/creature.texi: Likewise.
82111         * manual/crypt.texi: Likewise.
82112         * manual/errno.texi: Likewise.
82113         * manual/filesys.texi: Likewise.
82114         * manual/header.texi: Likewise.
82115         * manual/install.texi: Likewise.
82116         * manual/intro.texi: Likewise.
82117         * manual/io.texi: Likewise.
82118         * manual/job.texi: Likewise.
82119         * manual/lang.texi: Likewise.
82120         * manual/libc.texiinfo: Likewise.
82121         * manual/llio.texi: Likewise.
82122         * manual/locale.texi: Likewise.
82123         * manual/maint.texi: Likewise.
82124         * manual/math.texi: Likewise.
82125         * manual/memory.texi: Likewise.
82126         * manual/message.texi: Likewise.
82127         * manual/nss.texi: Likewise.
82128         * manual/pattern.texi: Likewise.
82129         * manual/process.texi: Likewise.
82130         * manual/resource.texi: Likewise.
82131         * manual/search.texi: Likewise.
82132         * manual/setjmp.texi: Likewise.
82133         * manual/signal.texi: Likewise.
82134         * manual/socket.texi: Likewise.
82135         * manual/startup.texi: Likewise.
82136         * manual/stdio.texi: Likewise.
82137         * manual/string.texi: Likewise.
82138         * manual/sysinfo.texi: Likewise.
82139         * manual/syslog.texi: Likewise.
82140         * manual/terminal.texi: Likewise.
82141         * manual/time.texi: Likewise.
82142         * manual/users.texi: Likewise.
82143         * INSTALL: Regenerated.
82144         * NOTES: Regenerated.
82145         * sysdeps/gnu/errlist.c: Regenerated.
82147 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
82149         * include/dirent.h: Include <dirstream.h> before
82150         <dirent/dirent.h>.
82152 2012-02-28  David S. Miller  <davem@davemloft.net>
82154         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
82155         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
82156         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
82157         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
82159 2012-02-27  David S. Miller  <davem@davemloft.net>
82161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
82162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
82163         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
82164         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
82166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
82167         frame pointer instead of stack pointer relative arg slot.
82168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
82169         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
82170         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
82172 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
82174         [BZ #3992]
82175         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
82177 2012-02-27  David S. Miller  <davem@davemloft.net>
82179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
82180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
82181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
82182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
82183         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
82184         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
82185         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
82186         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
82188 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
82190         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
82191         later.  Allow versions 5-9.
82192         * configure: Regenerated.
82193         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
82194         required minimum version and 4.6 as recommended version.  Do not
82195         mention bugs in GCC 2.7 and 2.8.
82196         * INSTALL: Regenerated.
82198 2012-02-27  David S. Miller  <davem@davemloft.net>
82200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
82201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
82202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
82203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
82204         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
82205         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
82206         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
82207         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
82209         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
82210         manipulate bits before adding and subtracting TWO112[sx].
82211         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
82213 2012-02-27  Roland McGrath  <roland@hack.frob.com>
82215         [BZ #13775]
82216         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
82217         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
82218         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
82219         being in POSIX, because they are in 1003.1-2008.
82221         * rt/tst-aio.c: Include <fcntl.h>.
82222         * rt/tst-aio7.c: Likewise.
82223         * rt/tst-aio64.c: Likewise.
82225         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
82227 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
82229         * manual/install.texi (--with-headers): Describe headers as
82230         interface headers, not private headers.
82231         (Specific advice for GNU/Linux systems): Describe use of headers
82232         from "make headers_install", not private headers from older
82233         kernels.
82234         * INSTALL: Regenerated.
82235         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
82236         Change to 2.6.19.
82237         * sysdeps/unix/sysv/linux/configure: Regenerated.
82239         * manual/llio.texi (fclean): Remove documentation.
82241         * manual/Makefile (libc-texi-generated): New variable.  Include
82242         version.texi.
82243         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
82244         $(libc-texi-generated), not duplicated list of files.
82245         (version.texi, stamp-version): New rules.
82246         (realclean): Remove $(libc-texi-generated), not individual files
82247         from that list.  Do not remove dir-add.texinfo.
82248         * manual/libc.texinfo: Comment out uses of edition numbers and
82249         references to printed manual.  Remove last-updated dates.
82250         (EDITION): Comment out.
82251         (ISBN): Likewise.
82252         (VERSION, UPDATED): Remove.
82253         (version.texi): Include.
82255 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
82257         * sysdeps/posix/spawni.c: Include <signal.h>.
82258         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
82259         * sysdeps/pthread/aio_fsync.c: Likewise.
82261 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
82263         * conform/Makefile (tests): Run only when not cross-compiling and
82264         when fast-check is not defined.
82266         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
82267         * conform/data/limits.h-data: Fixes for POSIX2008.
82268         * conform/run-conformtest.sh: Run all tests.
82269         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
82270         headers.
82271         * include/bits/dlfcn.h: Likewise.
82272         * include/langinfo.h: Likewise.
82273         * include/monetary.h: Likewise.
82274         * include/sys/poll.h: Likewise.
82276         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
82277         for __USE_GNU.
82278         * posix/spawn.h: Define __need_sigset_t.
82279         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
82280         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
82281         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
82282         to get sigevent_t only.
82283         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
82284         only for __USE_GNU.
82285         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82286         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
82287         process_vm_writev only for __USE_GNU.
82288         * termios/termios.h: Declare tcgetsid also for POSIX2008.
82290         * conform/Makefile: For now ignore errors from run-conformtest.
82291         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
82292         POSIX to avoid namespace pollution.  Don't prepend headers.
82293         * conform/data/aio.h-data: Fixes for POSIX testing.
82294         * conform/data/fcntl.h-data: Likewise.
82295         * conform/data/glob.h-data: Likewise.
82296         * conform/data/grp.h-data: Likewise.
82297         * conform/data/pthread.h-data: Likewise.
82298         * conform/data/pwd.h-data: Likewise.
82299         * conform/data/signal.h-data: Likewise.
82300         * conform/data/spawn.h-data: Likewise.
82301         * conform/data/stdio.h-data: Likewise.
82302         * conform/data/stdlib.h-data: Likewise.
82303         * conform/data/stropts.h-data: Likewise.
82304         * conform/data/sys/mman.h-data: Likewise.
82305         * conform/data/sys/stat.h-data: Likewise.
82306         * conform/data/sys/types.h-data: Likewise.
82307         * conform/data/sys/wait.h-data: Likewise.
82308         * conform/data/time.h-data: Likewise.
82309         * conform/data/unistd.h-data: Likewise.
82310         * conform/data/utime.h-data: Likewise.
82312         * io/sys/stat.h: fchmod was always in POSIX.
82313         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
82314         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
82315         * rt/aio.h: Define __need_timespec before including <time.h>.
82316         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
82317         struct.  Add forward declaration of pthread_attr_t and use it in
82318         sigevent.
82319         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
82320         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
82321         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
82322         always remove CLK_TCK definition.
82324 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
82326         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
82328 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
82330         * conform/run-conformtest.sh: New file.
82331         * conform/Makefile: Run run-conformtest for tests.
82332         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
82333         support.
82335         * conform/data/uchar.h-data: New file.
82336         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
82337         * conform/data/arpa/inet.h-data: Likewise.
82338         * conform/data/assert.h-data: Likewise.
82339         * conform/data/complex.h-data: Likewise.
82340         * conform/data/cpio.h-data: Likewise.
82341         * conform/data/ctype.h-data: Likewise.
82342         * conform/data/dirent.h-data: Likewise.
82343         * conform/data/dlfcn.h-data: Likewise.
82344         * conform/data/errno.h-data: Likewise.
82345         * conform/data/fcntl.h-data: Likewise.
82346         * conform/data/float.h-data: Likewise.
82347         * conform/data/fmtmsg.h-data: Likewise.
82348         * conform/data/fnmatch.h-data: Likewise.
82349         * conform/data/ftw.h-data: Likewise.
82350         * conform/data/glob.h-data: Likewise.
82351         * conform/data/grp.h-data: Likewise.
82352         * conform/data/iconv.h-data: Likewise.
82353         * conform/data/inttypes.h-data: Likewise.
82354         * conform/data/langinfo.h-data: Likewise.
82355         * conform/data/libgen.h-data: Likewise.
82356         * conform/data/limits.h-data: Likewise.
82357         * conform/data/locale.h-data: Likewise.
82358         * conform/data/math.h-data: Likewise.
82359         * conform/data/monetary.h-data: Likewise.
82360         * conform/data/mqueue.h-data: Likewise.
82361         * conform/data/ndbm.h-data: Likewise.
82362         * conform/data/net/if.h-data: Likewise.
82363         * conform/data/netdb.h-data: Likewise.
82364         * conform/data/netinet/in.h-data: Likewise.
82365         * conform/data/nl_types.h-data: Likewise.
82366         * conform/data/poll.h-data: Likewise.
82367         * conform/data/pthread.h-data: Likewise.
82368         * conform/data/pwd.h-data: Likewise.
82369         * conform/data/regex.h-data: Likewise.
82370         * conform/data/sched.h-data: Likewise.
82371         * conform/data/search.h-data: Likewise.
82372         * conform/data/semaphore.h-data: Likewise.
82373         * conform/data/setjmp.h-data: Likewise.
82374         * conform/data/signal.h-data: Likewise.
82375         * conform/data/spawn.h-data: Likewise.
82376         * conform/data/stdarg.h-data: Likewise.
82377         * conform/data/stdio.h-data: Likewise.
82378         * conform/data/stdlib.h-data: Likewise.
82379         * conform/data/string.h-data: Likewise.
82380         * conform/data/strings.h-data: Likewise.
82381         * conform/data/stropts.h-data: Likewise.
82382         * conform/data/sys/ipc.h-data: Likewise.
82383         * conform/data/sys/mman.h-data: Likewise.
82384         * conform/data/sys/msg.h-data: Likewise.
82385         * conform/data/sys/resource.h-data: Likewise.
82386         * conform/data/sys/select.h-data: Likewise.
82387         * conform/data/sys/sem.h-data: Likewise.
82388         * conform/data/sys/shm.h-data: Likewise.
82389         * conform/data/sys/socket.h-data: Likewise.
82390         * conform/data/sys/stat.h-data: Likewise.
82391         * conform/data/sys/statvfs.h-data: Likewise.
82392         * conform/data/sys/time.h-data: Likewise.
82393         * conform/data/sys/timeb.h-data: Likewise.
82394         * conform/data/sys/times.h-data: Likewise.
82395         * conform/data/sys/types.h-data: Likewise.
82396         * conform/data/sys/uio.h-data: Likewise.
82397         * conform/data/sys/un.h-data: Likewise.
82398         * conform/data/sys/utsname.h-data: Likewise.
82399         * conform/data/sys/wait.h-data: Likewise.
82400         * conform/data/syslog.h-data: Likewise.
82401         * conform/data/tar.h-data: Likewise.
82402         * conform/data/termios.h-data: Likewise.
82403         * conform/data/utime.h-data: Likewise.
82404         * conform/data/utmpx.h-data: Likewise.
82405         * conform/data/varargs.h-data: Likewise.
82406         * conform/data/wchar.h-data: Likewise.
82407         * conform/data/wctype.h-data: Likewise.
82408         * conform/data/wordexp.h-data: Likewise.
82410         * include/stropts.h: New file.
82411         * include/uchar.h: New file.
82412         * include/aio.h: Changes to allow conformtest.pl to use the headers.
82413         * include/assert.h: Likewise.
82414         * include/ctype.h: Likewise.
82415         * include/dirent.h: Likewise.
82416         * include/dlfcn.h: Likewise.
82417         * include/fcntl.h: Likewise.
82418         * include/fnmatch.h: Likewise.
82419         * include/glob.h: Likewise.
82420         * include/grp.h: Likewise.
82421         * include/libio.h: Likewise.
82422         * include/locale.h: Likewise.
82423         * include/math.h: Likewise.
82424         * include/net/if.h: Likewise.
82425         * include/netdb.h: Likewise.
82426         * include/netinet/in.h: Likewise.
82427         * include/pthread.h: Likewise.
82428         * include/pwd.h: Likewise.
82429         * include/regex.h: Likewise.
82430         * include/sched.h: Likewise.
82431         * include/search.h: Likewise.
82432         * include/setjmp.h: Likewise.
82433         * include/signal.h: Likewise.
82434         * include/stdio.h: Likewise.
82435         * include/stdlib.h: Likewise.
82436         * include/string.h: Likewise.
82437         * include/sys/cdefs.h: Likewise.
82438         * include/sys/mman.h: Likewise.
82439         * include/sys/msg.h: Likewise.
82440         * include/sys/resource.h: Likewise.
82441         * include/sys/select.h: Likewise.
82442         * include/sys/socket.h: Likewise.
82443         * include/sys/stat.h: Likewise.
82444         * include/sys/statvfs.h: Likewise.
82445         * include/sys/time.h: Likewise.
82446         * include/sys/times.h: Likewise.
82447         * include/sys/uio.h: Likewise.
82448         * include/sys/utsname.h: Likewise.
82449         * include/sys/wait.h: Likewise.
82450         * include/termios.h: Likewise.
82451         * include/time.h: Likewise.
82452         * include/ulimit.h: Likewise.
82453         * include/unistd.h: Likewise.
82454         * include/utime.h: Likewise.
82455         * include/wchar.h: Likewise.
82456         * include/wctype.h: Likewise.
82457         * include/wordexp.h: Likewise.
82459         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
82461         * time/time.h: TIME_UTC must be a macro.
82462         Make timespec_get available for ISO C11 only as well.
82464 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
82466         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
82467         Reported by Peng Haitao <penght@cn.fujitsu.com>.
82469 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82471         * configure.in: Use -o not -a in test for unsupported multi-arch.
82473 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82475         * manual/texinfo.tex: Update to version 2012-01-19.16.
82477 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82479         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
82481 2012-02-24  Roland McGrath  <roland@hack.frob.com>
82483         [BZ #13738]
82484         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
82485         * manual/fdl-1.3.texi: New file.
82486         * manual/fdl-1.1.texi: File removed.
82488         [BZ #13738]
82489         * manual/libc.texinfo (FDL_VERSION): New @set.
82490         Use it for mention of FDL in cover text.
82491         (Documentation License): Use it in @include file name.
82493 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82494             Roland McGrath  <roland@hack.frob.com>
82496         [BZ #5461]
82497         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
82498         (not LONG_LONG_MAX and LONG_LONG_MIN.
82499         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
82500         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
82501         name.
82502         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
82504 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82506         [BZ #2547]
82507         [BZ #11365]
82508         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
82509         manipulate bits before adding and subtracting TWO23[sx].
82510         * math/libm-test.inc (nearbyint_test): Add more tests.
82512 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82514         [BZ #2548]
82515         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
82516         bits before adding and subtracting TWO23[sx].
82517         * math/libm-test.inc (rint_test): Add more tests.
82518         (rint_test_tonearest): Likewise.
82519         (rint_test_towardzero): Likewise.
82520         (rint_test_downward): Likewise.
82521         (rint_test_upward: Likewise.
82523 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82525         [BZ #10110]
82526         * include/stdc-predef.h: New file.  Extracted from features.h.
82527         * include/features.h: Include stdc-predef.h.
82528         * Makefile (headers): Add stdc-predef.h.
82529         * CONFORMANCE (Compiler limitations): Update.
82531 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82533         * manual/libc.texinfo (VERSION, UPDATED): Revert.
82535 2012-02-21  David S. Miller  <davem@davemloft.net>
82537         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
82538         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82540 2012-02-20  David S. Miller  <davem@davemloft.net>
82542         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
82543         using a normal save/restore sequence, rather than allocating a
82544         dummy stack frame just to store a frame pointer and restore.
82545         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82547 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82549         * manual/install.texi: Fix stray word in line-wrapped comment.
82551 2012-02-20  David S. Miller  <davem@davemloft.net>
82553         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
82554         both binutils and gcc support GOTDATA.
82556         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
82557         "rd %pc" in the PIC register setup sequences.
82559         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
82560         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
82561         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
82562         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
82563         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
82564         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
82565         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82566         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82567         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
82568         (SYSCALL_ERROR_HANDLER): Likewise.
82569         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
82570         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
82571         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
82572         (SYSCALL_ERROR_HANDLER): Likewise.
82574         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
82575         (HAVE_GCC_GOTDATA): New.
82576         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
82577         relocation support in both binutils and gcc.
82578         * sysdeps/sparc/elf/configure: Regenerate.
82580         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
82581         * sysdeps/sparc/sparc32/elf/configure: Delete.
82582         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
82583         * sysdeps/sparc/sparc64/elf/configure: Delete.
82584         * sysdeps/sparc/elf/configure.in: New file.
82585         * sysdeps/sparc/elf/configure: Generate.
82587         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
82588         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
82589         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
82590         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
82591         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
82593 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82595         * manual/install.texi: Do not mention specific glibc version
82596         numbers.
82597         * manual/libc.texinfo (VERSION, UPDATED): Update.
82598         (@copying): Use @copyright{} and range of years.
82600 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82602         [BZ #13695]
82603         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
82604         [crti.S not in sysdirs] (generated): Do not append.
82605         [crti.S not in sysdirs] (omit-deps): Likewise.
82606         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
82607         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
82608         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
82609         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
82610         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
82611         Likewise.
82612         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
82613         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
82614         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
82615         * csu/defs.awk: Remove file.
82616         * sysdeps/generic/initfini.c: Likewise.
82617         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
82618         variable.
82619         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
82620         Likewise.
82622 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82624         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
82625         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
82626         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
82627         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
82628         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82629         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
82630         <bits/epoll.h>.
82631         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
82632         (__EPOLL_PACKED): Define to empty if not defined by
82633         <bits/epoll.h>.
82634         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
82635         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82636         bits/epoll.h.
82638 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82640         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
82641         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
82642         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
82643         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
82644         <bits/timerfd.h>.
82645         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
82646         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82647         bits/timerfd.h.
82649 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82651         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
82652         in C locale.
82653         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
82654         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
82655         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
82656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82658 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
82660         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82661         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82663 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
82665         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
82666         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
82667         defined.
82668         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
82669         Likewise.
82670         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
82671         entry for 2.16.
82673 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
82675         * math/w_acos.c: Use non-signaling floating-point comparisons.
82676         * math/w_acosf.c: Likewise.
82677         * math/w_acosh.c: Likewise.
82678         * math/w_acoshf.c: Likewise.
82679         * math/w_acoshl.c: Likewise.
82680         * math/w_acosl.c: Likewise.
82681         * math/w_asin.c: Likewise.
82682         * math/w_asinf.c: Likewise.
82683         * math/w_asinl.c: Likewise.
82684         * math/w_atanh.c: Likewise.
82685         * math/w_atanhf.c: Likewise.
82686         * math/w_atanhl.c: Likewise.
82687         * math/w_exp2.c: Likewise.
82688         * math/w_exp2f.c: Likewise.
82689         * math/w_exp2l.c: Likewise.
82690         * math/w_j0.c: Likewise.
82691         * math/w_j0f.c: Likewise.
82692         * math/w_j0l.c: Likewise.
82693         * math/w_j1.c: Likewise.
82694         * math/w_j1f.c: Likewise.
82695         * math/w_j1l.c: Likewise.
82696         * math/w_jn.c: Likewise.
82697         * math/w_jnf.c: Likewise.
82698         * math/w_log.c: Likewise.
82699         * math/w_log10.c: Likewise.
82700         * math/w_log10f.c: Likewise.
82701         * math/w_log10l.c: Likewise.
82702         * math/w_log2.c: Likewise.
82703         * math/w_log2f.c: Likewise.
82704         * math/w_log2l.c: Likewise.
82705         * math/w_logf.c: Likewise.
82706         * math/w_logl.c: Likewise.
82707         * math/w_sqrt.c: Likewise.
82708         * math/w_sqrtf.c: Likewise.
82709         * math/w_sqrtl.c: Likewise.
82710         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82711         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
82712         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82713         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
82714         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
82716 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82718         [BZ #9739]
82719         * manual/string.texi (strnlen): Use correct parameter name in
82720         equivalent expression.
82722 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82724         [BZ #11174]
82725         * manual/users.texi (seteuid): Consistently use neweuid for
82726         argument name.
82728 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82730         [BZ #13704]
82731         * manual/nss.texi (Services in the NSS configuration): Correct
82732         list of services in example configuration file.
82734 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
82736         [BZ #11322]
82737         * manual/arith.texi: Remove statements about negative zero
82738         behaving identically to zero.
82740 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82742         [BZ #5993]
82743         * manual/install.texi: Do not document upgrading from libc5.
82745 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82747         [BZ #4596]
82748         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
82750 2012-02-18  David S. Miller  <davem@davemloft.net>
82752         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
82753         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
82754         %o7 across the call.
82755         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
82756         instead.
82757         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
82758         SETUP_PIC_REG_LEAF.
82759         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82760         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
82761         * sysdeps/sparc/crtn.S: Likewise.
82763 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
82765         * aout/Makefile: Remove.
82767 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
82769         [BZ #13058]
82770         * manual/examples/argp-ex1.c (main): Format definition in GNU
82771         style.
82772         * manual/examples/argp-ex2.c (main): Likewise.
82773         * manual/examples/argp-ex3.c (main): Likewise.
82774         * manual/examples/argp-ex4.c (main): Likewise.
82775         * manual/examples/longopt.c (main): Use new-style prototype
82776         definition.
82777         * manual/examples/strncat.c (main): Specify return type and use
82778         (void) for arguments.
82779         * manual/examples/subopt.c (main): Use char **argv argument.
82781 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82783         [BZ #5077]
82784         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
82785         rounding modes.
82787 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
82789         [BZ #6907]
82790         * manual/string.texi (strchr): Change when strchrnul is
82791         recommended.
82793 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
82795         [BZ #174]
82796         * manual/locale.texi (setlocale): Document LOCPATH.
82798 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82800         [BZ #10210]
82801         * manual/process.texi (execle): Move @dots{} before last argument.
82803 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
82805         [BZ #12047]
82806         * manual/charset.texi (Generic Charset Conversion): Fix typo
82807         (LC_TYPE -> LC_CTYPE).
82809 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
82811         [BZ #5805]
82812         * manual/arith.texi (scalbn): Use @var{} on parameter names.
82813         (scalbnf): Likewise.
82814         (scalbnl): Likewise.
82815         (scalbln): Likewise.
82816         (scalblnf): Likewise.
82817         (scalblnl): Likewise.
82818         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
82819         (vwarnx): Likewise.
82820         (verr): Likewise.
82821         (verrx): Likewise.
82822         * manual/filesys.texi (telldir): Use braces around return type.
82823         * manual/llio.texi (mmap): Add space after comma.
82824         (mmap64): Likewise.
82825         * manual/math.texi (jn): Use @var{} on parameter names.
82826         (jnf): Likewise.
82827         (jnl): Likewise.
82828         (yn): Likewise.
82829         (ynf): Likewise.
82830         (ynl): Likewise.
82831         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
82832         line.
82833         * manual/resource.texi (ulimit): Use @dots{} instead of literal
82834         "...".
82835         (sched_get_priority_min): Remove semicolon on @deftypefun line.
82836         (sched_get_priority_max): Likewise.
82837         * manual/signal.texi (sigvec): Add space after comma.
82838         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
82839         names.
82840         (if_indextoname): Likewise.
82841         (if_freenameindex): Likewise.
82842         (sendto): Use ',' instead of '.' in prototype.
82843         * manual/startup.texi (syscall): Use @dots{} instead of literal
82844         "...".
82845         * manual/stdio.texi (__fpending): Separate initial words of
82846         paragraph from @deftypefun line.
82847         * manual/syslog.texi (syslog): Use @dots{} instead of literal
82848         "...".
82849         (vsyslog): Use @var{} on parameter names.
82850         * manual/terminal.texi (stty): Use @var{} on parameter names.
82851         * manual/users.texi (getutmp): Use @var{} on parameter names.
82852         (getutmpx): Likewise.
82854 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82856         [BZ #6884]
82857         * manual/stdio.texi (fopen): Fix typos in description of
82858         ",ccs=STRING".
82860 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
82862         [BZ #4026]
82863         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
82864         get clock_id definition.
82866 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
82868         [BZ #4822]
82869         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
82870         (madvise): Cast every argument to void on its own.
82872 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82874         [BZ #9902]
82875         * manual/startup.texi (Exit Status): Fix typo.
82877 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82879         [BZ #10140]
82880         * manual/examples/argp-ex1.c: Include <stdlib.h>.
82881         * manual/examples/argp-ex2.c: Likewise.
82882         * manual/examples/argp-ex3.c: Likewise.
82884 2012-02-16  Richard Henderson  <rth@redhat.com>
82886         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
82887         * sysdeps/s390/s390-32/initfini.c: Remove.
82888         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
82889         * sysdeps/s390/s390-64/initfini.c: Remove.
82891 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
82893         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
82894         compiler output for sysdeps/generic/initfini.c.
82895         * sysdeps/sh/elf/initfini.c: Remove file.
82897 2012-02-16  David S. Miller  <davem@davemloft.net>
82899         [BZ #11494]
82900         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
82902         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
82903         * sysdeps/sparc/crti.S: New file.
82904         * sysdeps/sparc/crtn.S: New file.
82905         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
82906         * sysdeps/sparc/sparc64/Makefile: Likewise.
82908 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
82910         [BZ #3335]
82911         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
82913 2012-02-15  Roland McGrath  <roland@hack.frob.com>
82915         [BZ #4822]
82916         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
82918         * mach/devstream.c (cookie_io_functions_t): Macro removed.
82919         (write, read, close): Likewise.
82920         Patch by Aurelien Jarno <aurelien@aurel32.net>.
82922 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
82924         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
82925         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
82926         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
82927         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
82928         <bits/signalfd.h>.
82929         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
82930         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82931         bits/signalfd.h.
82933 2012-02-14  Marek Polacek  <polacek@redhat.com>
82935         * sysdeps/x86_64/crti.S: New file.
82936         * sysdeps/x86_64/crtn.S: New file.
82937         * sysdeps/x86_64/elf/initfini.c: Remove file.
82939 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
82941         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
82942         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
82943         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
82944         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
82945         <bits/inotify.h>.
82946         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
82947         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82948         bits/inotify.h.
82950 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
82952         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
82953         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
82954         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
82955         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
82956         <bits/eventfd.h>.
82957         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
82958         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82959         bits/eventfd.h.
82961 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
82963         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
82964         __feraiseexcept instead of feraiseexcept.
82966         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
82967         nanosleep invocations.
82968         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
82969         strings, and add error checking for a nanosleep invocations.
82971 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
82973         Replace FSF snail mail address with URLs, as per GNU coding standards.
82974         Most of the snail mail addresses were wrong anyway, and omitting
82975         them makes the source code easier to maintain.  Almost all of the
82976         changes are to license notices and to locale LC_IDENTIFICATION
82977         addresses, except for this one:
82978         * manual/libc.texinfo: In "Published by", give the FSF's URL,
82979         not its snail mail address.
82981 2012-02-09  Richard Henderson  <rth@twiddle.net>
82983         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
82984         of kernel-features.h.
82986         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
82988 2012-02-08  Marek Polacek  <polacek@redhat.com>
82990         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
82991         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
82992         * sysdeps/gnu/_G_config.h: Likewise.
82993         * sysdeps/generic/_G_config.h: Likewise.
82995 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
82997         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
82998         tests.
82999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83001         * sysdeps/powerpc/powerpc32/crti.S: New file.
83002         * sysdeps/powerpc/powerpc32/crtn.S: New file.
83003         * sysdeps/powerpc/powerpc64/crti.S: New file.
83004         * sysdeps/powerpc/powerpc64/crtn.S: New file.
83006         * Makeconfig (have-initfini): Don't set.
83007         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
83008         * configure.in (nopic_initfini): Don't substitute.
83009         * config.h.in (HAVE_INITFINI): Don't #undef.
83010         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
83011         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
83013 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
83015         Support crti.S and crtn.S provided directly by architectures.
83016         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
83017         [crti.S in sysdirs] (omit-deps): Likewise.
83018         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
83019         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
83020         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
83021         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
83022         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
83023         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
83024         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
83025         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
83026         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
83027         compiler output for sysdeps/generic/initfini.c.
83028         * sysdeps/i386/elf/Makefile: Remove file.
83029         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
83031 2012-02-07  Marek Polacek  <polacek@redhat.com>
83033         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
83034         * sysdeps/gnu/_G_config.h: Likewise.
83035         * sysdeps/mach/hurd/_G_config.h: Likewise.
83037 2012-02-07  Marek Polacek  <polacek@redhat.com>
83039         * math/Makefile (tests): Add tst-CMPLX2.
83040         * math/tst-CMPLX2.c: New file.
83042 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
83044         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83046         * math/libm-test.inc (jn_test): Add missing L suffix.
83048 2012-02-06  Marek Polacek  <polacek@redhat.com>
83050         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
83051         * sysdeps/i386/fpu/e_powf.S: Likewise.
83052         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
83053         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
83054         * sysdeps/i386/fpu/e_acosh.S: Likewise.
83055         * sysdeps/i386/fpu/e_pow.S: Likewise.
83056         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
83057         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
83058         * sysdeps/i386/fpu/s_expm1.S: Likewise.
83059         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
83060         * sysdeps/i386/fpu/e_log2.S: Likewise.
83061         * sysdeps/i386/fpu/e_log2l.S: Likewise.
83062         * sysdeps/i386/fpu/e_scalb.S: Likewise.
83063         * sysdeps/i386/fpu/e_powl.S: Likewise.
83064         * sysdeps/i386/fpu/s_log1p.S: Likewise.
83065         * sysdeps/i386/fpu/e_log10f.S: Likewise.
83066         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
83067         * sysdeps/i386/fpu/e_logl.S: Likewise.
83068         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
83069         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
83070         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
83071         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
83072         * sysdeps/i386/fpu/e_log2f.S: Likewise.
83073         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
83074         * sysdeps/i386/fpu/e_log.S: Likewise.
83075         * sysdeps/i386/fpu/s_cexp.S: Likewise.
83076         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
83077         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
83078         * sysdeps/i386/fpu/e_logf.S: Likewise.
83079         * sysdeps/i386/fpu/e_log10l.S: Likewise.
83080         * sysdeps/i386/fpu/e_atanh.S: Likewise.
83081         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
83082         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
83083         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
83084         * sysdeps/i386/fpu/e_log10.S: Likewise.
83085         * sysdeps/i386/fpu/s_frexp.S: Likewise.
83086         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
83087         * sysdeps/i386/fpu/s_asinh.S: Likewise.
83088         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
83089         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
83090         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
83091         * sysdeps/i386/asm-syntax.h: Likewise.
83092         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
83093         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
83094         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
83095         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
83096         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
83097         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
83098         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
83099         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
83100         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
83101         * sysdeps/powerpc/sysdep.h: Likewise.
83102         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
83103         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
83105 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
83107         [BZ #411]
83108         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
83110 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
83112         * sysdeps/i386/sysdep.h: Include <features.h>.
83113         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
83114         version.
83116 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
83118         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
83119         Define.
83120         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
83121         LOAD_PIC_REG_STR.
83123 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83125         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
83126         (SETUP_PIC_REG): Use GET_PC_THUNK.
83127         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
83128         macro.
83130 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83132         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
83133         for non-PIC compilation.
83134         (SETUP_PIC_REG): Add .p2align directive.
83135         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
83136         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
83137         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
83138         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
83139         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
83140         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
83141         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
83142         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83143         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
83144         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
83145         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
83146         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
83147         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
83148         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
83149         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
83150         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
83151         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
83152         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
83153         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
83154         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
83155         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
83156         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
83157         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
83158         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
83159         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
83160         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
83161         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
83162         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
83163         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
83164         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
83165         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
83166         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
83167         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
83168         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
83169         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
83170         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
83171         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
83172         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
83173         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
83174         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
83175         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
83177 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83179         * math/tst-CMPLX.c: Include <stdio.h>.
83181 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
83183         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
83184         float.
83185         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
83186         * sysdeps/sparc/bits/mathdef.h: Likewise.
83188 2012-01-31  Marek Polacek  <polacek@redhat.com>
83190         * libio/libio.h: Don't define _PARAMS.
83191         * locale/programs/config.h: Don't define PARAMS.
83192         * stdlib/strtol_l.c: Likewise.
83193         (__strtol_l): Remove PARAMS from the prototype.
83195 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
83197         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
83198         names.  Just use the correct names.  Remove unnecessary wrapper
83199         functions.
83200         * malloc/arena.c: Likewise.
83201         * malloc/hooks.c: Likewise.
83203         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
83204         ARENA_TEST says not to.  Simplify test for creation of a new arena.
83205         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
83207 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
83209         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
83210         into tail calls.
83211         (update_get_addr): New function.
83212         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
83213         GET_ADDR_MODULE parameter.
83215 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
83217         * crypt/cert.c: Remove __STDC__ conditionals.
83218         * crypt/crypt-entry.c: Likewise.
83219         * crypt/crypt_util.c: Likewise.
83220         * libio/filedoalloc.c: Likewise.
83221         * libio/fileops.c: Likewise.
83222         * libio/genops.c: Likewise.
83223         * libio/iofclose.c: Likewise.
83224         * libio/iofdopen.c: Likewise.
83225         * libio/iofopen.c: Likewise.
83226         * libio/iofopen64.c: Likewise.
83227         * libio/iogetdelim.c: Likewise.
83228         * libio/iopopen.c: Likewise.
83229         * libio/obprintf.c: Likewise.
83230         * libio/oldfileops.c: Likewise.
83231         * libio/oldiofclose.c: Likewise.
83232         * libio/oldiofdopen.c: Likewise.
83233         * libio/oldiofopen.c: Likewise.
83234         * libio/oldiopopen.c: Likewise.
83235         * libio/wfiledoalloc.c: Likewise.
83236         * libio/wgenops.c: Likewise.
83237         * locale/programs/xmalloc.c: Likewise.
83238         * misc/syslog.c: Likewise.
83239         * stdio-common/xbug.c: Likewise.
83240         * string/memchr.c: Likewise.
83241         * string/memcmp.c: Likewise.
83242         * string/memrchr.c: Likewise.
83243         * string/rawmemchr.c: Likewise.
83244         * sysdeps/posix/getcwd.c: Likewise.
83245         * time/strftime_l.c: Likewise.
83247 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
83249         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
83250         * config.make.in (config-cflags-sse2avx): Define.
83251         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
83252         Fix typo.
83254 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
83256         * scripts/config.guess: Update from upstream config git repository.
83257         * scripts/config.sub: Likewise.
83259 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
83261         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
83262         (EM_NUM): Update.
83263         (R_TILEPRO_*, R_TILEGX_*): New macros.
83265         * scripts/firstversions.awk: Fix bug in version range handling.
83267         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
83269         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
83271         * include/sys/epoll.h: New file.
83272         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
83273         libc_hidden_def.
83275 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
83277         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
83278         Avoid unnecessary __WORDSIZE == 64 test.
83279         (fmaxf): Use VEX format if possible.
83280         (fmax): Likewise.
83281         (fminf): Likewise.
83282         (fmin): Likewise.
83284         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
83285         * math/math_private.h: Remove libc_fegetround* and
83286         libc_fesetround*.
83287         * sysdeps/i386/configure.in: Check for -msse2avx.
83288         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
83289         also if SSE2AVX is defined.
83290         Remove libc_fegetround* and libc_fesetround*.
83291         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
83292         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
83293         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
83294         of HAS_YMM_USABLE.
83295         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83296         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83297         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83298         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83299         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83301         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
83303 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83305         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
83306         size is not set.
83307         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
83309 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
83311         [BZ #13618]
83312         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
83313         relocation.
83314         * Makeconfig (libm): Define.
83315         * elf/Makefile: Add rules to build and run tst-relsort1.
83316         * elf/tst-relsort1.c: New file.
83317         * elf/tst-relsort1mod1.c: New file.
83318         * elf/tst-relsort1mod2.c: New file.
83320 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
83322         * math/s_ldexp.c: Remove __STDC__ conditionals.
83323         * math/s_ldexpf.c: Likewise.
83324         * math/s_ldexpl.c: Likewise.
83325         * math/s_nextafter.c: Likewise.
83326         * math/s_nexttowardf.c: Likewise.
83327         * math/s_significand.c: Likewise.
83328         * math/s_significandf.c: Likewise.
83329         * math/s_significandl.c: Likewise.
83330         * math/w_jnl.c: Likewise.
83331         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
83332         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
83333         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
83334         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
83335         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
83336         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
83337         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
83338         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
83339         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
83340         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
83341         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
83342         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83343         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
83344         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
83345         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
83346         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
83347         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
83348         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
83349         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
83350         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83351         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83352         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
83353         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
83354         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
83355         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
83356         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
83357         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
83358         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
83359         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
83360         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
83361         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
83362         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
83363         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
83364         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
83365         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
83366         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
83367         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
83368         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
83369         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
83370         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
83371         * sysdeps/ieee754/k_standard.c: Likewise.
83372         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83373         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
83374         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
83375         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
83376         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
83377         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
83378         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
83379         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
83380         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
83381         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
83382         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
83383         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
83384         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
83385         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
83386         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
83387         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
83388         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
83389         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
83390         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
83391         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
83392         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
83393         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
83394         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
83395         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
83396         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
83397         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
83398         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
83399         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
83400         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83401         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
83402         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
83403         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
83404         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
83405         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
83406         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
83407         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
83408         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
83409         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
83410         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
83411         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
83412         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
83413         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
83414         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
83415         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
83416         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
83417         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
83418         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
83419         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
83420         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
83421         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
83422         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
83423         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
83424         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
83425         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
83426         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
83427         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
83428         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
83429         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
83430         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
83431         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
83432         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
83433         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
83434         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
83435         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
83436         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
83437         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
83438         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
83439         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
83440         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
83441         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
83442         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
83443         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
83444         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
83445         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
83446         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
83447         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
83448         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
83449         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
83450         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
83451         * sysdeps/ieee754/s_matherr.c: Likewise.
83452         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
83453         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
83454         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
83455         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
83457 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
83459         * crypt/md5.h: Remove __STDC__ conditionals.
83460         * libio/libioP.h: Likewise.
83461         * locale/programs/config.h: Likewise.
83462         * sysdeps/generic/sysdep.h: Likewise.
83463         * sysdeps/i386/asm-syntax.h: Likewise.
83464         * sysdeps/s390/asm-syntax.h: Likewise.
83465         * sysdeps/unix/sysdep.h: Likewise.
83466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
83467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
83469 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
83471         * libio/libio.h: Remove __STDC__ conditionals.
83472         * malloc/obstack.h: Likewise.
83473         * math/complex.h: Likewise.
83474         * math/math.h: Likewise.
83475         * sysdeps/generic/_G_config.h: Likewise.
83476         * sysdeps/gnu/_G_config.h: Likewise.
83477         * sysdeps/mach/hurd/_G_config.h: Likewise.
83478         * sysdeps/powerpc/bits/mathdef.h: Likewise.
83479         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
83480         * sysdeps/sparc/bits/mathdef.h: Likewise.
83482 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
83484         [BZ #13583]
83485         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
83486         Clean up HAS_* macros.
83487         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
83488         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
83489         possible.
83490         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
83491         HAS_AVX.
83492         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83493         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83494         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83495         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83496         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83498 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
83500         * elf/tst-unique3.cc (gets): Remove declaration.
83501         * elf/tst-unique3lib.cc (gets): Likewise.
83502         * elf/tst-unique3lib2.cc (gets): Likewise.
83503         * elf/tst-unique4.cc (gets): Likewise.
83505 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
83507         * include/stdio.h: Add C++ protection.  Add gets declarations and
83508         definitions.
83509         * debug/tst-chk1.c: Don't declare gets here.
83510         * stdio-common/tst-gets.c: Likewise.
83512 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83514         * posix/glob: Remove directory.
83516 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83518         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
83520 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
83522         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
83523         of the non-standard EPFNOSUPPORT.
83525 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83527         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
83528         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
83529         ANYWHERE set to 1 only on KERN_NO_SPACE error.
83531 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
83533         * wcsmbs/uchar.h: Test __STDC_VERSION__.
83535 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
83537         * nscd/aicache.c (addhstaiX): Do not cache negative results of
83538         transient errors.
83539         * nscd/grpcache.c (cache_addgr): Likewise.
83540         * nscd/hstcache.c (cache_addhst): Likewise.
83541         * nscd/initgrcache.c (addinitgroupsX): Likewise.
83542         * nscd/pwdcache.c (cache_addpw): Likewise.
83543         * nscd/servicescache.c (cache_addserv): Likewise.
83545 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
83547         * malloc/malloc.c: Various cleanups.
83548         * malloc/hooks.c: Likewise.
83550         * stdlib/Makefile (tests): Add bug-fmtmsg1.
83551         * stdlib/bug-fmtmsg1.c: New file.
83553         * stdlib/fmtmsg.c (init): Add missing unlock.
83554         Patch by Peng Haitao <penght@cn.fujitsu.com>.
83556 2012-01-12  Marek Polacek  <polacek@redhat.com>
83558         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
83559         and _GNU_SOURCE.
83561 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
83563         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
83564         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
83565         macro to ensure uniqueness of label name.
83566         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83567         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83569 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
83571         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
83573         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
83574         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
83575         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
83576         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
83578 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
83580         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
83582         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
83583         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
83584         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
83586         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
83588         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
83589         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
83590         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
83591         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
83593         * math/bits/math-finite.h: Add ldexp support.
83595 2012-01-10  Marek Polacek  <polacek@redhat.com>
83597         * locale/programs/localedef.h (show_archive_content): Add noreturn
83598         attribute.
83600 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
83602         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
83604 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83606         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
83608         * io/Makefile (headers): Add bits/poll2.h.
83610 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
83612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
83613         typo #include statement.
83615 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83617         * include/sys/cdefs.h: Define __attribute_alloc_size.
83618         * catgets/gencat.c: Add alloc_size attribute and apply consistently
83619         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
83620         * elf/pldd.c: Likewise.
83621         * iconv/iconv_charmap.c: Likewise.
83622         * iconv/iconvconfig.c: Likewise.
83623         * iconv/strtab.c: Likewise.
83624         * locale/programs/locale.c: Likewise.
83625         * locale/programs/localedef.h: Likewise.
83626         * locale/programs/simple-hash.c: Likewise.
83627         * nscd/nscd.h: Likewise.
83628         * nss/makedb.c: Likewise.
83629         * sysdeps/generic/ldconfig.h: Likewise.
83630         * locale/programs/localedef.c: Remove xmalloc prototype.
83631         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
83633 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
83635         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
83636         appropriate.
83638 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83640         * math/Makefile (tests): Add tst-CMPLX.
83641         * math/tst-CMPLX.c: New file.
83643         * math/complex.h (CMPLXL): Fix typo.
83645         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
83646         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
83647         GLIBC_2.16.
83648         * debug/tst-chk1.c: Add poll and ppoll tests.
83649         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
83650         * include/sys/poll.h: Add hidden proto for ppoll.
83651         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
83652         * sysdeps/mach/hurd/ppoll.c: Likewise.
83653         * io/ppoll.c: Likewise.
83654         * debug/poll_chk.c: New file.
83655         * debug/ppoll_chk.c: New file.
83656         * include/bits/poll2.h: New file.
83657         * io/bits/poll2.h: New file.
83659         [BZ #1350]
83660         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
83662         * configure.in: static is always set to yes.  Remove.
83663         * config.make.in: Don't set build-static.
83664         * Makeconfig: Remove use of build-static.
83665         * dlfcn/Makefile: Likewise.
83666         * elf/Makefile: Likewise.
83667         * math/Makefile: Likewise.
83668         * misc/Makefile: Likewise.
83669         * nptl/Makefile: Likewise.
83670         * sysdeps/mach/hurd/Makefile: Likewise.
83672         * configure.in: PWD_P is not used anymore.
83673         * config.make.in: Remove PWD_P entry.
83675         * configure.in: Remove last remnants of RANLIB.
83676         No need to check for signed size_t anymore.
83677         Don't set libc_commonpagesize and libc_relro_required here for Alpha
83678         and IA-64.
83679         Remove __builtin_expect test because we require at least gcc 3.4.
83680         * aclocal.m4: Likewise.
83682         * wcsmbs/mbrtoc16.c: Implement using towc function.
83683         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
83684         * wcsmbs/wcsmbsload.c: Likewise.
83685         * iconv/gconv_simple.c: Likewise.
83686         * iconv/gconv_int.h: Likewise.
83687         * iconv/gconv_builtin.h: Likewise.
83688         * iconv/iconv_prog.c: Remove CHAR16 handling.
83690         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
83692         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
83694         * configure.in: Remove --with-elf and --enable-bounded options.
83695         Dont set base_machine for ia64.  More non-ELF conditions removed.
83696         Remove testing and setting of leading underscore information.
83697         * config.make.in (build-bounded): Set to no.
83698         * config.h.in: Remove NO_UNDERSCORES entry.
83699         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
83700         them.
83701         * csu/start.c: Remove !NO_UNDERSCORE code.
83702         * locale/localeinfo.h: Likewise.
83703         * sysdeps/generic/machine-gmon.h: Likewise.
83704         * sysdeps/generic/sysdep.h: Likewise.
83705         * sysdeps/i386/sysdep.h: Likewise.
83706         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83707         * sysdeps/mach/sysdep.h: Likewise.
83708         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83709         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83710         * sysdeps/sh/sysdep.h: Likewise.
83711         * sysdeps/sparc/sparc32/alloca.S: Likewise.
83712         * sysdeps/unix/i386/sysdep.S: Likewise.
83713         * sysdeps/unix/sparc/start.c: Likewise.
83714         * sysdeps/unix/sparc/sysdep.S: Likewise.
83715         * sysdeps/unix/sparc/sysdep.h: Likewise.
83716         * sysdeps/unix/start.c: Likewise.
83717         * sysdeps/unix/x86_64/sysdep.S: Likewise.
83718         * sysdeps/x86_64/sysdep.h: Likewise.
83720 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
83722         [BZ #13553]
83723         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
83724         for non-gcc.
83725         * argp/argp-fmtstream.h: Use const instead __const.
83726         * argp/argp.h: Likewise.
83727         * assert/assert.h: Likewise.
83728         * bits/fenv.h: Likewise.
83729         * bits/sched.h: Likewise.
83730         * bits/sigset.h: Likewise.
83731         * bits/sigthread.h: Likewise.
83732         * catgets/nl_types.h: Likewise.
83733         * conform/data/pthread.h-data: Likewise.
83734         * crypt/crypt-private.h: Likewise.
83735         * crypt/crypt.h: Likewise.
83736         * crypt/crypt_util.c: Likewise.
83737         * ctype/ctype.h: Likewise.
83738         * debug/execinfo.h: Likewise.
83739         * debug/mbsnrtowcs_chk.c: Likewise.
83740         * debug/mbsrtowcs_chk.c: Likewise.
83741         * debug/wcsnrtombs_chk.c: Likewise.
83742         * debug/wcsrtombs_chk.c: Likewise.
83743         * debug/wcstombs_chk.c: Likewise.
83744         * dirent/dirent.h: Likewise.
83745         * dlfcn/dlfcn.h: Likewise.
83746         * elf/neededtest4.c: Likewise.
83747         * grp/grp.h: Likewise.
83748         * gshadow/gshadow.h: Likewise.
83749         * iconv/gconv.h: Likewise.
83750         * iconv/gconv_int.h: Likewise.
83751         * iconv/gconv_simple.c: Likewise.
83752         * iconv/iconv.h: Likewise.
83753         * iconv/loop.c: Likewise.
83754         * iconv/skeleton.c: Likewise.
83755         * include/aio.h: Likewise.
83756         * include/aliases.h: Likewise.
83757         * include/argz.h: Likewise.
83758         * include/arpa/inet.h: Likewise.
83759         * include/assert.h: Likewise.
83760         * include/dirent.h: Likewise.
83761         * include/dlfcn.h: Likewise.
83762         * include/execinfo.h: Likewise.
83763         * include/fcntl.h: Likewise.
83764         * include/fenv.h: Likewise.
83765         * include/glob.h: Likewise.
83766         * include/grp.h: Likewise.
83767         * include/libintl.h: Likewise.
83768         * include/mntent.h: Likewise.
83769         * include/netdb.h: Likewise.
83770         * include/pwd.h: Likewise.
83771         * include/rpc/netdb.h: Likewise.
83772         * include/sched.h: Likewise.
83773         * include/search.h: Likewise.
83774         * include/shadow.h: Likewise.
83775         * include/signal.h: Likewise.
83776         * include/stdio.h: Likewise.
83777         * include/stdlib.h: Likewise.
83778         * include/string.h: Likewise.
83779         * include/sys/socket.h: Likewise.
83780         * include/sys/stat.h: Likewise.
83781         * include/sys/statfs.h: Likewise.
83782         * include/sys/statvfs.h: Likewise.
83783         * include/sys/syslog.h: Likewise.
83784         * include/sys/time.h: Likewise.
83785         * include/sys/uio.h: Likewise.
83786         * include/time.h: Likewise.
83787         * include/unistd.h: Likewise.
83788         * include/utmp.h: Likewise.
83789         * include/wchar.h: Likewise.
83790         * include/wctype.h: Likewise.
83791         * inet/aliases.h: Likewise.
83792         * inet/arpa/inet.h: Likewise.
83793         * inet/netinet/ether.h: Likewise.
83794         * inet/netinet/in.h: Likewise.
83795         * intl/libintl.h: Likewise.
83796         * io/bits/fcntl2.h: Likewise.
83797         * io/fcntl.h: Likewise.
83798         * io/ftw.h: Likewise.
83799         * io/sys/poll.h: Likewise.
83800         * io/sys/stat.h: Likewise.
83801         * io/sys/statfs.h: Likewise.
83802         * io/sys/statvfs.h: Likewise.
83803         * io/utime.h: Likewise.
83804         * libio/bits/stdio.h: Likewise.
83805         * libio/bits/stdio2.h: Likewise.
83806         * libio/libio.h: Likewise.
83807         * libio/libioP.h: Likewise.
83808         * libio/stdio.h: Likewise.
83809         * locale/lc-ctype.c: Likewise.
83810         * locale/locale.h: Likewise.
83811         * login/utmp.h: Likewise.
83812         * malloc/arena.c: Likewise.
83813         * malloc/malloc.c: Likewise.
83814         * malloc/malloc.h: Likewise.
83815         * malloc/mcheck.c: Likewise.
83816         * malloc/mtrace.c: Likewise.
83817         * math/bits/mathcalls.h: Likewise.
83818         * math/fenv.h: Likewise.
83819         * math/math_private.h: Likewise.
83820         * misc/bits/error.h: Likewise.
83821         * misc/bits/syslog.h: Likewise.
83822         * misc/err.h: Likewise.
83823         * misc/error.h: Likewise.
83824         * misc/fstab.h: Likewise.
83825         * misc/mntent.h: Likewise.
83826         * misc/regexp.h: Likewise.
83827         * misc/search.h: Likewise.
83828         * misc/sgtty.h: Likewise.
83829         * misc/sys/mman.h: Likewise.
83830         * misc/sys/syslog.h: Likewise.
83831         * misc/sys/uio.h: Likewise.
83832         * misc/sys/xattr.h: Likewise.
83833         * misc/ttyent.h: Likewise.
83834         * nis/rpcsvc/ypclnt.h: Likewise.
83835         * nss/nss.h: Likewise.
83836         * posix/bits/unistd.h: Likewise.
83837         * posix/fnmatch.h: Likewise.
83838         * posix/glob.h: Likewise.
83839         * posix/sched.h: Likewise.
83840         * posix/spawn.h: Likewise.
83841         * posix/sys/wait.h: Likewise.
83842         * posix/unistd.h: Likewise.
83843         * posix/wordexp.h: Likewise.
83844         * pwd/pwd.h: Likewise.
83845         * resolv/netdb.h: Likewise.
83846         * resource/sys/resource.h: Likewise.
83847         * rt/aio.h: Likewise.
83848         * rt/bits/mqueue2.h: Likewise.
83849         * rt/mqueue.h: Likewise.
83850         * shadow/shadow.h: Likewise.
83851         * signal/signal.h: Likewise.
83852         * socket/send.c: Likewise.
83853         * socket/sendto.c: Likewise.
83854         * socket/sys/socket.h: Likewise.
83855         * stdio-common/printf.h: Likewise.
83856         * stdlib/bits/stdlib.h: Likewise.
83857         * stdlib/fmtmsg.h: Likewise.
83858         * stdlib/monetary.h: Likewise.
83859         * stdlib/stdlib.h: Likewise.
83860         * stdlib/ucontext.h: Likewise.
83861         * streams/stropts.h: Likewise.
83862         * string/argz.h: Likewise.
83863         * string/bits/string2.h: Likewise.
83864         * string/string.h: Likewise.
83865         * string/strings.h: Likewise.
83866         * sunrpc/rpc/auth.h: Likewise.
83867         * sunrpc/rpc/auth_des.h: Likewise.
83868         * sunrpc/rpc/clnt.h: Likewise.
83869         * sunrpc/rpc/netdb.h: Likewise.
83870         * sunrpc/rpc/pmap_clnt.h: Likewise.
83871         * sunrpc/rpc/xdr.h: Likewise.
83872         * sysdeps/generic/inttypes.h: Likewise.
83873         * sysdeps/generic/net/if.h: Likewise.
83874         * sysdeps/generic/sys/swap.h: Likewise.
83875         * sysdeps/gnu/net/if.h: Likewise.
83876         * sysdeps/gnu/utmpx.h: Likewise.
83877         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
83878         * sysdeps/i386/i486/bits/string.h: Likewise.
83879         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
83880         * sysdeps/s390/bits/string.h: Likewise.
83881         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
83882         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
83883         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
83884         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
83885         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
83886         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
83887         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
83888         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
83889         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
83890         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
83891         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
83892         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
83893         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
83894         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
83895         * sysdeps/unix/sysv/linux/readv.c: Likewise.
83896         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
83897         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
83898         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83899         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
83900         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
83901         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83902         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
83903         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
83904         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
83905         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
83906         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
83907         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
83908         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83909         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
83910         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
83911         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
83912         * sysvipc/sys/ipc.h: Likewise.
83913         * sysvipc/sys/msg.h: Likewise.
83914         * sysvipc/sys/sem.h: Likewise.
83915         * sysvipc/sys/shm.h: Likewise.
83916         * termios/termios.h: Likewise.
83917         * time/sys/time.h: Likewise.
83918         * time/time.h: Likewise.
83919         * wcsmbs/bits/wchar2.h: Likewise.
83920         * wcsmbs/uchar.h: Likewise.
83921         * wcsmbs/wchar.h: Likewise.
83922         * wctype/wctype.h: Likewise.
83924         [BZ #13551]
83925         * Makeconfig: Remove all but ELF support including AIX support.
83926         * Makerules: Likewise.
83927         * config.h.in: Likewise.
83928         * config.make.in: Likewise.
83929         * configure: Likewise.
83930         * configure.in: Likewise.
83931         * csu/Makefile: Likewise.
83932         * csu/version.c: Likewise.
83933         * debug/Makefile: Likewise.
83934         * dlfcn/Makefile: Likewise.
83935         * elf/Makefile: Likewise.
83936         * extra-lib.mk: Likewise.
83937         * iconv/Makefile: Likewise.
83938         * include/libc-symbols.h: Likewise.
83939         * include/shlib-compat.h: Likewise.
83940         * resolv/Makefile: Likewise.
83941         * resolv/res_libc.c: Likewise.
83942         * rt/Makefile: Likewise.
83943         * sysdeps/i386/asm-syntax.h: Likewise.
83944         * sysdeps/i386/sysdep.h: Likewise.
83945         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83946         * sysdeps/mach/sysdep.h: Likewise.
83947         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
83948         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
83949         * sysdeps/s390/asm-syntax.h: Likewise.
83950         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83951         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83952         * sysdeps/sh/sysdep.h: Likewise.
83953         * sysdeps/unix/sparc/sysdep.h: Likewise.
83954         * sysdeps/wordsize-32/divdi3.c: Likewise.
83955         * sysdeps/x86_64/sysdep.h: Likewise.
83957         * argp/Versions: Remove _argp_unlock_xxx.
83959         [BZ #13559]
83960         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
83961         * abilist/libBrokenLocale.abilist: Likewise.
83962         * abilist/libanl.abilist: Likewise.
83963         * abilist/libc.abilist: Likewise.
83964         * abilist/libcrypt.abilist: Likewise.
83965         * abilist/libdl.abilist: Likewise.
83966         * abilist/libm.abilist: Likewise.
83967         * abilist/libnsl.abilist: Likewise.
83968         * abilist/libpthread.abilist: Likewise.
83969         * abilist/libresolv.abilist: Likewise.
83970         * abilist/librt.abilist: Likewise.
83971         * abilist/libthread_db.abilist: Likewise.
83972         * abilist/libutil.abilist: Likewise.
83973         * abilist/libnss_db.abilist: New file.
83975         * scripts/abilist.awk: Add support for indirect functions.
83977         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
83979         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
83981         * shlib-versions: Remove entries for ports architectures.
83983         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
83984         files in ports.
83985         * elf/stackguard-macros.h: Remove support for IA-64.
83986         * elf/tst-auditmod1.c: Likewise.
83987         * sysdeps/generic/ldsodefs.h: Likewise.
83989         * sysdeps/unix/sysv/linux/configure.in: Ports should define
83990         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
83991         configure files.
83993         [BZ #13552]
83994         * configure.in: Remove --enable-omitfp support.
83995         * FAQ.in: Adjust.
83996         * config.make.in: Likewise.
83997         * Makeconfig: Likewise.
83998         * manual/install.texi: Likewise.
84000         In case anyone cares, the IA-64 architecture could move to ports.
84001         * sysdeps/ia64/*: Removed.
84002         * sysdeps/unix/sysv/linux/ia64/*: Removed.
84003         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
84005         [BZ #13555]
84006         * configure.in: Remove entries for unsupported architectures.
84008         [BZ #13533]
84009         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
84010         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
84011         routines.
84012         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
84013         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
84014         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
84015         fall back to using wcrtomb.
84016         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
84017         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
84018         renaming.
84019         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
84020         * wcsmbs/tst-c16c32-1.c: New file.
84022         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
84023         local variable.
84025         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
84027         * elf/tst-unique3.cc: Add explicit declaration of gets.
84028         * elf/tst-unique3lib.cc: Likewise.
84029         * elf/tst-unique3lib2.cc: Likewise.
84030         * elf/tst-unique4.cc: Likewise.
84032         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
84034 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
84036         [BZ #13566]
84037         * assert/assert.h (static_assert): Don't define for C++.
84038         * libio/stdio.h (gets): Do declare for C++ <= C++11.
84039         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
84041 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
84043         * iconv/loop.c (single loop): Fix assertion in storing of
84044         remaining bytes.
84046         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
84048 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
84050         * posix/getconf.c: Update copyright year.
84051         * nss/getent.c: Likewise.
84052         * nss/makedb.c: Likewise.
84053         * iconv/iconvconfig.c: Likewise.
84054         * iconv/iconv_prog.c: Likewise.
84055         * elf/ldconfig.c: Likewise.
84056         * elf/pldd.c: Likewise.
84057         * elf/sotruss.ksh: Likewise.
84058         * catgets/gencat.c: Likewise.
84059         * csu/version.c: Likewise.
84060         * elf/ldd.bash.in: Likewise.
84061         * elf/sprof.c (print_version): Likewise.
84062         * locale/programs/locale.c: Likewise.
84063         * locale/programs/localedef.c: Likewise.
84064         * login/programs/pt_chown.c: Likewise.
84065         * nscd/nscd.c (print_version): Likewise.
84066         * debug/xtrace.sh: Likewise.
84067         * malloc/memusage.sh: Likewise.
84068         * malloc/mtrace.pl: Likewise.
84069         * debug/catchsegv.sh: Likewise.
84071 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
84073         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
84074         pure attribute.
84076 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
84078         [BZ #13533]
84079         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
84080         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
84081         transformations.
84082         * iconv/gconv_int.h: Likewise.
84083         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
84084         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
84085         from libc for GLIBC_2.16.
84086         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
84087         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
84088         * wcsmbs/uchar.h: Really define mbstate_t.
84089         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
84090         * wcsmbs/c16rtomb.c: New file.
84091         * wcsmbs/mbrtoc16.c: New file.
84092         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
84093         for C/POSIX locale.
84094         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
84095         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
84097         * wcsmbs/wchar.h: Add missing __restrict.
84099 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
84101         [BZ #13532]
84102         * time/Makefile (routines): Add timespec_get.
84103         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
84104         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
84105         timespec for ISO C11.
84106         * time/timespec_get.c: New file.
84107         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
84108         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
84110         [BZ #13531]
84111         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
84112         * stdlib/stdlib.h: Declare aligned_alloc.
84113         * Versions.def: Add GLIBC_2.16 for libc.
84114         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
84116         [BZ 13527]
84117         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
84118         ISO C11.
84120         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
84121         code.
84123         [BZ #13528]
84124         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
84126         [BZ #13529]
84127         * assert/assert.h (static_assert): Define.
84129         * version.h: Update for 2.16 development version.
84131         [BZ #13526]
84132         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
84133         _ISOC11_SOURCE.
84135         * version.h (RELEASE): Bump for 2.15 release.
84136         * include/features.h (__GLIBC_MINOR__): Bump to 15.
84138         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
84139         Patch by Marek Polacek <mpolacek@redhat.com>.
84141         * bits/byteswap.h: Protect long long constants with __extension__.
84142         * sysdeps/i386/bits/byteswap.h: Likewise.
84143         * sysdeps/ia64/bits/byteswap.h: Likewise.
84144         * sysdeps/s390/bits/byteswap.h: Likewise.
84145         * sysdeps/x86_64/bits/byteswap.h: Likewise.
84147 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84149         [BZ #13540]
84150         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
84151         destination buffer.
84152         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
84154 2011-12-23  Marek Polacek  <polacek@redhat.com>
84156         * elf/dl-addr.c (determine_info): Add inline keyword.
84157         * elf/tst-auditmod4b.c (check_avx): Likewise.
84158         * elf/tst-auditmod6b.c (check_avx): Likewise.
84159         * elf/tst-auditmod6c.c (check_avx): Likewise.
84160         * elf/tst-auditmod7b.c (check_avx): Likewise.
84162 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
84164         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
84165         !__SSE_MATH__.
84167 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84169         [BZ #13540]
84170         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
84171         processing for last bytes.
84173 2011-08-06  Bruno Haible  <bruno@clisp.org>
84175         [BZ #13061]
84176         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
84177         U+0385, not to U+1FEE.
84179         [BZ #13062]
84180         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
84181         entry for U+00A5 U+0301.
84183 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
84185         [BZ #13166]
84186         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
84187         buffer for the output is too small.
84189         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
84190         optimization.
84192         [BZ #13185]
84193         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
84194         SSE flags if possible.
84196 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84198         [BZ #13540]
84199         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
84200         processing for last bytes.
84202 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
84204         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
84205         (syscall-list-default-options, syscall-list-default-condition)
84206         (syscall-list-includes): Define.
84207         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
84208         list of ABIs and options and #if conditions for each ABI.  Do not
84209         handle common syscalls between ABIs specially.
84210         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
84211         Remove.
84212         (syscall-list-variants, syscall-list-32bit-options)
84213         (syscall-list-32bit-condition, syscall-list-64bit-options)
84214         (syscall-list-64bit-condition): Define.
84215         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
84216         (syscall-list-variants, syscall-list-32bit-options)
84217         (syscall-list-32bit-condition, syscall-list-64bit-options)
84218         (syscall-list-64bit-condition): Define.
84219         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
84220         Remove.
84221         (syscall-list-variants, syscall-list-32bit-options)
84222         (syscall-list-32bit-condition, syscall-list-64bit-options)
84223         (syscall-list-64bit-condition): Define.
84224         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
84225         Remove.
84226         (syscall-list-variants, syscall-list-32bit-options)
84227         (syscall-list-32bit-condition, syscall-list-64bit-options)
84228         (syscall-list-64bit-condition): Define.
84230 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
84232         * locale/iso-639.def: Add brx entry.
84234         [BZ #13328]
84235         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
84236         Proposed by Mariusz_Cukr <marcukr@op.pl>.
84238         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
84239         __feraiseexcept_renamed.
84241 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
84243         [BZ #13538]
84244         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
84245         EPOLLET with unsigned values.
84246         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
84247         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
84249         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
84250         to large cancellation.
84251         * math/s_cacoshf.c: Likewise.
84252         * math/s_cacoshl.c: Likewise.
84254 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
84256         [BZ #13305]
84257         [BZ #12786]
84258         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
84259         * math/s_cacoshf.c: Likewise.
84260         * math/s_cacoshl.c: Likewise.
84262 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
84264         [BZ #13439]
84265         * iconv/gconv.h: Define __GCONV_SWAP.
84266         * iconvdata/unicode.c: The swap bit must be stored in __flags.
84267         * iconvdata/utf-16.c: Likewise.
84268         * iconvdata/utf-32.c: Likewise.
84270 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
84272         [BZ #13524]
84273         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
84274         numerator after shifting it by one limb.
84276 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
84278         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
84279         under [__USE_EXTERN_INLINES].
84281 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
84283         [BZ #13446]
84284         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
84286 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84288         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
84289         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
84290         optimized code.
84291         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
84292         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
84293         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
84294         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
84295         for strncasecmp/strncasecmp_l compilation.
84296         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
84297         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
84299 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
84301         [BZ #13484]
84302         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
84303         of __asm__.
84305 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
84307         [BZ #13506]
84308         * time/tzfile.c (__tzfile_read): Check values from file header.
84310 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
84312         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
84313         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
84314         * powerpc/powerpc32/dl-start.S: Likewise.
84315         * powerpc/powerpc32/elf/start.S: Likewise.
84316         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
84317         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
84318         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
84319         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
84320         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
84321         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
84322         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
84323         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
84324         * powerpc/powerpc32/fpu/s_round.S: Likewise.
84325         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
84326         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
84327         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
84328         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
84329         * powerpc/powerpc32/memset.S: Likewise.
84330         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
84331         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
84332         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
84333         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
84334         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
84335         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
84336         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
84337         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
84338         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
84339         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
84340         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
84341         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
84342         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
84344 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84346         * math/libm-test.inc: Added more nearbyint tests.
84347         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
84348         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
84349         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
84350         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
84352 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
84354         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
84355         FD_CLOEXEC.
84357 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84359         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
84360         Add wcscpy-ssse3 wcscpy-c.
84361         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
84362         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
84363         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
84364         * sysdeps/x86_64/wcschr.S: New file.
84365         * sysdeps/x86_64/wcsrchr.S: New file.
84366         * string/test-strcmp.c: Remove checking of wcscmp function for
84367         wrong alignments.
84368         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
84369         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
84370         wcsrchr-sse2 wcsrchr-c.
84371         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
84372         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
84373         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
84374         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
84375         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
84376         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
84377         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
84378         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
84379         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
84380         * wcsmbc/wcschr.c (WCSCHR): New macro.
84382 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84384         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
84385         * wcsmbs/test-wcsrchr.c: New file.
84386         * string/test-strrchr.c: Add wcsrchr support.
84387         (WIDE): New macro.
84388         * wcsmbs/test-wcscpy.c: New file.
84389         * string/test-strcpy.c: Add wcscpy support.
84390         (WIDE): New macro.
84392 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
84394         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
84395         the inner loop.
84397 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
84399         [BZ #13472]
84400         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
84402 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
84404         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
84405         Minor optimizations.
84407         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
84408         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
84409         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
84411 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
84413         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
84414         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
84415         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
84416         for gcc to avoid warnings.
84417         * inet/Makefile (tests): Add tst-checks.
84418         * inet/tst-checks.c: New file.
84420         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
84421         warning.
84423         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
84424         __wmemcmp_sse2.
84426         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
84427         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
84429         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
84431 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
84433         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
84434         problem.
84436         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
84438 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
84440         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
84441         conditional on GCC version.
84442         (__arch_compare_and_exchange_val_8_acq)
84443         (__arch_compare_and_exchange_val_16_acq)
84444         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
84445         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
84446         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
84448 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
84450         * sysdeps/sh/backtrace.c: New file.
84452 2011-12-02  Andreas Schwab  <schwab@redhat.com>
84454         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
84455         parenthesis.
84457 2011-12-01  Andreas Schwab  <schwab@redhat.com>
84459         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
84460         falling back to utime.
84462 2011-11-30  Andreas Schwab  <schwab@redhat.com>
84464         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
84465         expectations for float.
84467 2011-11-29  Andreas Schwab  <schwab@redhat.com>
84469         * locale/weight.h (findidx): Add parameter len.
84470         * locale/weightwc.h (findidx): Likewise.
84471         * posix/fnmatch_loop.c (FCT): Adjust caller.
84472         * posix/regcomp.c (build_equiv_class): Likewise.
84473         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
84474         * posix/regexec.c (check_node_accept_bytes): Likewise.
84475         * string/strcoll_l.c (STRCOLL): Likewise.
84476         * string/strxfrm_l.c (STRXFRM): Likewise.
84478 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
84480         * Makefile.in: Remove CVSOPT handling.
84481         * configure.in: Remove use of AC_REVISION.
84482         * iconvdata/Makefile (distribute): No need to filter out CVS.
84483         * scripts/list-sources.sh: Remove CVS, subversion and monotone
84484         handling.
84486 2011-11-16  Andreas Schwab  <schwab@redhat.com>
84488         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
84489         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
84490         [USE_AS_STRNCASECMP_L]: Likewise.
84491         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
84492         NO_TLS_DIRECT_SEG_REFS.
84493         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
84494         Fix argument offsets for non-PIC.
84495         [USE_AS_STRNCASECMP_L]: Likewise.
84496         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
84497         NO_TLS_DIRECT_SEG_REFS.
84499 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84501         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
84502         O_CLOEXEC.
84503         * locale/loadlocale.c (_nl_load_locale): Likewise.
84505 2011-11-15  Andreas Schwab  <schwab@redhat.com>
84507         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
84508         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
84509         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
84510         (SYSCALL_GETTIME): Set errno on error.
84512         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
84513         count references to noai6ai_cached.
84515 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84517         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
84519         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
84520         FD_CLOEXEC for /proc/self/maps.
84522         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
84523         FD_CLOEXEC for /proc/meminfo.
84525         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
84526         gai.conf.
84528         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
84529         FD_CLOEXEC for given file.
84531         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
84533         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
84534         FD_CLOEXEC for /etc/hosts.
84535         (_gethtent): Likewise.
84537         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
84539         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
84540         cancellation and set FD_CLOEXEC for /etc/netgroup.
84542         * nss/nss_files/files-key.c (search): Don't allow cancellation when
84543         reading /etc/publickey.
84545         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
84546         allow cancellation when reading /etc/group.
84548         * nss/nss_files/files-alias.c (internal_setent): Don't allow
84549         cancellation.
84550         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
84552         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
84553         when using data file.
84555         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
84557         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
84558         (write_nis_obj): Use "c" and "e" in fopen.
84560         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
84562         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
84564         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
84566         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
84568         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
84569         locale.alias.
84571         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
84573         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
84575         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
84577         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
84578         file parsing and set FD_CLOEXEC.
84580 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84582         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
84584 2011-11-14  Andreas Schwab  <schwab@redhat.com>
84586         * malloc/arena.c (arena_get2): Don't call reused_arena when
84587         _int_new_arena failed.
84589 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84591         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
84592         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
84593         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
84594         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
84595         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
84596         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
84597         to compile strcasecmp and strncasecmp.
84598         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
84599         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
84601         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
84603 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
84605         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
84606         locale-defines.sym to gen-as-const-headers.
84607         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
84608         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
84609         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
84610         to compile strcasecmp and strncasecmp.
84611         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
84612         strcasecmp_l and strncasecmp_l.
84613         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
84614         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
84615         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
84616         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
84617         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
84618         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
84619         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
84620         * sysdeps/i386/i686/multiarch/strncase.S: New file.
84621         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
84622         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
84623         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
84625 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
84627         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
84628         result of SYSDEP_GETTIME_CPU to retval.
84629         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
84630         parameter list to macro.  Remove trailing semicolon.  Adjust users.
84632         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
84633         variable.
84635         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
84636         mantissa words.
84637         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
84639         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
84640         from unused variable.
84642         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
84643         DWARF definitions.
84644         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
84645         for assembling.
84647         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
84648         over namespaces.
84650         * sunrpc/rpc_prot.c (rejected): Fix case value.
84652         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
84653         unsigned long long int to avoid warnings in shift.
84655         * posix/regex_internal.c (re_string_reconstruct): Actually use result
84656         of use of trans.
84657         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
84658         variable tmp.
84660         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
84661         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
84662         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
84664         * nis/nis_table.c (nis_list): Use variable of correct type for
84665         result of __follow_path call.
84667 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84669         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
84670         of math functions ceil, trunc, floor, round, and sqrt, when
84671         avaliable on the platform.
84672         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
84673         name clash.
84674         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84675         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84676         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84678 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
84680         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
84681         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
84683 2011-11-11  Roland McGrath  <roland@hack.frob.com>
84685         * include/unistd.h: Fix __readlink return type.
84686         Reported by Chris Metcalf <cmetcalf@tilera.com>.
84688 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
84690         * stdlib/ucontext.h: Undo last change for makecontext.
84692 2011-11-11  Andreas Schwab  <schwab@redhat.com>
84694         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
84696         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
84697         * setjmp/setjmp.h: Mark functions as non-leaf.
84698         * setjmp/bits/setjmp2.h: Likewise.
84699         * stdlib/ucontext.h: Likewise.
84701 2011-11-10  Andreas Schwab  <schwab@redhat.com>
84703         * malloc/arena.c (_int_new_arena): Don't increment narenas.
84704         (reused_arena): Don't check arena limit.
84705         (arena_get2): Atomically check arena limit.
84707 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
84709         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
84710         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
84712         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
84713         instructions.
84715 2011-11-07  Andreas Schwab  <schwab@redhat.com>
84717         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
84718         handler when locking.
84720         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
84721         Fix size of allocated buffer.
84723 2011-11-04  Andreas Schwab  <schwab@redhat.com>
84725         [BZ #10103]
84726         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
84727         declarations for long double functions.
84728         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
84730         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
84732 2011-11-03  Andreas Schwab  <schwab@redhat.com>
84734         * nscd/nscd.c (main): Don't start AVC thread until credentials are
84735         installed.
84737         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
84738         is disabled.
84740 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84742         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
84744 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
84746         * include/alloca.h (stackinfo_alloca_round): Define.
84747         (extend_alloca): Use it.
84748         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
84749         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
84750         here.
84752         * scripts/check-local-headers.sh: Ignore libaudit.h.
84754         * nscd/Makefile (extra-objs): Make recursively expanded.
84756 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
84758         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
84759         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
84761         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
84762         * posix/tst-rfc3484-2.c: Likewise.
84763         * posix/tst-rfc3484-3.c: Likewise.
84765         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
84766         process_vm_writev.
84767         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
84768         process_vm_writev.
84769         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
84770         process_vm_writev from libc using GLIBC_2.15 version.
84772         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
84774 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
84776         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
84777         stack usage.
84779 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
84781         [BZ #13367]
84782         * nss/getent.c (initgroups_keys): Show error message in case no group
84783         names are given.
84785         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
84786         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
84787         __bump_nl_timestamp.
84788         * nscd/connections (nscd_init): When host database is served open
84789         netlink socket and request notification about configuration changes.
84790         (main_loop_poll): Track netlink file descriptor and bump timestamp
84791         in case data becomes available.
84792         (main_loop_epoll): Likewise.
84793         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
84794         (database_pers_head): Add extra_data fileds.
84795         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
84796         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
84797         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
84798         Adjust caller.
84799         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
84800         in6ai data, call __free_in6ai.
84801         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
84802         Add -DHAVE_NETLINK.
84803         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
84804         interface information.  Reuse previous data if netlink timestamp
84805         is not changed.
84806         (__bump_nl_timestamp): New function.
84807         (__free_in6ai): New function.
84809 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
84811         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
84812         close_not_cancel_no_status here.
84813         (__check_pf): Reorganize code a bit to not call close twice if OOM.
84815 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84817         [BZ #13276]
84818         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
84819         return value.
84821         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
84822         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
84823         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
84825 2011-07-03  Andreas Jaeger  <aj@suse.de>
84827         [BZ #10709]
84828         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
84829         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
84830         * math/libm-test.inc (sin_test): Add test case.
84832 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84834         [BZ #13337]
84835         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
84836         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84838         * elf/chroot_canon.c (chroot_canon): Cleanups.
84840         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
84842         [BZ #13335]
84843         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
84844         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84846         * string/test-strchr.c: Make usable for strchrnul testing.
84847         * string/test-strchrnul.c: New file.
84848         * string/Makefile (strop-tests): Add strchrnul.
84850         * po/it.po: Update from translation team.
84851         * po/es.po: Likewise.
84853 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
84855         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
84856         the three constants needed as parameters.  Drop the others.
84857         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
84858         __m128i_strloadu_tolower.
84859         Create and initialize variable zero and use it in all the places
84860         where _mm_setzero_si128 was used.
84862         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
84863         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
84864         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
84865         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
84866         anymore.
84867         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
84868         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
84869         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
84870         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
84871         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
84872         __mpranred, __mptan.
84873         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
84874         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
84875         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
84876         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
84877         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
84878         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
84879         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
84880         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
84881         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
84883 2011-10-28  Andreas Schwab  <schwab@redhat.com>
84885         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
84886         redefine if SHARED.
84887         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
84889         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
84890         wide char related routines to wcsmbs subdir.
84892 2011-10-27  Andreas Schwab  <schwab@redhat.com>
84894         [BZ #13344]
84895         * misc/sys/cdefs.h (__THROWNL): Define.
84896         * posix/unistd.h: Use __THREADNL instead of __THREAD
84897         for memory synchronization functions.
84899 2011-10-26  Roland McGrath  <roland@hack.frob.com>
84901         [BZ #13349]
84902         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
84903         doesn't exist.
84904         * manual/stdio.texi (Obstack Streams): Node removed.
84906 2011-10-26  Andreas Schwab  <schwab@redhat.com>
84908         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
84909         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84910         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84912         * math/math_private.h (math_force_eval): Allow non-addressable
84913         arguments.
84914         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
84916 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84918         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
84919         file is not needed.
84921         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
84922         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
84923         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84924         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84925         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84926         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84927         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84928         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
84929         Add AVX variants.
84930         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
84931         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
84932         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
84933         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
84934         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
84935         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
84936         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
84937         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
84938         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
84939         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
84940         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
84941         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
84942         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
84943         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
84944         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
84945         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
84946         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
84947         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
84948         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
84950         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
84951         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
84953         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
84954         place.  Use VEX encoding when compiling for AVX.
84956 2011-10-25  Andreas Schwab  <schwab@redhat.com>
84958         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
84959         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
84961         * string/test-strchr.c (do_test): Don't generate NUL bytes.
84963 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84965         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
84966         useless if() expression.
84967         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84968         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
84969         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
84970         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84971         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
84972         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84973         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84974         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84975         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
84976         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84977         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84978         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84979         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
84980         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84981         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
84982         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84983         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84984         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84985         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
84987         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
84989 2011-10-25  Andreas Schwab  <schwab@redhat.com>
84991         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
84992         condition.
84993         * elf/dl-fini.c (_dl_sort_fini): Likewise.
84995 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84997         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
84998         .text section.  Avoid duplicate constants.
84999         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
85000         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85001         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85002         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85003         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85004         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85005         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85006         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85007         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
85008         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
85009         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
85010         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
85011         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
85012         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
85013         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
85014         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
85015         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
85016         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
85017         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
85018         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85019         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
85020         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
85021         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
85022         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
85023         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
85024         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
85025         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
85026         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
85027         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
85028         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
85029         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
85030         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
85031         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
85032         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
85033         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
85034         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
85035         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
85036         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
85037         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
85038         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
85039         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
85040         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
85041         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
85042         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
85043         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
85045 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
85047         * sysdeps/x86_64/dla.h: Move to ...
85048         * sysdeps/x86_64/fpu/dla.h: ...here.
85049         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
85050         situations.  Use __builtin_fma only for gcc 4.6 and up.
85052         * config.make.in: Add have-mfma4 entry.
85053         * configure.in: Substitute libc_cv_cc_fma4.
85054         * math/Makefile (dbl-only-routines): Add sincostab.
85055         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
85056         Use __sincostab not sincos.
85057         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
85058         name is a macro.
85059         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85060         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85061         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85062         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
85063         using __copysign.
85064         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
85065         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
85066         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
85067         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
85068         and __inv.
85069         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
85070         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
85071         __copysign.
85072         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
85073         define aliases when function name is a macro.
85074         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
85075         sysdeps/ieee754/dbl-64/sincos.tbl.
85076         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
85077         fma4-enabled routines.
85078         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
85079         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
85080         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
85081         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
85082         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
85083         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
85084         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
85085         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
85086         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
85087         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
85088         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
85089         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
85090         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
85091         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
85092         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
85093         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
85094         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
85095         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
85096         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
85097         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
85098         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
85099         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
85100         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
85101         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
85102         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
85103         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
85104         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
85105         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
85106         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
85107         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
85109         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
85110         rename.
85111         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85112         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85113         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85114         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85115         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85116         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85117         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85118         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85120 2011-10-24  Andreas Schwab  <schwab@redhat.com>
85122         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
85124 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85126         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
85128         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
85129         prediction.
85130         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
85132         * string/strnlen.c: Don't define STRNLEN, reverse logic.
85133         Remove unused variable magic_bits.
85134         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
85136         * string/strnlen.c: Define and use STRNLEN macro.
85137         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
85138         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
85139         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
85140         * wcsmbs/wcslen.c: Define and use WCSLEN.
85141         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
85142         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
85143         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
85144         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
85145         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
85146         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
85147         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
85149 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85151         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85152         strnlen-sse2-no-bsf.
85153         Rename strlen-no-bsf to strlen-sse2-no-bsf.
85154         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
85155         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
85156         Add strnlen support.
85157         (USE_AS_STRNLEN): New macro.
85158         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
85159         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
85160         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
85161         * sysdeps/x86_64/wcslen.S: New file.
85163 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
85165         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85166         XMM-moves are used for copying on small sizes.
85168 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85170         * wcsmbs/Makefile (strop-tests): Add wcschr.
85171         * wcsmbs/test-wcschr.c: New file.
85172         * string/test-strchr.c: Update.
85173         Add wcschr support.
85174         (WIDE): New macro.
85176 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85178         * wcsmbs/Makefile (strop-tests): Add wcslen.
85179         * wcsmbs/test-wcslen.c: New file.
85180         * string/test-strlen.c: Update.
85181         Add wcslen support.
85182         (WIDE): New macro.
85184 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85186         * po/it.po: Update from translation team.
85188 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85190         * sysdeps/x86_64/wcscmp.S: Update.
85191         Fix wrong comparison semantics.
85192         wcscmp shall use signed comparison not unsigned.
85193         Don't use substraction to avoid overflow bug.
85194         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
85195         * wcsmbc/wcscmp.c: Likewise.
85196         * string/test-strcmp.c: Likewise.
85197         Add new tests to check cases with negative values.
85199 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85201         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
85202         * sysdeps/x86_64/dla.h: ...here.  New file.
85203         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
85204         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85205         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85206         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85207         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85208         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85209         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85210         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85211         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85213 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
85215         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
85216         __ynl_finite aliases.
85218 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
85220         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
85222         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
85223         define DLA_FMA.
85224         [DLA_FMA] (EMULV): Use DLA_FMA.
85225         [DLA_FMA] (MUL12): Use EMULV.
85226         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
85227         that are not needed.
85228         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85229         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85230         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85231         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85232         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85233         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85234         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85236 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
85238         * math/s_nan.c: Undef __nan.
85239         * math/s_nanf.c: Undef __nanf.
85240         * math/s_nanl.c: Undef __nanl.
85241         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
85242         "math_private.h".
85244 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
85246         * math/s_catan.c: Add branch predictions.
85247         * math/s_catanf.c: Likewise.
85248         * math/s_catanh.c: Likewise.
85249         * math/s_catanhf.c: Likewise.
85250         * math/s_catanhl.c: Likewise.
85251         * math/s_catanl.c: Likewise.
85252         * math/s_cexp.c: Likewise.
85253         * math/s_cexpf.c: Likewise.
85254         * math/s_cexpl.c: Likewise.
85255         * math/s_clog.c: Likewise.
85256         * math/s_clog10.c: Likewise.
85257         * math/s_clog10f.c: Likewise.
85258         * math/s_clog10l.c: Likewise.
85259         * math/s_clogf.c: Likewise.
85260         * math/s_clogl.c: Likewise.
85261         * math/s_csqrt.c: Likewise.
85262         * math/s_csqrtf.c: Likewise.
85263         * math/s_csqrtl.c: Likewise.
85264         * math/s_ctanf.c: Likewise.
85265         * math/s_ctanh.c: Likewise.
85266         * math/s_ctanhf.c: Likewise.
85267         * math/s_ctanhl.c: Likewise.
85268         * math/s_ctanl.c: Likewise.
85270         * math/math_private.h: Define __nan, __nanf, __nanl.
85271         * math/s_cacosh.c: Include <math_private.h>.
85272         * math/s_cacoshl.c: Likewise.
85273         * math/s_casinh.c: Likewise.
85274         * math/s_casinhf.c: Likewise.
85275         * math/s_casinhl.c: Likewise.
85276         * math/s_ccos.c: Rely entire on ccosh.
85277         * math/s_ccosf.c: Rely entire on ccoshf.
85278         * math/s_ccosl.c: Rely entirely on ccoshl.
85279         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
85280         Remove tests for FE_INVALID.
85281         * math/s_ccoshf.c: Likewise.
85282         * math/s_ccoshl.c: Likewise.
85283         * math/s_csin.c: Likewise.
85284         * math/s_csinf.c: Likewise.
85285         * math/s_csinh.c Likewise.
85286         * math/s_csinhf.c: Likewise.
85287         * math/s_csinhl.c: Likewise.
85288         * math/s_csinl.c: Likewise.
85289         * math/s_ctan.c: Likewise.
85290         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
85291         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
85292         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
85294 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
85296         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
85297         compilation problems.
85299         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
85300         __builtin_expect.
85302 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
85304         * sysdeps/i386/configure.in: Test for -mfma4 option.
85305         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
85306         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
85307         COMMON_CPUID_INDEX_80000001.
85308         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
85309         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
85310         use it if FMA3 is not supported.
85311         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
85313         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
85314         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
85316 2011-10-20  Andreas Schwab  <schwab@redhat.com>
85318         [BZ #12892]
85319         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
85320         it would create a cycle with a link time dependency.
85322 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
85324         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
85325         instruction.
85326         * string/Makefile (strop-tests): Add rawmemchr.
85327         * string/test-rawmemchr.c: New file.
85329         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
85330         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
85331         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
85332         when compiling str{,n}casecmp and when AVX is available.  Hook up
85333         new optimized code in initializers.
85335 2011-10-19  Andreas Schwab  <schwab@redhat.com>
85337         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
85338         __feraiseexcept instead of feraiseexcept.
85340 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
85342         * math/math_private.h: Define defaults for libc_fetestexcept and
85343         libc_feupdateenv.
85344         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
85345         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
85346         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
85347         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
85348         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
85349         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
85350         libc_fetestexcept and libc_feupdateenv.
85352         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
85353         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
85354         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
85355         * sysdeps/x86_64/fpu/math_private.h: Define special version of
85356         libc_feholdexcept_setround.
85358         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
85359         Add s_nearbyint-c and s_nearbyintf-c.
85360         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
85361         nearbyintf inlines.
85362         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
85363         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
85364         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
85365         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
85367         * math/math_private.h: Define defaults for libc_fegetround,
85368         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
85369         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
85370         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
85371         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
85372         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
85373         standard functions.
85374         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
85375         Remove comments and hacks for old compiler versions.
85376         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
85377         libc_fegetround, libc_fesetround, libc_feholdexcept, and
85378         libc_feholdexceptl.
85380 2011-10-18  Andreas Schwab  <schwab@redhat.com>
85382         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
85383         (__feraiseexcept_renamed): Add __NTH.
85384         (feraiseexcept): Add __NTH.  Rename local variables to fix
85385         namespace violations.
85387 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
85389         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
85391         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
85393         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
85394         recently added interfaces.
85395         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
85397         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
85398         about macro parameter expansion.
85400         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
85401         __NO_MATH_INLINES is defined.  Cleanups.
85403         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
85404         and __floorf is target has SSE4.1.
85405         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
85406         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
85407         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
85408         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
85410         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
85411         name.
85412         (floorf): Likewise.
85414         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
85416 2011-10-17  Andreas Schwab  <schwab@redhat.com>
85418         * misc/sys/cdefs.h: Fix last change.
85420         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
85421         database lookup.
85423 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
85425         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
85427         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
85428         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85429         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
85430         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85431         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85432         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
85433         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85434         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85435         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
85436         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
85437         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
85438         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
85439         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
85440         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
85441         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
85442         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
85443         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
85444         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
85445         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
85446         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
85447         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
85448         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
85450         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
85451         ceil, ceilf, floor, floorf.
85453         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
85454         Perform IRELATIVE relocations last.
85456         * elf/do-rel.h: Add another parameter nrelative, replacing the
85457         local variable with the same name.  Change name of the function
85458         to end in Rel or Rela (uppercase).
85459         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
85460         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
85461         elf_dynamic_do_##reloc function.
85463 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
85465         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
85466         is sufficient, at least on modern CPUs.
85468         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
85470         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
85471         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
85473         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
85474         __expl_finite.
85475         * math/bits/math-finite.h: Add entries for exp.
85476         * math/e_expl.c: Add __*_finite alias.
85477         * sysdeps/i386/fpu/e_exp.S: Likewise.
85478         * sysdeps/i386/fpu/e_expf.S: Likewise.
85479         * sysdeps/i386/fpu/e_expl.c: Likewise.
85480         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85481         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
85482         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
85483         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
85484         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
85485         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
85486         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
85488         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
85489         is sufficient, at least on modern CPUs.
85491         * ctype/ctype-info.c (__ctype_init): Define.
85492         * include/ctype.h (__ctype_init): Declare.
85493         (__ctype_b_loc): The variable is always initialized.
85494         (__ctype_toupper_loc): Likewise.
85495         (__ctype_tolower_loc): Likewise.
85496         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
85497         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
85499 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
85501         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
85503         * configure.in: Also look in $cxxmachine/include for C++ system
85504         headers.
85506 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85508         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
85509         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
85510         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
85511         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
85512         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
85513         (USE_AS_WMEMCMP): New macro.
85514         Fixing indents.
85515         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
85516         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
85517         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
85518         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
85519         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85520         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
85521         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
85522         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
85523         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
85524         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
85525         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
85526         (USE_AS_WMEMCMP): New macro.
85527         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
85528         * sysdeps/string/test-memcmp.c: Update.
85529         Fix simple_wmemcmp.
85530         Add new tests.
85531         * wcsmbs/wmemcmp.c: Update.
85532         (WMEMCMP): New macro.
85533         Fix overflow bug.
85535 2011-10-12  Andreas Jaeger  <aj@suse.de>
85537         [BZ #13268]
85538         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
85540 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
85542         * libio/iofwide.c (do_length): Avoid warning.
85544         * ctype/ctype.h (__isctype_f): Add missing __THROW.
85546 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
85548         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
85550         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
85551         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
85552         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
85553         * sysdeps/i386/i686/fpu/e_log.S: New file.
85554         * sysdeps/i386/i686/fpu/e_logf.S: New file.
85555         * sysdeps/i386/i686/fpu/e_logl.S: New file.
85557         * ctype/ctype.h: Add support for inlined isXXX functions when
85558         compiling C++ code.
85560 2011-10-14  Andreas Schwab  <schwab@redhat.com>
85562         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85564         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
85566 2011-10-13  Roland McGrath  <roland@hack.frob.com>
85568         [BZ #13291]
85569         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
85571 2011-10-13  Andreas Schwab  <schwab@redhat.com>
85573         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
85574         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
85575         feraiseexcept.
85577         * sysdeps/x86_64/memrchr.S: Check for zero size.
85579         * string/stratcliff.c: Add memrchr tests.
85581 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85583         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85584         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
85585         rawmemchr-sse2 rawmemchr-sse2-bsf.
85586         * sysdeps/i386/i686/multiarch/memchr.S: New file.
85587         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
85588         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
85589         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
85590         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
85591         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
85592         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
85593         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
85594         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
85595         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
85596         * string/memrchr.c (MEMRCHR): New macro.
85598 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
85600         Add integration with gcc's -ffinite-math-only and optimize wrapper
85601         functions in libm.
85602         * Versions.def: Define GLIBC_2.15 version for libm.
85603         * math/Makefile (headers): Add bits/math-finite.h.
85604         * math/bits/math-finite.h: New file.
85605         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
85606         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
85607         * math/e_acoshl.c: Add __*_finite alias.
85608         * math/e_acosl.c: Likewise.
85609         * math/e_asinl.c: Likewise.
85610         * math/e_atan2l.c: Likewise.
85611         * math/e_atanhl.c: Likewise.
85612         * math/e_coshl.c: Likewise.
85613         * math/e_exp10.c: Likewise.
85614         * math/e_exp10f.c: Likewise.
85615         * math/e_exp10l.c: Likewise.
85616         * math/e_exp2l.c: Likewise.
85617         * math/e_fmodl.c: Likewise.
85618         * math/e_gammal_r.c: Likewise.
85619         * math/e_hypotl.c: Likewise.
85620         * math/e_j0l.c: Likewise.
85621         * math/e_j1l.c: Likewise.
85622         * math/e_jnl.c: Likewise.
85623         * math/e_lgammal_r.c: Likewise.
85624         * math/e_log10l.c: Likewise.
85625         * math/e_log2l.c: Likewise.
85626         * math/e_logl.c: Likewise.
85627         * math/e_powl.c: Likewise.
85628         * math/e_sinhl.c: Likewise.
85629         * math/e_sqrtl.c: Likewise.
85630         * math/e_scalb.c: Completely rewritten and optimized.
85631         * math/e_scalbf.c: Likewise.
85632         * math/e_scalbl.c: Likewise.
85633         * math/w_acos.c: Likewise.
85634         * math/w_acosf.c: Likewise.
85635         * math/w_acosl.c: Likewise.
85636         * math/w_acosh.c: Likewise.
85637         * math/w_acoshf.c: Likewise.
85638         * math/w_acoshl.c: Likewise.
85639         * math/w_asin.c: Likewise.
85640         * math/w_asinf.c: Likewise.
85641         * math/w_asinl.c: Likewise.
85642         * math/w_atan2.c: Likewise.
85643         * math/w_atan2f.c: Likewise.
85644         * math/w_atan2l.c: Likewise.
85645         * math/w_atanh.c: Likewise.
85646         * math/w_atanhf.c: Likewise.
85647         * math/w_atanhl.c: Likewise.
85648         * math/w_exp10.c: Likewise.
85649         * math/w_exp10f.c: Likewise.
85650         * math/w_exp10l.c: Likewise.
85651         * math/w_fmod.c: Likewise.
85652         * math/w_fmodf.c: Likewise.
85653         * math/w_fmodl.c: Likewise.
85654         * math/w_j0.c: Likewise.
85655         * math/w_j0f.c: Likewise.
85656         * math/w_j0l.c: Likewise.
85657         * math/w_j1.c: Likewise.
85658         * math/w_j1f.c: Likewise.
85659         * math/w_j1l.c: Likewise.
85660         * math/w_jn.c: Likewise.
85661         * math/w_jnf.c: Likewise.
85662         * math/w_log.c: Likewise.
85663         * math/w_logf.c: Likewise.
85664         * math/w_logl.c: Likewise.
85665         * math/w_log10.c: Likewise.
85666         * math/w_log10f.c: Likewise.
85667         * math/w_log10l.c: Likewise.
85668         * math/w_log2.c: Likewise.
85669         * math/w_log2f.c: Likewise.
85670         * math/w_log2l.c: Likewise.
85671         * math/w_pow.c: Likewise.
85672         * math/w_powf.c: Likewise.
85673         * math/w_powl.c: Likewise.
85674         * math/w_remainder.c: Likewise.
85675         * math/w_remainderf.c: Likewise.
85676         * math/w_remainderl.c: Likewise.
85677         * math/w_scalb.c: Likewise.
85678         * math/w_scalbf.c: Likewise.
85679         * math/w_scalbl.c: Likewise.
85680         * math/w_sqrt.c: Likewise.
85681         * math/w_sqrtf.c: Likewise.
85682         * math/w_sqrtl.c: Likewise.
85683         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
85684         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
85685         used.
85686         * math/math_private.h: Declare __kernel_standard_f.
85687         * math/w_cosh.c: Remove cruft and optimize a bit.
85688         * math/w_coshf.c: Likewise.
85689         * math/w_coshl.c: Likewise.
85690         * math/w_exp2.c: Likewise.
85691         * math/w_exp2f.c: Likewise.
85692         * math/w_exp2l.c: Likewise.
85693         * math/w_hypot.c: Likewise.
85694         * math/w_hypotf.c: Likewise.
85695         * math/w_hypotl.c: Likewise.
85696         * math/w_lgamma.c: Likewise.
85697         * math/w_lgamma_r.c: Likewise.
85698         * math/w_lgammaf.c: Likewise.
85699         * math/w_lgammaf_r.c: Likewise.
85700         * math/w_lgammal.c: Likewise.
85701         * math/w_lgammal_r.c: Likewise.
85702         * math/w_sinh.c: Likewise.
85703         * math/w_sinhf.c: Likewise.
85704         * math/w_sinhl.c: Likewise.
85705         * math/w_tgamma.c: Likewise.
85706         * math/w_tgammaf.c: Likewise.
85707         * math/w_tgammal.c: Likewise.
85708         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85709         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85710         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
85711         Minor optimizations.  Pretty printing.  Remove cruft.
85712         * sysdeps/i386/fpu/e_acosf.S: Likewise.
85713         * sysdeps/i386/fpu/e_acosh.S: Likewise.
85714         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
85715         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
85716         * sysdeps/i386/fpu/e_acosl.c: Likewise.
85717         * sysdeps/i386/fpu/e_asin.S: Likewise.
85718         * sysdeps/i386/fpu/e_asinf.S: Likewise.
85719         * sysdeps/i386/fpu/e_atan2.S: Likewise.
85720         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
85721         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
85722         * sysdeps/i386/fpu/e_atanh.S: Likewise.
85723         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
85724         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
85725         * sysdeps/i386/fpu/e_exp10.S: Likewise.
85726         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
85727         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
85728         * sysdeps/i386/fpu/e_exp2.S: Likewise.
85729         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
85730         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
85731         * sysdeps/i386/fpu/e_fmod.S: Likewise.
85732         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
85733         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
85734         * sysdeps/i386/fpu/e_hypot.S: Likewise.
85735         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
85736         * sysdeps/i386/fpu/e_log.S: Likewise.
85737         * sysdeps/i386/fpu/e_log10.S: Likewise.
85738         * sysdeps/i386/fpu/e_log10f.S: Likewise.
85739         * sysdeps/i386/fpu/e_log10l.S: Likewise.
85740         * sysdeps/i386/fpu/e_log2.S: Likewise.
85741         * sysdeps/i386/fpu/e_log2f.S: Likewise.
85742         * sysdeps/i386/fpu/e_log2l.S: Likewise.
85743         * sysdeps/i386/fpu/e_logf.S: Likewise.
85744         * sysdeps/i386/fpu/e_logl.S: Likewise.
85745         * sysdeps/i386/fpu/e_pow.S: Likewise.
85746         * sysdeps/i386/fpu/e_powf.S: Likewise.
85747         * sysdeps/i386/fpu/e_powl.S: Likewise.
85748         * sysdeps/i386/fpu/e_remainder.S: Likewise.
85749         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
85750         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
85751         * sysdeps/i386/fpu/e_scalb.S: Likewise.
85752         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
85753         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
85754         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
85755         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
85756         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
85757         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
85758         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85759         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85760         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
85761         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
85762         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
85763         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
85764         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
85765         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85766         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
85767         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
85768         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
85769         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85770         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
85771         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
85772         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85773         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
85774         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
85775         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85776         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85777         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
85778         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
85779         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85780         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85781         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
85782         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
85783         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
85784         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
85785         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
85786         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
85787         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85788         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
85789         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85790         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
85791         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
85792         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
85793         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
85794         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
85795         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
85796         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
85797         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
85798         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
85799         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
85800         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
85801         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85802         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
85803         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
85804         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
85805         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
85806         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
85807         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
85808         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
85809         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
85810         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85811         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
85812         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
85813         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
85814         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
85815         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
85816         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
85817         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
85818         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
85819         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85820         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85821         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
85822         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
85823         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
85824         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
85825         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
85826         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
85827         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
85828         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
85829         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
85830         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
85831         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
85832         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85833         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
85834         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
85835         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85836         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
85837         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85838         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
85839         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
85840         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85841         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85842         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
85843         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85844         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
85845         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
85846         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
85847         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85848         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
85849         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
85850         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
85851         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
85852         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
85853         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
85854         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
85855         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
85856         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
85857         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
85858         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
85859         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
85860         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
85861         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
85862         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
85863         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
85864         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85865         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
85866         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
85867         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
85868         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
85869         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
85870         (__isnanf): Likewise.
85871         (__isinf_ns): Likewise.
85872         (__isinf_nsf): Likewise.
85873         (__finite): Likewise.
85874         (__finitef): Likewise.
85875         (__ieee754_sqrt): Define as macro.
85876         (__ieee754_sqrtf): Define as macro.
85877         (__ieee754_sqrtl): Define as macro.
85878         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
85879         inlined copy.
85880         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
85881         __FINITE_MATH_ONLY__ consistent.
85882         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
85884 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
85886         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
85887         of rawmemchr.
85889         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
85891 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
85893         * po/ja.po: Update from translation team.
85895 2011-10-08  Roland McGrath  <roland@hack.frob.com>
85897         * locale/programs/locarchive.c (prepare_address_space): New function.
85898         (create_archive, enlarge_archive, open_archive): Use it.
85900         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
85901         inside [SHARED], where it is used.
85903         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
85905         * nss/getent.c (netgroup_keys): Remove unused variable.
85906         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
85908 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
85910         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
85911         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
85912         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
85913         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
85914         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
85915         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
85916         * math/Makefile (libm-calls): Add s_isinf_ns.
85917         * math/divtc3.c: Use __isinf_nsl instead of isinf.
85918         * math/multc3.c: Likewise.
85919         * math/s_casin.c: Likewise.
85920         * math/s_casinf.c: Likewise.
85921         * math/s_casinl.c: Likewise.
85922         * math/s_ccos.c: Likewise.
85923         * math/s_ccosf.c: Likewise.
85924         * math/s_ccosl.c: Likewise.
85925         * math/s_ctan.c: Likewise.
85926         * math/s_ctanf.c: Likewise.
85927         * math/s_ctanh.c: Likewise.
85928         * math/s_ctanhf.c: Likewise.
85929         * math/s_ctanhl.c: Likewise.
85930         * math/s_ctanl.c: Likewise.
85931         * math/w_fmod.c: Likewise.
85932         * math/w_fmodf.c: Likewise.
85933         * math/w_fmodl.c: Likewise.
85934         * math/w_remainder.c: Likewise.
85935         * math/w_remainderf.c: Likewise.
85936         * math/w_remainderl.c: Likewise.
85937         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
85938         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
85939         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
85940         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
85941         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
85942         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
85943         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
85944         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
85946         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
85947         of the number.
85948         * stdio-common/printf_fphex.c: Likewise.
85949         * stdio-common/printf_size.c: Likewise.
85951         * math/e_exp10.c: Include math_private.h using <...> not "...".
85952         * math/e_exp10f.c: Likewise.
85953         * math/e_exp10l.c: Likewise.
85954         * math/e_exp2l.c: Likewise.
85955         * math/e_j0l.c: Likewise.
85956         * math/e_j1l.c: Likewise.
85957         * math/e_jnl.c: Likewise.
85958         * math/e_lgammal_r.c: Likewise.
85959         * math/e_rem_pio2l.c: Likewise.
85960         * math/e_scalb.c: Likewise.
85961         * math/e_scalbf.c: Likewise.
85962         * math/e_scalbl.c: Likewise.
85963         * math/k_cosl.c: Likewise.
85964         * math/k_sinl.c: Likewise.
85965         * math/k_tanl.c: Likewise.
85966         * math/s_cacoshf.c: Likewise.
85967         * math/s_catan.c: Likewise.
85968         * math/s_catanf.c: Likewise.
85969         * math/s_catanh.c: Likewise.
85970         * math/s_catanhf.c: Likewise.
85971         * math/s_catanhl.c: Likewise.
85972         * math/s_catanl.c: Likewise.
85973         * math/s_ccosh.c: Likewise.
85974         * math/s_ccoshf.c: Likewise.
85975         * math/s_ccoshl.c: Likewise.
85976         * math/s_cexp.c: Likewise.
85977         * math/s_cexpf.c: Likewise.
85978         * math/s_cexpl.c: Likewise.
85979         * math/s_clog.c: Likewise.
85980         * math/s_clog10.c: Likewise.
85981         * math/s_clog10f.c: Likewise.
85982         * math/s_clog10l.c: Likewise.
85983         * math/s_clogf.c: Likewise.
85984         * math/s_clogl.c: Likewise.
85985         * math/s_csin.c: Likewise.
85986         * math/s_csinf.c: Likewise.
85987         * math/s_csinh.c: Likewise.
85988         * math/s_csinhf.c: Likewise.
85989         * math/s_csinhl.c: Likewise.
85990         * math/s_csinl.c: Likewise.
85991         * math/s_csqrt.c: Likewise.
85992         * math/s_csqrtf.c: Likewise.
85993         * math/s_csqrtl.c: Likewise.
85994         * math/s_ctan.c: Likewise.
85995         * math/s_ctanf.c: Likewise.
85996         * math/s_ctanh.c: Likewise.
85997         * math/s_ctanhf.c: Likewise.
85998         * math/s_ctanhl.c: Likewise.
85999         * math/s_ctanl.c: Likewise.
86000         * math/s_ldexp.c: Likewise.
86001         * math/s_ldexpf.c: Likewise.
86002         * math/s_ldexpl.c: Likewise.
86003         * math/s_significand.c: Likewise.
86004         * math/s_significandf.c: Likewise.
86005         * math/s_significandl.c: Likewise.
86006         * math/w_acos.c: Likewise.
86007         * math/w_acosf.c: Likewise.
86008         * math/w_acosh.c: Likewise.
86009         * math/w_acoshf.c: Likewise.
86010         * math/w_acoshl.c: Likewise.
86011         * math/w_acosl.c: Likewise.
86012         * math/w_asin.c: Likewise.
86013         * math/w_asinf.c: Likewise.
86014         * math/w_asinl.c: Likewise.
86015         * math/w_atan2.c: Likewise.
86016         * math/w_atan2f.c: Likewise.
86017         * math/w_atan2l.c: Likewise.
86018         * math/w_atanh.c: Likewise.
86019         * math/w_atanhf.c: Likewise.
86020         * math/w_atanhl.c: Likewise.
86021         * math/w_cosh.c: Likewise.
86022         * math/w_coshf.c: Likewise.
86023         * math/w_coshl.c: Likewise.
86024         * math/w_dremf.c: Likewise.
86025         * math/w_exp10.c: Likewise.
86026         * math/w_exp10f.c: Likewise.
86027         * math/w_exp10l.c: Likewise.
86028         * math/w_exp2.c: Likewise.
86029         * math/w_exp2f.c: Likewise.
86030         * math/w_fmod.c: Likewise.
86031         * math/w_fmodf.c: Likewise.
86032         * math/w_fmodl.c: Likewise.
86033         * math/w_hypot.c: Likewise.
86034         * math/w_hypotf.c: Likewise.
86035         * math/w_hypotl.c: Likewise.
86036         * math/w_j0.c: Likewise.
86037         * math/w_j0f.c: Likewise.
86038         * math/w_j0l.c: Likewise.
86039         * math/w_j1.c: Likewise.
86040         * math/w_j1f.c: Likewise.
86041         * math/w_j1l.c: Likewise.
86042         * math/w_jn.c: Likewise.
86043         * math/w_jnf.c: Likewise.
86044         * math/w_jnl.c: Likewise.
86045         * math/w_lgamma.c: Likewise.
86046         * math/w_lgamma_r.c: Likewise.
86047         * math/w_lgammaf.c: Likewise.
86048         * math/w_lgammaf_r.c: Likewise.
86049         * math/w_lgammal.c: Likewise.
86050         * math/w_lgammal_r.c: Likewise.
86051         * math/w_log.c: Likewise.
86052         * math/w_log10.c: Likewise.
86053         * math/w_log10f.c: Likewise.
86054         * math/w_log10l.c: Likewise.
86055         * math/w_log2.c: Likewise.
86056         * math/w_log2f.c: Likewise.
86057         * math/w_log2l.c: Likewise.
86058         * math/w_logf.c: Likewise.
86059         * math/w_logl.c: Likewise.
86060         * math/w_pow.c: Likewise.
86061         * math/w_powf.c: Likewise.
86062         * math/w_powl.c: Likewise.
86063         * math/w_remainder.c: Likewise.
86064         * math/w_remainderf.c: Likewise.
86065         * math/w_remainderl.c: Likewise.
86066         * math/w_scalb.c: Likewise.
86067         * math/w_scalbf.c: Likewise.
86068         * math/w_scalbl.c: Likewise.
86069         * math/w_sinh.c: Likewise.
86070         * math/w_sinhf.c: Likewise.
86071         * math/w_sinhl.c: Likewise.
86072         * math/w_sqrt.c: Likewise.
86073         * math/w_sqrtf.c: Likewise.
86074         * math/w_sqrtl.c: Likewise.
86075         * math/w_tgamma.c: Likewise.
86076         * math/w_tgammaf.c: Likewise.
86077         * math/w_tgammal.c: Likewise.
86079         * po/ja.po: Update from translation team.
86081 2011-09-29  Andreas Jaeger  <aj@suse.de>
86083         [BZ #13179]
86084         * sunrpc/netname.c (netname2host): Fix logic.
86086         [BZ #6779]
86087         [BZ #6783]
86088         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
86089         correctly.
86090         * math/w_remainder.c (__remainder): Likewise.
86091         * math/w_remainderf.c (__remainderf): Likewise.
86092         * math/libm-test.inc (remainder_test): Add test cases.
86094 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86096         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
86097         sdiv_qrnnd.
86099 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
86101         * string/test-memcmp.c: Avoid unncessary #defines.
86102         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
86104 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86106         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
86107         Use new sse2 version for core i3 - i7 as it's faster
86108         than sse42 version.
86109         (bit_Prefer_PMINUB_for_stringop): New.
86110         * sysdeps/x86_64/rawmemchr.S: Update.
86111         Replace with faster SSE2 version.
86112         * sysdeps/x86_64/memrchr.S: New file.
86113         * sysdeps/x86_64/memchr.S: Update.
86114         Replace with faster SSE2 version.
86116 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
86118         * elf/dl-load.c (lose): Add cast to avoid warning.
86120 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
86122         * po/ca.po: Update from translation team.
86124         * inet/getnetgrent_r.c: Hook up nscd.
86125         * nscd/Makefile (routines): Add nscd_netgroup.
86126         (nscd-modules): Add netgroupcache.
86127         (CFLAGS-netgroupcache.c): Define.
86128         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
86129         (cache_search): Add const to second parameter.
86130         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
86131         INNETGR.
86132         (dbs): Add netgrdb entry.
86133         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
86134         (verify_persistent_db): Handle netgrdb.
86135         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
86136         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
86137         GETFDNETGR.
86138         (netgroup_response_header): Define.
86139         (innetgroup_response_header): Define.
86140         (datahead): Add netgroup_response_header and innetgroup_response_header
86141         elements.
86142         * nscd/nscd.conf: Add entries for netgroup cache.
86143         * nscd/nscd.h (dbtype): Add netgrdb.
86144         (_PATH_NSCD_NETGROUP_DB): Define.
86145         (netgroup_iov_disabled): Declare.
86146         (xmalloc, xcalloc, xrealloc): Move declarations here.
86147         (cache_search): Adjust prototype.
86148         Add netgroup-related prototypes.
86149         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
86150         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
86151         (__nscd_innetgr): Declare.
86152         * nscd/selinux.c (perms): Use access_vector_t as element type and
86153         add netgroup-related initializers.
86154         * nscd/netgroupcache.c: New file.
86155         * nscd/nscd_netgroup.c: New file.
86156         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
86157         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
86158         For four parameters use innetgr.
86159         * nss/nss_files/files-init.c: Add definition and callback for netgr.
86160         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
86161         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
86162         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
86164         * nscd/connections.c (register_traced_file): Don't register file
86165         for disabled databases.
86167 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
86169         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
86171         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
86172         from tree and freeing node.
86174 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
86176         * nss/nsswitch.c (__nss_database_lookup): Handle
86177         nss_parse_service_list out of memory case.
86179 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
86181         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
86182         out of memory case.
86184 2011-10-04  Andreas Schwab  <schwab@redhat.com>
86186         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
86187         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
86188         pass it down.
86189         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
86190         elf_machine_rela, elf_machine_lazy_rel.
86191         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
86192         (ELF_DYNAMIC_DO_REL): Likewise.
86193         (ELF_DYNAMIC_DO_RELA): Likewise.
86194         (ELF_DYNAMIC_RELOCATE): Likewise.
86195         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
86196         to ELF_DYNAMIC_DO_REL.
86197         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
86198         (dl_main): In trace mode always set __RTLD_NOIFUNC.
86199         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
86200         elf_machine_rela.
86201         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
86202         skip_ifunc, don't call ifunc function if non-zero.
86203         (elf_machine_rela): Likewise.
86204         (elf_machine_lazy_rel): Likewise.
86205         (elf_machine_lazy_rela): Likewise.
86206         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
86207         (elf_machine_lazy_rel): Likewise.
86208         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
86209         Likewise.
86210         (elf_machine_lazy_rel): Likewise.
86211         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
86212         Likewise.
86213         (elf_machine_lazy_rel): Likewise.
86214         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
86215         (elf_machine_lazy_rel): Likewise.
86216         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
86217         (elf_machine_lazy_rel): Likewise.
86218         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
86219         (elf_machine_lazy_rel): Likewise.
86220         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
86221         (elf_machine_lazy_rel): Likewise.
86222         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
86223         (elf_machine_lazy_rel): Likewise.
86224         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
86225         (elf_machine_lazy_rel): Likewise.
86227 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
86229         * nss/nss_files/files-init.c (_nss_files_init): Use static
86230         initialization for all the *_traced_file variables.
86232 2011-09-28  Andreas Schwab  <schwab@redhat.com>
86234         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86236 2011-09-27  Roland McGrath  <roland@hack.frob.com>
86238         [BZ #13226]
86239         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
86241 2011-09-27  Andreas Schwab  <schwab@redhat.com>
86243         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
86244         Reread the line before reparsing it.
86246 2011-09-26  Andreas Schwab  <schwab@redhat.com>
86248         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
86250 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
86251             Maxim Kuvyrkov  <maxim@codesourcery.com>
86252             Joseph Myers  <joseph@codesourcery.com>
86254         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
86255         if needed for __stack_chk_guard.
86257 2011-09-19  Roland McGrath  <roland@hack.frob.com>
86259         * sysdeps/posix/spawni.c (script_execute): Always define it.
86260         It will be optimized away if unused.
86261         (maybe_script_execute): New function.
86262         (__spawni): Call it.
86264         * Makerules: Don't include tls.make.
86265         (config-tls): Always set to thread.
86266         * tls.make.c: File removed.
86268 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
86270         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
86271         * config.make.in (CPPFLAGS-config): New substituted variable.
86273 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
86275         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
86277         [BZ #13192]
86278         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
86279         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
86281 2011-09-15  Roland McGrath  <roland@hack.frob.com>
86283         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
86284         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
86285         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
86286         (CALL_FAIL): Likewise.
86287         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
86288         (CALL_FAIL): Macro removed.
86289         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
86291 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
86293         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
86294         for __FINITE_MATH_ONLY__ == 1.
86296 2011-09-15  Andreas Schwab  <schwab@redhat.com>
86298         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
86299         __ieee754_sqrt instead of sqrt.
86300         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
86301         __ieee754_sqrtf instead of sqrtf.
86302         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
86303         __floorf instead of floorf.
86304         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
86305         __floorf, __truncf instead of floorf, truncf.
86307 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
86309         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
86311         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
86312         __extern_always_inline.
86313         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
86314         32-bit.
86316 2011-09-14  Andreas Schwab  <schwab@redhat.com>
86318         * elf/rtld.c (dl_main): Also relocate in dependency order when
86319         doing symbol dependency testing.
86321 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
86323         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
86324         Always define `refsym'.
86326 2011-09-13  Andreas Schwab  <schwab@redhat.com>
86328         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
86329         (__FD_ELT): Renamed from __FDELT.
86330         * misc/bits/select2.h (__FD_ELT): Likewise.
86331         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
86332         __FD_MASK instead of __FDELT, __FDMASK.
86333         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
86334         Likewise.
86335         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
86336         Likewise.
86338         * elf/Makefile (gen-ldd): Fix pattern.
86340         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
86341         (init_tls): Likewise.
86343 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
86345         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
86347 2011-09-12  Andreas Schwab  <schwab@redhat.com>
86349         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
86350         `struct cmsghdr *' instead of `void *'.
86351         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
86352         Likewise.
86354 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
86356         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
86357         if non-absolute.
86358         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
86359         ldd_rewrite_script.
86361 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
86363         * configure.in: Remove --with-tls option.
86364         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
86365         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
86366         out in case it is missing.
86367         * sysdeps/ia64/elf/configure.in: Likewise.
86368         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
86369         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
86370         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
86371         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
86372         * sysdeps/sh/elf/configure.in: Likewise.
86373         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
86374         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
86375         * sysdeps/x86_64/elf/configure.in: Likewise.
86376         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
86377         * sysdeps/mach/hurd/tls.h: Likewise.
86379         [BZ #13067]
86380         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
86382         [BZ #13090]
86383         * configure.in: Fix use of AC_INIT.
86385         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
86387 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
86389         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
86390         __set_errno.
86391         * malloc/hooks.c: Likewise.
86393         [BZ #11929]
86394         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
86395         variables statically.
86396         (narenas): Initialize.
86397         (list_lock): Initialize.
86398         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
86399         initializtion of main_arena and list_lock.  Small cleanups.
86400         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
86401         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
86402         Add initializers to main_arena and mp_.
86403         (malloc_state): Remove pagesize member.  Change all users to use
86404         GLRO(dl_pagesize).
86406         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
86407         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
86408         is always initialized.
86410         * malloc/malloc.c: Removed unused configurations and dead code.
86411         * malloc/arena.c: Likewise.
86412         * malloc/hooks.c: Likewise.
86413         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
86415         * include/tls.h: Removed.  USE___THREAD must always be defined.
86416         * bits/libc-tsd.h: Don't handle !USE___THREAD.
86417         * elf/dl-libc.c: Likewise.
86418         * elf/dl-tsd.c: Likewise.
86419         * include/errno.h: Likewise.
86420         * include/netdb.h: Likewise.
86421         * include/resolv.h: Likewise.
86422         * inet/herrno-loc.c: Likewise.
86423         * inet/herrno.c: Likewise.
86424         * malloc/arena.c: Likewise.
86425         * malloc/hooks.c: Likewise.
86426         * malloc/malloc.c: Likewise.
86427         * resolv/res-state.c: Likewise.
86428         * resolv/res_libc.c: Likewise.
86429         * sysdeps/i386/dl-machine.h: Likewise.
86430         * sysdeps/ia64/dl-machine.h: Likewise.
86431         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
86432         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
86433         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
86434         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
86435         * sysdeps/sh/dl-machine.h: Likewise.
86436         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
86437         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
86438         * sysdeps/unix/i386/sysdep.S: Likewise.
86439         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
86440         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
86441         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
86442         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
86443         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
86444         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
86445         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
86446         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
86447         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86448         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
86449         * sysdeps/unix/x86_64/sysdep.S: Likewise.
86450         * sysdeps/x86_64/dl-machine.h: Likewise.
86451         * tls.make.c: Likewise.
86453         * configure.in: Remove --with-__thread option.  Make tests for
86454         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
86455         tls_model attribute fail if no support is available.  Remove
86456         USE_IN_LIBIO.
86457         * Makeconfig: Adjust for dropped configure option.  All features are
86458         now mandatory.
86459         * Makerules: Likewise.
86460         * Versions.def: Likewise.
86461         * argp/argp-fmtstream.c: Likewise.
86462         * argp/argp-fmtstream.h: Likewise.
86463         * argp/argp-help.c: Likewise.
86464         * assert/assert.c: Likewise.
86465         * config.h.in: Likewise.
86466         * config.make.in: Likewise.
86467         * configure: Likewise.
86468         * configure.in: Likewise.
86469         * csu/Versions: Likewise.
86470         * csu/init.c: Likewise.
86471         * elf/tst-audit2.c: Likewise.
86472         * elf/tst-tls10.c: Likewise.
86473         * elf/tst-tls10.h: Likewise.
86474         * elf/tst-tls11.c: Likewise.
86475         * elf/tst-tls12.c: Likewise.
86476         * elf/tst-tls14.c: Likewise.
86477         * elf/tst-tlsmod11.c: Likewise.
86478         * elf/tst-tlsmod12.c: Likewise.
86479         * elf/tst-tlsmod13.c: Likewise.
86480         * elf/tst-tlsmod13a.c: Likewise.
86481         * elf/tst-tlsmod14a.c: Likewise.
86482         * elf/tst-tlsmod15b.c: Likewise.
86483         * elf/tst-tlsmod16a.c: Likewise.
86484         * elf/tst-tlsmod16b.c: Likewise.
86485         * elf/tst-tlsmod7.c: Likewise.
86486         * elf/tst-tlsmod8.c: Likewise.
86487         * elf/tst-tlsmod9.c: Likewise.
86488         * gmon/gmon.c: Likewise.
86489         * grp/fgetgrent_r.c: Likewise.
86490         * grp/putgrent.c: Likewise.
86491         * hurd/fopenport.c: Likewise.
86492         * include/libc-symbols.h: Likewise.
86493         * include/tls.h: Likewise.
86494         * intl/gettextP.h: Likewise.
86495         * intl/loadinfo.h: Likewise.
86496         * locale/global-locale.c: Likewise.
86497         * locale/localeinfo.h: Likewise.
86498         * mach/devstream.c: Likewise.
86499         * malloc/arena.c: Likewise.
86500         * malloc/set-freeres.c: Likewise.
86501         * misc/err.c: Likewise.
86502         * misc/getttyent.c: Likewise.
86503         * misc/mntent_r.c: Likewise.
86504         * posix/getopt.c: Likewise.
86505         * posix/wordexp.c: Likewise.
86506         * pwd/fgetpwent_r.c: Likewise.
86507         * resolv/Versions: Likewise.
86508         * resolv/res_hconf.c: Likewise.
86509         * shadow/fgetspent_r.c: Likewise.
86510         * shadow/putspent.c: Likewise.
86511         * stdio-common/printf_fphex.c: Likewise.
86512         * stdio-common/tmpfile.c: Likewise.
86513         * stdlib/abort.c: Likewise.
86514         * stdlib/fmtmsg.c: Likewise.
86515         * sunrpc/auth_unix.c: Likewise.
86516         * sunrpc/clnt_perr.c: Likewise.
86517         * sunrpc/clnt_tcp.c: Likewise.
86518         * sunrpc/clnt_udp.c: Likewise.
86519         * sunrpc/clnt_unix.c: Likewise.
86520         * sunrpc/openchild.c: Likewise.
86521         * sunrpc/svc_simple.c: Likewise.
86522         * sunrpc/svc_tcp.c: Likewise.
86523         * sunrpc/svc_udp.c: Likewise.
86524         * sunrpc/svc_unix.c: Likewise.
86525         * sunrpc/xdr.c: Likewise.
86526         * sunrpc/xdr_array.c: Likewise.
86527         * sunrpc/xdr_rec.c: Likewise.
86528         * sunrpc/xdr_ref.c: Likewise.
86529         * sunrpc/xdr_stdio.c: Likewise.
86531 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86533         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86535 2011-07-03  Andreas Jaeger  <aj@suse.de>
86537         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
86538         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
86539         regenerate with gen-libm-tests.pl.
86541 2010-05-12  Petr Baudis  <pasky@suse.cz>
86543         [BZ #11589]
86544         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
86545         around j0() zero points by switching to j1().
86546         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86547         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86548         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86549         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86551 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86553         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
86554         instead of 0.
86555         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
86556         instead of 0.
86557         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86558         Patch in part by Pavel Roskin <proski@gnu.org>.
86560         [BZ #13138]
86561         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
86562         realloc.
86563         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
86564         Free memory block if necessary.
86566         [BZ #12847]
86567         * libio/genops.c (INTDEF): For string streams the _lock pointer can
86568         be NULL.  Don't lock in this case.
86570 2011-09-09  Roland McGrath  <roland@hack.frob.com>
86572         * elf/elf.h (ELFOSABI_GNU): New macro.
86573         (ELFOSABI_LINUX): Define to that.
86575 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
86577         * string/strncat.c (strncat): Undef the symbol in case it has been
86578         defined in bits/string.h.
86580 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86582         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
86584         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
86585         link map.
86587 2011-08-17  Andreas Jaeger  <aj@suse.de>
86589         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
86591 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
86592             Ian Lance Taylor  <iant@google.com>
86594         * math/libm-test.inc (lround_test): New testcase.
86595         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
86597 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
86599         * Makefile: Remove support for automatic cvs check-ins.
86600         * Makerules: Likewise.
86601         * config.make.in: Likewise.
86602         * configure.in: Likewise.
86603         * intl/Makefile: Likewise.
86604         * locale/Makefile: Likewise.
86605         * po/Makefile: Likewise.
86606         * posix/Makefile: Likewise.
86607         * sysdeps/gnu/Makefile: Likewise.
86608         * sysdeps/mach/hurd/Makefile: Likewise.
86609         * sysdeps/sparc/sparc32/Makefile: Likewise.
86611         [BZ #13118]
86612         * posix/Makefile (bug-regex32-ENV): Define.
86613         Patch by John Stanley <jpsinthemix@verizon.net>.
86615         * misc/Makefile (headers): Add bits/select2.h.
86616         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
86617         * misc/bits/select2.h: New file.
86618         * include/bits/select2.h: New file.
86619         * debug/Makefile (routines): Add fdelt_chk.
86620         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
86621         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
86622         FD_ISSET.
86623         * debug/fdelt_chk.c: New file.
86625         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
86626         * wcsmbs/test-wmemcmp.c: Likewise.
86627         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
86628         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
86630 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86632         * string/Makefile (strop-tests): Add memcmp.
86633         * string/test-wmemcmp.c: New file.
86634         * string/test-memcmp.c: Add wmemcmp support.
86636 2011-09-08  Roland McGrath  <roland@hack.frob.com>
86638         [BZ #13153]
86639         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
86640         2011-07-19 change.
86642         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
86643         garbage value in a __mach_port_mod_refs call in the cases of the
86644         task-self and thread-self ports.
86646 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86648         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
86650 2011-09-08  Andreas Schwab  <schwab@redhat.com>
86652         * elf/dl-load.c (lose): Check for non-null L.
86654 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86656         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
86658         * elf/dl-libc.c (dlerror_run): Pass back error code from
86659         dl_catch_error.
86661         [BZ #13123]
86662         * elf/dl-load.c (lose): Free l_origin if it is valid.
86664         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
86665         names.
86666         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
86667         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86668         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86669         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86670         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
86671         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
86673 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86675         * sysdeps/powerpc/fpu/e_hypot.c: New file.
86676         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
86677         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
86678         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
86679         * sysdeps/powerpc/fpu/k_cosf.c: New file.
86680         * sysdeps/powerpc/fpu/k_sinf.c: New file.
86681         * sysdeps/powerpc/fpu/s_cosf.c: New file.
86682         * sysdeps/powerpc/fpu/s_sinf.c: New file.
86683         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
86684         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
86686 2011-08-15  Alan Modra  <amodra@gmail.com>
86688         [BZ #13092]
86689         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
86690         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
86691         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
86692         ppc_mcount to static-only-routines.
86693         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
86694         __mcount_internal.
86695         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
86696         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
86698 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
86700         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
86701         for finite and infinity parameters.
86703 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
86705         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
86706         and add nop instructions for throughput optimization.
86707         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
86709 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
86711         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
86712         aligned copy for power7 with vector-scalar instructions.
86713         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
86715 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
86717         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
86718         AVX check.
86720 2011-09-07  Andreas Schwab  <schwab@redhat.com>
86722         [BZ #13144]
86723         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
86724         last change.
86726 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86728         * sysdeps/unix/sysv/linux/x86_64/init-first.c
86729         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
86730         syscall wrapper around clock_gettime in __vdso_clock_gettime.
86731         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
86732         clock_gettime.
86734 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86736         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
86737         Forgot to demangle the pointer.
86739         * sysdeps/i386/sysdep.h: Define atom_text_section.
86740         * sysdeps/x86_64/sysdep.h: Likewise.
86741         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
86742         section with atom_text_section.
86743         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86744         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86745         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
86746         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86747         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
86749         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
86750         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
86751         already be defined.  Change to take two parameters and don't assign
86752         result to variable.  Adjust all users.
86753         Define INTERNAL_GETTIME if not already defined.
86754         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
86755         call.
86756         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
86757         HAVE_CLOCK_GETTIME_VSYSCALL.
86758         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
86760         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
86761         gettimeofday vsyscall, just use time.
86763 2011-09-06  Andreas Schwab  <schwab@redhat.com>
86765         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
86766         <errno.h>.
86768 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86770         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
86771         syscall on x86-64.
86772         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
86773         syscall.
86774         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
86775         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
86776         syscall if possible.
86778 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86780         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
86781         e_ident.  Don't pass to find_mapsXX.
86782         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
86784 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86786         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86787         strchr-sse2-no-bsf strrchr-sse2-no-bsf
86788         * sysdeps/x86_64/multiarch/strchr.S: Update.
86789         Check bit_slow_BSF bit.
86790         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
86791         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
86792         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
86794 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86796         [BZ #13134]
86797         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
86798         before glibc 2.15.
86799         (tryshell): Define.
86800         (__spawni): Change last parameter to be flag.  Test
86801         SPAWN_XFLAGS_USE_PATH flag to use path or not.
86802         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
86803         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
86804         * posix/spawni.c: Likewise.
86805         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
86806         * posix/spawnp.c: Likewise.  Change normal version to use
86807         SPAWN_XFLAGS_USE_PATH.
86808         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
86809         SPAWN_XFLAGS_TRY_SHELL.
86811         [BZ #13150]
86812         * posix/glob.h: Remove gcc 1.x support.
86814         [BZ #13068]
86815         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
86817 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86819         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86820         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
86821         strrchr-sse2-bsf
86822         * sysdeps/i386/i686/multiarch/strchr.S: New file.
86823         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
86824         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
86825         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
86826         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
86827         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
86829 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86831         * sysdeps/x86_64/wcscmp.S: New file.
86833         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
86834         wcscmp-c wcscmp-sse2
86835         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
86836         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
86837         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
86838         * wcsmbs/wcscmp.c: Allow renaming.
86840 2011-09-05  David S. Miller  <davem@davemloft.net>
86842         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
86843         stack slot, rather than the struct return pointer slot.
86844         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
86845         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
86846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
86847         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
86849 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86851         * po/ja.po: Update from translation team.
86853         [BZ #13144]
86854         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
86855         kernel in 64-bit binaries.
86857 2011-09-01  David S. Miller  <davem@davemloft.net>
86859         * elf/elf.h (HWCAP_SPARC_*): Move to..
86860         * sysdeps/sparc/sysdep.h: this new file and add new values.
86861         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
86862         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
86863         _DL_HWCAP_COUNT to 24.
86864         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
86865         entries.
86866         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
86867         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
86868         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
86869         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
86870         instead of magic constants.
86871         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86873 2011-08-31  David S. Miller  <davem@davemloft.net>
86875         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
86876         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
86877         Reimplement to do errno handling inline.
86878         (SYSCALL_ERROR_HANDLER): New macro.
86879         (__SYSCALL_STRING): Do not do errno handling in asm.
86880         (__CLONE_SYSCALL_STRING): Delete.
86881         (__INTERNAL_SYSCALL_STRING): Delete.
86882         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
86883         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
86884         (PSEUDO): Reimplement to do errno handling inline.
86885         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
86886         (SYSCALL_ERROR_HANDLER): New macro.
86887         (__SYSCALL_STRING): Do not do errno handling in asm.
86888         (__CLONE_SYSCALL_STRING): Delete.
86889         (__INTERNAL_SYSCALL_STRING): Delete.
86890         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
86891         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
86892         i386.
86893         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
86894         (inline_syscall*): Add 'err' argument.
86895         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
86896         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
86897         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
86898         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
86900         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
86901         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
86903 2011-08-30  Andreas Schwab  <schwab@redhat.com>
86905         * elf/rtld.c (dl_main): Relocate objects in dependency order.
86907 2011-08-29  Jiri Olsa <jolsa@redhat.com>
86909         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
86910         directive.
86912 2011-08-24  David S. Miller  <davem@davemloft.net>
86914         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
86916 2011-08-24  Andreas Schwab  <schwab@redhat.com>
86918         * elf/Makefile: Add rules to build and run unload8 test.
86919         * elf/unload8.c: New file.
86920         * elf/unload8mod1.c: New file.
86921         * elf/unload8mod1x.c: New file.
86922         * elf/unload8mod2.c: New file.
86923         * elf/unload8mod3.c: New file.
86925         * elf/dl-close.c (_dl_close_worker): Reset private search list if
86926         it wasn't used.
86928 2011-08-23  David S. Miller  <davem@davemloft.net>
86930         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
86931         subtract stack bias.
86932         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
86933         %sp not %fp in calculations.
86934         (_JMPBUF_UNWINDS_ADJ): Likewise.
86936         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
86937         (aio_suspend): Call it to force an exception region around the
86938         AIO_MISC_WAIT() invocation.
86940 2011-08-23  Andreas Schwab  <schwab@redhat.com>
86942         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
86943         backslash.
86945 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
86947         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
86948         protection macro.
86949         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
86950         and <dl-machine.h>.
86951         (Elf64_FuncDesc): Remove.
86953 2011-08-22  David S. Miller  <davem@davemloft.net>
86955         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
86956         sigaltstack check, add missing cfi directives.
86957         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
86958         missing cfi directives, and sigaltstack handling.
86960 2011-08-16  Andreas Schwab  <schwab@redhat.com>
86962         [BZ #11724]
86963         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
86964         object is seen twice.
86965         * elf/dl-fini.c (_dl_sort_fini): Likewise.
86967         * elf/Makefile (distribute): Add tst-initorder2.c.
86968         (tests): Add tst-initorder2.
86969         (modules-names): Add tst-initorder2a tst-initorder2b
86970         tst-initorder2c tst-initorder2d.  Add rules to build them.
86971         ($(objpfx)tst-initorder2.out): New rule.
86972         * elf/tst-initorder2.c: New file.
86973         * elf/tst-initorder2.exp: New file.
86975 2011-08-22  Andreas Schwab  <schwab@redhat.com>
86977         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
86979         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
86980         dependencies back to end of function.
86982         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
86983         $(elfobjdir)/ld.so.
86985 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
86987         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
86988         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
86989         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
86990         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
86991         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
86992         of __vdso_gettimeofday.
86993         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
86994         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
86995         attribute_hidden.
86996         (_libc_vdso_platform_setup): Remove initialization of
86997         __vdso_gettimeofday and __vdso_time.
86999 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
87001         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
87002         and fgetc_unlocked.
87003         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
87004         getc_unlocked.
87006         * elf/dl-open.c (add_to_global): Report additions to the global scope
87007         for LD_DEBUG=scopes.
87008         (dl_open_worker): Also print scope of newly loaded dependencies.
87009         (_dl_show_scope): Indicate if there is no scope.
87011         [BZ #13114]
87012         * stdio-common/Makefile (tests): Add bug24.
87013         * stdio-common/bug24.c: New file.
87015 2011-08-19  Andreas Jaeger  <aj@suse.de>
87017         [BZ #13114]
87018         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
87019         non-existant file when using close-on-exec mode.
87021 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
87023         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
87024         the very first instruction.
87026         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
87027         the CFI state in the end.
87028         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
87029         inclusion of dl-trampoline.h.
87030         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
87032 2011-08-19  Andreas Schwab  <schwab@redhat.com>
87034         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
87035         expectations for long double.
87037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
87038         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
87040 2011-08-14  David S. Miller  <davem@davemloft.net>
87042         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
87043         artificual limit depends upon the system page size.
87045 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
87047         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
87048         * resolv/Makefile: Define CFLAGS-libresolv.
87050 2011-08-17  Andreas Schwab  <schwab@redhat.com>
87052         * nss/makedb.c (compute_tables): Make variables used in nested
87053         function static.
87055 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
87057         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
87058         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
87059         if buffer was too small.
87061         * elf/pldd.c (main): Attach to all threads in the process.
87062         Rewrite /proc handling to use *at functions.
87064 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
87066         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
87067         specifies first scope to show.
87068         (dl_open_worker): Update callers.  Move printing scope of new
87069         object to before the relocation.
87070         * elf/rtld.c (dl_main): Update _dl_show_scope call.
87071         * sysdeps/generic/ldsodefs.h: Update declaration.
87073         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
87074         string for the scope number.
87076 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
87078         * nscd/servicescache.c (cache_addserv): Make sure written is always
87079         initialized.
87081 2011-08-14  Roland McGrath  <roland@hack.frob.com>
87083         * sysdeps/i386/i486/bits/atomic.h
87084         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
87085         statement expression, so as to suppress "set but not used" warning.
87086         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
87088         * string/strncat.c (STRNCAT): Use prototype definition.
87090         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
87091         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
87092         -Iprograms here.
87093         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
87094         (localedef-modules): Add localedef.
87095         (locale-modules): Add locale.
87097         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
87098         * elf/rtld.c (dl_main): Invert order of assignment in last change,
87099         to avoid a warning.
87101 2011-08-14  David S. Miller  <davem@davemloft.net>
87103         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
87104         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
87106 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
87108         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
87109         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
87110         * elf/rtld.c (dl_main): Set l_name of vDSO.
87111         Call _dl_show_scope when DL_DEBUG_SCOPES.
87112         (process_dl_debug): Recognize scopes flag and also set it for all.
87113         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
87114         Declare _dl_show_scope.
87116         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
87117         (do_dlopen): Pass caller_dlopen to dl_open.
87118         (__libc_dlopen_mode): Initialize caller_dlopen.
87120         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
87121         of libc.  Make tolower call locale-independent.  Optimize a bit by
87122         using isdigit instead of isalnum.
87123         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
87125 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
87127         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
87128         was a dependency or dynamically loaded.
87130 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
87132         * intl/l10nflist.c: Allow architecture-specific pop function.
87133         * sysdeps/x86_64/l10nflist.c: New file.
87135         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
87136         classification.
87138 2011-08-10  Andreas Schwab  <schwab@redhat.com>
87140         * include/dirent.h: Add libc_hidden_proto for scandirat and
87141         scandirat64.  Don't declare __scandirat64.
87142         * dirent/scandirat.c: Add libc_hidden_def.
87143         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
87144         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
87146 2011-08-10  David S. Miller  <davem@davemloft.net>
87148         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
87149         enum.
87150         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
87151         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
87152         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
87154 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
87156         * Versions.def [libc]: Add GLIBC_2.15.
87157         * dirent/Makefile (routines): Add scandirat and scandirat64.
87158         * dirent/Versions [libc]: Export scandirat and scandirat64 for
87159         GLIBC_2.15.
87160         * dirent/dirent.h: Declare scandirat and scandirat64.
87161         * dirent/scandirat.c: New file.
87162         * dirent/scandirat64.c: New file.
87163         * sysdeps/wordsize-64/scandirat.c: New file.
87164         * sysdeps/wordsize-64/scandirat64.c: New file.
87165         * dirent/opendir.c: Define opendirat.
87166         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
87167         using scandirat.
87168         * dirent/scandir64.c: Adjust for scandir.c change.
87169         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
87170         __scandirat64, and __scandir_cancel_handler.
87171         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
87172         additional parameter and use openat instead of open (outside of ld.so).
87173         Add new __opendir as wrapper around __opendirat.
87174         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
87175         here without requiring old scandirat implementation.
87177 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
87179         * dirent/scandir.c (cancel_handler): Renamed to
87180         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
87181         defined.  Adjust users.
87182         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
87183         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
87185 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
87187         * string/test-string.h (IMPL): Use __STRING to expand name and then
87188         stringify it.
87190         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
87191         of cleanups.
87193 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87195         * string/Makefile: Update.
87196         (strop-tests): Append strncat.
87197         * string/test-wcscmp.c: New file.
87198         New comprehensive test for wcscmp.
87199         * string/test-strcmp.c: Update.
87200         (WIDE): New define.
87202 2011-07-22  Andreas Schwab  <schwab@redhat.com>
87204         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
87205         line.
87207 2011-07-26  Andreas Schwab  <schwab@redhat.com>
87209         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
87210         encoding to ACE if AI_IDN.
87212 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
87214         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
87215         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
87217 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87219         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
87220         Fix overflow bug in strncat.
87221         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
87223         * string/test-strncat.c: Update.
87224         Add new tests for checking overflow bugs.
87226 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87228         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87229         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
87230         * sysdeps/i386/i686/multiarch/strcat.S: New file.
87231         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
87232         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
87233         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
87234         * sysdeps/i386/i686/multiarch/strncat.S: New file.
87235         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
87236         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
87238         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
87239         (USE_AS_STRCAT): Define.
87240         Add strcat and strncat support.
87241         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
87243 2011-07-25  Andreas Schwab  <schwab@redhat.com>
87245         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
87246         __n bigger than INT_MAX+1.
87247         (__strncmp_g): Likewise.
87249 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
87251         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
87252         * libio/stido.h: Likewise.
87254         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
87255         (AF_NFC): Define.
87256         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
87257         (AF_NFC): Define.
87259         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
87260         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
87261         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
87262         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
87263         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
87265         [BZ #13021]
87266         * scripts/test-installation.pl: Don't expect libnss_test1 to be
87267         installed.
87269         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
87270         typo.
87271         (_dl_x86_64_save_sse): Likewise.
87273 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
87275         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
87276         OSXSAVE.
87277         (_dl_x86_64_save_sse): Likewise.
87279         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
87281         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
87283 2011-07-21  Andreas Schwab  <schwab@redhat.com>
87285         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
87286         change.
87287         (_dl_x86_64_save_sse): Use correct AVX check.
87289 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87291         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
87292         bug in strncpy/strncat.
87293         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
87295 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
87297         * string/tester.c (test_strcat): Add tests for different alignments
87298         of source and destination.
87299         (test_strncat): Likewise.
87301 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
87303         [BZ #12852]
87304         * posix/glob.c (glob): Check passed in values before using them in
87305         expressions to avoid some overflows.
87306         (glob_in_dir): Likewise.
87308         [BZ #13007]
87309         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
87310         check for AVX enablement so that we don't crash with old kernels and
87311         new hardware.
87312         * elf/tst-audit4.c: Add same checks here.
87313         * elf/tst-audit6.c: Likewise.
87315         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
87317 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
87319         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
87321 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
87323         * po/cs.po: Update from translation team.
87324         * po/bg.po: Likewise.
87326 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
87328         * misc/sys/cdefs.h: Add support for const attribute.
87329         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
87330         to gnu_dev_{major,minor,makedev} functions.
87332 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
87334         * intl/dcigettext.c (get_output_charset): Add missing bracket.
87336 2011-07-20  Andreas Schwab  <schwab@redhat.com>
87338         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
87339         strlen results.
87341 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87343         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
87344         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
87345         register in order to avoid conflicts with the soft frame pointer
87346         being held in r11 when necessary.
87347         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
87348         (INTERNAL_VSYSCALL_NCS): Likewise.
87350 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
87352         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
87353         * elf/dl-fini.c (_dl_fini): Adjust caller.
87354         * elf/dl-close.c (_dl_close_worker): Likewise.
87355         * sysdeps/generic/ldsodefs.h: Adjust declaration.
87357 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
87359         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
87360         "aux_cache->nlibs < 0".
87362         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
87363         in the reload-count case.
87365 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87367         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87368         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
87369         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
87370         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
87371         * sysdeps/x86_64/multiarch/strcat.S: New file.
87372         * sysdeps/x86_64/multiarch/strncat.S: New file.
87373         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
87374         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
87375         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
87376         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
87377         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
87378         (USE_AS_STRCAT): Define.
87379         Add strcat and strncat support.
87380         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
87381         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
87382         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
87383         * string/strncat.c: Update.
87384         (USE_AS_STRNCAT): Define.
87385         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87386         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
87387         and i7.
87388         * sysdeps/x86_64/multiarch/init-arch.h
87389         (bit_Prefer_PMINUB_for_stringop): New.
87390         (index_Prefer_PMINUB_for_stringop): Likewise.
87391         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
87392         bit_Prefer_PMINUB_for_stringop.
87394 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
87396         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
87397         buffer64.
87398         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
87399         of casting of buffer.
87400         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
87401         buffer32 and buffer64.
87402         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
87403         writes instead of casting of buffer.
87404         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
87405         buffer32.
87406         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
87407         casting of buffer.
87409 2011-07-19  Andreas Schwab  <schwab@redhat.com>
87411         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
87413 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
87415         * nscd/nscd.c (termination_handler): Don't do anything for a database
87416         if it has not yet been initialized.
87418 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
87420         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
87422 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
87424         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
87426 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
87428         * po/nl.po: Update from translation team.
87429         * po/sv.po: Likewise.
87431 2011-07-16  Roland McGrath  <roland@hack.frob.com>
87433         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
87434         now disallowed by GCC.
87436         * configure.in (use-default-link): Default to yes if a test -shared
87437         link meets our qualifications.
87438         * configure: Regenerated.
87440         * config.make.in (output-format): New variable.
87441         * configure.in: Check for ld --print-output-format support.
87442         * configure: Regenerated.
87443         * Makerules ($(common-objpfx)format.lds)
87444         [$(output-format) != unknown]: Just use $(output-format),
87445         instead of the linker-script munging.
87447 2011-07-14  Roland McGrath  <roland@hack.frob.com>
87449         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
87450         of $(common-objpfx)shlib.lds.
87451         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
87453         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
87454         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
87456         * configure.in (-z relro check): Adjust test code to add a large
87457         writable data section after it.
87458         * configure: Regenerated.
87460 2011-07-11  Roland McGrath  <roland@hack.frob.com>
87462         * configure.in (-z relro check): Fix test code to make the variable
87463         truly const.
87464         * configure: Regenerated.
87466 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
87468         * nscd/nscd.h (struct traced_file): Define.
87469         (struct database_dyn): Remove inotify_descr, reset_res, and filename
87470         elements.  Add traced_files.
87471         (inotify_fd): Declare.
87472         (register_traced_file): Declare.
87473         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
87474         (inotify_fd): Export.
87475         (resolv_conf_descr): Remove.
87476         (nscd_init): Move inotify descriptor creation to main.
87477         Don't register files for notification here.
87478         (register_traced_file): New function.
87479         (invalidate_cache): Don't use reset_res to determine whether to call
87480         res_init, go through the list of registered files.
87481         (main_loop_poll): The inotify descriptors are now stored in the
87482         structures for the traced files.
87483         (main_loop_epoll): Likewise.
87484         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
87485         to __nss_disable_nscd.
87486         * nscd/cache.c (prune_cache): There is no single inotify descriptor
87487         for a database anymore.  Check the records for all the registered
87488         files instead.
87489         * nss/Makefile (libnss_files-routines): Add files-init.
87490         (libnss_db-routines): Add db-init.
87491         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
87492         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
87493         * nss/nss_db/db-init.c: New file.
87494         * nss/nss_files/files-init.c: New file.
87495         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
87496         __nss_lookup_function.
87497         (__nss_lookup_function): Call nss_load_library.
87498         (nss_load_all_libraries): New function.
87499         (__nss_disable_nscd): Take parameter with callback function for files
87500         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
87501         used for the cached services.
87502         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
87503         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
87504         options for features to all the files in nscd.
87506         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
87508 2011-07-10  Roland McGrath  <roland@hack.frob.com>
87510         * csu/elf-init.c (__libc_csu_init): Comment typo.
87512 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
87514         * po/pl.po: Update from translation team.
87515         * po/ja.po: Likewise.
87516         * po/ru.po: Likewise.
87517         * po/ko.po: Likewise.
87518         * po/fr.po: Likewise.
87520 2011-07-09  Roland McGrath  <roland@hack.frob.com>
87522         * configure.in (.ctors/.dtors header and trailer check):
87523         Use an empirical test on a built program.
87524         * configure: Regenerated.
87526         * configure.in (-z relro check): Use an empirical test on a built DSO.
87527         Detect, but do not require, on ia64.
87528         * configure: Regenerated.
87530         * configure.in (READELF): Find it with AC_CHECK_TOOL.
87531         Update tests that use readelf to use $READELF instead.
87532         * configure: Regenerated.
87534 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
87536         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
87537         if the result is not used.
87539 2011-07-05  Andreas Jaeger  <aj@suse.de>
87541         [BZ #9696]
87542         * stdlib/tst-strtod.c: Add testcase.
87544 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
87546         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
87547         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
87548         The latter has a higher limit.  Take additional parameter to pass to
87549         the new function.
87550         (__pathconf): Pass file to __statfs_link_max.
87551         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
87552         __statfs_link_max.
87553         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
87554         __statfs_link_max.
87556         [BZ #12868]
87557         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
87558         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87559         Handle Lustre.
87560         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
87561         (__statfs_filesize_max): Likewise.
87562         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
87564 2011-07-05  Andreas Jaeger  <aj@suse.de>
87566         * resolv/res_comp.c (dn_skipname): Remove unused variable.
87568 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
87570         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
87571         `status' variable.
87572         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
87573         Likewise.
87575 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
87577         * Makefile (strop-tests): Add strncat.
87578         * string/test-strncat.c: New file.
87580 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
87582         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
87584 2011-06-21  Andreas Jaeger  <aj@suse.de>
87586         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
87587         Copy rule from iconvdata/Makefile.
87589 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87591         [BZ #12922]
87592         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
87593         but no long options are defined, just return 'W'.
87595 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
87597         [BZ #9696]
87598         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
87600 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87602         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
87603         netgroups to read.
87604         (innetgr): Likewise.
87606 2011-07-05  Roland McGrath  <roland@hack.frob.com>
87608         * config.make.in (install_root): Default to $(DESTDIR).
87610 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
87612         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
87614 2011-07-02  Roland McGrath  <roland@hack.frob.com>
87616         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
87618         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
87619         containing directory rather than embedding absolute directory names.
87621         * scripts/check-local-headers.sh: Rewritten using awk.
87622         Match by word, not by line.  Print error messages for matches.
87623         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
87625         * Makerules [shlib-lds-flags empty]:
87626         ($(common-objpfx)libc_pic.opts): New target.
87627         ($(common-objpfx)libc_pic.os.clean): New target.
87628         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
87630         * config.make.in (OBJCOPY): New variable.
87631         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
87632         * configure: Regenerated.
87634         * config.make.in (use-default-link): New variable.
87635         * configure.in (use_default_link): Grok --with-default-link to set it.
87636         * configure: Regenerated.
87637         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
87638         (shlib-lds, shlib-lds-flags): Define to empty.
87640         * Makerules (shlib-lds): New variable.
87641         (shlib-lds-flags): New variable.
87642         (build-shlib, build-moduile, build-module-asneeded): Use it.
87643         ($(common-objpfx)libc.so): Use $(shlib-lds).
87644         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
87645         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
87647         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
87648         DT_FLAGS/DT_FLAGS_1 with zero flags.
87650         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
87651         linker script munging.
87653 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
87655         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
87656         as 128-bit value.
87657         * crypt/sha512.c (sha512_process_block): Perform total addition using
87658         128-bit if possible.
87659         (__sha512_finish_ctx): Likewise.
87660         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
87661         as 64-bit value.
87662         * crypt/sha256.c (SWAP64): Define.
87663         (sha256_process_block): Perform total addition using 64-bit if
87664         possible.
87665         (__sha256_finish_ctx): Likewise.
87667 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
87669         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
87670         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87671         * nscd/hstcache.c (cache_addhst): Likewise.
87672         * nscd/grpcache.c (cache_addgr): Likewise.
87673         * nscd/aicache.c (addhstaiX): Likewise.
87674         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
87676 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
87678         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
87679         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87680         * nscd/hstcache.c (cache_addhst): Likewise.
87681         * nscd/grpcache.c (cache_addgr): Likewise.
87682         * nscd/aicache.c (addhstaiX): Likewise.
87684 2011-07-01  Andreas Schwab  <schwab@redhat.com>
87686         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
87687         domain only when needed.
87689 2011-06-30  Andreas Schwab  <schwab@redhat.com>
87691         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
87692         is always restored.
87694 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
87696         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
87697         are re-adding the entry.
87698         * nscd/servicescache.c (cache_addserv): Likewise.
87700 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
87702         * sysdeps/generic/dl-irel.h: fix protection against multiple
87703         inclusions.
87704         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
87706 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
87708         [BZ #12935]
87709         * malloc/memusage.sh: Fix quoting in message.
87710         * debug/xtrace.sh: Likewise.
87712         * configure.in: Remove support for --experimental-malloc option, make
87713         it the default.
87714         * config.make.in: Likewise.
87715         * malloc/Makefile: Likewise.
87717 2011-06-27  Andreas Schwab  <schwab@redhat.com>
87719         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
87720         two-byte characters.
87722 2011-06-27  Roland McGrath  <roland@hack.frob.com>
87724         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
87725         AC_CACHE_CHECK invocation.
87726         * configure: Regenerated.
87728         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
87730 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
87732         [BZ #12350]
87733         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
87734         bit from old_res_options.
87736         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
87738         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
87739         value type for setfct.
87741 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
87743         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87744         __gettimeofday instead of gettimeofday.
87746 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
87748         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
87750 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
87752         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
87754         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
87755         info.
87757 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87759         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87760         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87761         strcpy-sse2-unaligned strncpy-sse2-unaligned
87762         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
87763         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
87764         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
87765         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
87766         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
87767         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
87768         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
87769         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
87770         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
87771         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
87772         (STRCPY): Support SSE2 and SSSE3 versions.
87774 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
87776         [BZ #12874]
87777         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
87778         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
87779         kernels which artificially limit size of requests.
87781 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87783         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87784         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87785         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
87786         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
87787         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
87788         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
87789         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
87790         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
87791         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
87792         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
87793         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
87794         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
87795         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
87796         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
87797         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
87798         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87799         Enable unaligned load optimization for Intel Core i3, i5 and i7
87800         processors.
87801         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
87802         Define.
87803         (index_Fast_Unaligned_Load): Define.
87804         (HAS_FAST_UNALIGNED_LOAD): Define.
87806 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
87808         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
87810 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87812         [BZ #12907]
87813         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
87814         until it is clear that the information is realy needed.
87815         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
87817 2011-06-22  Andreas Schwab  <schwab@redhat.com>
87819         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
87821 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87823         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87824         /sys/devices/system/cpu/online if it is usable.
87826         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
87827         reading the information from the /proc filesystem to once a second.
87829 2011-06-21  Andreas Jaeger  <aj@suse.de>
87831         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
87832         NULL after inclusion of kernel headers.
87834 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
87836         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
87837         calls to internal_setent.
87839         [BZ #12885]
87840         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
87841         addresses using gethostbyname4_r ignore IPv4 addresses.
87843         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
87844         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
87846         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
87848 2011-06-20  David S. Miller  <davem@davemloft.net>
87850         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
87851         inclusions.
87852         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
87854         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
87855         (elf_irel): Use it.
87856         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
87857         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
87858         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
87859         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
87860         * sysdeps/x86_64/dl-irel.h: Likewise.
87862         * elf/dl-runtime.c: Use elf_ifunc_invoke.
87863         * elf/dl-sym.c: Likewise.
87865 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87867         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
87868         need to dereference resplen2.
87870 2011-06-14  Andreas Schwab  <schwab@redhat.com>
87872         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
87874 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87876         * Makeconfig: Define vardbdir and inst_vardbdir.
87877         * nss/Makefile: Add rules to install db-Makefile.
87879         * nss/nss_db/db-XXX.c: Cleanup.
87881         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
87882         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
87883         GLIBC_PRIVATE.
87884         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
87885         * nss/makedb.c: Implement -g option to specify that value strings
87886         are generated and should not be added to table iterated over for
87887         get*ent calls.
87888         * nss/nss_db/db-initgroups.c: New file.
87890         * nss/getent.c: Add support for initgroups lookups through getgrouplist
87891         interface.
87893         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
87894         (internal_getgrouplist): Adjust to name change.
87895         Update use_initgroups_entry if this is not the first call.
87896         * nss/databases.def: Add initgroups entry.
87898         * nss/makedb.c (compute_tables): Check result of multiple hash table
87899         sizes to minimize maximum chain length.
87901 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
87903         * Versions.def: Add entry for libnss_db.
87904         * shlib-versions: Likewise.
87905         * nss/Makefile: Add rules to build libnss_db.
87906         * nss/Versions: Add libnss_db information.  Organize libnss_files
87907         entries better.
87908         * nss/db-Makefile: Add gshadow support.  Change rules for the new
87909         makedb progra.  Some minor improvements to generate smaller files.
87910         * nss/nss_db/nss_db.h: Move NSS database header data structures to
87911         here from...
87912         * nss/makedb.c: ...here.
87913         Improve database format to be smaller and require less memory at
87914         runtime.
87915         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
87916         db anymore.
87917         * nss/nss_db/db-netgrp.c: Likewise.
87918         * nss/nss_db/db-open.c: Likewise.
87919         * nss/nss_files/flies-XXX.x: Adjust comments.
87920         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
87921         * nss/nss_files/files-grp.c: Likewise.
87922         * nss/nss_files/files-hosts.c: Likewise.
87923         * nss/nss_files/files-network.c: Likewise.
87924         * nss/nss_files/files-proto.c: Likewise.
87925         * nss/nss_files/files-pwd.c: Likewise.
87926         * nss/nss_files/files-rpc.c: Likewise.
87927         * nss/nss_files/files-service.c: Likewise.
87928         * nss/nss_files/files-sgrp.c: Likewise.
87929         * nss/nss_files/files-spwd.c: Likewise.
87930         * nss/nss_db/db-alias.c: Removed.
87931         * nss/nss_db/dummy-db.h: Removed.
87933 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
87935         * nss/makedb.c: Rewritten to not use database library.
87936         * nss/Makefile: Update to build new makedb program.
87938 2011-06-14  Andreas Jaeger  <aj@suse.de>
87940         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
87941         memset declaration.
87943 2011-06-10  Andreas Schwab  <schwab@redhat.com>
87945         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
87946         tmpbuf.
87948 2011-06-10  Roland McGrath  <roland@hack.frob.com>
87950         * Makerules (shlib.lds): Fail if the linker script comes out empty.
87951         * elf/Makefile ($(objpfx)ld.so): Likewise.
87953         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
87954         Don't list ld.so twice in dependencies.
87956         * posix/bug-regex31.c: Include <stdlib.h>.
87958         * nscd/hstcache.c (cache_addhst): Remove unused variable.
87960         * nis/nss_compat/compat-spwd.c
87961         (getspent_next_nss_netgr): Remove unused variable.
87962         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
87964         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
87965         nonmembers" output to use the right array.
87967         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
87969         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
87971         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
87972         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
87973         * catgets/gencat.c (read_input_file): Likewise.
87974         * locale/programs/locarchive.c (enlarge_archive): Likewise.
87976         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
87977         variable definition inside #if's controlling its use.
87979         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
87981         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
87983         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
87985         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
87986         unreachable code.
87988         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
87990         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
87991         * configure: Regenerated.
87993         * Makerules: Revert last change.
87994         * elf/Makefile: Likewise.
87996 2011-06-09  Roland McGrath  <roland@hack.frob.com>
87998         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
87999         * elf/Makefile ($(objpfx)librtld.os): Likewise.
88000         (reloc-link): Likewise.
88002 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
88004         * elf/Makefile: Add rules to build pldd.
88005         * elf/pldd.c: New file.
88006         * elf/pldd-xx.c: New file.
88008 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
88010         * version.h: Update for 2.15 development version.
88012 2011-06-07  David S. Miller  <davem@davemloft.net>
88014         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
88015         ifuncs.
88016         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
88017         elf_machine_lazy_rel): Likewise.
88018         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
88019         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
88020         elf_machine_lazy_rel): Likewise.
88021         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
88022         dl_hwcap via passed in argument.
88023         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
88024         Likewise.
88026 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88028         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
88030 2011-06-06  Roland McGrath  <roland@hack.frob.com>
88032         [BZ #12849]
88033         * manual/fdl-1.1.texi: New file, verbatim from:
88034         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
88035         * manual/lgpl-2.1.texi: New file, verbatim from:
88036         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
88037         * manual/Makefile (licenses): New variable, list those new file names.
88038         (texis): Use it.
88039         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
88041         * manual/fdl.texi: File removed.
88042         * manual/lesser.texi: File removed.
88043         * manual/libc.texinfo (Copying, Documentation License):
88044         Use new @include file names, put @appendix directive before @include.
88046 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
88048         [BZ #12841]
88049         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
88050         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
88051         (mq_open): Add __NTH.
88053 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
88055         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88056         Assume Intel Core i3/i5/i7 processor if AVX is available.
88058 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
88060         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
88061         typo.
88063 2011-05-31  Andreas Schwab  <schwab@redhat.com>
88065         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
88066         memory.  Use alloca_account.  Fix memory leak when retrying.
88068 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
88070         * version.h (RELEASE): Bump for 2.14 release.
88071         * include/features.h (__GLIBC_MINOR__): Bump to 14.
88073         * config.make.in (RANLIB): Remove entry.
88075 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
88077         * po/Makefile (po-sed-cmd): Add ksh to extensions.
88078         (libc.pot): Work around missing support for .ksh extension in xgettext.
88080         [BZ #12684]
88081         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
88082         if both request failed.
88083         (send_dg): In case of server errors clear resplen or *resplen2.
88085         [BZ #12454]
88086         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
88087         when there are multiple maps.
88088         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
88089         (_dl_fini): Remove test here.
88091         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
88093 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
88095         [BZ #12350]
88096         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
88097         bit from old_res_options.
88098         (gaih_inet): Likewise.
88100         [BZ #11099]
88101         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
88102         as signed.
88104         * resolv/res_init.c (res_setoptions): Make the code more compact.
88106         [BZ #11558]
88107         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
88108         set RES_USEVC.
88110         [BZ #11634]
88111         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
88113         * malloc/malloc.h: Mark malloc hook variables as deprecated.
88115         [BZ #11781]
88116         * malloc/malloc.h: Declare malloc hook variables as volatile.
88118         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
88119         in last patch.
88121         [BZ #11799]
88122         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
88123         raise in the comment.
88124         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
88125         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
88126         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
88128 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
88130         [BZ #12811]
88131         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
88132         grow the buffers more if it already has to be sufficient.
88133         (build_wcs_upper_buffer): Likewise.
88134         * posix/regexec.c (check_matching): Likewise.
88135         (clean_state_log_if_needed): Likewise.
88136         (extend_buffers): Don't enlarge buffers beyond size of the input
88137         buffer.
88138         Patches mostly by Emil Wojak <emil@wojak.eu>.
88139         * posix/bug-regex32.c: New file.
88140         * posix/Makefile (tests): Add bug-regex32.
88142         * locale/findlocale.c (_nl_find_locale): Return right away if
88143         _nl_explode_name failed.
88144         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
88146         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
88148         * debug/xtrace.sh: Unify messages.
88149         * malloc/memusage.sh: Likewise.
88151         [BZ #12813]
88152         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
88153         time symbol from vDSO.  Substitute with vsyscall if not available.
88154         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
88155         __vdso_time.
88157         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
88158         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
88159         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
88160         Add sendmmsg and internal_sendmmsg.
88161         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
88162         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
88163         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
88165         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
88166         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
88167         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
88169 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
88171         [BZ #12813]
88172         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
88173         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
88174         available.
88175         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
88176         __vdso_getcpu.
88178         [BZ #12814]
88179         * iconvdata/Makefile (tests): Add bug-iconv9.
88180         * iconvdata/bug-iconv9.c: New file.
88182 2011-05-27  Andreas Schwab  <schwab@redhat.com>
88184         [BZ #12814]
88185         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
88187 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
88189         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
88190         (struct user_regs_struct): Change intcs field back to cs.
88192 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
88194         * po/ja.po: Update from translation team.
88196 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
88198         [BZ #12795]
88199         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
88200         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
88202 2011-05-20  Andreas Schwab  <schwab@redhat.com>
88204         * stdlib/longlong.h: Update from GCC.
88206 2011-05-23  Andreas Schwab  <schwab@redhat.com>
88208         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
88209         parameter name.
88210         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
88211         Add parameter name.
88212         (__sysconf): Pass it down.
88214 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
88216         [BZ #12671]
88217         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
88218         some situations.
88219         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
88220         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
88221         add in in __libc_use_alloca calls.  Adjust callers.
88222         (glob): Use malloc in some situations.
88224         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
88225         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
88226         pltexit.
88228 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
88230         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
88231         and CLOCK_BOOTTIME_ALARM.
88233         [BZ #12782]
88234         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
88235         is returned.
88237         * string/_strerror.c (__strerror_r): Print negative errors as signed
88238         numbers.
88240         [BZ #12777]
88241         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
88242         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
88243         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
88245         * configure.in: Fix typo in redirection and correct removal of test
88246         files in two cases.
88248         [BZ #12788]
88249         * locale/setlocale.c (new_composite_name): Fix test to check for
88250         identical name of all categories.
88252         [BZ #12792]
88253         * libio/filedoalloc.c (local_isatty): New function.
88254         (_IO_file_doallocate): Use local_isatty.
88255         * stdio-common/perror.c (perror): In case a new stream is used
88256         forward the stream error.
88257         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
88258         error flag.
88260 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
88262         [BZ #11884]
88263         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
88264         alloca.
88265         * include/alloca.h (extend_alloca_account): Define.
88267         [BZ #11857]
88268         * posix/regex.h: Fix comments with documentation of user-accessible
88269         fields after compilation and describe correct free'ing of pattern
88270         after re_compile_pattern.
88271         Patch by Reuben Thomas <rrt@sc3d.org>.
88273 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
88275         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
88276         and -mno-altivec to prevent the compiler from using Altivec and/or
88277         VSX instructions when the corresponding registers are not available.
88279 2011-05-19  Andreas Schwab  <schwab@redhat.com>
88281         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
88283 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
88285         * libio/freopen.c (freopen): Use __dup2, not dup2.
88286         * libio/freopen64.c (freopen64): Likewise.
88288 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
88290         [BZ #12775]
88291         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
88292         * math/Makefile (tests): Add test-powl.
88293         (CFLAGS-test-powl.c): Define.
88294         * math/test-powl.c: New file.
88296 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
88298         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
88300 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
88302         [BZ #11837]
88303         * iconvdata/gb18030.c: Update to GB18020-2005.
88305 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
88307         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
88308         RE_SYNTAX_POSIX_AWK): Update to match recent development.
88309         Patch by Aharon Robbins <arnold@skeeve.com>.
88311         [BZ #11892]
88312         * stdlib/putenv.c (putenv): Don't always create copy of the variable
88313         on the stack.
88315         [BZ #11895]
88316         * misc/pselect.c (__pselect): Handle timeout value errors hidden
88317         through underflows.
88319         [BZ #12766]
88320         * misc/error.c (error_at_line): Ensure file_name and old_file_name
88321         point to strings before performing equality test for error_one_per_line
88322         mode.
88324         [BZ #11697]
88325         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
88327         [BZ #11820]
88328         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
88329         (struct user_fpregs_struct): Avoid __uint*_t types.
88331         [BZ #6420]
88332         * malloc/mtrace.c (tr_where): Add additional parameter to point to
88333         symbol info.  Use it instead of calling _dl_addr locally.
88334         (lock_and_info): New function.
88335         (tr_freehook): Call lock_and_info and pass symbol info as additional
88336         parameter to tr_where.
88337         (tr_mallochook): Likewise.
88338         (tr_reallochook): Likewise.
88339         (tr_memalignhook): Likewise.
88341         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
88342         used and couldn't be at all thread-safe.
88344 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
88346         * libio/freopen.c (freopen): Don't close old file descriptor
88347         before the new one is opened.  Instead dup the new file descriptor
88348         to the old one after the new stream is created.
88349         * libio/freopen64.c (freopen64): Likewise.
88350         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
88351         * libio/fileops.c (_IO_new_file_close_it): Handle new
88352         _IO_FLAGS2_NOCLOSE flag.
88353         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
88354         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
88355         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
88356         _IO_FLAGS2_NOCLOSE flag.
88357         * include/unistd.h: Add hidden_proto for dup3.
88358         Define __have_dup3.
88359         * io/dup3.c: Define hidden symbol.
88360         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
88362         [BZ #7101]
88363         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
88364         when an incomplete long option is used.
88365         * posix/tst-getopt_long1.c: New file.
88366         * posix/Makefile (tests): Add tst-getopt_long1.
88368         [BZ #10138]
88369         * scripts/config.guess: Update from autoconf-2.68.
88370         * scripts/config.sub: Likewise.
88372         [BZ #10157]
88373         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
88374         tests into ...
88375         (has_cpuclock): ...this.  New function.
88376         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
88377         macro here based on has_cpuclock code.
88379         [BZ #10149]
88380         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
88381         First byte (not low byte) is now always NUL.
88382         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
88384         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
88385         Use non-cancelable interfaces.
88387         [BZ #9809]
88388         * locale/iso-639.def: Add entry for Sorani.
88390         [BZ #11901]
88391         * include/stdlib.h: Move include protection to the right place.
88392         Define abort_msg_s.  Declare __abort_msg with it.
88393         * stdlib/abort.c (__abort_msg): Adjust type.
88394         * assert/assert.c (__assert_fail_base): New function.  Majority
88395         of code from __assert_fail.  Allocate memory for __abort_msg with
88396         mmap.
88397         (__assert_fail): Now call __assert_fail_base.
88398         * assert/assert-perr.c: Remove bulk of implementation.  Use
88399         __assert_fail_base.
88400         * include/assert.hL Declare __assert_fail_base.
88401         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
88402         mmap.
88403         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
88405 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
88407         [BZ #11952]
88408         [BZ #12453]
88409         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
88410         until all modules are registered in the DTV.
88411         * elf/Makefile: Add rules to build and run tst-tls19.
88412         * elf/tst-tls19.c: New file.
88413         * elf/tst-tls19mod1.c: New file.
88414         * elf/tst-tls19mod2.c: New file.
88415         * elf/tst-tls19mod3.c: New file.
88416         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
88418         [BZ #12083]
88419         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
88420         correctly.
88422         [BZ #12601]
88423         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
88424         two-byte sequence errors.
88425         * iconvdata/Makefile (tests): Add bug-iconv8.
88426         * iconvdata/bug-iconv8.c: New file.
88428         [BZ #12626]
88429         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
88430         buf2 definition.
88432         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
88434         [BZ #12432]
88435         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
88436         (dummy_getcfa): New function.
88437         (init): Get _Unwind_GetCFA address, use dummy if not found.
88438         (backtrace_helper): In recursion check, also check whether CFA changes.
88439         (__backtrace): Completely initialize arg.
88441         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
88442         storing incomplete byte sequence in state object.  Avoid testing for
88443         guaranteed too small input if we know there is enough data available.
88445 2011-05-11  Andreas Schwab  <schwab@redhat.com>
88447         * Makeconfig (+link-pie): Indent.
88448         * Rules (binaries-pie): Define if $(have-fpie) and
88449         $(build-shared).
88450         (binaries-shared): Also filter out $(binaries-pie).
88451         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
88452         * nscd/Makefile (others-pie): Add nscd.
88453         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
88454         ($(objpfx)nscd): Remove command override.
88455         * login/Makefile (others-pie): Add pt_chown.
88456         ($(objpfx)pt_chown): Remove command override.
88457         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
88458         remove command overrides.
88460 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
88462         * libio/tst_putwc.c: Fix error messages.
88464         [BZ #12724]
88465         * libio/fileops.c (_IO_new_file_close_it): Always flush when
88466         currently writing and seek to current position when not.
88467         * libio/Makefile (tests): Add bug-fclose1.
88468         * libio/bug-fclose1.c: New file.
88470 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
88472         [BZ #12511]
88473         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
88474         don't set DF_1_NODELETE here.
88475         (do_lookup_x): When entering new entry test for copy relocation
88476         and if necessary set DF_1_NODELETE flag.
88477         * elf/tst-unique4.cc: New file.
88478         * elf/tst-unique4.h: New file.
88479         * elf/tst-unique4lib.cc: New file.
88480         * elf/Makefile: Add rules to build and run tst-unique4.
88481         Patch by Piotr Bury <pbury@goahead.com>.
88483 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
88485         [BZ #12052]
88486         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
88488         [BZ #12625]
88489         * misc/mntent_r.c (addmntent): Flush the stream after the output
88491         [BZ #12393]
88492         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
88493         (is_trusted_path_normalize): Skip initial colon.  Append slash
88494         to empty buffer.  Duplicate is_trusted_path code but allow
88495         constructed patch to be prefix.
88496         (is_dst): Allow $ORIGIN followed by /.
88497         (_dl_dst_substitute): Correct clearing of check_for_trusted.
88498         Correct testing of result of is_trusted_path_normalize
88499         (decompose_rpath): Fix warning.
88501 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
88503         [BZ #11257]
88504         * grp/initgroups.c (internal_getgrouplist): When we found the service
88505         list through the initgroups entry in nsswitch.conf do not always
88506         continue on a successful lookup.  Don't always use the
88507         __nss_group_database value if it is set.
88508         * nss/nsswitch.conf (initgroups): Change action for successful db
88509         lookup to continue for compatibility.
88511 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
88513         [BZ #11532]
88514         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
88515         and CP774 modules.
88516         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
88517         and CP774 modules.
88518         * iconvdata/tst-tables.sh: Likewise.
88519         * iconvdata/cp770.c: New file.
88520         * iconvdata/cp771.c: New file.
88521         * iconvdata/cp772.c: New file.
88522         * iconvdata/cp773.c: New file.
88523         * iconvdata/cp774.c: New file.
88524         * iconvdata/testdata/CP770: New file.
88525         * iconvdata/testdata/CP770..UTF8: New file.
88526         * iconvdata/testdata/CP771: New file.
88527         * iconvdata/testdata/CP771..UTF8: New file.
88528         * iconvdata/testdata/CP772: New file.
88529         * iconvdata/testdata/CP772..UTF8: New file.
88530         * iconvdata/testdata/CP773: New file.
88531         * iconvdata/testdata/CP773..UTF8: New file.
88532         * iconvdata/testdata/CP774: New file.
88533         * iconvdata/testdata/CP774..UTF8: New file.
88535         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
88536         END CHARMAP line.
88537         * iconvdata/gen-8bit-gap.sh: Likewise.
88538         * iconvdata/gen-8bit.sh: Likewise.
88540         * locale/iso-639.def: Add ary entry.
88542         [BZ #11258]
88543         * locale/C-translit.h.in: Add U20A1 transliteration.
88545         [BZ #12178]
88546         * locale/iso-639.def: Add wae entry.
88547         Patch by Kevin Bortis <bortis@translate-wae.ch>.
88549         [BZ #12545]
88550         * locale/programs/localedef.c (construct_output_path): Use ssize_t
88551         for n.
88553         [BZ #12711]
88554         * locale/C-translit.h.in: Add entry for U20B9.
88555         Patch by pravin.d.s@gmail.com.
88557 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
88559         [BZ #12713]
88560         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
88561         ENAMETOOLONG use generic getcwd.
88562         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
88563         in rtld.  Use *stat64.
88564         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
88565         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
88566         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
88567         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
88568         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
88569         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
88570         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
88571         __fstatat64 macros.
88572         * include/dirent.h: Add libc_hidden_proto for rewinddir.
88573         * dirent/rewinddir.c: Add libc_hidden_def.
88574         * sysdeps/mach/hurd/rewinddir.c: Likewise.
88575         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
88577         * include/dirent.h (__alloc_dir): Add flags parameter.
88578         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
88579         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
88580         __alloc_dir.
88581         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
88582         from fdopendir if O_CLOEXEC is already set.
88584 2011-03-15  Alan Modra  <amodra@gmail.com>
88586         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
88587         l_tls_firstbyte_offset non-zero.  Save padding offset in
88588         l_tls_firstbyte_offset for later use.
88589         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
88590         freeing static tls block.
88592 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
88594         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
88595         where #ifdef was intended.  The intent is to prevent ARG_MAX from
88596         being defined by the kernel headers.
88598 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
88600         [BZ #12734]
88601         * resolv/resolv.h: Define RES_NOTLDQUERY.
88602         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
88603         no-tld-query and set RES_NOTLDQUERY.
88604         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
88605         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
88606         modern BIND to search name as TLD unless forbidden.
88608 2011-05-07  Petr Baudis  <pasky@suse.cz>
88609             Ulrich Drepper  <drepper@gmail.com>
88611         [BZ #12393]
88612         * elf/dl-load.c (fillin_rpath): Move trusted path check...
88613         (is_trusted_path): ...to here.
88614         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
88615         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
88616         using is_trusted_path_normalize() in setuid scripts.
88618 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
88620         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
88621         __BEGIN/__END_DECLS.
88623 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
88625         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
88626         NSS_STATUS_NOTFOUND if no record was found.
88628 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88630         * sunrpc/Makefile (headers): Add rpc/netdb.h.
88631         (headers-not-in-tirpc): Remove rpc/netdb.h
88632         * resolv/netdb.h: Revert last change.
88634 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
88636         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
88637         circular dependency between libgcc.a and libc.a.
88639 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88641         * resolv/netdb.h: Don't include <rpc/netdb.h>.
88642         * nis/Makefile: Don't install rpcsvc/*.
88643         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
88644         instead of <rpc/types.h>.
88645         (MAXHOSTNAMELEN): Define.
88647 2011-05-03  Andreas Schwab  <schwab@redhat.com>
88649         * elf/ldconfig.c (add_dir): Don't crash on empty path.
88651 2011-04-28  Maciej Babinski  <mbabinski@google.com>
88653         [BZ #12714]
88654         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
88655         gethostbyname4_r when IPv6 results are possible.
88657 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
88659         [BZ #12723]
88660         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
88661         _PC_PIPE_BUF handling.
88663 2011-04-30  Bruno Haible  <bruno@clisp.org>
88665         [BZ #12717]
88666         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
88667         * resolv/netdb.h (getnameinfo): Change type of flags parameter
88668         to 'int'.
88669         * inet/getnameinfo.c (getnameinfo): Likewise.
88671 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
88673         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
88674         to groups setting in database lookup.
88675         * nss/nsswitch.conf: Add initgroups entry.
88677 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
88679         [BZ #12685]
88680         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
88681         mode string.
88682         Patch by Eric Blake <eblake@redhat.com>.
88684 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
88686         * sunrpc/Makefile (need-export-routines): Add svc_run.
88687         (routines): Remove svc_run.
88688         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
88689         * sunrpc/clnt_perr.c (clnt_perrno): Export.
88690         * sunrpc/svc_run.c (svc_run): Likewise.
88691         * sunrpc/svc_udp.c (svcudp_create): Likewise.
88693 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
88695         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
88696         problem in reallocation in last patch.
88698 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
88700         * sunrpc/Makefile: Move inclusion of Rules.
88702 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88704         * nss/nss_files/files-initgroups.c: New file.
88705         * nss/Makefile (libnss_files-routines): Add files-initgroups.
88706         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
88707         _nss_files_initgroups_dyn.
88709 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
88711         * elf/elf.h (R_ARM_IRELATIVE): Define.
88713 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88715         * po/ru.po: Update from translation team.
88717 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88719         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
88720         dependencies.
88722 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
88724         [BZ #12653]
88725         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
88726         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
88727         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88728         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
88729         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
88731 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
88733         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
88734         differing bytes.
88735         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
88736         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
88737         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88739 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88741         [BZ #12420]
88742         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
88743         storing it.
88744         * stdlib/bug-getcontext.c: New file.
88745         * stdlib/Makefile: Add rules to build and run bug-getcontext.
88747 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88749         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
88750         instructions into .machine "z9-109".
88751         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
88752         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
88754 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88756         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
88757         between environment variables and auxiliary vector.
88759 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
88761         * Makefile: Add rules to build linkobj/libc.so.
88762         * include/libc-symbols.h: Define libc_hidden_nolink.
88763         * include/rpc/auth.h: Mark functions which are to be hidden.
88764         * include/rpc/auth_des.h: Likewise.
88765         * include/rpc/auth_unix.h: Likewise.
88766         * include/rpc/clnt.h: Likewise.
88767         * include/rpc/des_crypt.h: Likewise.
88768         * include/rpc/key_prot.h: Likewise.
88769         * include/rpc/pmap_clnt.h: Likewise.
88770         * include/rpc/pmap_prot.h: Likewise.
88771         * include/rpc/pmap_rmt.h: Likewise.
88772         * include/rpc/rpc_msg.h: Likewise.
88773         * include/rpc/svc.h: Likewise.
88774         * include/rpc/svc_auth.h: Likewise.
88775         * include/rpc/xdr.h: Likewise.
88776         * nis/Makefile: Link all DSOs against linkobj/libc.so.
88777         * nss/Makefile: Likewise.
88778         * sunrpc/Makefile: Don't install headers.  Build library with normal
88779         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
88780         * sunrpc/auth_des.c: Hide exported symbols by default, export some
88781         for the compat linking library.  Remove use of INTDEF/INTUSE.
88782         * sunrpc/auth_none.c: Likewise.
88783         * sunrpc/auth_unix.c: Likewise.
88784         * sunrpc/authdes_prot.c: Likewise.
88785         * sunrpc/authuxprot.c: Likewise.
88786         * sunrpc/clnt_gen.c: Likewise.
88787         * sunrpc/clnt_perr.c: Likewise.
88788         * sunrpc/clnt_raw.c: Likewise.
88789         * sunrpc/clnt_simp.c: Likewise.
88790         * sunrpc/clnt_tcp.c: Likewise.
88791         * sunrpc/clnt_udp.c: Likewise.
88792         * sunrpc/clnt_unix.c: Likewise.
88793         * sunrpc/des_crypt.c: Likewise.
88794         * sunrpc/des_soft.c: Likewise.
88795         * sunrpc/get_myaddr.c: Likewise.
88796         * sunrpc/key_call.c: Likewise.
88797         * sunrpc/key_prot.c: Likewise.
88798         * sunrpc/netname.c: Likewise.
88799         * sunrpc/pm_getmaps.c: Likewise.
88800         * sunrpc/pm_getport.c: Likewise.
88801         * sunrpc/pmap_clnt.c: Likewise.
88802         * sunrpc/pmap_prot.c: Likewise.
88803         * sunrpc/pmap_prot2.c: Likewise.
88804         * sunrpc/pmap_rmt.c: Likewise.
88805         * sunrpc/publickey.c: Likewise.
88806         * sunrpc/rpc_cmsg.c: Likewise.
88807         * sunrpc/rpc_common.c: Likewise.
88808         * sunrpc/rpc_dtable.c: Likewise.
88809         * sunrpc/rpc_prot.c: Likewise.
88810         * sunrpc/rpc_thread.c: Likewise.
88811         * sunrpc/rtime.c: Likewise.
88812         * sunrpc/svc.c: Likewise.
88813         * sunrpc/svc_auth.c: Likewise.
88814         * sunrpc/svc_authux.c: Likewise.
88815         * sunrpc/svc_raw.c: Likewise.
88816         * sunrpc/svc_run.c: Likewise.
88817         * sunrpc/svc_simple.c: Likewise.
88818         * sunrpc/svc_tcp.c: Likewise.
88819         * sunrpc/svc_udp.c: Likewise.
88820         * sunrpc/svc_unix.c: Likewise.
88821         * sunrpc/svcauth_des.c: Likewise.
88822         * sunrpc/xcrypt.c: Likewise.
88823         * sunrpc/xdr.c: Likewise.
88824         * sunrpc/xdr_array.c: Likewise.
88825         * sunrpc/xdr_float.c: Likewise.
88826         * sunrpc/xdr_intXX_t.c: Likewise.
88827         * sunrpc/xdr_mem.c: Likewise.
88828         * sunrpc/xdr_rec.c: Likewise.
88829         * sunrpc/xdr_ref.c: Likewise.
88830         * sunrpc/xdr_sizeof.c: Likewise.
88831         * sunrpc/xdr_stdio.c: Likewise.
88833 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
88835         [BZ #12650]
88836         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
88837         * sysdeps/ia64/dl-tls.h: Likewise.
88838         * sysdeps/powerpc/dl-tls.h: Likewise.
88839         * sysdeps/s390/dl-tls.h: Likewise.
88840         * sysdeps/sh/dl-tls.h: Likewise.
88841         * sysdeps/sparc/dl-tls.h: Likewise.
88842         * sysdeps/x86_64/dl-tls.h: Likewise.
88843         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
88845 2011-03-14  Andreas Schwab  <schwab@redhat.com>
88847         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
88848         rpath element also skip the following colon.
88849         (expand_dynamic_string_token): Add is_path parameter and pass
88850         down to DL_DST_REQUIRED and _dl_dst_substitute.
88851         (decompose_rpath): Call expand_dynamic_string_token with
88852         non-zero is_path.  Ignore empty rpaths.
88853         (_dl_map_object_from_fd): Call expand_dynamic_string_token
88854         with zero is_path.
88856 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
88858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
88859         Make cancelable.
88861 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
88863         [BZ #12655]
88864         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
88865         Patch by Filipe David Manana <fdmanana@apache.org>.
88867 2011-04-07  Andreas Schwab  <schwab@redhat.com>
88869         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
88870         Maintain aligned stack.
88871         (CHECK_RSP): Remove unused macro.
88873 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
88875         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
88876         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
88878 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
88880         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
88882         * include/features.h: Mention __USE_XOPEN2K8 in comment.
88884 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
88886         [BZ #12518]
88887         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
88888         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
88889         * sysdeps/x86_64/memmove.c: New file.
88890         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
88891         (memcpy): Renamed to ...
88892         (__new_memcpy): This.
88893         (memcpy): Provide GLIBC_2_14 memcpy.
88894         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
88895         (memcpy): Provide GLIBC_2_2_5 memcpy.
88897 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88899         [BZ #12631]
88900         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
88902 2011-03-30  Andreas Schwab  <schwab@redhat.com>
88904         * misc/syncfs.c: New file.
88905         * misc/Makefile (routines): Add syncfs.
88906         * posix/unistd.h: Declare syncfs.
88907         * sysdeps/unix/syscalls.list: Add syncfs.
88909 2011-04-01  Andreas Schwab  <schwab@redhat.com>
88911         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
88912         open_by_handle_at.
88913         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
88914         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88915         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88916         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88917         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88918         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
88919         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88921 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88923         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
88924         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88925         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
88926         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88927         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88928         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88929         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88931         * io/Makefile: Compile fallocate.c, fallocate64.c, and
88932         sync_file_range.c with -fexceptions.
88933         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
88934         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
88935         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
88936         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
88937         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
88938         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
88939         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
88940         sync_file_range as cancellation point
88941         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
88942         now a wrapper around __call_sync_file_range with cancellation handling.
88943         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
88944         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
88945         function name to __call_sync_file_range.
88946         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
88947         Add call_sync_file_range.
88949 2011-04-01  Andreas Schwab  <schwab@redhat.com>
88951         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88952         bits/timex.h.
88954 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88956         * iconv/iconv.h: Fix typo in comment.
88957         * io/fcntl.h: Likewise.
88958         * libio/stdio.h: Likewise.
88959         * posix/spawn.h: Likewise.
88960         * posix/unistd.h: Likewise.
88961         * stdlib/stdlib.h: Likewise.
88962         * time/time.h: Likewise.
88963         * wcsmbs/wchar.h: Likewise.
88965         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
88966         open_by_handle): Add.
88967         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
88968         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
88969         Augment a few comments.
88970         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88971         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88972         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88973         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88974         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88975         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
88976         open_by_handle.
88978         * io/fcntl.h (AT_EMPTY_PATH): Define.
88980 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
88982         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
88983         * sysdeps/unix/sysv/linux/bits/time.h: New file.
88984         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
88985         to...
88986         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
88987         * Versions.def: Add GLIBC_2.14.
88988         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
88989         Export.
88991 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
88993         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
88994         round counter.
88995         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88997 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
88999         [BZ #12597]
89000         * string/test-strncmp.c (do_page_test): New function.
89001         (check2): Likewise.
89002         (test_main): Call check2.
89003         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
89005 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
89007         [BZ #12587]
89008         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
89009         Handle cache information in CPU leaf 4.
89010         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
89012 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
89014         [BZ #12583]
89015         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
89016         character representation.
89017         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
89019 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
89021         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
89022         END(__isnan) to END(__isnanf) to match function entry point/label
89023         EALIGN(__isnanf,...).
89025 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
89027         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
89029 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
89031         [BZ #12510]
89032         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
89033         copy from the symbol referenced in the relocation to initialize the
89034         used variable.
89035         Patch by Piotr Bury <pbury@goahead.com>.
89036         * elf/Makefile: Add rules to build and tst-unique3.
89037         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
89038         * elf/tst-unique3.cc: New file.
89039         * elf/tst-unique3.h: New file.
89040         * elf/tst-unique3lib.cc: New file.
89041         * elf/tst-unique3lib2.cc: New file.
89043         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
89045 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
89047         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
89048         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
89049         to _start.
89051 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
89053         * elf/dl-load.c (_dl_map_object): If we are looking for the first
89054         to-be-loaded object along a path to loader is ld.so.
89056 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
89057             Ulrich Drepper  <drepper@gmail.com>
89059         * sysdeps/x86_64/memset.S: After aligning destination, code
89060         branches to different locations depending on the value of
89061         misalignment, when multiarch is enabled. Fix this.
89063 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
89065         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
89066         Set _x86_64_preferred_memory_instruction for AMD processsors.
89067         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89068         Set bit_Prefer_SSE_for_memop for AMD processors.
89070 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
89072         * libio/fmemopen.c (fmemopen): Optimize a bit.
89074 2011-03-03  Andreas Schwab  <schwab@redhat.com>
89076         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
89078 2011-03-03  Roland McGrath  <roland@redhat.com>
89080         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
89082 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
89084         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
89085         __bzero_ultra1 instead of __memset_ultra1.
89087 2011-02-23  Andreas Schwab  <schwab@redhat.com>
89088             Ulrich Drepper  <drepper@gmail.com>
89090         [BZ #12509]
89091         * include/link.h (struct link_map): Add l_orig_initfini.
89092         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
89093         returning unsuccessfully.
89094         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
89095         close of a file loaded at startup, restore the original l_initfini
89096         list.
89097         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
89098         list, store the pointer.
89099         * elf/Makefile ($(objpfx)noload-mem): New rule.
89100         (noload-ENV): Define.
89101         (tests): Add $(objpfx)noload-mem.
89102         * elf/noload.c: Include <memcheck.h>.
89103         (main): Call mtrace.  Close all opened handles.
89105 2011-02-17  Andreas Schwab  <schwab@redhat.com>
89107         [BZ #12454]
89108         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
89109         dependencies are missing.
89111 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89113         Fix __if_freereq crash: Unlike the generic version which uses free,
89114         Hurd needs munmap.
89115         * sysdeps/mach/hurd/ifreq.h: New file.
89117 2011-01-27  Petr Baudis  <pasky@suse.cz>
89118             Ulrich Drepper  <drepper@gmail.com>
89120         [BZ 12445]#
89121         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
89122         to extend_alloca().
89123         * stdio-common/bug23.c: New file.
89124         * stdio-common/Makefile (tests): Add bug23.
89126 2010-09-28  Andreas Schwab  <schwab@redhat.com>
89127             Ulrich Drepper  <drepper@gmail.com>
89129         [BZ #12489]
89130         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
89131         before performing relro protection.  At old place add assertion
89132         to make sure nothing changed.
89134 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
89135             Glauber de Oliveira Costa  <glommer@gmail.com>
89137         * elf/elf.h: Add new ARM TLS relocs.
89139 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
89141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
89142         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
89143         cast from r3.
89144         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
89145         'tests' variable.
89146         * sysdeps/wordsize-64/tst-writev.c: New file.
89148 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
89150         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
89151         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
89152         insns in _dl_start to prevent a TOC reference before relocs are
89153         resolved.
89155 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
89157         [BZ #12469]
89158         * Makeconfig: Remove RANLIB definition.
89159         * Makerules: Don't use RANLIB.
89160         * aclocal.m4: Remove ranlib test.
89161         * configure.in: No need to check for ranlib.
89162         * elf/rtld-Rules: Don't use RANLIB.
89164 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89166         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
89167         protection macro.
89168         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
89169         inclusion protection macro.
89171         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
89172         SIGRTMIN and SIGRTMAX and print information in that case only when
89173         SIGRTMIN is defined.
89175 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
89177         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
89178         arginfo fn returning -1.
89180         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
89181         and thousands string is zero terminated.
89183 2011-02-03  Andreas Schwab  <schwab@redhat.com>
89185         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
89186         sysdeps/unix/sysv/linux/bits/socket.h.
89188 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89190         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
89191         (__CPU_COUNT): Remove old macros.
89192         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
89193         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
89194         (__CPU_ALLOC, __CPU_FREE): Add macros.
89195         (__sched_cpualloc, __sched_cpufree): Add declarations.
89197 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
89199         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
89200         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
89201         * nscd/aicache.c (addhstaiX): Return timeout of added value.
89202         (readdhstai): Return value of addhstaiX call.
89203         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
89204         (addgrbyX): Return value returned by cache_addgr.
89205         (readdgrbyname): Return value returned by addgrbyX.
89206         (readdgrbygid): Likewise.
89207         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
89208         (addpwbyX): Return value returned by cache_addpw.
89209         (readdpwbyname): Return value returned by addhstbyX.
89210         (readdpwbyuid): Likewise.
89211         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
89212         (addservbyX): Return value returned by cache_addserv.
89213         (readdservbyname): Return value returned by addservbyX:
89214         (readdservbyport): Likewise.
89215         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
89216         (addhstbyX): Return value returned by cache_addhst.
89217         (readdhstbyname): Return value returned by addhstbyX.
89218         (readdhstbyaddr): Likewise.
89219         (readdhstbynamev6): Likewise.
89220         (readdhstbyaddrv6): Likewise.
89221         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
89222         (readdinitgroups): Return value returned by addinitgroupsX.
89223         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
89224         (prune_cache): Keep track of timeout value of re-added entries.
89225         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
89226         * nscd/nscd.h: Adjust prototypes of readd* functions.
89228 2011-02-04  Roland McGrath  <roland@redhat.com>
89230         * nis/nis_server.c (nis_servstate): Use the right name for 0.
89231         (nis_stats): Likewise.
89232         * nis/nis_modify.c (nis_modify): Likewise.
89233         * nis/nis_remove.c (nis_remove): Likewise.
89234         * nis/nis_add.c (nis_add): Likewise.
89236         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
89238         * posix/fnmatch_loop.c: Add some consts.
89240         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
89242 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
89244         [BZ #12460]
89245         * config.make.in (config-cflags-novzeroupper): Define.
89246         * configure.in: Substitute libc_cv_cc_novzeroupper.
89247         * elf/Makefile (AVX-CFLAGS): Define.
89248         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
89249         (CFLAGS-tst-auditmod4a.c): Likewise.
89250         (CFLAGS-tst-auditmod4b.c): Likewise.
89251         (CFLAGS-tst-auditmod6b.c): Likewise.
89252         (CFLAGS-tst-auditmod6c.c): Likewise.
89253         (CFLAGS-tst-auditmod7b.c): Likewise.
89254         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
89256 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
89258         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
89259         function to the callback.
89260         Patch partly by Jiri Olsa <jolsa@redhat.com>.
89262 2011-02-02  Andreas Schwab  <schwab@redhat.com>
89264         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
89265         of errno.
89267 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
89269         [BZ #11724]
89270         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
89271         of constructors.
89272         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
89273         of destructors.
89274         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
89276         [BZ #11724]
89277         * elf/Makefile: Add rules to build and run new test.
89278         * elf/tst-initorder.c: New file.
89279         * elf/tst-initorder.exp: New file.
89280         * elf/tst-initordera1.c: New file.
89281         * elf/tst-initordera2.c: New file.
89282         * elf/tst-initordera3.c: New file.
89283         * elf/tst-initordera4.c: New file.
89284         * elf/tst-initorderb1.c: New file.
89285         * elf/tst-initorderb2.c: New file.
89286         * elf/tst-order-a1.c: New file.
89287         * elf/tst-order-a2.c: New file.
89288         * elf/tst-order-a3.c: New file.
89289         * elf/tst-order-a4.c: New file.
89290         * elf/tst-order-b1.c: New file.
89291         * elf/tst-order-b2.c: New file.
89292         * elf/tst-order-main.c: New file.
89293         New test case by George Gensure <werkt0@gmail.com>.
89295 2010-10-01  Andreas Schwab  <schwab@redhat.com>
89297         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
89298         decoding ACE if AI_CANONIDN.
89300 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
89302         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
89304 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
89306         * version.h (RELEASE): Bump for 2.13 release.
89307         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
89309         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
89311         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
89312         MADV_NOHUGEPAGE.
89313         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
89314         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
89315         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
89316         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
89317         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
89318         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
89320         * posix/getconf.c: Update copyright year.
89321         * catgets/gencat.c: Likewise.
89322         * csu/version.c: Likewise.
89323         * debug/catchsegv.sh: Likewise.
89324         * debug/xtrace.sh: Likewise.
89325         * elf/ldconfig.c: Likewise.
89326         * elf/ldd.bash.in: Likewise.
89327         * elf/sprof.c (print_version): Likewise.
89328         * iconv/iconv_prog.c: Likewise.
89329         * iconv/iconvconfig.c: Likewise.
89330         * locale/programs/locale.c: Likewise.
89331         * locale/programs/localedef.c: Likewise.
89332         * malloc/memusage.sh: Likewise.
89333         * malloc/mtrace.pl: Likewise.
89334         * nscd/nscd.c (print_version): Likewise.
89335         * nss/getent.c: Likewise.
89337         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
89338         PF_CAIF, and PF_ALG.
89339         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89341 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
89343         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
89344         (modules-names): Use them.
89345         (ifunc-test-modules, ifunc-pie-tests): Define.
89346         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
89347         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
89348         (test-extras): Likewise.
89349         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
89350         $(compile-command.c).
89351         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
89352         (all-built-dso): Define.
89353         (check-textrel.out, check-execstack.out): Depend on it.
89355         * configure.in: Don't override --enable-multi-arch.
89357 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
89359         [BZ #6812]
89360         * nscd/hstcache.c (tryagain): Define.
89361         (cache_addhst): Return tryagain not notfound for temporary errors.
89362         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
89363         failed.
89365 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
89367         [BZ #10563]
89368         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
89369         to make the syscall.
89370         * sysdeps/unix/sysv/linux/setgroups.c: New file.
89372         [BZ #12378]
89373         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
89374         and fall back to matching as normal character if the string ends before
89375         the matching ']' is found.  This is what POSIX requires.
89376         * posix/testfnm.c: Adjust test result.
89377         * posix/globtest.sh: Adjust test result.  Add new test.
89378         * posix/tst-fnmatch.input: Likewise.
89379         * posix/tst-fnmatch2.c: Add new test.
89381 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
89383         * elf/Makefile (check-execstack): Revert last change.  Depend on
89384         check-execstack.h.
89385         (check-execstack.h): New target.
89386         (generated): Add check-execstack.h.
89387         * elf/check-execstack.c: Include "check-execstack.h".
89388         (main): Revert last change.
89389         (handle_file): Return zero if GNU_STACK is absent and
89390         DEFAULT_STACK_PERMS doesn't include PF_X.
89392 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
89394         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
89395         in child fails because the descriptor is already closed.
89396         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
89397         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
89398         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
89400         [BZ #12397]
89401         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
89402         syscall.
89404         [BZ #10484]
89405         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
89406         temporary buffer used to handle multi lookups locally.
89407         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
89409 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
89411         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
89412         loader is ld.so.
89414 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
89416         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
89417         alignment for SSE2.
89419 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
89421         [BZ #12394]
89422         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
89423         characters.  When rounding increased number of integer digits recompute
89424         number of groups.
89425         * stdio-common/tst-grouping.c: New file.
89426         * stdio-common/Makefile: Add rules to build and run tst-grouping.
89428 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
89430         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
89431         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
89433         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
89434         void.
89435         * bits/select.h: Likewise.
89437 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
89439         * po/ja.po: Update from translation team.
89441 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
89443         [BZ #11155]
89444         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
89445         implementation just like for lxstat, fxstatat, et al.
89447 2010-12-27  Jim Meyering  <meyering@redhat.com>
89449         [BZ #12348]
89450         * posix/regexec.c (build_trtable): Return failure indication upon
89451         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
89453 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
89455         [BZ #12201]
89456         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
89457         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
89458         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
89459         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
89461         [BZ #12207]
89462         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
89464         [BZ #12204]
89465         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
89466         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
89468 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
89470         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
89471         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
89472         script has SORT_BY_INIT_PRIORITY.
89473         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
89474         NO_CTORS_DTORS_SECTIONS is defined.
89475         * elf/soinit.c: Likewise.
89476         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
89477         NO_CTORS_DTORS_SECTIONS is defined.
89478         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
89479         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
89480         * sysdeps/sh/init-first.c: Likewise.
89481         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
89483 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
89485         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
89486         always use the slow path.
89488 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
89490         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
89491         similar rule which adds the sysdep directories to the header search in
89492         order to pick up the correct platform stackinfo.h.
89493         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
89494         perform test if it is, otherwise return successfully without testing.
89495         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
89496         DEFAULT_STACK_PERMS define in stackinfo.h.
89497         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
89498         defined in stackinfo.h.
89499         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
89500         DEFAULT_STACK_PERMS defined in stackinfo.h.
89501         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
89502         * sysdeps/ia64/stackinfo.h: Likewise.
89503         * sysdeps/s390/stackinfo.h: Likewise.
89504         * sysdeps/sh/stackinfo.h: Likewise.
89505         * sysdeps/sparc/stackinfo.h: Likewise.
89506         * sysdeps/x86_64/stackinfo.h: Likewise.
89507         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
89508         PF_X for powerpc64.  Retain PF_X for powerpc32.
89510 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
89512         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
89513         accurately.
89514         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
89515         GETDENTS_64BIT_ALIGNED.
89517 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
89519         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
89521 2010-12-10  Andreas Schwab  <schwab@redhat.com>
89523         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
89524         _GNU_SOURCE.
89526         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
89527         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
89528         Remove __restrict.
89529         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
89530         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
89532 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
89534         [BZ #11655]
89535         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
89536         are initialized.
89538 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
89540         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
89542 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
89544         * po/it.po: Update from translation team.
89546 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
89548         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
89549         unused codes.
89551 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
89553         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
89555 2010-11-24  Andreas Schwab  <schwab@redhat.com>
89557         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
89558         specially.
89559         (gaih_getanswer_slice): Likewise.
89561 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
89563         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
89565 2010-05-31  Petr Baudis  <pasky@suse.cz>
89567         [BZ #11149]
89568         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
89569         silently even in the chroot mode.
89571 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
89573         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
89574         last patch a bit.  Pretty printing
89576 2010-05-31  Petr Baudis <pasky@suse.cz>
89578         [BZ #10085]
89579         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
89580         initialization of skip_initgroups_dyn.
89582 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
89584         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
89585         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
89587 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
89589         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
89591 2010-11-11  Andreas Schwab  <schwab@redhat.com>
89593         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
89594         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
89595         (tst-fnmatch-ENV): Set MALLOC_TRACE.
89596         ($(objpfx)tst-fnmatch-mem): New rule.
89597         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
89598         * posix/tst-fnmatch.c (main): Call mtrace.
89600 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
89602         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89603         Support Intel processor model 6 and model 0x2c.
89605 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
89607         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
89608           signed comparison.
89610 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
89612         [BZ #12205]
89613         * string/test-strncasecmp.c (check_result): New function.
89614         (do_one_test): Use it.
89615         (check1): New function.
89616         (test_main): Use it.
89617         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
89618         Support strcasecmp and strncasecmp.
89620 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
89622         [BZ #12194]
89623         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
89624         * sysdeps/x86_64/bits/byteswap.h: Likewise.
89626 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
89628         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
89629         IFUNC support.
89630         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89631         memset-x86-64.
89632         * sysdeps/x86_64/multiarch/bzero.S: New file.
89633         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
89634         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
89635         * sysdeps/x86_64/multiarch/memset.S: New file.
89636         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
89637         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89638         Set bit_Prefer_SSE_for_memop for Intel processors.
89639         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
89640         Define.
89641         (index_Prefer_SSE_for_memop): Define.
89642         (HAS_PREFER_SSE_FOR_MEMOP): Define.
89644 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
89646         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
89647         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
89649 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
89651         [BZ #12191]
89652         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89653         (__x86_64_raw_data_cache_size_half): Likewise.
89654         (__x86_64_raw_shared_cache_size): Likewise.
89655         (__x86_64_raw_shared_cache_size_half): Likewise.
89657         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89658         (__x86_64_raw_data_cache_size_half): Likewise.
89659         (__x86_64_raw_shared_cache_size): Likewise.
89660         (__x86_64_raw_shared_cache_size_half): Likewise.
89661         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
89662         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
89663         and __x86_64_raw_shared_cache_size_half.  Round
89664         __x86_64_data_cache_size_half, __x86_64_data_cache_size
89665         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
89666         to multiple of 256 bytes.
89668 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
89670         [BZ #12167]
89671         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
89672         of inacessible symlinks.  Verify result of symlink before returning it.
89673         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
89674         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
89676 2010-10-28  Erich Ritz  <erichritz@gmail.com>
89678         * math/math.h (isinf): Fix typo in comment.
89680 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
89682         * po/da.po: Update from translation team.
89684 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
89686         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
89687         is added to the list.
89689 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89690             Ulrich Drepper  <drepper@gmail.com>
89692         * elf/dl-object.c (_dl_new_object): Don't append the new object to
89693         the global list here.  Move code to...
89694         (_dl_add_to_namespace_list): ...here.  New function.
89695         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
89696         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
89697         * elf/dl-load.c (lose): Don't remove the element from the list.
89698         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
89699         (_dl_map_object): Likewise.
89701 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
89703         [BZ #12159]
89704         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
89705         into all bytes of SSE register.
89706         Patch by Richard Li <richardpku@gmail.com>.
89708 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
89710         [BZ #12140]
89711         * malloc/malloc.c (_int_free): Fill correct number of bytes when
89712         perturbing.
89714 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
89716         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
89717         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
89718         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
89719         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
89720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
89721         submachine.
89722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
89724 2010-10-22  Andreas Schwab  <schwab@redhat.com>
89726         * include/dlfcn.h (__RTLD_SECURE): Define.
89727         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
89728         mode & __RTLD_SECURE instead.
89729         (open_path): Rename preloaded parameter to secure.
89730         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
89731         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
89732         * elf/dl-deps.c (openaux): Likewise.
89733         * elf/rtld.c (struct map_args): Remove is_preloaded.
89734         (map_doit): Don't use it.
89735         (dl_main): Likewise.
89736         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
89737         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
89739 2010-09-09  Andreas Schwab  <schwab@redhat.com>
89741         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
89742         (sysd-rules-targets): Remove duplicates.
89743         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
89744         rtld-%.$o dependency.
89746 2010-10-18  Andreas Schwab  <schwab@redhat.com>
89748         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
89749         _dl_map_object do it.
89751 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
89753         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
89754         fast fma builtins, define the macros in the C99 standard.
89755         (FP_FAST_FMAF): Likewise.
89756         (FP_FAST_FMAL): Likewise.
89757         * sysdeps/x86_64/bits/mathdef.h: Likewise.
89759         * bits/mathdef.h: Update copyright year.
89760         * sysdeps/powerpc/bits/mathdef.h: Likewise.
89762 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
89764         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
89765         builtins, define the macros in the C99 standard.
89766         (FP_FAST_FMAF): Likewise.
89767         (FP_FAST_FMAL): Likewise.
89768         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
89769         multiply/add.
89770         (FP_FAST_FMAF): Likewise.
89772 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
89774         [BZ #3268]
89775         * math/libm-test.inc (fma_test): Some new testcases.
89776         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
89777         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
89778         y and infinite z.  Do multiplication by C already in long double.
89779         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
89780         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
89781         y and infinite z.  Do bitwise or of inexact bit into u.d.
89782         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
89783         * sysdeps/i386/fpu/s_fmaf.S: Removed.
89784         * sysdeps/i386/fpu/s_fma.S: Removed.
89785         * sysdeps/i386/fpu/s_fmal.S: Removed.
89787 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
89789         [BZ #3268]
89790         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
89791         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
89792         computation is not scheduled after fetestexcept.  Fix value
89793         of minimum denormal long double.
89795 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
89797         [BZ #3268]
89798         * math/libm-test.inc (fma_test): Add some more tests.
89799         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
89800         correctly.
89802 2010-10-15  Andreas Schwab  <schwab@redhat.com>
89804         * scripts/data/localplt-s390-linux-gnu.data: New file.
89805         * scripts/data/localplt-s390x-linux-gnu.data: New file.
89807 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
89809         [BZ #3268]
89810         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
89811         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
89812         instead of dbl-64.
89813         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
89814         inlines.
89815         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
89816         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
89817         if one of x and y is very large and the other is subnormal.
89818         * sysdeps/s390/fpu/s_fmaf.c: New file.
89819         * sysdeps/s390/fpu/s_fma.c: New file.
89820         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
89821         * sysdeps/powerpc/fpu/s_fma.S: New file.
89822         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
89823         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
89824         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
89826 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
89828         [BZ #3268]
89829         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
89830         fma tests.
89831         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
89832         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
89833         * sysdeps/i386/i686/multiarch/s_fma.c: Include
89834         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
89835         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
89836         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
89837         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
89839 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
89841         [BZ #12078]
89842         * posix/regcomp.c (parse_branch): One more memory leak plugged.
89843         * posix/bug-regex31.input: Add test case.
89845 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89847         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
89848         * posix/bug-regex31.input: New file.
89850         [BZ #12078]
89851         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
89852         (parse_sub_exp): Fix last change, use postorder.
89854         * posix/bug-regex31.c: New file.
89855         * posix/Makefile: Add rules to build and run bug-regex31.
89857         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
89859         [BZ #12078]
89860         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
89862         [BZ #12108]
89863         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
89864         to have entries in sys_siglist.
89866         [BZ #12093]
89867         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
89868         be NULL.
89870 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
89872         [BZ #3268]
89873         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
89874         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
89875         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
89876         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
89877         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
89878         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
89879         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
89880         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
89881         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
89882         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
89883         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
89884         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
89885         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
89886         * math/ftestexcept.c (fetestexcept): Likewise.
89887         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
89888         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
89889         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
89890         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
89891         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
89892         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
89893         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
89895 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89897         [BZ #12107]
89898         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
89899         newline.
89901 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
89903         * string/bug-strstr1.c: New file.
89904         * string/Makefile: Add rules to build and run bug-strstr1.
89906 2010-10-05  Eric Blake  <eblake@redhat.com>
89908         [BZ #12092]
89909         * string/str-two-way.h (two_way_long_needle): Always clear memory
89910         when skipping input due to the shift table.
89912 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
89914         [BZ #12005]
89915         * malloc/mcheck.c: Handle large requests.
89917         [BZ #12077]
89918         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
89919         for strncmp and strncasecmp.
89920         * string/stratcliff.c: Add tests for strcmp and strncmp.
89921         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
89923 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
89925         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
89926         __set_fpscr.
89928 2010-09-30  Andreas Jaeger  <aj@suse.de>
89930         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
89931         (CGROUP_SUPER_MAGIC): Define.
89932         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89933         Handle btrfs and cgroup file systems.
89934         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
89935         Likewise.
89937 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
89939         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
89940         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
89942 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89944         [BZ #12067]
89945         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
89946         trying to locate the ELF header.
89948 2010-09-27  Andreas Schwab  <schwab@redhat.com>
89950         [BZ #11611]
89951         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
89952         Mask out sign-bit copies when constructing f_fsid.
89954 2010-09-24  Petr Baudis <pasky@suse.cz>
89956         * debug/stack_chk_fail_local.c: Add missing licence exception.
89957         * debug/warning-nop.c: Likewise.
89959 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
89961         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
89962         implementing getdents64 using getdents syscall, set d_type if
89963         __ASSUME_GETDENTS32_D_TYPE.
89965 2010-09-16  Andreas Schwab  <schwab@redhat.com>
89967         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
89968         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
89970 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
89972         [BZ #12037]
89973         * posix/unistd.h: Undo change of feature selection for ftruncate from
89974         2010-01-11.
89976 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
89978         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
89979         detection.
89981 2010-09-20  Andreas Schwab  <schwab@redhat.com>
89983         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
89984         fanotify_mark.
89985         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
89987 2010-09-14  Andreas Schwab  <schwab@redhat.com>
89989         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
89990         variables after CHECK_SP call.
89991         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
89993 2010-09-13  Andreas Schwab  <schwab@redhat.com>
89994             Ulrich Drepper  <drepper@redhat.com>
89996         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
89997         re-relocationg ld.so.
89998         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
89999         _dl_init_paths call.
90000         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
90001         here anymore.
90003 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
90005         * resolv/res_init.c (__res_vinit): Count the default server we added.
90007 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
90008             Ulrich Drepper  <drepper@redhat.com>
90010         [BZ #11968]
90011         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
90012         (____longjmp_chk): Use %ebx for saving value across system call.
90013         Add unwind info.
90015 2010-09-06  Andreas Schwab  <schwab@redhat.com>
90017         * manual/Makefile: Don't mix pattern rules with normal rules.
90019 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
90021         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
90022         operation.
90023         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
90024         * libio/iofopncook.c (_IO_cookie_init): Likewise.
90025         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
90026         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
90027         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90028         Likewise.
90030 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
90032         [BZ #11979]
90033         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
90034         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
90036 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
90038         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
90039         * sysdeps/x86_64/addmul_1.S: Likewise.
90040         * sysdeps/x86_64/lshift.S: Likewise.
90041         * sysdeps/x86_64/mul_1.S: Likewise.
90042         * sysdeps/x86_64/rshift.S: Likewise.
90043         * sysdeps/x86_64/sub_n.S: Likewise.
90044         * sysdeps/x86_64/submul_1.S: Likewise.
90046 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90048         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
90049         Define __sched_param instead of SCHED_* and sched_param when
90050         <bits/sched.h> is included with __need_schedparam defined.
90051         * bits/sched.h [__need_schedparam]
90052         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
90053         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
90054         (__defined_schedparam): Define to 1.
90055         (__sched_param): New structure, identical to sched_param.
90056         (__need_schedparam): Undefine.
90058 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
90060         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
90061         (epoll_create1): Declare.
90063         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
90065 2010-08-31  Andreas Schwab  <schwab@redhat.com>
90067         [BZ #7066]
90068         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
90069         shifting retval into place.
90071 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
90073         * nis/rpcsvc/nis.h: Update copyright notice.
90074         * nis/rpcsvc/nis.x: Likewise.
90075         * nis/rpcsvc/nis_callback.h: Likewise.
90076         * nis/rpcsvc/nis_callback.x: Likewise.
90077         * nis/rpcsvc/nis_object.x: Likewise.
90078         * nis/rpcsvc/nis_tags.h: Likewise.
90079         * nis/rpcsvc/yp.h: Likewise.
90080         * nis/rpcsvc/yp.x: Likewise.
90081         * nis/rpcsvc/ypupd.h: Likewise.
90082         * nis/yp_xdr.c: Likewise.
90083         * nis/ypupdate_xdr.c: Likewise.
90085         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
90086         mainly the body of pmap_getport.  Add parameters to specify timeouts.
90087         (pmap_getport): Use __libc_rpc_getport.
90088         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
90089         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
90090         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
90092 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
90094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
90095         fanotify_mark.
90097 2010-08-27  Roland McGrath  <roland@redhat.com>
90099         * sysdeps/i386/i686/multiarch/Makefile
90100         (CFLAGS-varshift.c): New variable.
90102 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
90104         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
90105         * sysdeps/i386/i686/multiarch/varshift.c: New file.
90107         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
90109         * sysdeps/x86_64/strlen.S: Minimal code improvement.
90111 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
90113         * sysdeps/x86_64/strlen.S: Unroll the loop.
90114         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90115         strlen-sse2 strlen-sse2-bsf.
90116         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
90117         __strlen_no_bsf if bit_Slow_BSF is set.
90118         (__strlen_sse42): Removed.
90119         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
90120         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
90122 2010-08-25  Roland McGrath  <roland@redhat.com>
90124         * sysdeps/x86_64/multiarch/varshift.S: File removed.
90125         * sysdeps/x86_64/multiarch/varshift.c: New file.
90126         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
90127         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
90128         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
90129         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
90131 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
90133         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90134         strlen-sse2 strlen-sse2-bsf.
90135         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
90136         __strlen_sse2_bsf if bit_Slow_BSF is unset.
90137         (__strlen_sse2): Removed.
90138         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
90139         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
90140         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
90141         bit_Slow_BSF for Atom.
90142         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
90143         (index_Slow_BSF): Define.
90144         (HAS_SLOW_BSF): Define.
90146 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
90148         [BZ #10851]
90149         * resolv/res_init.c (__res_vinit): When no server address at all
90150         is given default to loopback.
90152 2010-08-24  Roland McGrath  <roland@redhat.com>
90154         * configure.in: Remove config-name.h generation.
90155         * configure: Regenerated.
90156         * config-name.in: File removed.
90157         * scripts/config-uname.sh: New file.
90158         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
90159         ($(objdir)config-name.h): New target.
90161         * sunrpc/rpc_parse.h: Avoid nested comment.
90163 2010-08-24  Richard Henderson  <rth@redhat.com>
90164             Ulrich Drepper  <drepper@redhat.com>
90165             H.J. Lu  <hongjiu.lu@intel.com>
90167         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
90168         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
90169         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
90170         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
90171         _mm_alignr_epi8 with _mm_loadu_si128.
90172         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
90173         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
90174         (__m128i_shift_right): Removed.
90175         * sysdeps/i386/i686/multiarch/varshift.h: New file.
90176         * sysdeps/i386/i686/multiarch/varshift.S: New file.
90177         * sysdeps/x86_64/multiarch/varshift.h: New file.
90178         * sysdeps/x86_64/multiarch/varshift.S: New file.
90180 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
90182         * configure.in: Move assembler checks to before sysdep dir checking.
90184 2010-08-20  Petr Baudis  <pasky@suse.cz>
90186         * LICENSES: Sync the sunrpc license.
90188 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
90190         * sunrpc/auth_des.c: Update copyright notice once again.
90191         * sunrpc/auth_none.c: Likewise.
90192         * sunrpc/auth_unix.c: Likewise.
90193         * sunrpc/authdes_prot.c: Likewise.
90194         * sunrpc/authuxprot.c: Likewise.
90195         * sunrpc/bindrsvprt.c: Likewise.
90196         * sunrpc/clnt_gen.c: Likewise.
90197         * sunrpc/clnt_perr.c: Likewise.
90198         * sunrpc/clnt_raw.c: Likewise.
90199         * sunrpc/clnt_simp.c: Likewise.
90200         * sunrpc/clnt_tcp.c: Likewise.
90201         * sunrpc/clnt_udp.c: Likewise.
90202         * sunrpc/clnt_unix.c: Likewise.
90203         * sunrpc/des_crypt.c: Likewise.
90204         * sunrpc/des_soft.c: Likewise.
90205         * sunrpc/get_myaddr.c: Likewise.
90206         * sunrpc/getrpcport.c: Likewise.
90207         * sunrpc/key_call.c: Likewise.
90208         * sunrpc/key_prot.c: Likewise.
90209         * sunrpc/openchild.c: Likewise.
90210         * sunrpc/pm_getmaps.c: Likewise.
90211         * sunrpc/pm_getport.c: Likewise.
90212         * sunrpc/pmap_clnt.c: Likewise.
90213         * sunrpc/pmap_prot.c: Likewise.
90214         * sunrpc/pmap_prot2.c: Likewise.
90215         * sunrpc/pmap_rmt.c: Likewise.
90216         * sunrpc/rpc/auth.h: Likewise.
90217         * sunrpc/rpc/auth_unix.h: Likewise.
90218         * sunrpc/rpc/clnt.h: Likewise.
90219         * sunrpc/rpc/des_crypt.h: Likewise.
90220         * sunrpc/rpc/key_prot.h: Likewise.
90221         * sunrpc/rpc/netdb.h: Likewise.
90222         * sunrpc/rpc/pmap_clnt.h: Likewise.
90223         * sunrpc/rpc/pmap_prot.h: Likewise.
90224         * sunrpc/rpc/pmap_rmt.h: Likewise.
90225         * sunrpc/rpc/rpc.h: Likewise.
90226         * sunrpc/rpc/rpc_des.h: Likewise.
90227         * sunrpc/rpc/rpc_msg.h: Likewise.
90228         * sunrpc/rpc/svc.h: Likewise.
90229         * sunrpc/rpc/svc_auth.h: Likewise.
90230         * sunrpc/rpc/types.h: Likewise.
90231         * sunrpc/rpc/xdr.h: Likewise.
90232         * sunrpc/rpc_clntout.c: Likewise.
90233         * sunrpc/rpc_cmsg.c: Likewise.
90234         * sunrpc/rpc_common.c: Likewise.
90235         * sunrpc/rpc_cout.c: Likewise.
90236         * sunrpc/rpc_dtable.c: Likewise.
90237         * sunrpc/rpc_hout.c: Likewise.
90238         * sunrpc/rpc_main.c: Likewise.
90239         * sunrpc/rpc_parse.c: Likewise.
90240         * sunrpc/rpc_parse.h: Likewise.
90241         * sunrpc/rpc_prot.c: Likewise.
90242         * sunrpc/rpc_sample.c: Likewise.
90243         * sunrpc/rpc_scan.c: Likewise.
90244         * sunrpc/rpc_scan.h: Likewise.
90245         * sunrpc/rpc_svcout.c: Likewise.
90246         * sunrpc/rpc_tblout.c: Likewise.
90247         * sunrpc/rpc_util.c: Likewise.
90248         * sunrpc/rpc_util.h: Likewise.
90249         * sunrpc/rpcinfo.c: Likewise.
90250         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
90251         * sunrpc/rpcsvc/key_prot.x: Likewise.
90252         * sunrpc/rpcsvc/klm_prot.x: Likewise.
90253         * sunrpc/rpcsvc/mount.x: Likewise.
90254         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
90255         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
90256         * sunrpc/rpcsvc/rex.x: Likewise.
90257         * sunrpc/rpcsvc/rstat.x: Likewise.
90258         * sunrpc/rpcsvc/rusers.x: Likewise.
90259         * sunrpc/rpcsvc/sm_inter.x: Likewise.
90260         * sunrpc/rpcsvc/spray.x: Likewise.
90261         * sunrpc/rpcsvc/yppasswd.x: Likewise.
90262         * sunrpc/rtime.c: Likewise.
90263         * sunrpc/svc.c: Likewise.
90264         * sunrpc/svc_auth.c: Likewise.
90265         * sunrpc/svc_authux.c: Likewise.
90266         * sunrpc/svc_raw.c: Likewise.
90267         * sunrpc/svc_run.c: Likewise.
90268         * sunrpc/svc_simple.c: Likewise.
90269         * sunrpc/svc_tcp.c: Likewise.
90270         * sunrpc/svc_udp.c: Likewise.
90271         * sunrpc/svc_unix.c: Likewise.
90272         * sunrpc/svcauth_des.c: Likewise.
90273         * sunrpc/xcrypt.c: Likewise.
90274         * sunrpc/xdr.c: Likewise.
90275         * sunrpc/xdr_array.c: Likewise.
90276         * sunrpc/xdr_float.c: Likewise.
90277         * sunrpc/xdr_mem.c: Likewise.
90278         * sunrpc/xdr_rec.c: Likewise.
90279         * sunrpc/xdr_ref.c: Likewise.
90280         * sunrpc/xdr_sizeof.c: Likewise.
90281         * sunrpc/xdr_stdio.c: Likewise.
90283         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
90284         handling.
90286 2010-08-19  Andreas Schwab  <schwab@redhat.com>
90288         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
90290 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
90292         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
90293         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
90294         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
90295         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
90296         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
90297         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
90298         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
90299         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
90300         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
90301         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
90302         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
90303         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
90304         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
90305         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
90307 2010-07-26  Anton Blanchard  <anton@samba.org>
90309         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
90310         * malloc/arena.c (heap_trim): Likewise.
90312 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
90314         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
90315         here.  Not...
90316         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
90317         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
90319 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
90321         * sysdeps/i386/elf/Makefile: New file.
90323 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
90325         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
90326         from fanotify_init.
90327         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
90328         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
90330 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
90332         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
90333         of strncasecmp_l.
90334         * sysdeps/multiarch/strcmp.S: Likewise.
90336 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
90338         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
90339         strncase_l-nonascii.
90340         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
90341         Add strncase_l-ssse3.
90342         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
90343         * sysdeps/x86_64/strcmp.S: Likewise.
90344         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
90345         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
90346         * sysdeps/x86_64/strncase.S: New file.
90347         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
90348         * sysdeps/x86_64/strncase_l.S: New file.
90349         * string/Makefile (strop-tests): Add strncasecmp.
90350         * string/test-strncasecmp.c: New file.
90352         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
90353         warning.
90355         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
90356         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
90358 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
90360         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
90362 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
90364         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
90365         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
90366         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
90368 2010-05-01  Alan Modra  <amodra@gmail.com>
90370         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
90371         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
90372         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
90373         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
90374         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
90375         tidying.  Don't tail-call __sigjmp_save for static lib.
90376         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
90377         save location.
90378         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
90379         (CALL_MCOUNT): Add eh info, and nop after bl.
90380         (TAIL_CALL_SYSCALL_ERROR): New macro.
90381         (PSEUDO_RET): Use it.
90382         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
90383         Correct save location of integer regs and cr.
90384         (_dl_profile_resolve): Correct cr save location.  Delete nops
90385         after bl when SHARED.  Reduce cfi size a little by better
90386         placement of cfi directives.
90387         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
90388         make a stack frame.  Instead use parm save area as a temp.
90389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
90390         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
90391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
90392         Don't make a stack frame for parent, use parm save area.
90393         Increase child stack frame to 112 bytes.  Don't save unused reg,
90394         and adjust reg usage.  Set up cfi on error recovery and
90395         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
90396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
90397         (__makecontext): Add dummy nop after jump to exit.
90398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
90399         Use correct parm save area and cr save, reduce stack frame.
90400         Correct cfi for possible PSEUDO_RET frame setup.
90401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
90402         Branch to local label emitted by PSEUDO_RET rather than
90403         __syscall_error.
90405 2010-08-12  Andreas Schwab  <schwab@redhat.com>
90407         [BZ #11904]
90408         * locale/programs/locale.c (print_assignment): New function.
90409         (show_locale_vars): Use it.
90411 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
90413         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
90414         field.
90415         (struct statfs64): Likewise.
90416         (_STATFS_F_FLAGS): Define.
90417         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
90418         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
90419         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
90420         (ST_VALID): Define locally.
90421         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
90422         __statvfs_getflags, use the provided value.
90423         * sysdeps/unix/sysv/linux/kernel-features.h: Define
90424         __ASSUME_STATFS_F_FLAGS.
90426         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
90428         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
90429         Add sys/fanotify.h.
90430         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
90431         fanotify_mask for GLIBC_2.13.
90432         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
90433         fanotify_init and fanotify_mark.
90434         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
90435         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
90437         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
90438         Add prlimit.
90439         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
90440         prlimit64 for GLIBC_2.13.
90441         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
90442         prlimit64.
90443         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
90444         syscall.
90445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
90446         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
90447         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
90448         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
90449         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
90450         add prlimit alias.
90451         * sysdeps/unix/sysv/linux/prlimit.c: New file.
90453         [BZ #11903]
90454         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
90455         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
90457         * nss/Makefile: Add rules to build and run tst-nss-test1.
90458         * shlib-versions: Add entry for libnss_test1.
90459         * nss/nss_test1.c: New file.
90460         * nss/tst-nss-test1.c: New file.
90462         * nss/nsswitch.c (__nss_database_custom): Define new variable.
90463         (__nss_configure_lookup): Set appropriate entry in
90464         __nss_configure_lookup to true.
90465         * nss/nsswitch.h: Define enum with indeces of databases in
90466         databases and __nss_database_custom arrays.  Declare
90467         __nss_database_custom.
90468         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
90469         to avoid using nscd when custom rules are installed.
90470         * nss/getXXbyYY_r.c: Likewise.
90471         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
90473         * nss/nss_files/files-parse.c: Whitespace fixes.
90475 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
90477         [BZ #11883]
90478         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
90479         * posix/fnmatch_loop.c: Likewise.
90481 2010-07-17  Andi Kleen  <ak@linux.intel.com>
90483         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
90484         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
90485         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
90486         * Versions.def [GLIBC_2.13]: Add.
90488 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
90490         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90491         Also fail if tpwd after pwuid call is NULL.
90493 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90495         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
90496         when converting to ms.
90498 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90500         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
90501         EOPNOTSUPP errors with ENOTTY.
90502         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
90503         EOPNOTSUPP errors with ENOTTY.
90505 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
90507         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
90508         Add strcasecmp_l-ssse3.
90509         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
90510         strcasecmp.
90511         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
90512         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
90513         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
90515 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
90517         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
90519         * string/Makefile (strop-tests): Add strcasecmp.
90520         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
90521         strcasecmp_l-nonascii.
90522         (gen-as-const-headers): Add locale-defines.sym.
90523         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
90524         * sysdeps/x86_64/strcasecmp.S: New file.
90525         * sysdeps/x86_64/strcasecmp_l.S: New file.
90526         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
90527         * sysdeps/x86_64/locale-defines.sym: New file.
90528         * string/test-strcasecmp.c: New file.
90530         * string/test-strcasestr.c: Test both ends of the range of characters.
90531         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
90533 2010-07-29  Roland McGrath  <roland@redhat.com>
90535         [BZ #11856]
90536         * manual/locale.texi (Yes-or-No Questions): Fix example code.
90538 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
90540         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
90541         for ld.so.
90543 2010-07-27  Andreas Schwab  <schwab@redhat.com>
90545         * manual/memory.texi (Malloc Tunable Parameters): Document
90546         M_PERTURB.
90548 2010-07-26  Roland McGrath  <roland@redhat.com>
90550         [BZ #11840]
90551         * configure.in (-fgnu89-inline check): Set and substitute
90552         gnu89_inline, not libc_cv_gnu89_inline.
90553         * configure: Regenerated.
90554         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
90556 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
90558         * string/test-strnlen.c: New file.
90559         * string/Makefile (strop-tests): Add strnlen.
90560         * string/tester.c (test_strnlen): Add a few more test cases.
90561         * string/tst-strlen.c: Better error reporting.
90563         * sysdeps/x86_64/strnlen.S: New file.
90565 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
90567         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
90568         lower-latency instructions.
90570 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
90572         * string/test-strcasestr.c: New file.
90573         * string/test-strstr.c: New file.
90574         * string/Makefile (strop-tests): Add strstr and strcasestr.
90575         * string/str-two-way.h: Don't undefine MAX.
90576         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
90578 2010-07-21  Andreas Schwab  <schwab@redhat.com>
90580         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90581         strcasestr-nonascii.
90582         (CFLAGS-strcasestr-nonascii.c): Define.
90583         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
90584         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
90585         Remove unused attribute.
90587 2010-07-20  Roland McGrath  <roland@redhat.com>
90589         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
90590         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
90591         ld.so.cache was broken.  With it, there is no way to disable dsocaps
90592         like LD_HWCAP_MASK can disable hwcaps.
90594 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90596         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
90598 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
90600         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
90601         call in strcasestr.
90602         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
90603         __strcasestr_sse42_nonascii.
90604         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
90605         strcasestr-nonascii.c.
90606         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
90608 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
90610         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
90611         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
90612         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
90613         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
90615 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
90617         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
90618         fcntl.
90620 2010-07-06  Andreas Schwab  <schwab@redhat.com>
90622         [BZ #11577]
90623         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
90624         dl_signal_cerror.
90626 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
90628         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
90629         _PC_PIPE_BUF using F_GETPIPE_SZ.
90631 2010-07-05  Roland McGrath  <roland@redhat.com>
90633         * manual/arith.texi (Rounding Functions): Fix rint description
90634         implicit in round description.
90636 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
90638         * elf/Makefile: Fix linking for a few tests to make recent linker
90639         happy.
90641 2010-06-30  Andreas Schwab  <schwab@redhat.com>
90643         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
90644         $(common-objpfx)libc_nonshared.a.
90646 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
90648         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
90649         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
90650         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90651         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90652         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
90653         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
90654         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90655         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
90657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
90658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
90659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
90661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
90663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
90664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
90665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
90666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
90668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
90670         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
90671         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
90672         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
90673         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
90674         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
90675         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
90676         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
90677         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
90678         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
90679         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
90680         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
90681         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
90682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
90683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
90684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
90685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
90686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
90687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
90688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
90689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
90690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
90691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
90692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
90693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
90694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
90695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
90697 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
90699         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
90700         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
90701         * string/memmove.c (memmove): Renamed to ...
90702         (MEMMOVE): ...this.  Default to memmove.
90703         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
90704         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
90705         (END_CHK): Define.
90706         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90707         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
90708         mempcpy-ssse3-back memmove-ssse3-back.
90709         * sysdeps/x86_64/multiarch/bcopy.S: New file .
90710         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
90711         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
90712         * sysdeps/x86_64/multiarch/memcpy.S: New file.
90713         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
90714         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
90715         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
90716         * sysdeps/x86_64/multiarch/memmove.c: New file.
90717         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
90718         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
90719         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
90720         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
90721         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
90722         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
90723         Define.
90724         (index_Fast_Copy_Backward): Define.
90725         (HAS_ARCH_FEATURE): Define.
90726         (HAS_FAST_REP_STRING): Define.
90727         (HAS_FAST_COPY_BACKWARD): Define.
90729 2010-06-21  Andreas Schwab  <schwab@redhat.com>
90731         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90732         Restore proper fallback handling.
90734 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
90736         [BZ #11701]
90737         * posix/group_member.c (__group_member): Correct checking loop.
90739         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
90740         OOM in getpwuid_r correctly.  Return error number when the caller
90741         should return, otherwise -1.
90742         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
90743         call returning > 0 value.
90744         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
90746 2010-06-07  Andreas Schwab  <schwab@redhat.com>
90748         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
90749         libc_nonshared.a from targets in modules-names.
90751 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
90753         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
90754         requires it.
90756 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
90758         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
90759         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
90760         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
90761         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
90763 2010-06-02  Andreas Schwab  <schwab@redhat.com>
90765         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
90767 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
90769         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
90770         and F_GETPIPE_SZ.
90771         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
90772         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90773         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90774         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90775         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90776         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90778 2010-06-14  Roland McGrath  <roland@redhat.com>
90780         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
90782 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
90784         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
90785         __REDIRECT followed by __THROW.
90786         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
90787         * posix/getopt.h (getopt): Likewise.
90789 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90791         * hurd/lookup-at.c (__file_name_lookup_at): Accept
90792         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
90793         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
90794         in AT_FLAGS.
90795         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
90796         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
90798 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
90800         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
90802 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
90804         [BZ #11640]
90805         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90806         Properly check family and model.
90808 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
90810         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
90812 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
90814         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
90816 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
90818         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
90819         symbol reference.
90821 2010-05-19  Andreas Schwab  <schwab@redhat.com>
90823         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
90824         symbol reference.
90826 2010-05-21  Andreas Schwab  <schwab@redhat.com>
90828         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
90829         and internal_recvmmsg.
90830         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
90831         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
90832         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
90833         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
90835         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
90836         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
90837         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
90839 2010-05-20  Andreas Schwab  <schwab@redhat.com>
90841         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
90843 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
90845         POWER7 optimizations.
90846         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
90847         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
90849 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
90851         * version.h: Update for 2.13 development version.
90853 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
90855         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
90856         exceptions.  Return 0.
90858 2010-05-07  Roland McGrath  <roland@redhat.com>
90860         * elf/ldconfig.c (main): Add a const.
90862 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
90864         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
90865         (args_options): Add no-idn option.
90866         (ahosts_keys_int): Add idn_flags to ai_flags.
90867         (parse_option): Handle 'i' option to clear idn_flags.
90869         * malloc/malloc.c (_int_free): Possible race in the most recently
90870         added check.  Only act on the data if no current modification
90871         happened.
90873 See ChangeLog.17 for earlier changes.